oci.DataSafe.AuditArchiveRetrieval
Explore with Pulumi AI
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:
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the archival retrieval.
- End
Date string - End month of the archive retrieval, in the format defined by RFC3339.
- Start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
- Target
Id 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
- 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.
- Display
Name string - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- 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"}
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the archival retrieval.
- End
Date string - End month of the archive retrieval, in the format defined by RFC3339.
- Start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
- Target
Id 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
- 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.
- Display
Name string - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- 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"}
- compartment
Id String - (Updatable) The OCID of the compartment that contains the archival retrieval.
- end
Date String - End month of the archive retrieval, in the format defined by RFC3339.
- start
Date String - Start month of the archive retrieval, in the format defined by RFC3339.
- target
Id 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
- 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.
- display
Name String - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- 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"}
- compartment
Id string - (Updatable) The OCID of the compartment that contains the archival retrieval.
- end
Date string - End month of the archive retrieval, in the format defined by RFC3339.
- start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
- target
Id 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
- {[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.
- display
Name string - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- {[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
- 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.
- 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"}
- compartment
Id String - (Updatable) The OCID of the compartment that contains the archival retrieval.
- end
Date String - End month of the archive retrieval, in the format defined by RFC3339.
- start
Date String - Start month of the archive retrieval, in the format defined by RFC3339.
- target
Id 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
- 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.
- display
Name String - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- 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:
- Audit
Event stringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- Error
Info string - The Error details of a failed archive retrieval.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Details about the current state of the archive retrieval.
- State string
- The current state of the archive retrieval.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Completed string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- Time
Of stringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- Time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
- Audit
Event stringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- Error
Info string - The Error details of a failed archive retrieval.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Details about the current state of the archive retrieval.
- State string
- The current state of the archive retrieval.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Completed string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- Time
Of stringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- Time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
- audit
Event StringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- error
Info String - The Error details of a failed archive retrieval.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Details about the current state of the archive retrieval.
- state String
- The current state of the archive retrieval.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Completed String - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- time
Of StringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- time
Requested String - The date time when archive retrieval was requested, in the format defined by RFC3339.
- audit
Event stringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- error
Info string - The Error details of a failed archive retrieval.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Details about the current state of the archive retrieval.
- state string
- The current state of the archive retrieval.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Completed string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- time
Of stringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
- audit_
event_ strcount - 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.
- 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_ strexpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- time_
requested str - The date time when archive retrieval was requested, in the format defined by RFC3339.
- audit
Event StringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- error
Info String - The Error details of a failed archive retrieval.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Details about the current state of the archive retrieval.
- state String
- The current state of the archive retrieval.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Completed String - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- time
Of StringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- time
Requested String - The date time when archive retrieval was requested, in the format defined by RFC3339.
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.
- Audit
Event stringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the archival retrieval.
- 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.
- Display
Name string - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- End
Date string - End month of the archive retrieval, in the format defined by RFC3339.
- Error
Info string - The Error details of a failed archive retrieval.
- Dictionary<string, string>
- (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 string - Details about the current state of the archive retrieval.
- Start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
- State string
- The current state of the archive retrieval.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Id string The OCID of the target associated with the archive retrieval.
** 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 string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- Time
Of stringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- Time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
- Audit
Event stringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the archival retrieval.
- 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.
- Display
Name string - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- End
Date string - End month of the archive retrieval, in the format defined by RFC3339.
- Error
Info string - The Error details of a failed archive retrieval.
- map[string]string
- (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 string - Details about the current state of the archive retrieval.
- Start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
- State string
- The current state of the archive retrieval.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Id string The OCID of the target associated with the archive retrieval.
** 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 string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- Time
Of stringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- Time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
- audit
Event StringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the archival retrieval.
- 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.
- display
Name String - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- end
Date String - End month of the archive retrieval, in the format defined by RFC3339.
- error
Info String - The Error details of a failed archive retrieval.
- Map<String,String>
- (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 String - Details about the current state of the archive retrieval.
- start
Date String - Start month of the archive retrieval, in the format defined by RFC3339.
- state String
- The current state of the archive retrieval.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id String The OCID of the target associated with the archive retrieval.
** 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 String - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- time
Of StringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- time
Requested String - The date time when archive retrieval was requested, in the format defined by RFC3339.
- audit
Event stringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the archival retrieval.
- {[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.
- display
Name string - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- end
Date string - End month of the archive retrieval, in the format defined by RFC3339.
- error
Info string - The Error details of a failed archive retrieval.
- {[key: string]: string}
- (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 string - Details about the current state of the archive retrieval.
- start
Date string - Start month of the archive retrieval, in the format defined by RFC3339.
- state string
- The current state of the archive retrieval.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id string The OCID of the target associated with the archive retrieval.
** 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 string - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- time
Of stringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- time
Requested string - The date time when archive retrieval was requested, in the format defined by RFC3339.
- audit_
event_ strcount - 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.
- 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.
- 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.
- 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_ strexpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- time_
requested str - The date time when archive retrieval was requested, in the format defined by RFC3339.
- audit
Event StringCount - Total count of audit events to be retrieved from the archive for the specified date range.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the archival retrieval.
- 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.
- display
Name String - (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- end
Date String - End month of the archive retrieval, in the format defined by RFC3339.
- error
Info String - The Error details of a failed archive retrieval.
- Map<String>
- (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 String - Details about the current state of the archive retrieval.
- start
Date String - Start month of the archive retrieval, in the format defined by RFC3339.
- state String
- The current state of the archive retrieval.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id String The OCID of the target associated with the archive retrieval.
** 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 String - The date time when archive retrieval request was fulfilled, in the format defined by RFC3339.
- time
Of StringExpiry - The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
- time
Requested String - The date time when archive retrieval was requested, in the format defined by RFC3339.
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.