1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. AuditArchiveRetrieval
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DataSafe.AuditArchiveRetrieval

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 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("test_audit_archive_retrieval", {
        compartmentId: compartmentId,
        endDate: auditArchiveRetrievalEndDate,
        startDate: auditArchiveRetrievalStartDate,
        targetId: testTarget.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: auditArchiveRetrievalDescription,
        displayName: auditArchiveRetrievalDisplayName,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_audit_archive_retrieval = oci.data_safe.AuditArchiveRetrieval("test_audit_archive_retrieval",
        compartment_id=compartment_id,
        end_date=audit_archive_retrieval_end_date,
        start_date=audit_archive_retrieval_start_date,
        target_id=test_target["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=audit_archive_retrieval_description,
        display_name=audit_archive_retrieval_display_name,
        freeform_tags={
            "Department": "Finance",
        })
    
    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.NewAuditArchiveRetrieval(ctx, "test_audit_archive_retrieval", &DataSafe.AuditArchiveRetrievalArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			EndDate:       pulumi.Any(auditArchiveRetrievalEndDate),
    			StartDate:     pulumi.Any(auditArchiveRetrievalStartDate),
    			TargetId:      pulumi.Any(testTarget.Id),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(auditArchiveRetrievalDescription),
    			DisplayName: pulumi.Any(auditArchiveRetrievalDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("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("test_audit_archive_retrieval", new()
        {
            CompartmentId = compartmentId,
            EndDate = auditArchiveRetrievalEndDate,
            StartDate = auditArchiveRetrievalStartDate,
            TargetId = testTarget.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = auditArchiveRetrievalDescription,
            DisplayName = auditArchiveRetrievalDisplayName,
            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(compartmentId)
                .endDate(auditArchiveRetrievalEndDate)
                .startDate(auditArchiveRetrievalStartDate)
                .targetId(testTarget.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(auditArchiveRetrievalDescription)
                .displayName(auditArchiveRetrievalDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testAuditArchiveRetrieval:
        type: oci:DataSafe:AuditArchiveRetrieval
        name: test_audit_archive_retrieval
        properties:
          compartmentId: ${compartmentId}
          endDate: ${auditArchiveRetrievalEndDate}
          startDate: ${auditArchiveRetrievalStartDate}
          targetId: ${testTarget.id}
          definedTags:
            Operations.CostCenter: '42'
          description: ${auditArchiveRetrievalDescription}
          displayName: ${auditArchiveRetrievalDisplayName}
          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, str]] = None,
                              description: Optional[str] = None,
                              display_name: Optional[str] = None,
                              freeform_tags: Optional[Mapping[str, str]] = 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.

    Constructor 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", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    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.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var auditArchiveRetrievalResource = new AuditArchiveRetrieval("auditArchiveRetrievalResource", AuditArchiveRetrievalArgs.builder()
        .compartmentId("string")
        .endDate("string")
        .startDate("string")
        .targetId("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .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": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        })
    
    const auditArchiveRetrievalResource = new oci.datasafe.AuditArchiveRetrieval("auditArchiveRetrievalResource", {
        compartmentId: "string",
        endDate: "string",
        startDate: "string",
        targetId: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:DataSafe:AuditArchiveRetrieval
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        endDate: string
        freeformTags:
            string: string
        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, string>
    (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, string>
    (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]string
    (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]string
    (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,String>
    (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,String>
    (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]: string}
    (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]: string}
    (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, str]
    (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, str]
    (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>
    (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>
    (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, 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"}
    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]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"}
    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,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"}
    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]: 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"}
    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, 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"}
    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<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"}
    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, str]] = 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, str]] = None,
            lifecycle_details: Optional[str] = None,
            start_date: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = 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, string>
    (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, string>
    (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, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string

    The OCID of the target associated with the archive retrieval.

    ** 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]string
    (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]string
    (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]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string

    The OCID of the target associated with the archive retrieval.

    ** 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,String>
    (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,String>
    (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,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String

    The OCID of the target associated with the archive retrieval.

    ** 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]: string}
    (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]: string}
    (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]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId string

    The OCID of the target associated with the archive retrieval.

    ** 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, str]
    (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, str]
    (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, 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.

    ** 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<String>
    (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>
    (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>
    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi