CreateSdmMaskingPolicyDifferenceDetails

class oci.data_safe.models.CreateSdmMaskingPolicyDifferenceDetails(**kwargs)

Bases: object

Details to create a new SDM masking policy difference.

Methods:

__init__(**kwargs)

Initializes a new CreateSdmMaskingPolicyDifferenceDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateSdmMaskingPolicyDifferenceDetails.

defined_tags

Gets the defined_tags of this CreateSdmMaskingPolicyDifferenceDetails.

difference_type

Gets the difference_type of this CreateSdmMaskingPolicyDifferenceDetails.

display_name

Gets the display_name of this CreateSdmMaskingPolicyDifferenceDetails.

freeform_tags

Gets the freeform_tags of this CreateSdmMaskingPolicyDifferenceDetails.

masking_policy_id

[Required] Gets the masking_policy_id of this CreateSdmMaskingPolicyDifferenceDetails.

__init__(**kwargs)

Initializes a new CreateSdmMaskingPolicyDifferenceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • difference_type (str) – The value to assign to the difference_type property of this CreateSdmMaskingPolicyDifferenceDetails.

  • masking_policy_id (str) – The value to assign to the masking_policy_id property of this CreateSdmMaskingPolicyDifferenceDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateSdmMaskingPolicyDifferenceDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateSdmMaskingPolicyDifferenceDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSdmMaskingPolicyDifferenceDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSdmMaskingPolicyDifferenceDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateSdmMaskingPolicyDifferenceDetails. The OCID of the compartment where the SDM masking policy difference resource should be created.

Returns

The compartment_id of this CreateSdmMaskingPolicyDifferenceDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateSdmMaskingPolicyDifferenceDetails. 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 CreateSdmMaskingPolicyDifferenceDetails.

Return type

dict(str, dict(str, object))

property difference_type

Gets the difference_type of this CreateSdmMaskingPolicyDifferenceDetails. 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.

Returns

The difference_type of this CreateSdmMaskingPolicyDifferenceDetails.

Return type

str

property display_name

Gets the display_name of this CreateSdmMaskingPolicyDifferenceDetails. A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.

Returns

The display_name of this CreateSdmMaskingPolicyDifferenceDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateSdmMaskingPolicyDifferenceDetails. 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 CreateSdmMaskingPolicyDifferenceDetails.

Return type

dict(str, str)

property masking_policy_id

[Required] Gets the masking_policy_id of this CreateSdmMaskingPolicyDifferenceDetails. The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won’t be allowed.

Returns

The masking_policy_id of this CreateSdmMaskingPolicyDifferenceDetails.

Return type

str