1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. AuditArchiveRetrieval
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.DataSafe.AuditArchiveRetrieval

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    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

    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",
        },
    });
    
    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",
        })
    
    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.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(_var.Audit_archive_retrieval_description),
    			DisplayName: pulumi.Any(_var.Audit_archive_retrieval_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    		})
    		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 = 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 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());
    
        }
    }
    
    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

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AuditArchiveRetrieval(name: string, args: AuditArchiveRetrievalArgs, opts?: CustomResourceOptions);
    @overload
    def AuditArchiveRetrieval(resource_name: str,
                              args: AuditArchiveRetrievalArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuditArchiveRetrieval(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              compartment_id: Optional[str] = None,
                              end_date: Optional[str] = None,
                              start_date: Optional[str] = None,
                              target_id: Optional[str] = None,
                              defined_tags: Optional[Mapping[str, Any]] = None,
                              description: Optional[str] = None,
                              display_name: Optional[str] = None,
                              freeform_tags: Optional[Mapping[str, Any]] = 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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var auditArchiveRetrievalResource = new Oci.DataSafe.AuditArchiveRetrieval("auditArchiveRetrievalResource", new()
    {
        CompartmentId = "string",
        EndDate = "string",
        StartDate = "string",
        TargetId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := DataSafe.NewAuditArchiveRetrieval(ctx, "auditArchiveRetrievalResource", &DataSafe.AuditArchiveRetrievalArgs{
    	CompartmentId: pulumi.String("string"),
    	EndDate:       pulumi.String("string"),
    	StartDate:     pulumi.String("string"),
    	TargetId:      pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var auditArchiveRetrievalResource = new AuditArchiveRetrieval("auditArchiveRetrievalResource", AuditArchiveRetrievalArgs.builder()        
        .compartmentId("string")
        .endDate("string")
        .startDate("string")
        .targetId("string")
        .definedTags(Map.of("string", "any"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .build());
    
    audit_archive_retrieval_resource = oci.data_safe.AuditArchiveRetrieval("auditArchiveRetrievalResource",
        compartment_id="string",
        end_date="string",
        start_date="string",
        target_id="string",
        defined_tags={
            "string": "any",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "any",
        })
    
    const auditArchiveRetrievalResource = new oci.datasafe.AuditArchiveRetrieval("auditArchiveRetrievalResource", {
        compartmentId: "string",
        endDate: "string",
        startDate: "string",
        targetId: "string",
        definedTags: {
            string: "any",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:DataSafe:AuditArchiveRetrieval
    properties:
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        endDate: string
        freeformTags:
            string: any
        startDate: string
        targetId: string
    

    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.

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

    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.

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

    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.

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

    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.

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

    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.

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

    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.

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

    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.

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

    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.

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

    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.

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

    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.

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

    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.

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

    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.

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

    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"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi