StorageWorkRequestSummary¶
-
class
oci.log_analytics.models.
StorageWorkRequestSummary
(**kwargs)¶ Bases:
object
This is the summary of a storage work request.
Attributes
DATA_TYPE_LOG
A constant which can be used with the data_type property of a StorageWorkRequestSummary. DATA_TYPE_LOOKUP
A constant which can be used with the data_type property of a StorageWorkRequestSummary. KEY_TYPE_ACTIVE_DATA
A constant which can be used with the key_type property of a StorageWorkRequestSummary. KEY_TYPE_ALL
A constant which can be used with the key_type property of a StorageWorkRequestSummary. KEY_TYPE_ARCHIVAL_DATA
A constant which can be used with the key_type property of a StorageWorkRequestSummary. OPERATION_TYPE_ARCHIVE_STORAGE_DATA
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. OPERATION_TYPE_CLEANUP_ARCHIVAL_STORAGE_DATA
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. OPERATION_TYPE_ENCRYPT_ACTIVE_DATA
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. OPERATION_TYPE_ENCRYPT_ARCHIVAL_DATA
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. OPERATION_TYPE_OFFBOARD_TENANCY
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. OPERATION_TYPE_PURGE_ARCHIVAL_DATA
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. OPERATION_TYPE_PURGE_STORAGE_DATA
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. OPERATION_TYPE_RECALL_ARCHIVED_STORAGE_DATA
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. OPERATION_TYPE_RELEASE_RECALLED_STORAGE_DATA
A constant which can be used with the operation_type property of a StorageWorkRequestSummary. STATUS_ACCEPTED
A constant which can be used with the status property of a StorageWorkRequestSummary. STATUS_CANCELED
A constant which can be used with the status property of a StorageWorkRequestSummary. STATUS_FAILED
A constant which can be used with the status property of a StorageWorkRequestSummary. STATUS_IN_PROGRESS
A constant which can be used with the status property of a StorageWorkRequestSummary. STATUS_SUCCEEDED
A constant which can be used with the status property of a StorageWorkRequestSummary. compartment_id
Gets the compartment_id of this StorageWorkRequestSummary. compartment_id_in_subtree
Gets the compartment_id_in_subtree of this StorageWorkRequestSummary. data_type
Gets the data_type of this StorageWorkRequestSummary. id
[Required] Gets the id of this StorageWorkRequestSummary. is_recall_new_data_only
Gets the is_recall_new_data_only of this StorageWorkRequestSummary. is_use_recommended_data_set
Gets the is_use_recommended_data_set of this StorageWorkRequestSummary. key_id
Gets the key_id of this StorageWorkRequestSummary. key_type
Gets the key_type of this StorageWorkRequestSummary. log_sets
Gets the log_sets of this StorageWorkRequestSummary. operation_details
Gets the operation_details of this StorageWorkRequestSummary. operation_type
[Required] Gets the operation_type of this StorageWorkRequestSummary. percent_complete
Gets the percent_complete of this StorageWorkRequestSummary. policy_id
Gets the policy_id of this StorageWorkRequestSummary. policy_name
Gets the policy_name of this StorageWorkRequestSummary. purge_query_string
Gets the purge_query_string of this StorageWorkRequestSummary. purpose
Gets the purpose of this StorageWorkRequestSummary. query
Gets the query of this StorageWorkRequestSummary. status
[Required] Gets the status of this StorageWorkRequestSummary. status_details
Gets the status_details of this StorageWorkRequestSummary. storage_usage_in_bytes
Gets the storage_usage_in_bytes of this StorageWorkRequestSummary. time_accepted
Gets the time_accepted of this StorageWorkRequestSummary. time_data_ended
Gets the time_data_ended of this StorageWorkRequestSummary. time_data_started
Gets the time_data_started of this StorageWorkRequestSummary. time_expires
Gets the time_expires of this StorageWorkRequestSummary. time_finished
Gets the time_finished of this StorageWorkRequestSummary. time_started
Gets the time_started of this StorageWorkRequestSummary. Methods
__init__
(**kwargs)Initializes a new StorageWorkRequestSummary object with values from keyword arguments. -
DATA_TYPE_LOG
= 'LOG'¶ A constant which can be used with the data_type property of a StorageWorkRequestSummary. This constant has a value of “LOG”
-
DATA_TYPE_LOOKUP
= 'LOOKUP'¶ A constant which can be used with the data_type property of a StorageWorkRequestSummary. This constant has a value of “LOOKUP”
-
KEY_TYPE_ACTIVE_DATA
= 'ACTIVE_DATA'¶ A constant which can be used with the key_type property of a StorageWorkRequestSummary. This constant has a value of “ACTIVE_DATA”
-
KEY_TYPE_ALL
= 'ALL'¶ A constant which can be used with the key_type property of a StorageWorkRequestSummary. This constant has a value of “ALL”
-
KEY_TYPE_ARCHIVAL_DATA
= 'ARCHIVAL_DATA'¶ A constant which can be used with the key_type property of a StorageWorkRequestSummary. This constant has a value of “ARCHIVAL_DATA”
-
OPERATION_TYPE_ARCHIVE_STORAGE_DATA
= 'ARCHIVE_STORAGE_DATA'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “ARCHIVE_STORAGE_DATA”
-
OPERATION_TYPE_CLEANUP_ARCHIVAL_STORAGE_DATA
= 'CLEANUP_ARCHIVAL_STORAGE_DATA'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “CLEANUP_ARCHIVAL_STORAGE_DATA”
-
OPERATION_TYPE_ENCRYPT_ACTIVE_DATA
= 'ENCRYPT_ACTIVE_DATA'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “ENCRYPT_ACTIVE_DATA”
-
OPERATION_TYPE_ENCRYPT_ARCHIVAL_DATA
= 'ENCRYPT_ARCHIVAL_DATA'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “ENCRYPT_ARCHIVAL_DATA”
-
OPERATION_TYPE_OFFBOARD_TENANCY
= 'OFFBOARD_TENANCY'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “OFFBOARD_TENANCY”
-
OPERATION_TYPE_PURGE_ARCHIVAL_DATA
= 'PURGE_ARCHIVAL_DATA'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “PURGE_ARCHIVAL_DATA”
-
OPERATION_TYPE_PURGE_STORAGE_DATA
= 'PURGE_STORAGE_DATA'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “PURGE_STORAGE_DATA”
-
OPERATION_TYPE_RECALL_ARCHIVED_STORAGE_DATA
= 'RECALL_ARCHIVED_STORAGE_DATA'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “RECALL_ARCHIVED_STORAGE_DATA”
-
OPERATION_TYPE_RELEASE_RECALLED_STORAGE_DATA
= 'RELEASE_RECALLED_STORAGE_DATA'¶ A constant which can be used with the operation_type property of a StorageWorkRequestSummary. This constant has a value of “RELEASE_RECALLED_STORAGE_DATA”
-
STATUS_ACCEPTED
= 'ACCEPTED'¶ A constant which can be used with the status property of a StorageWorkRequestSummary. This constant has a value of “ACCEPTED”
-
STATUS_CANCELED
= 'CANCELED'¶ A constant which can be used with the status property of a StorageWorkRequestSummary. This constant has a value of “CANCELED”
-
STATUS_FAILED
= 'FAILED'¶ A constant which can be used with the status property of a StorageWorkRequestSummary. This constant has a value of “FAILED”
-
STATUS_IN_PROGRESS
= 'IN_PROGRESS'¶ A constant which can be used with the status property of a StorageWorkRequestSummary. This constant has a value of “IN_PROGRESS”
-
STATUS_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the status property of a StorageWorkRequestSummary. This constant has a value of “SUCCEEDED”
-
__init__
(**kwargs)¶ Initializes a new StorageWorkRequestSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this StorageWorkRequestSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this StorageWorkRequestSummary.
- time_started (datetime) – The value to assign to the time_started property of this StorageWorkRequestSummary.
- time_accepted (datetime) – The value to assign to the time_accepted property of this StorageWorkRequestSummary.
- time_finished (datetime) – The value to assign to the time_finished property of this StorageWorkRequestSummary.
- time_expires (datetime) – The value to assign to the time_expires property of this StorageWorkRequestSummary.
- percent_complete (int) – The value to assign to the percent_complete property of this StorageWorkRequestSummary.
- status (str) – The value to assign to the status property of this StorageWorkRequestSummary. Allowed values for this property are: “ACCEPTED”, “CANCELED”, “FAILED”, “IN_PROGRESS”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_data_started (datetime) – The value to assign to the time_data_started property of this StorageWorkRequestSummary.
- time_data_ended (datetime) – The value to assign to the time_data_ended property of this StorageWorkRequestSummary.
- purge_query_string (str) – The value to assign to the purge_query_string property of this StorageWorkRequestSummary.
- data_type (str) – The value to assign to the data_type property of this StorageWorkRequestSummary. Allowed values for this property are: “LOG”, “LOOKUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- status_details (str) – The value to assign to the status_details property of this StorageWorkRequestSummary.
- operation_details (str) – The value to assign to the operation_details property of this StorageWorkRequestSummary.
- policy_name (str) – The value to assign to the policy_name property of this StorageWorkRequestSummary.
- policy_id (str) – The value to assign to the policy_id property of this StorageWorkRequestSummary.
- storage_usage_in_bytes (int) – The value to assign to the storage_usage_in_bytes property of this StorageWorkRequestSummary.
- compartment_id_in_subtree (bool) – The value to assign to the compartment_id_in_subtree property of this StorageWorkRequestSummary.
- operation_type (str) – The value to assign to the operation_type property of this StorageWorkRequestSummary. Allowed values for this property are: “OFFBOARD_TENANCY”, “PURGE_STORAGE_DATA”, “RECALL_ARCHIVED_STORAGE_DATA”, “RELEASE_RECALLED_STORAGE_DATA”, “PURGE_ARCHIVAL_DATA”, “ARCHIVE_STORAGE_DATA”, “CLEANUP_ARCHIVAL_STORAGE_DATA”, “ENCRYPT_ACTIVE_DATA”, “ENCRYPT_ARCHIVAL_DATA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- key_id (str) – The value to assign to the key_id property of this StorageWorkRequestSummary.
- key_type (str) – The value to assign to the key_type property of this StorageWorkRequestSummary. Allowed values for this property are: “ACTIVE_DATA”, “ARCHIVAL_DATA”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- log_sets (str) – The value to assign to the log_sets property of this StorageWorkRequestSummary.
- purpose (str) – The value to assign to the purpose property of this StorageWorkRequestSummary.
- query (str) – The value to assign to the query property of this StorageWorkRequestSummary.
- is_recall_new_data_only (bool) – The value to assign to the is_recall_new_data_only property of this StorageWorkRequestSummary.
- is_use_recommended_data_set (bool) – The value to assign to the is_use_recommended_data_set property of this StorageWorkRequestSummary.
-
compartment_id
¶ Gets the compartment_id of this StorageWorkRequestSummary. Compartment Identifier OCID].
Returns: The compartment_id of this StorageWorkRequestSummary. Return type: str
-
compartment_id_in_subtree
¶ Gets the compartment_id_in_subtree of this StorageWorkRequestSummary. If true, purge child compartments data, only applicable to purge request
Returns: The compartment_id_in_subtree of this StorageWorkRequestSummary. Return type: bool
-
data_type
¶ Gets the data_type of this StorageWorkRequestSummary. Thie is the type of data to be purged
Allowed values for this property are: “LOG”, “LOOKUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The data_type of this StorageWorkRequestSummary. Return type: str
-
id
¶ [Required] Gets the id of this StorageWorkRequestSummary. This is the OCID of the storage work Request.
Returns: The id of this StorageWorkRequestSummary. Return type: str
-
is_recall_new_data_only
¶ Gets the is_recall_new_data_only of this StorageWorkRequestSummary. This is the flag to indicate if only new data has to be recalled in this work request
Returns: The is_recall_new_data_only of this StorageWorkRequestSummary. Return type: bool
-
is_use_recommended_data_set
¶ Gets the is_use_recommended_data_set of this StorageWorkRequestSummary. This indicates if user checked system recommended time range
Returns: The is_use_recommended_data_set of this StorageWorkRequestSummary. Return type: bool
-
key_id
¶ Gets the key_id of this StorageWorkRequestSummary. This is the key ID for encryption key.
Returns: The key_id of this StorageWorkRequestSummary. Return type: str
-
key_type
¶ Gets the key_type of this StorageWorkRequestSummary. The type of customer encryption key. It can be archival, active or all.
Allowed values for this property are: “ACTIVE_DATA”, “ARCHIVAL_DATA”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The key_type of this StorageWorkRequestSummary. Return type: str
-
log_sets
¶ Gets the log_sets of this StorageWorkRequestSummary. This is a list of logsets associated with this work request
Returns: The log_sets of this StorageWorkRequestSummary. Return type: str
-
operation_details
¶ Gets the operation_details of this StorageWorkRequestSummary. This provides more detailed info about the work request if applicable
Returns: The operation_details of this StorageWorkRequestSummary. Return type: str
-
operation_type
¶ [Required] Gets the operation_type of this StorageWorkRequestSummary. This is the type of the work request.
Allowed values for this property are: “OFFBOARD_TENANCY”, “PURGE_STORAGE_DATA”, “RECALL_ARCHIVED_STORAGE_DATA”, “RELEASE_RECALLED_STORAGE_DATA”, “PURGE_ARCHIVAL_DATA”, “ARCHIVE_STORAGE_DATA”, “CLEANUP_ARCHIVAL_STORAGE_DATA”, “ENCRYPT_ACTIVE_DATA”, “ENCRYPT_ARCHIVAL_DATA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operation_type of this StorageWorkRequestSummary. Return type: str
-
percent_complete
¶ Gets the percent_complete of this StorageWorkRequestSummary. Percentage progress completion of the work request.
Returns: The percent_complete of this StorageWorkRequestSummary. Return type: int
-
policy_id
¶ Gets the policy_id of this StorageWorkRequestSummary. This is the purge policy ID if applicable
Returns: The policy_id of this StorageWorkRequestSummary. Return type: str
-
policy_name
¶ Gets the policy_name of this StorageWorkRequestSummary. This is the policy name if applicable (e.g. purge policy)
Returns: The policy_name of this StorageWorkRequestSummary. Return type: str
-
purge_query_string
¶ Gets the purge_query_string of this StorageWorkRequestSummary. This is the solr query used to filter data for purge, ‘*’ means all
Returns: The purge_query_string of this StorageWorkRequestSummary. Return type: str
-
purpose
¶ Gets the purpose of this StorageWorkRequestSummary. This is the purpose of the operation associated with this work request
Returns: The purpose of this StorageWorkRequestSummary. Return type: str
-
query
¶ Gets the query of this StorageWorkRequestSummary. This is the query string applied on the operation associated with this work request
Returns: The query of this StorageWorkRequestSummary. Return type: str
-
status
¶ [Required] Gets the status of this StorageWorkRequestSummary. This is the work request status.
Allowed values for this property are: “ACCEPTED”, “CANCELED”, “FAILED”, “IN_PROGRESS”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this StorageWorkRequestSummary. Return type: str
-
status_details
¶ Gets the status_details of this StorageWorkRequestSummary. This provides more detailed status if applicable
Returns: The status_details of this StorageWorkRequestSummary. Return type: str
-
storage_usage_in_bytes
¶ Gets the storage_usage_in_bytes of this StorageWorkRequestSummary. This is the data usage in bytes if applicable
Returns: The storage_usage_in_bytes of this StorageWorkRequestSummary. Return type: int
-
time_accepted
¶ Gets the time_accepted of this StorageWorkRequestSummary. When the work request was accepted. Should match timeStarted in all cases.
Returns: The time_accepted of this StorageWorkRequestSummary. Return type: datetime
-
time_data_ended
¶ Gets the time_data_ended of this StorageWorkRequestSummary. This is the end of the time interval
Returns: The time_data_ended of this StorageWorkRequestSummary. Return type: datetime
-
time_data_started
¶ Gets the time_data_started of this StorageWorkRequestSummary. This is the start of the time interval
Returns: The time_data_started of this StorageWorkRequestSummary. Return type: datetime
-
time_expires
¶ Gets the time_expires of this StorageWorkRequestSummary. When the work request will expire.
Returns: The time_expires of this StorageWorkRequestSummary. Return type: datetime
-
time_finished
¶ Gets the time_finished of this StorageWorkRequestSummary. When the work request finished execution.
Returns: The time_finished of this StorageWorkRequestSummary. Return type: datetime
-
time_started
¶ Gets the time_started of this StorageWorkRequestSummary. When the work request started.
Returns: The time_started of this StorageWorkRequestSummary. Return type: datetime
-