Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.DataSafe.getAuditArchiveRetrieval
Explore with Pulumi AI
This data source provides details about a specific Audit Archive Retrieval resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified archive retreival.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAuditArchiveRetrieval = oci.DataSafe.getAuditArchiveRetrieval({
    auditArchiveRetrievalId: testAuditArchiveRetrievalOciDataSafeAuditArchiveRetrieval.id,
});
import pulumi
import pulumi_oci as oci
test_audit_archive_retrieval = oci.DataSafe.get_audit_archive_retrieval(audit_archive_retrieval_id=test_audit_archive_retrieval_oci_data_safe_audit_archive_retrieval["id"])
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.GetAuditArchiveRetrieval(ctx, &datasafe.GetAuditArchiveRetrievalArgs{
			AuditArchiveRetrievalId: testAuditArchiveRetrievalOciDataSafeAuditArchiveRetrieval.Id,
		}, 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 testAuditArchiveRetrieval = Oci.DataSafe.GetAuditArchiveRetrieval.Invoke(new()
    {
        AuditArchiveRetrievalId = testAuditArchiveRetrievalOciDataSafeAuditArchiveRetrieval.Id,
    });
});
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.GetAuditArchiveRetrievalArgs;
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 testAuditArchiveRetrieval = DataSafeFunctions.getAuditArchiveRetrieval(GetAuditArchiveRetrievalArgs.builder()
            .auditArchiveRetrievalId(testAuditArchiveRetrievalOciDataSafeAuditArchiveRetrieval.id())
            .build());
    }
}
variables:
  testAuditArchiveRetrieval:
    fn::invoke:
      function: oci:DataSafe:getAuditArchiveRetrieval
      arguments:
        auditArchiveRetrievalId: ${testAuditArchiveRetrievalOciDataSafeAuditArchiveRetrieval.id}
Using getAuditArchiveRetrieval
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 getAuditArchiveRetrieval(args: GetAuditArchiveRetrievalArgs, opts?: InvokeOptions): Promise<GetAuditArchiveRetrievalResult>
function getAuditArchiveRetrievalOutput(args: GetAuditArchiveRetrievalOutputArgs, opts?: InvokeOptions): Output<GetAuditArchiveRetrievalResult>def get_audit_archive_retrieval(audit_archive_retrieval_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetAuditArchiveRetrievalResult
def get_audit_archive_retrieval_output(audit_archive_retrieval_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAuditArchiveRetrievalResult]func GetAuditArchiveRetrieval(ctx *Context, args *GetAuditArchiveRetrievalArgs, opts ...InvokeOption) (*GetAuditArchiveRetrievalResult, error)
func GetAuditArchiveRetrievalOutput(ctx *Context, args *GetAuditArchiveRetrievalOutputArgs, opts ...InvokeOption) GetAuditArchiveRetrievalResultOutput> Note: This function is named GetAuditArchiveRetrieval in the Go SDK.
public static class GetAuditArchiveRetrieval 
{
    public static Task<GetAuditArchiveRetrievalResult> InvokeAsync(GetAuditArchiveRetrievalArgs args, InvokeOptions? opts = null)
    public static Output<GetAuditArchiveRetrievalResult> Invoke(GetAuditArchiveRetrievalInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAuditArchiveRetrievalResult> getAuditArchiveRetrieval(GetAuditArchiveRetrievalArgs args, InvokeOptions options)
public static Output<GetAuditArchiveRetrievalResult> getAuditArchiveRetrieval(GetAuditArchiveRetrievalArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataSafe/getAuditArchiveRetrieval:getAuditArchiveRetrieval
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Audit
Archive stringRetrieval Id  - OCID of the archive retrieval.
 
- Audit
Archive stringRetrieval Id  - OCID of the archive retrieval.
 
- audit
Archive StringRetrieval Id  - OCID of the archive retrieval.
 
- audit
Archive stringRetrieval Id  - OCID of the archive retrieval.
 
- audit_
archive_ strretrieval_ id  - OCID of the archive retrieval.
 
- audit
Archive StringRetrieval Id  - OCID of the archive retrieval.
 
getAuditArchiveRetrieval Result
The following output properties are available:
- Audit
Archive stringRetrieval Id  - Audit
Event stringCount  - Total count of audit events to be retrieved from the archive for the specified date range.
 - Compartment
Id string - The OCID of the compartment that contains archive retrieval.
 - 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.
 - Display
Name string - The display name of the archive retrieval. The name does not have to be unique, and is changeable.
 - End
Date string - End month of the archive retrieval, in the format defined by RFC3339.
 - Error
Info string - The Error details of a failed archive retrieval.
 - 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.
 - Lifecycle
Details string - Details about the current state of the archive retrieval.
 - Start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
 - State string
 - The current state of the archive retrieval.
 - 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"} - Target
Id string - The OCID of the target associated with the archive retrieval.
 - Time
Completed string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
 - Time
Of stringExpiry  - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
 - Time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
 
- Audit
Archive stringRetrieval Id  - Audit
Event stringCount  - Total count of audit events to be retrieved from the archive for the specified date range.
 - Compartment
Id string - The OCID of the compartment that contains archive retrieval.
 - 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.
 - Display
Name string - The display name of the archive retrieval. The name does not have to be unique, and is changeable.
 - End
Date string - End month of the archive retrieval, in the format defined by RFC3339.
 - Error
Info string - The Error details of a failed archive retrieval.
 - 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.
 - Lifecycle
Details string - Details about the current state of the archive retrieval.
 - Start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
 - State string
 - The current state of the archive retrieval.
 - 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"} - Target
Id string - The OCID of the target associated with the archive retrieval.
 - Time
Completed string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
 - Time
Of stringExpiry  - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
 - Time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
 
- audit
Archive StringRetrieval Id  - audit
Event StringCount  - Total count of audit events to be retrieved from the archive for the specified date range.
 - compartment
Id String - The OCID of the compartment that contains archive retrieval.
 - 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.
 - display
Name String - The display name of the archive retrieval. The name does not have to be unique, and is changeable.
 - end
Date String - End month of the archive retrieval, in the format defined by RFC3339.
 - error
Info String - The Error details of a failed archive retrieval.
 - 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.
 - lifecycle
Details String - Details about the current state of the archive retrieval.
 - start
Date String - Start month of the archive retrieval, in the format defined by RFC3339.
 - state String
 - The current state of the archive retrieval.
 - 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"} - target
Id String - The OCID of the target associated with the archive retrieval.
 - time
Completed String - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
 - time
Of StringExpiry  - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
 - time
Requested String - The date time when archive retrieval was requested, in the format defined by RFC3339.
 
- audit
Archive stringRetrieval Id  - audit
Event stringCount  - Total count of audit events to be retrieved from the archive for the specified date range.
 - compartment
Id string - The OCID of the compartment that contains archive retrieval.
 - {[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.
 - display
Name string - The display name of the archive retrieval. The name does not have to be unique, and is changeable.
 - end
Date string - End month of the archive retrieval, in the format defined by RFC3339.
 - error
Info string - The Error details of a failed archive retrieval.
 - {[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.
 - lifecycle
Details string - Details about the current state of the archive retrieval.
 - start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
 - state string
 - The current state of the archive retrieval.
 - {[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"} - target
Id string - The OCID of the target associated with the archive retrieval.
 - time
Completed string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
 - time
Of stringExpiry  - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
 - time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
 
- audit_
archive_ strretrieval_ id  - audit_
event_ strcount  - Total count of audit events to be retrieved from the archive for the specified date range.
 - compartment_
id str - The OCID of the compartment that contains archive retrieval.
 - 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 - The display name of the archive retrieval. The name does not have to be unique, and is changeable.
 - 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.
 - 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
 - The current state of the archive retrieval.
 - 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_ strexpiry  - 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.
 
- audit
Archive StringRetrieval Id  - audit
Event StringCount  - Total count of audit events to be retrieved from the archive for the specified date range.
 - compartment
Id String - The OCID of the compartment that contains archive retrieval.
 - 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.
 - display
Name String - The display name of the archive retrieval. The name does not have to be unique, and is changeable.
 - end
Date String - End month of the archive retrieval, in the format defined by RFC3339.
 - error
Info String - The Error details of a failed archive retrieval.
 - 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.
 - lifecycle
Details String - Details about the current state of the archive retrieval.
 - start
Date String - Start month of the archive retrieval, in the format defined by RFC3339.
 - state String
 - The current state of the archive retrieval.
 - 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"} - target
Id String - The OCID of the target associated with the archive retrieval.
 - time
Completed String - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
 - time
Of StringExpiry  - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
 - time
Requested String - The date time when archive retrieval was requested, in the format defined by RFC3339.
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.