SdmMaskingPolicyDifference¶
- class oci.data_safe.models.SdmMaskingPolicyDifference(**kwargs)¶
Bases:
objectA resource that tracks the differences between sensitive columns in the sensitive data model and masking columns in the masking policy
Attributes:
A constant which can be used with the difference_type property of a SdmMaskingPolicyDifference.
A constant which can be used with the difference_type property of a SdmMaskingPolicyDifference.
A constant which can be used with the difference_type property of a SdmMaskingPolicyDifference.
A constant which can be used with the difference_type property of a SdmMaskingPolicyDifference.
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference.
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference.
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference.
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference.
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference.
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference.
[Required] Gets the compartment_id of this SdmMaskingPolicyDifference.
Gets the defined_tags of this SdmMaskingPolicyDifference.
[Required] Gets the difference_type of this SdmMaskingPolicyDifference.
[Required] Gets the display_name of this SdmMaskingPolicyDifference.
Gets the freeform_tags of this SdmMaskingPolicyDifference.
[Required] Gets the id of this SdmMaskingPolicyDifference.
[Required] Gets the lifecycle_state of this SdmMaskingPolicyDifference.
[Required] Gets the masking_policy_id of this SdmMaskingPolicyDifference.
[Required] Gets the sensitive_data_model_id of this SdmMaskingPolicyDifference.
Gets the system_tags of this SdmMaskingPolicyDifference.
[Required] Gets the time_created of this SdmMaskingPolicyDifference.
[Required] Gets the time_creation_started of this SdmMaskingPolicyDifference.
Methods:
__init__(**kwargs)Initializes a new SdmMaskingPolicyDifference object with values from keyword arguments.
- DIFFERENCE_TYPE_ALL = 'ALL'¶
A constant which can be used with the difference_type property of a SdmMaskingPolicyDifference. This constant has a value of “ALL”
- DIFFERENCE_TYPE_DELETED = 'DELETED'¶
A constant which can be used with the difference_type property of a SdmMaskingPolicyDifference. This constant has a value of “DELETED”
- DIFFERENCE_TYPE_MODIFIED = 'MODIFIED'¶
A constant which can be used with the difference_type property of a SdmMaskingPolicyDifference. This constant has a value of “MODIFIED”
- DIFFERENCE_TYPE_NEW = 'NEW'¶
A constant which can be used with the difference_type property of a SdmMaskingPolicyDifference. This constant has a value of “NEW”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a SdmMaskingPolicyDifference. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new SdmMaskingPolicyDifference 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 SdmMaskingPolicyDifference.
compartment_id (str) – The value to assign to the compartment_id property of this SdmMaskingPolicyDifference.
difference_type (str) – The value to assign to the difference_type property of this SdmMaskingPolicyDifference. Allowed values for this property are: “ALL”, “NEW”, “MODIFIED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
display_name (str) – The value to assign to the display_name property of this SdmMaskingPolicyDifference.
time_created (datetime) – The value to assign to the time_created property of this SdmMaskingPolicyDifference.
time_creation_started (datetime) – The value to assign to the time_creation_started property of this SdmMaskingPolicyDifference.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this SdmMaskingPolicyDifference. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
sensitive_data_model_id (str) – The value to assign to the sensitive_data_model_id property of this SdmMaskingPolicyDifference.
masking_policy_id (str) – The value to assign to the masking_policy_id property of this SdmMaskingPolicyDifference.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this SdmMaskingPolicyDifference.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this SdmMaskingPolicyDifference.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this SdmMaskingPolicyDifference.
- property compartment_id¶
[Required] Gets the compartment_id of this SdmMaskingPolicyDifference. The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Returns
The compartment_id of this SdmMaskingPolicyDifference.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this SdmMaskingPolicyDifference. 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 SdmMaskingPolicyDifference.
- Return type
dict(str, dict(str, object))
- property difference_type¶
[Required] Gets the difference_type of this SdmMaskingPolicyDifference. The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
Allowed values for this property are: “ALL”, “NEW”, “MODIFIED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The difference_type of this SdmMaskingPolicyDifference.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this SdmMaskingPolicyDifference. The display name of the SDM masking policy difference.
- Returns
The display_name of this SdmMaskingPolicyDifference.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this SdmMaskingPolicyDifference. 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 SdmMaskingPolicyDifference.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this SdmMaskingPolicyDifference. The OCID of the Sensitive data model and masking policy difference resource.
- Returns
The id of this SdmMaskingPolicyDifference.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this SdmMaskingPolicyDifference. The current state of the SDM masking policy difference.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this SdmMaskingPolicyDifference.
- Return type
str
- property masking_policy_id¶
[Required] Gets the masking_policy_id of this SdmMaskingPolicyDifference. The OCID of the masking policy associated with the SDM masking policy difference.
- Returns
The masking_policy_id of this SdmMaskingPolicyDifference.
- Return type
str
- property sensitive_data_model_id¶
[Required] Gets the sensitive_data_model_id of this SdmMaskingPolicyDifference. The OCID of the sensitive data model associated with the SDM masking policy difference.
- Returns
The sensitive_data_model_id of this SdmMaskingPolicyDifference.
- Return type
str
- property system_tags¶
Gets the system_tags of this SdmMaskingPolicyDifference. 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”}}
- Returns
The system_tags of this SdmMaskingPolicyDifference.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this SdmMaskingPolicyDifference. The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- Returns
The time_created of this SdmMaskingPolicyDifference.
- Return type
datetime
- property time_creation_started¶
[Required] Gets the time_creation_started of this SdmMaskingPolicyDifference. The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- Returns
The time_creation_started of this SdmMaskingPolicyDifference.
- Return type
datetime