import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Audit Archive Retrievals in Oracle Cloud Infrastructure Data Safe service. * * Returns the list of audit archive retrieval. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAuditArchiveRetrievals = oci.datasafe.getAuditArchiveRetrievals({ * compartmentId: compartmentId, * accessLevel: auditArchiveRetrievalAccessLevel, * auditArchiveRetrievalId: testAuditArchiveRetrieval.id, * compartmentIdInSubtree: auditArchiveRetrievalCompartmentIdInSubtree === "true", * displayName: auditArchiveRetrievalDisplayName, * state: auditArchiveRetrievalState, * targetDatabaseGroupId: testTargetDatabaseGroup.id, * targetId: testTarget.id, * timeOfExpiry: auditArchiveRetrievalTimeOfExpiry, * }); * ``` */ export declare function getAuditArchiveRetrievals(args: GetAuditArchiveRetrievalsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAuditArchiveRetrievals. */ export interface GetAuditArchiveRetrievalsArgs { /** * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. */ accessLevel?: string; /** * OCID of the archive retrieval. */ auditArchiveRetrievalId?: string; /** * A filter to return only resources that match the specified compartment OCID. */ compartmentId: string; /** * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. */ compartmentIdInSubtree?: boolean; /** * A filter to return only resources that match the specified display name. */ displayName?: string; filters?: inputs.DataSafe.GetAuditArchiveRetrievalsFilter[]; /** * A filter to return only resources that matches the specified lifecycle state. */ state?: string; /** * A filter to return the target database group that matches the specified OCID. */ targetDatabaseGroupId?: string; /** * The OCID of the target associated with the archive retrieval. */ targetId?: string; /** * The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival. */ timeOfExpiry?: string; } /** * A collection of values returned by getAuditArchiveRetrievals. */ export interface GetAuditArchiveRetrievalsResult { readonly accessLevel?: string; /** * The list of audit_archive_retrieval_collection. */ readonly auditArchiveRetrievalCollections: outputs.DataSafe.GetAuditArchiveRetrievalsAuditArchiveRetrievalCollection[]; readonly auditArchiveRetrievalId?: string; /** * The OCID of the compartment that contains archive retrieval. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * The display name of the archive retrieval. The name does not have to be unique, and is changeable. */ readonly displayName?: string; readonly filters?: outputs.DataSafe.GetAuditArchiveRetrievalsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the archive retrieval. */ readonly state?: string; readonly targetDatabaseGroupId?: string; /** * The OCID of the target associated with the archive retrieval. */ readonly targetId?: string; /** * The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival. */ readonly timeOfExpiry?: string; } /** * This data source provides the list of Audit Archive Retrievals in Oracle Cloud Infrastructure Data Safe service. * * Returns the list of audit archive retrieval. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAuditArchiveRetrievals = oci.datasafe.getAuditArchiveRetrievals({ * compartmentId: compartmentId, * accessLevel: auditArchiveRetrievalAccessLevel, * auditArchiveRetrievalId: testAuditArchiveRetrieval.id, * compartmentIdInSubtree: auditArchiveRetrievalCompartmentIdInSubtree === "true", * displayName: auditArchiveRetrievalDisplayName, * state: auditArchiveRetrievalState, * targetDatabaseGroupId: testTargetDatabaseGroup.id, * targetId: testTarget.id, * timeOfExpiry: auditArchiveRetrievalTimeOfExpiry, * }); * ``` */ export declare function getAuditArchiveRetrievalsOutput(args: GetAuditArchiveRetrievalsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAuditArchiveRetrievals. */ export interface GetAuditArchiveRetrievalsOutputArgs { /** * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. */ accessLevel?: pulumi.Input; /** * OCID of the archive retrieval. */ auditArchiveRetrievalId?: pulumi.Input; /** * A filter to return only resources that match the specified compartment OCID. */ compartmentId: pulumi.Input; /** * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. */ compartmentIdInSubtree?: pulumi.Input; /** * A filter to return only resources that match the specified display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that matches the specified lifecycle state. */ state?: pulumi.Input; /** * A filter to return the target database group that matches the specified OCID. */ targetDatabaseGroupId?: pulumi.Input; /** * The OCID of the target associated with the archive retrieval. */ targetId?: pulumi.Input; /** * The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival. */ timeOfExpiry?: pulumi.Input; } //# sourceMappingURL=getAuditArchiveRetrievals.d.ts.map