import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Audit Trail resource in Oracle Cloud Infrastructure Data Safe service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/AuditTrail
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe
 *
 * Updates one or more attributes of the specified audit trail.
 *
 * ## Import
 *
 * AuditTrails can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataSafe/auditTrail:AuditTrail test_audit_trail "id"
 * ```
 */
export declare class AuditTrail extends pulumi.CustomResource {
    /**
     * Get an existing AuditTrail 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?: AuditTrailState, opts?: pulumi.CustomResourceOptions): AuditTrail;
    /**
     * Returns true if the given object is an instance of AuditTrail.  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 AuditTrail;
    /**
     * The date from which the audit trail must start collecting data, in the format defined by RFC3339.
     */
    readonly auditCollectionStartTime: pulumi.Output<string>;
    /**
     * The OCID of the  parent audit.
     */
    readonly auditProfileId: pulumi.Output<string>;
    /**
     * The OCID of the audit trail.
     */
    readonly auditTrailId: pulumi.Output<string>;
    /**
     * (Updatable) Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
     */
    readonly canUpdateLastArchiveTimeOnTarget: pulumi.Output<boolean>;
    /**
     * The OCID of the compartment that contains the audit trail and is the same as the compartment of the audit profile resource.
     */
    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) The description of the audit trail.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) The display name of the audit trail. The name does not have to be unique, and it's updatable.
     */
    readonly displayName: 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;
    }>;
    /**
     * (Updatable) Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
     */
    readonly isAutoPurgeEnabled: pulumi.Output<boolean>;
    /**
     * Details about the current state of the audit trail in Data Safe.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The secondary id assigned for the peer database registered with Data Safe.
     */
    readonly peerTargetDatabaseKey: pulumi.Output<number>;
    /**
     * The details of the audit trail purge job that ran on the "purgeJobTime".
     */
    readonly purgeJobDetails: pulumi.Output<string>;
    /**
     * The current status of the audit trail purge job.
     */
    readonly purgeJobStatus: pulumi.Output<string>;
    /**
     * The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
     */
    readonly purgeJobTime: pulumi.Output<string>;
    /**
     * (Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.
     *
     *
     * ** 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 resumeTrigger: pulumi.Output<number | undefined>;
    /**
     * (Updatable) The target state for the Audit Trail. Could be set to `ACTIVE` or `INACTIVE`.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The current sub-state of the audit trail.
     */
    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. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The OCID of the Data Safe target for which the audit trail is created.
     */
    readonly targetId: pulumi.Output<string>;
    /**
     * The date and time the audit trail was created, in the format defined by RFC3339.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time until when the audit events were collected from the target database by the Data Safe audit trail  collection process, in the format defined by RFC3339.
     */
    readonly timeLastCollected: pulumi.Output<string>;
    /**
     * The date and time the audit trail was updated, in the format defined by RFC3339.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
     */
    readonly trailLocation: pulumi.Output<string>;
    /**
     * The underlying source of unified audit trail.
     */
    readonly trailSource: pulumi.Output<string>;
    /**
     * The OCID of the workrequest for audit trail which collects audit records.
     */
    readonly workRequestId: pulumi.Output<string>;
    /**
     * Create a AuditTrail 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: AuditTrailArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AuditTrail resources.
 */
export interface AuditTrailState {
    /**
     * The date from which the audit trail must start collecting data, in the format defined by RFC3339.
     */
    auditCollectionStartTime?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the  parent audit.
     */
    auditProfileId?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the audit trail.
     */
    auditTrailId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
     */
    canUpdateLastArchiveTimeOnTarget?: pulumi.Input<boolean | undefined>;
    /**
     * The OCID of the compartment that contains the audit trail and is the same as the compartment of the audit profile resource.
     */
    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) The description of the audit trail.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the audit trail. The name does not have to be unique, and it's updatable.
     */
    displayName?: 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>;
    /**
     * (Updatable) Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
     */
    isAutoPurgeEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * Details about the current state of the audit trail in Data Safe.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The secondary id assigned for the peer database registered with Data Safe.
     */
    peerTargetDatabaseKey?: pulumi.Input<number | undefined>;
    /**
     * The details of the audit trail purge job that ran on the "purgeJobTime".
     */
    purgeJobDetails?: pulumi.Input<string | undefined>;
    /**
     * The current status of the audit trail purge job.
     */
    purgeJobStatus?: pulumi.Input<string | undefined>;
    /**
     * The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
     */
    purgeJobTime?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.
     *
     *
     * ** 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
     */
    resumeTrigger?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The target state for the Audit Trail. Could be set to `ACTIVE` or `INACTIVE`.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The current sub-state of the audit trail.
     */
    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. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The OCID of the Data Safe target for which the audit trail is created.
     */
    targetId?: pulumi.Input<string | undefined>;
    /**
     * The date and time the audit trail was created, in the format defined by RFC3339.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time until when the audit events were collected from the target database by the Data Safe audit trail  collection process, in the format defined by RFC3339.
     */
    timeLastCollected?: pulumi.Input<string | undefined>;
    /**
     * The date and time the audit trail was updated, in the format defined by RFC3339.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
     */
    trailLocation?: pulumi.Input<string | undefined>;
    /**
     * The underlying source of unified audit trail.
     */
    trailSource?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the workrequest for audit trail which collects audit records.
     */
    workRequestId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a AuditTrail resource.
 */
export interface AuditTrailArgs {
    /**
     * The OCID of the audit trail.
     */
    auditTrailId: pulumi.Input<string>;
    /**
     * (Updatable) Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
     */
    canUpdateLastArchiveTimeOnTarget?: pulumi.Input<boolean | 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) The description of the audit trail.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The display name of the audit trail. The name does not have to be unique, and it's updatable.
     */
    displayName?: 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>;
    /**
     * (Updatable) Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
     */
    isAutoPurgeEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.
     *
     *
     * ** 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
     */
    resumeTrigger?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The target state for the Audit Trail. Could be set to `ACTIVE` or `INACTIVE`.
     */
    state?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=auditTrail.d.ts.map