CreateAuditArchiveRetrievalDetails¶
- class oci.data_safe.models.CreateAuditArchiveRetrievalDetails(**kwargs)¶
Bases:
objectRequest details for creating a new archive retrieval.
Methods:
__init__(**kwargs)Initializes a new CreateAuditArchiveRetrievalDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateAuditArchiveRetrievalDetails.
Gets the defined_tags of this CreateAuditArchiveRetrievalDetails.
Gets the description of this CreateAuditArchiveRetrievalDetails.
Gets the display_name of this CreateAuditArchiveRetrievalDetails.
[Required] Gets the end_date of this CreateAuditArchiveRetrievalDetails.
Gets the freeform_tags of this CreateAuditArchiveRetrievalDetails.
[Required] Gets the start_date of this CreateAuditArchiveRetrievalDetails.
[Required] Gets the target_id of this CreateAuditArchiveRetrievalDetails.
- __init__(**kwargs)¶
Initializes a new CreateAuditArchiveRetrievalDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateAuditArchiveRetrievalDetails.
description (str) – The value to assign to the description property of this CreateAuditArchiveRetrievalDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateAuditArchiveRetrievalDetails.
target_id (str) – The value to assign to the target_id property of this CreateAuditArchiveRetrievalDetails.
start_date (datetime) – The value to assign to the start_date property of this CreateAuditArchiveRetrievalDetails.
end_date (datetime) – The value to assign to the end_date property of this CreateAuditArchiveRetrievalDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAuditArchiveRetrievalDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAuditArchiveRetrievalDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateAuditArchiveRetrievalDetails. The OCID of the compartment that contains the archival retrieval.
- Returns
The compartment_id of this CreateAuditArchiveRetrievalDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateAuditArchiveRetrievalDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateAuditArchiveRetrievalDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateAuditArchiveRetrievalDetails. Description of the archive retrieval.
- Returns
The description of this CreateAuditArchiveRetrievalDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateAuditArchiveRetrievalDetails. The display name of the archive retrieval. The name does not have to be unique, and is changeable.
- Returns
The display_name of this CreateAuditArchiveRetrievalDetails.
- Return type
str
- property end_date¶
[Required] Gets the end_date of this CreateAuditArchiveRetrievalDetails. End month of the archive retrieval, in the format defined by RFC3339.
- Returns
The end_date of this CreateAuditArchiveRetrievalDetails.
- Return type
datetime
- property freeform_tags¶
Gets the freeform_tags of this CreateAuditArchiveRetrievalDetails. 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”}
- Returns
The freeform_tags of this CreateAuditArchiveRetrievalDetails.
- Return type
dict(str, str)
- property start_date¶
[Required] Gets the start_date of this CreateAuditArchiveRetrievalDetails. Start month of the archive retrieval, in the format defined by RFC3339.
- Returns
The start_date of this CreateAuditArchiveRetrievalDetails.
- Return type
datetime
- property target_id¶
[Required] Gets the target_id of this CreateAuditArchiveRetrievalDetails. The OCID of the target associated with the archive retrieval.
- Returns
The target_id of this CreateAuditArchiveRetrievalDetails.
- Return type
str