SubsettingReport¶
-
class
oci.data_safe.models.SubsettingReport(**kwargs)¶ Bases:
objectSummary information for a report generated from a data subsetting operation
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a SubsettingReport. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a SubsettingReport. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a SubsettingReport. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a SubsettingReport. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a SubsettingReport. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a SubsettingReport. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a SubsettingReport. SUBSETTING_STATUS_FAILEDA constant which can be used with the subsetting_status property of a SubsettingReport. SUBSETTING_STATUS_SUCCESSA constant which can be used with the subsetting_status property of a SubsettingReport. compartment_id[Required] Gets the compartment_id of this SubsettingReport. database_size_after_subsetting_in_kbsGets the database_size_after_subsetting_in_kbs of this SubsettingReport. database_size_before_subsetting_in_kbsGets the database_size_before_subsetting_in_kbs of this SubsettingReport. id[Required] Gets the id of this SubsettingReport. is_redo_logging_enabledGets the is_redo_logging_enabled of this SubsettingReport. is_refresh_stats_enabledGets the is_refresh_stats_enabled of this SubsettingReport. lifecycle_state[Required] Gets the lifecycle_state of this SubsettingReport. masking_policy_idGets the masking_policy_id of this SubsettingReport. masking_report_idGets the masking_report_id of this SubsettingReport. masking_work_request_idGets the masking_work_request_id of this SubsettingReport. parallel_degreeGets the parallel_degree of this SubsettingReport. recompileGets the recompile of this SubsettingReport. subsetting_policy_id[Required] Gets the subsetting_policy_id of this SubsettingReport. subsetting_status[Required] Gets the subsetting_status of this SubsettingReport. subsetting_work_request_id[Required] Gets the subsetting_work_request_id of this SubsettingReport. target_id[Required] Gets the target_id of this SubsettingReport. time_createdGets the time_created of this SubsettingReport. time_subsetting_finished[Required] Gets the time_subsetting_finished of this SubsettingReport. time_subsetting_started[Required] Gets the time_subsetting_started of this SubsettingReport. total_post_subsetting_script_errorsGets the total_post_subsetting_script_errors of this SubsettingReport. total_pre_subsetting_script_errorsGets the total_pre_subsetting_script_errors of this SubsettingReport. total_subsetted_objects[Required] Gets the total_subsetted_objects of this SubsettingReport. total_subsetted_rowsGets the total_subsetted_rows of this SubsettingReport. total_subsetted_schemasGets the total_subsetted_schemas of this SubsettingReport. Methods
__init__(**kwargs)Initializes a new SubsettingReport object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a SubsettingReport. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a SubsettingReport. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a SubsettingReport. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a SubsettingReport. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a SubsettingReport. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a SubsettingReport. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a SubsettingReport. This constant has a value of “UPDATING”
-
SUBSETTING_STATUS_FAILED= 'FAILED'¶ A constant which can be used with the subsetting_status property of a SubsettingReport. This constant has a value of “FAILED”
-
SUBSETTING_STATUS_SUCCESS= 'SUCCESS'¶ A constant which can be used with the subsetting_status property of a SubsettingReport. This constant has a value of “SUCCESS”
-
__init__(**kwargs)¶ Initializes a new SubsettingReport 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 SubsettingReport.
- compartment_id (str) – The value to assign to the compartment_id property of this SubsettingReport.
- subsetting_work_request_id (str) – The value to assign to the subsetting_work_request_id property of this SubsettingReport.
- subsetting_policy_id (str) – The value to assign to the subsetting_policy_id property of this SubsettingReport.
- target_id (str) – The value to assign to the target_id property of this SubsettingReport.
- masking_report_id (str) – The value to assign to the masking_report_id property of this SubsettingReport.
- masking_policy_id (str) – The value to assign to the masking_policy_id property of this SubsettingReport.
- masking_work_request_id (str) – The value to assign to the masking_work_request_id property of this SubsettingReport.
- total_subsetted_schemas (int) – The value to assign to the total_subsetted_schemas property of this SubsettingReport.
- total_subsetted_objects (int) – The value to assign to the total_subsetted_objects property of this SubsettingReport.
- total_subsetted_rows (int) – The value to assign to the total_subsetted_rows property of this SubsettingReport.
- database_size_before_subsetting_in_kbs (str) – The value to assign to the database_size_before_subsetting_in_kbs property of this SubsettingReport.
- database_size_after_subsetting_in_kbs (str) – The value to assign to the database_size_after_subsetting_in_kbs property of this SubsettingReport.
- time_subsetting_started (datetime) – The value to assign to the time_subsetting_started property of this SubsettingReport.
- time_subsetting_finished (datetime) – The value to assign to the time_subsetting_finished property of this SubsettingReport.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this SubsettingReport. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this SubsettingReport.
- is_redo_logging_enabled (bool) – The value to assign to the is_redo_logging_enabled property of this SubsettingReport.
- is_refresh_stats_enabled (bool) – The value to assign to the is_refresh_stats_enabled property of this SubsettingReport.
- parallel_degree (str) – The value to assign to the parallel_degree property of this SubsettingReport.
- recompile (str) – The value to assign to the recompile property of this SubsettingReport.
- subsetting_status (str) – The value to assign to the subsetting_status property of this SubsettingReport. Allowed values for this property are: “FAILED”, “SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- total_pre_subsetting_script_errors (int) – The value to assign to the total_pre_subsetting_script_errors property of this SubsettingReport.
- total_post_subsetting_script_errors (int) – The value to assign to the total_post_subsetting_script_errors property of this SubsettingReport.
-
compartment_id¶ [Required] Gets the compartment_id of this SubsettingReport. The OCID of the compartment that contains the subsetting report
Returns: The compartment_id of this SubsettingReport. Return type: str
-
database_size_after_subsetting_in_kbs¶ Gets the database_size_after_subsetting_in_kbs of this SubsettingReport. The size of the target database after subsetting in KBs
Returns: The database_size_after_subsetting_in_kbs of this SubsettingReport. Return type: str
-
database_size_before_subsetting_in_kbs¶ Gets the database_size_before_subsetting_in_kbs of this SubsettingReport. The size of the target database before subsetting in KBs
Returns: The database_size_before_subsetting_in_kbs of this SubsettingReport. Return type: str
-
id¶ [Required] Gets the id of this SubsettingReport. The OCID of the subsetting report
Returns: The id of this SubsettingReport. Return type: str
-
is_redo_logging_enabled¶ Gets the is_redo_logging_enabled of this SubsettingReport. Indicates if redo logging was enabled during the subsetting operation
Returns: The is_redo_logging_enabled of this SubsettingReport. Return type: bool
-
is_refresh_stats_enabled¶ Gets the is_refresh_stats_enabled of this SubsettingReport. Indicates if statistics gathering was enabled during the subsetting operation
Returns: The is_refresh_stats_enabled of this SubsettingReport. Return type: bool
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this SubsettingReport. The current state of the subsetting report
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this SubsettingReport. Return type: str
-
masking_policy_id¶ Gets the masking_policy_id of this SubsettingReport. The OCID of the masking policy associated with this subsetting report
Returns: The masking_policy_id of this SubsettingReport. Return type: str
-
masking_report_id¶ Gets the masking_report_id of this SubsettingReport. The OCID of the masking report associated with this subsetting report
Returns: The masking_report_id of this SubsettingReport. Return type: str
-
masking_work_request_id¶ Gets the masking_work_request_id of this SubsettingReport. The OCID of the masking work request triggered after this subsetting job
Returns: The masking_work_request_id of this SubsettingReport. Return type: str
-
parallel_degree¶ Gets the parallel_degree of this SubsettingReport. Indicates if parallel execution was enabled during the subsetting operation
Returns: The parallel_degree of this SubsettingReport. Return type: str
-
recompile¶ Gets the recompile of this SubsettingReport. Indicates how invalid objects were recompiled post the subsetting operation
Returns: The recompile of this SubsettingReport. Return type: str
-
subsetting_policy_id¶ [Required] Gets the subsetting_policy_id of this SubsettingReport. The OCID of the subsetting policy used
Returns: The subsetting_policy_id of this SubsettingReport. Return type: str
-
subsetting_status¶ [Required] Gets the subsetting_status of this SubsettingReport. The status of the subsetting job
Allowed values for this property are: “FAILED”, “SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The subsetting_status of this SubsettingReport. Return type: str
-
subsetting_work_request_id¶ [Required] Gets the subsetting_work_request_id of this SubsettingReport. The OCID of the subsetting work request that resulted in this subsetting report
Returns: The subsetting_work_request_id of this SubsettingReport. Return type: str
-
target_id¶ [Required] Gets the target_id of this SubsettingReport. The OCID of the target database subsetted
Returns: The target_id of this SubsettingReport. Return type: str
-
time_created¶ Gets the time_created of this SubsettingReport. The date and time the subsetting report was created, in the format defined by RFC3339
Returns: The time_created of this SubsettingReport. Return type: datetime
-
time_subsetting_finished¶ [Required] Gets the time_subsetting_finished of this SubsettingReport. The date and time data subsetting finished, in the format defined by RFC3339
Returns: The time_subsetting_finished of this SubsettingReport. Return type: datetime
-
time_subsetting_started¶ [Required] Gets the time_subsetting_started of this SubsettingReport. The date and time data subsetting started, in the format defined by RFC3339
Returns: The time_subsetting_started of this SubsettingReport. Return type: datetime
-
total_post_subsetting_script_errors¶ Gets the total_post_subsetting_script_errors of this SubsettingReport. The total number of errors in post-subsetting script
Returns: The total_post_subsetting_script_errors of this SubsettingReport. Return type: int
-
total_pre_subsetting_script_errors¶ Gets the total_pre_subsetting_script_errors of this SubsettingReport. The total number of errors in pre-subsetting script
Returns: The total_pre_subsetting_script_errors of this SubsettingReport. Return type: int
-
total_subsetted_objects¶ [Required] Gets the total_subsetted_objects of this SubsettingReport. The total number of subsetted objects
Returns: The total_subsetted_objects of this SubsettingReport. Return type: int
-
total_subsetted_rows¶ Gets the total_subsetted_rows of this SubsettingReport. The count of rows reduced in the subsetting job
Returns: The total_subsetted_rows of this SubsettingReport. Return type: int
-
total_subsetted_schemas¶ Gets the total_subsetted_schemas of this SubsettingReport. The total number of subsetted schemas
Returns: The total_subsetted_schemas of this SubsettingReport. Return type: int
-