Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

AuditArchiveRetrieval

This resource provides the Audit Archive Retrieval resource in Oracle Cloud Infrastructure Data Safe service.

Creates a work request to retrieve archived audit data. This asynchronous process will usually take over an hour to complete. Save the id from the response of this operation. Call GetAuditArchiveRetrieval operation after an hour, passing the id to know the status of this operation.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAuditArchiveRetrieval = new Oci.DataSafe.AuditArchiveRetrieval("testAuditArchiveRetrieval", new()
    {
        CompartmentId = @var.Compartment_id,
        EndDate = @var.Audit_archive_retrieval_end_date,
        StartDate = @var.Audit_archive_retrieval_start_date,
        TargetId = oci_cloud_guard_target.Test_target.Id,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        Description = @var.Audit_archive_retrieval_description,
        DisplayName = @var.Audit_archive_retrieval_display_name,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DataSafe.NewAuditArchiveRetrieval(ctx, "testAuditArchiveRetrieval", &DataSafe.AuditArchiveRetrievalArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			EndDate:       pulumi.Any(_var.Audit_archive_retrieval_end_date),
			StartDate:     pulumi.Any(_var.Audit_archive_retrieval_start_date),
			TargetId:      pulumi.Any(oci_cloud_guard_target.Test_target.Id),
			DefinedTags: pulumi.AnyMap{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			Description: pulumi.Any(_var.Audit_archive_retrieval_description),
			DisplayName: pulumi.Any(_var.Audit_archive_retrieval_display_name),
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.AuditArchiveRetrieval;
import com.pulumi.oci.DataSafe.AuditArchiveRetrievalArgs;
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) {
        var testAuditArchiveRetrieval = new AuditArchiveRetrieval("testAuditArchiveRetrieval", AuditArchiveRetrievalArgs.builder()        
            .compartmentId(var_.compartment_id())
            .endDate(var_.audit_archive_retrieval_end_date())
            .startDate(var_.audit_archive_retrieval_start_date())
            .targetId(oci_cloud_guard_target.test_target().id())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .description(var_.audit_archive_retrieval_description())
            .displayName(var_.audit_archive_retrieval_display_name())
            .freeformTags(Map.of("Department", "Finance"))
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_audit_archive_retrieval = oci.data_safe.AuditArchiveRetrieval("testAuditArchiveRetrieval",
    compartment_id=var["compartment_id"],
    end_date=var["audit_archive_retrieval_end_date"],
    start_date=var["audit_archive_retrieval_start_date"],
    target_id=oci_cloud_guard_target["test_target"]["id"],
    defined_tags={
        "Operations.CostCenter": "42",
    },
    description=var["audit_archive_retrieval_description"],
    display_name=var["audit_archive_retrieval_display_name"],
    freeform_tags={
        "Department": "Finance",
    })
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAuditArchiveRetrieval = new oci.datasafe.AuditArchiveRetrieval("testAuditArchiveRetrieval", {
    compartmentId: _var.compartment_id,
    endDate: _var.audit_archive_retrieval_end_date,
    startDate: _var.audit_archive_retrieval_start_date,
    targetId: oci_cloud_guard_target.test_target.id,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    description: _var.audit_archive_retrieval_description,
    displayName: _var.audit_archive_retrieval_display_name,
    freeformTags: {
        Department: "Finance",
    },
});
resources:
  testAuditArchiveRetrieval:
    type: oci:DataSafe:AuditArchiveRetrieval
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      endDate: ${var.audit_archive_retrieval_end_date}
      startDate: ${var.audit_archive_retrieval_start_date}
      targetId: ${oci_cloud_guard_target.test_target.id}
      #Optional
      definedTags:
        Operations.CostCenter: 42
      description: ${var.audit_archive_retrieval_description}
      displayName: ${var.audit_archive_retrieval_display_name}
      freeformTags:
        Department: Finance

Create AuditArchiveRetrieval Resource

new AuditArchiveRetrieval(name: string, args: AuditArchiveRetrievalArgs, opts?: CustomResourceOptions);
@overload
def AuditArchiveRetrieval(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          defined_tags: Optional[Mapping[str, Any]] = None,
                          description: Optional[str] = None,
                          display_name: Optional[str] = None,
                          end_date: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, Any]] = None,
                          start_date: Optional[str] = None,
                          target_id: Optional[str] = None)
@overload
def AuditArchiveRetrieval(resource_name: str,
                          args: AuditArchiveRetrievalArgs,
                          opts: Optional[ResourceOptions] = None)
func NewAuditArchiveRetrieval(ctx *Context, name string, args AuditArchiveRetrievalArgs, opts ...ResourceOption) (*AuditArchiveRetrieval, error)
public AuditArchiveRetrieval(string name, AuditArchiveRetrievalArgs args, CustomResourceOptions? opts = null)
public AuditArchiveRetrieval(String name, AuditArchiveRetrievalArgs args)
public AuditArchiveRetrieval(String name, AuditArchiveRetrievalArgs args, CustomResourceOptions options)
type: oci:DataSafe:AuditArchiveRetrieval
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AuditArchiveRetrievalArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AuditArchiveRetrievalArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AuditArchiveRetrievalArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuditArchiveRetrievalArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AuditArchiveRetrievalArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AuditArchiveRetrieval Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AuditArchiveRetrieval resource accepts the following input properties:

CompartmentId string

(Updatable) The OCID of the compartment that contains the archival retrieval.

EndDate string

End month of the archive retrieval, in the format defined by RFC3339.

StartDate string

Start month of the archive retrieval, in the format defined by RFC3339.

TargetId string

The OCID of the target associated with the archive retrieval.

DefinedTags Dictionary<string, object>

(Updatable) 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

(Updatable) Description of the archive retrieval.

DisplayName string

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

FreeformTags Dictionary<string, object>

(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 Example: {"Department": "Finance"}

CompartmentId string

(Updatable) The OCID of the compartment that contains the archival retrieval.

EndDate string

End month of the archive retrieval, in the format defined by RFC3339.

StartDate string

Start month of the archive retrieval, in the format defined by RFC3339.

TargetId string

The OCID of the target associated with the archive retrieval.

DefinedTags map[string]interface{}

(Updatable) 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

(Updatable) Description of the archive retrieval.

DisplayName string

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

FreeformTags map[string]interface{}

(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 Example: {"Department": "Finance"}

compartmentId String

(Updatable) The OCID of the compartment that contains the archival retrieval.

endDate String

End month of the archive retrieval, in the format defined by RFC3339.

startDate String

Start month of the archive retrieval, in the format defined by RFC3339.

targetId String

The OCID of the target associated with the archive retrieval.

definedTags Map<String,Object>

(Updatable) 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

(Updatable) Description of the archive retrieval.

displayName String

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

freeformTags Map<String,Object>

(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 Example: {"Department": "Finance"}

compartmentId string

(Updatable) The OCID of the compartment that contains the archival retrieval.

endDate string

End month of the archive retrieval, in the format defined by RFC3339.

startDate string

Start month of the archive retrieval, in the format defined by RFC3339.

targetId string

The OCID of the target associated with the archive retrieval.

definedTags {[key: string]: any}

(Updatable) 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

(Updatable) Description of the archive retrieval.

displayName string

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

freeformTags {[key: string]: any}

(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 Example: {"Department": "Finance"}

compartment_id str

(Updatable) The OCID of the compartment that contains the archival retrieval.

end_date str

End month of the archive retrieval, in the format defined by RFC3339.

start_date str

Start month of the archive retrieval, in the format defined by RFC3339.

target_id str

The OCID of the target associated with the archive retrieval.

defined_tags Mapping[str, Any]

(Updatable) 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

(Updatable) Description of the archive retrieval.

display_name str

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

freeform_tags Mapping[str, Any]

(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 Example: {"Department": "Finance"}

compartmentId String

(Updatable) The OCID of the compartment that contains the archival retrieval.

endDate String

End month of the archive retrieval, in the format defined by RFC3339.

startDate String

Start month of the archive retrieval, in the format defined by RFC3339.

targetId String

The OCID of the target associated with the archive retrieval.

definedTags Map<Any>

(Updatable) 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

(Updatable) Description of the archive retrieval.

displayName String

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

freeformTags Map<Any>

(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 Example: {"Department": "Finance"}

Outputs

All input properties are implicitly available as output properties. Additionally, the AuditArchiveRetrieval resource produces the following output properties:

AuditEventCount string

Total count of audit events to be retrieved from the archive for the specified date range.

ErrorInfo string

The Error details of a failed archive retrieval.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Details about the current state of the archive retrieval.

State string

The current state of the archive retrieval.

SystemTags Dictionary<string, object>

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"}

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.

ErrorInfo string

The Error details of a failed archive retrieval.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Details about the current state of the archive retrieval.

State string

The current state of the archive retrieval.

SystemTags map[string]interface{}

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"}

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.

errorInfo String

The Error details of a failed archive retrieval.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Details about the current state of the archive retrieval.

state String

The current state of the archive retrieval.

systemTags Map<String,Object>

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"}

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.

errorInfo string

The Error details of a failed archive retrieval.

id string

The provider-assigned unique ID for this managed resource.

lifecycleDetails string

Details about the current state of the archive retrieval.

state string

The current state of the archive retrieval.

systemTags {[key: string]: any}

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"}

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.

error_info str

The Error details of a failed archive retrieval.

id str

The provider-assigned unique ID for this managed resource.

lifecycle_details str

Details about the current state of the archive retrieval.

state str

The current state of the archive retrieval.

system_tags Mapping[str, Any]

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"}

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.

errorInfo String

The Error details of a failed archive retrieval.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Details about the current state of the archive retrieval.

state String

The current state of the archive retrieval.

systemTags Map<Any>

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"}

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.

Look up Existing AuditArchiveRetrieval Resource

Get an existing AuditArchiveRetrieval resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AuditArchiveRetrievalState, opts?: CustomResourceOptions): AuditArchiveRetrieval
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        audit_event_count: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        end_date: Optional[str] = None,
        error_info: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        lifecycle_details: Optional[str] = None,
        start_date: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        target_id: Optional[str] = None,
        time_completed: Optional[str] = None,
        time_of_expiry: Optional[str] = None,
        time_requested: Optional[str] = None) -> AuditArchiveRetrieval
func GetAuditArchiveRetrieval(ctx *Context, name string, id IDInput, state *AuditArchiveRetrievalState, opts ...ResourceOption) (*AuditArchiveRetrieval, error)
public static AuditArchiveRetrieval Get(string name, Input<string> id, AuditArchiveRetrievalState? state, CustomResourceOptions? opts = null)
public static AuditArchiveRetrieval get(String name, Output<String> id, AuditArchiveRetrievalState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AuditEventCount string

Total count of audit events to be retrieved from the archive for the specified date range.

CompartmentId string

(Updatable) The OCID of the compartment that contains the archival retrieval.

DefinedTags Dictionary<string, object>

(Updatable) 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

(Updatable) Description of the archive retrieval.

DisplayName string

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

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, object>

(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 Example: {"Department": "Finance"}

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

The current state of the archive retrieval.

SystemTags Dictionary<string, object>

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

(Updatable) The OCID of the compartment that contains the archival retrieval.

DefinedTags map[string]interface{}

(Updatable) 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

(Updatable) Description of the archive retrieval.

DisplayName string

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

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]interface{}

(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 Example: {"Department": "Finance"}

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

The current state of the archive retrieval.

SystemTags map[string]interface{}

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

(Updatable) The OCID of the compartment that contains the archival retrieval.

definedTags Map<String,Object>

(Updatable) 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

(Updatable) Description of the archive retrieval.

displayName String

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

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,Object>

(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 Example: {"Department": "Finance"}

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

The current state of the archive retrieval.

systemTags Map<String,Object>

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

(Updatable) The OCID of the compartment that contains the archival retrieval.

definedTags {[key: string]: any}

(Updatable) 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

(Updatable) Description of the archive retrieval.

displayName string

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

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]: any}

(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 Example: {"Department": "Finance"}

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

The current state of the archive retrieval.

systemTags {[key: string]: any}

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

(Updatable) The OCID of the compartment that contains the archival retrieval.

defined_tags Mapping[str, Any]

(Updatable) 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

(Updatable) Description of the archive retrieval.

display_name str

(Updatable) 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.

freeform_tags Mapping[str, Any]

(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 Example: {"Department": "Finance"}

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.

system_tags Mapping[str, Any]

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

(Updatable) The OCID of the compartment that contains the archival retrieval.

definedTags Map<Any>

(Updatable) 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

(Updatable) Description of the archive retrieval.

displayName String

(Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.

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<Any>

(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 Example: {"Department": "Finance"}

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

The current state of the archive retrieval.

systemTags Map<Any>

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.

Import

AuditArchiveRetrievals can be imported using the id, e.g.

 $ pulumi import oci:DataSafe/auditArchiveRetrieval:AuditArchiveRetrieval test_audit_archive_retrieval "id"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.