import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Calculate Audit Volume Available resource in Oracle Cloud Infrastructure Data Safe service. * * Calculates the volume of audit events available on the target database to be collected. Measurable up to the defined retention period of the audit target resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCalculateAuditVolumeAvailable = new oci.datasafe.CalculateAuditVolumeAvailable("test_calculate_audit_volume_available", { * auditProfileId: testAuditProfile.id, * auditCollectionStartTime: calculateAuditVolumeAvailableAuditCollectionStartTime, * databaseUniqueName: calculateAuditVolumeAvailableDatabaseUniqueName, * trailLocations: calculateAuditVolumeAvailableTrailLocations, * }); * ``` * * ## Import * * CalculateAuditVolumeAvailable can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataSafe/calculateAuditVolumeAvailable:CalculateAuditVolumeAvailable test_calculate_audit_volume_available "id" * ``` */ export declare class CalculateAuditVolumeAvailable extends pulumi.CustomResource { /** * Get an existing CalculateAuditVolumeAvailable 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, state?: CalculateAuditVolumeAvailableState, opts?: pulumi.CustomResourceOptions): CalculateAuditVolumeAvailable; /** * Returns true if the given object is an instance of CalculateAuditVolumeAvailable. 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 CalculateAuditVolumeAvailable; /** * The date from which the audit trail must start collecting data in UTC, in the format defined by RFC3339. If not specified, this will default to the date based on the retention period. */ readonly auditCollectionStartTime: pulumi.Output; /** * The OCID of the audit. */ readonly auditProfileId: pulumi.Output; /** * List of available audit volumes. */ readonly availableAuditVolumes: pulumi.Output; /** * Unique name of the database associated to the peer target database. */ readonly databaseUniqueName: pulumi.Output; /** * The trail locations for which the audit data volume has to be calculated. * * ** 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 trailLocations: pulumi.Output; /** * Create a CalculateAuditVolumeAvailable 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: CalculateAuditVolumeAvailableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CalculateAuditVolumeAvailable resources. */ export interface CalculateAuditVolumeAvailableState { /** * The date from which the audit trail must start collecting data in UTC, in the format defined by RFC3339. If not specified, this will default to the date based on the retention period. */ auditCollectionStartTime?: pulumi.Input; /** * The OCID of the audit. */ auditProfileId?: pulumi.Input; /** * List of available audit volumes. */ availableAuditVolumes?: pulumi.Input[] | undefined>; /** * Unique name of the database associated to the peer target database. */ databaseUniqueName?: pulumi.Input; /** * The trail locations for which the audit data volume has to be calculated. * * ** 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 */ trailLocations?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a CalculateAuditVolumeAvailable resource. */ export interface CalculateAuditVolumeAvailableArgs { /** * The date from which the audit trail must start collecting data in UTC, in the format defined by RFC3339. If not specified, this will default to the date based on the retention period. */ auditCollectionStartTime?: pulumi.Input; /** * The OCID of the audit. */ auditProfileId: pulumi.Input; /** * Unique name of the database associated to the peer target database. */ databaseUniqueName?: pulumi.Input; /** * The trail locations for which the audit data volume has to be calculated. * * ** 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 */ trailLocations?: pulumi.Input[] | undefined>; } //# sourceMappingURL=calculateAuditVolumeAvailable.d.ts.map