1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getAuditArchiveRetrievals
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

oci.DataSafe.getAuditArchiveRetrievals

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

    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

    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,
        displayName: auditArchiveRetrievalDisplayName,
        state: auditArchiveRetrievalState,
        targetId: testTarget.id,
        timeOfExpiry: auditArchiveRetrievalTimeOfExpiry,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_audit_archive_retrievals = oci.DataSafe.get_audit_archive_retrievals(compartment_id=compartment_id,
        access_level=audit_archive_retrieval_access_level,
        audit_archive_retrieval_id=test_audit_archive_retrieval["id"],
        compartment_id_in_subtree=audit_archive_retrieval_compartment_id_in_subtree,
        display_name=audit_archive_retrieval_display_name,
        state=audit_archive_retrieval_state,
        target_id=test_target["id"],
        time_of_expiry=audit_archive_retrieval_time_of_expiry)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetAuditArchiveRetrievals(ctx, &datasafe.GetAuditArchiveRetrievalsArgs{
    			CompartmentId:           compartmentId,
    			AccessLevel:             pulumi.StringRef(auditArchiveRetrievalAccessLevel),
    			AuditArchiveRetrievalId: pulumi.StringRef(testAuditArchiveRetrieval.Id),
    			CompartmentIdInSubtree:  pulumi.BoolRef(auditArchiveRetrievalCompartmentIdInSubtree),
    			DisplayName:             pulumi.StringRef(auditArchiveRetrievalDisplayName),
    			State:                   pulumi.StringRef(auditArchiveRetrievalState),
    			TargetId:                pulumi.StringRef(testTarget.Id),
    			TimeOfExpiry:            pulumi.StringRef(auditArchiveRetrievalTimeOfExpiry),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testAuditArchiveRetrievals = Oci.DataSafe.GetAuditArchiveRetrievals.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = auditArchiveRetrievalAccessLevel,
            AuditArchiveRetrievalId = testAuditArchiveRetrieval.Id,
            CompartmentIdInSubtree = auditArchiveRetrievalCompartmentIdInSubtree,
            DisplayName = auditArchiveRetrievalDisplayName,
            State = auditArchiveRetrievalState,
            TargetId = testTarget.Id,
            TimeOfExpiry = auditArchiveRetrievalTimeOfExpiry,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetAuditArchiveRetrievalsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testAuditArchiveRetrievals = DataSafeFunctions.getAuditArchiveRetrievals(GetAuditArchiveRetrievalsArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(auditArchiveRetrievalAccessLevel)
                .auditArchiveRetrievalId(testAuditArchiveRetrieval.id())
                .compartmentIdInSubtree(auditArchiveRetrievalCompartmentIdInSubtree)
                .displayName(auditArchiveRetrievalDisplayName)
                .state(auditArchiveRetrievalState)
                .targetId(testTarget.id())
                .timeOfExpiry(auditArchiveRetrievalTimeOfExpiry)
                .build());
    
        }
    }
    
    variables:
      testAuditArchiveRetrievals:
        fn::invoke:
          Function: oci:DataSafe:getAuditArchiveRetrievals
          Arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${auditArchiveRetrievalAccessLevel}
            auditArchiveRetrievalId: ${testAuditArchiveRetrieval.id}
            compartmentIdInSubtree: ${auditArchiveRetrievalCompartmentIdInSubtree}
            displayName: ${auditArchiveRetrievalDisplayName}
            state: ${auditArchiveRetrievalState}
            targetId: ${testTarget.id}
            timeOfExpiry: ${auditArchiveRetrievalTimeOfExpiry}
    

    Using getAuditArchiveRetrievals

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAuditArchiveRetrievals(args: GetAuditArchiveRetrievalsArgs, opts?: InvokeOptions): Promise<GetAuditArchiveRetrievalsResult>
    function getAuditArchiveRetrievalsOutput(args: GetAuditArchiveRetrievalsOutputArgs, opts?: InvokeOptions): Output<GetAuditArchiveRetrievalsResult>
    def get_audit_archive_retrievals(access_level: Optional[str] = None,
                                     audit_archive_retrieval_id: Optional[str] = None,
                                     compartment_id: Optional[str] = None,
                                     compartment_id_in_subtree: Optional[bool] = None,
                                     display_name: Optional[str] = None,
                                     filters: Optional[Sequence[_datasafe.GetAuditArchiveRetrievalsFilter]] = None,
                                     state: Optional[str] = None,
                                     target_id: Optional[str] = None,
                                     time_of_expiry: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetAuditArchiveRetrievalsResult
    def get_audit_archive_retrievals_output(access_level: Optional[pulumi.Input[str]] = None,
                                     audit_archive_retrieval_id: Optional[pulumi.Input[str]] = None,
                                     compartment_id: Optional[pulumi.Input[str]] = None,
                                     compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                     display_name: Optional[pulumi.Input[str]] = None,
                                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetAuditArchiveRetrievalsFilterArgs]]]] = None,
                                     state: Optional[pulumi.Input[str]] = None,
                                     target_id: Optional[pulumi.Input[str]] = None,
                                     time_of_expiry: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetAuditArchiveRetrievalsResult]
    func GetAuditArchiveRetrievals(ctx *Context, args *GetAuditArchiveRetrievalsArgs, opts ...InvokeOption) (*GetAuditArchiveRetrievalsResult, error)
    func GetAuditArchiveRetrievalsOutput(ctx *Context, args *GetAuditArchiveRetrievalsOutputArgs, opts ...InvokeOption) GetAuditArchiveRetrievalsResultOutput

    > Note: This function is named GetAuditArchiveRetrievals in the Go SDK.

    public static class GetAuditArchiveRetrievals 
    {
        public static Task<GetAuditArchiveRetrievalsResult> InvokeAsync(GetAuditArchiveRetrievalsArgs args, InvokeOptions? opts = null)
        public static Output<GetAuditArchiveRetrievalsResult> Invoke(GetAuditArchiveRetrievalsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuditArchiveRetrievalsResult> getAuditArchiveRetrievals(GetAuditArchiveRetrievalsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getAuditArchiveRetrievals:getAuditArchiveRetrievals
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    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.
    AuditArchiveRetrievalId string
    OCID of the archive retrieval.
    CompartmentIdInSubtree bool
    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.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters List<GetAuditArchiveRetrievalsFilter>
    State string
    A filter to return only resources that matches the specified lifecycle state.
    TargetId string
    The OCID of the target associated with the archive retrieval.
    TimeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    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.
    AuditArchiveRetrievalId string
    OCID of the archive retrieval.
    CompartmentIdInSubtree bool
    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.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters []GetAuditArchiveRetrievalsFilter
    State string
    A filter to return only resources that matches the specified lifecycle state.
    TargetId string
    The OCID of the target associated with the archive retrieval.
    TimeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    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.
    auditArchiveRetrievalId String
    OCID of the archive retrieval.
    compartmentIdInSubtree Boolean
    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.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<GetAuditArchiveRetrievalsFilter>
    state String
    A filter to return only resources that matches the specified lifecycle state.
    targetId String
    The OCID of the target associated with the archive retrieval.
    timeOfExpiry String
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    accessLevel string
    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.
    auditArchiveRetrievalId string
    OCID of the archive retrieval.
    compartmentIdInSubtree boolean
    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.
    displayName string
    A filter to return only resources that match the specified display name.
    filters GetAuditArchiveRetrievalsFilter[]
    state string
    A filter to return only resources that matches the specified lifecycle state.
    targetId string
    The OCID of the target associated with the archive retrieval.
    timeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    access_level str
    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.
    audit_archive_retrieval_id str
    OCID of the archive retrieval.
    compartment_id_in_subtree bool
    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.
    display_name str
    A filter to return only resources that match the specified display name.
    filters Sequence[datasafe.GetAuditArchiveRetrievalsFilter]
    state str
    A filter to return only resources that matches the specified lifecycle state.
    target_id str
    The OCID of the target associated with the archive retrieval.
    time_of_expiry str
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    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.
    auditArchiveRetrievalId String
    OCID of the archive retrieval.
    compartmentIdInSubtree Boolean
    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.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<Property Map>
    state String
    A filter to return only resources that matches the specified lifecycle state.
    targetId String
    The OCID of the target associated with the archive retrieval.
    timeOfExpiry String
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.

    getAuditArchiveRetrievals Result

    The following output properties are available:

    AuditArchiveRetrievalCollections List<GetAuditArchiveRetrievalsAuditArchiveRetrievalCollection>
    The list of audit_archive_retrieval_collection.
    CompartmentId string
    The OCID of the compartment that contains archive retrieval.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    AuditArchiveRetrievalId string
    CompartmentIdInSubtree bool
    DisplayName string
    The display name of the archive retrieval. The name does not have to be unique, and is changeable.
    Filters List<GetAuditArchiveRetrievalsFilter>
    State string
    The current state of the archive retrieval.
    TargetId string
    The OCID of the target associated with the archive retrieval.
    TimeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    AuditArchiveRetrievalCollections []GetAuditArchiveRetrievalsAuditArchiveRetrievalCollection
    The list of audit_archive_retrieval_collection.
    CompartmentId string
    The OCID of the compartment that contains archive retrieval.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    AuditArchiveRetrievalId string
    CompartmentIdInSubtree bool
    DisplayName string
    The display name of the archive retrieval. The name does not have to be unique, and is changeable.
    Filters []GetAuditArchiveRetrievalsFilter
    State string
    The current state of the archive retrieval.
    TargetId string
    The OCID of the target associated with the archive retrieval.
    TimeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    auditArchiveRetrievalCollections List<GetAuditArchiveRetrievalsAuditArchiveRetrievalCollection>
    The list of audit_archive_retrieval_collection.
    compartmentId String
    The OCID of the compartment that contains archive retrieval.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    auditArchiveRetrievalId String
    compartmentIdInSubtree Boolean
    displayName String
    The display name of the archive retrieval. The name does not have to be unique, and is changeable.
    filters List<GetAuditArchiveRetrievalsFilter>
    state String
    The current state of the archive retrieval.
    targetId String
    The OCID of the target associated with the archive retrieval.
    timeOfExpiry String
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    auditArchiveRetrievalCollections GetAuditArchiveRetrievalsAuditArchiveRetrievalCollection[]
    The list of audit_archive_retrieval_collection.
    compartmentId string
    The OCID of the compartment that contains archive retrieval.
    id string
    The provider-assigned unique ID for this managed resource.
    accessLevel string
    auditArchiveRetrievalId string
    compartmentIdInSubtree boolean
    displayName string
    The display name of the archive retrieval. The name does not have to be unique, and is changeable.
    filters GetAuditArchiveRetrievalsFilter[]
    state string
    The current state of the archive retrieval.
    targetId string
    The OCID of the target associated with the archive retrieval.
    timeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    audit_archive_retrieval_collections Sequence[datasafe.GetAuditArchiveRetrievalsAuditArchiveRetrievalCollection]
    The list of audit_archive_retrieval_collection.
    compartment_id str
    The OCID of the compartment that contains archive retrieval.
    id str
    The provider-assigned unique ID for this managed resource.
    access_level str
    audit_archive_retrieval_id str
    compartment_id_in_subtree bool
    display_name str
    The display name of the archive retrieval. The name does not have to be unique, and is changeable.
    filters Sequence[datasafe.GetAuditArchiveRetrievalsFilter]
    state str
    The current state of the archive retrieval.
    target_id str
    The OCID of the target associated with the archive retrieval.
    time_of_expiry str
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    auditArchiveRetrievalCollections List<Property Map>
    The list of audit_archive_retrieval_collection.
    compartmentId String
    The OCID of the compartment that contains archive retrieval.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    auditArchiveRetrievalId String
    compartmentIdInSubtree Boolean
    displayName String
    The display name of the archive retrieval. The name does not have to be unique, and is changeable.
    filters List<Property Map>
    state String
    The current state of the archive retrieval.
    targetId String
    The OCID of the target associated with the archive retrieval.
    timeOfExpiry String
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.

    Supporting Types

    GetAuditArchiveRetrievalsAuditArchiveRetrievalCollection

    GetAuditArchiveRetrievalsAuditArchiveRetrievalCollectionItem

    AuditEventCount string
    Total count of audit events to be retrieved from the archive for the specified date range.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    Description of the archive retrieval.
    DisplayName string
    A filter to return only resources that match the specified display name.
    EndDate string
    End month of the archive retrieval, in the format defined by RFC3339.
    ErrorInfo string
    The Error details of a failed archive retrieval.
    FreeformTags Dictionary<string, string>
    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 Example: {"Department": "Finance"}
    Id string
    The OCID of the archive retrieval.
    LifecycleDetails string
    Details about the current state of the archive retrieval.
    StartDate string
    Start month of the archive retrieval, in the format defined by RFC3339.
    State string
    A filter to return only resources that matches the specified lifecycle state.
    SystemTags Dictionary<string, 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"}
    TargetId string
    The OCID of the target associated with the archive retrieval.
    TimeCompleted string
    The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
    TimeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    TimeRequested string
    The date time when archive retrieval was requested, in the format defined by RFC3339.
    AuditEventCount string
    Total count of audit events to be retrieved from the archive for the specified date range.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    Description of the archive retrieval.
    DisplayName string
    A filter to return only resources that match the specified display name.
    EndDate string
    End month of the archive retrieval, in the format defined by RFC3339.
    ErrorInfo string
    The Error details of a failed archive retrieval.
    FreeformTags map[string]string
    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 Example: {"Department": "Finance"}
    Id string
    The OCID of the archive retrieval.
    LifecycleDetails string
    Details about the current state of the archive retrieval.
    StartDate string
    Start month of the archive retrieval, in the format defined by RFC3339.
    State string
    A filter to return only resources that matches the specified lifecycle state.
    SystemTags map[string]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"}
    TargetId string
    The OCID of the target associated with the archive retrieval.
    TimeCompleted string
    The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
    TimeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    TimeRequested string
    The date time when archive retrieval was requested, in the format defined by RFC3339.
    auditEventCount String
    Total count of audit events to be retrieved from the archive for the specified date range.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    Description of the archive retrieval.
    displayName String
    A filter to return only resources that match the specified display name.
    endDate String
    End month of the archive retrieval, in the format defined by RFC3339.
    errorInfo String
    The Error details of a failed archive retrieval.
    freeformTags Map<String,String>
    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 Example: {"Department": "Finance"}
    id String
    The OCID of the archive retrieval.
    lifecycleDetails String
    Details about the current state of the archive retrieval.
    startDate String
    Start month of the archive retrieval, in the format defined by RFC3339.
    state String
    A filter to return only resources that matches the specified lifecycle state.
    systemTags Map<String,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"}
    targetId String
    The OCID of the target associated with the archive retrieval.
    timeCompleted String
    The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
    timeOfExpiry String
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    timeRequested String
    The date time when archive retrieval was requested, in the format defined by RFC3339.
    auditEventCount string
    Total count of audit events to be retrieved from the archive for the specified date range.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    Description of the archive retrieval.
    displayName string
    A filter to return only resources that match the specified display name.
    endDate string
    End month of the archive retrieval, in the format defined by RFC3339.
    errorInfo string
    The Error details of a failed archive retrieval.
    freeformTags {[key: string]: string}
    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 Example: {"Department": "Finance"}
    id string
    The OCID of the archive retrieval.
    lifecycleDetails string
    Details about the current state of the archive retrieval.
    startDate string
    Start month of the archive retrieval, in the format defined by RFC3339.
    state string
    A filter to return only resources that matches the specified lifecycle state.
    systemTags {[key: string]: 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"}
    targetId string
    The OCID of the target associated with the archive retrieval.
    timeCompleted string
    The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
    timeOfExpiry string
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    timeRequested string
    The date time when archive retrieval was requested, in the format defined by RFC3339.
    audit_event_count str
    Total count of audit events to be retrieved from the archive for the specified date range.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    Description of the archive retrieval.
    display_name str
    A filter to return only resources that match the specified display name.
    end_date str
    End month of the archive retrieval, in the format defined by RFC3339.
    error_info str
    The Error details of a failed archive retrieval.
    freeform_tags Mapping[str, str]
    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 Example: {"Department": "Finance"}
    id str
    The OCID of the archive retrieval.
    lifecycle_details str
    Details about the current state of the archive retrieval.
    start_date str
    Start month of the archive retrieval, in the format defined by RFC3339.
    state str
    A filter to return only resources that matches the specified lifecycle state.
    system_tags Mapping[str, str]
    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"}
    target_id str
    The OCID of the target associated with the archive retrieval.
    time_completed str
    The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
    time_of_expiry str
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    time_requested str
    The date time when archive retrieval was requested, in the format defined by RFC3339.
    auditEventCount String
    Total count of audit events to be retrieved from the archive for the specified date range.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    Description of the archive retrieval.
    displayName String
    A filter to return only resources that match the specified display name.
    endDate String
    End month of the archive retrieval, in the format defined by RFC3339.
    errorInfo String
    The Error details of a failed archive retrieval.
    freeformTags Map<String>
    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 Example: {"Department": "Finance"}
    id String
    The OCID of the archive retrieval.
    lifecycleDetails String
    Details about the current state of the archive retrieval.
    startDate String
    Start month of the archive retrieval, in the format defined by RFC3339.
    state String
    A filter to return only resources that matches the specified lifecycle state.
    systemTags Map<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"}
    targetId String
    The OCID of the target associated with the archive retrieval.
    timeCompleted String
    The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
    timeOfExpiry String
    The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
    timeRequested String
    The date time when archive retrieval was requested, in the format defined by RFC3339.

    GetAuditArchiveRetrievalsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi