CreateRegistrationPolicyDetails

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

Bases: object

The details required to create a new registration policy. This object contains the necessary information to create a registration policy, including the compartment ID, resource ID, and features.

Attributes

FEATURES_ALL A constant which can be used with the features property of a CreateRegistrationPolicyDetails.
FEATURES_ASSESSMENT A constant which can be used with the features property of a CreateRegistrationPolicyDetails.
FEATURES_AUDIT_COLLECTION A constant which can be used with the features property of a CreateRegistrationPolicyDetails.
FEATURES_AUDIT_SETTING A constant which can be used with the features property of a CreateRegistrationPolicyDetails.
FEATURES_DATA_DISCOVERY A constant which can be used with the features property of a CreateRegistrationPolicyDetails.
FEATURES_MASKING A constant which can be used with the features property of a CreateRegistrationPolicyDetails.
FEATURES_SQL_FIREWALL A constant which can be used with the features property of a CreateRegistrationPolicyDetails.
can_override_features Gets the can_override_features of this CreateRegistrationPolicyDetails.
compartment_id [Required] Gets the compartment_id of this CreateRegistrationPolicyDetails.
connection_option Gets the connection_option of this CreateRegistrationPolicyDetails.
defined_tags Gets the defined_tags of this CreateRegistrationPolicyDetails.
description Gets the description of this CreateRegistrationPolicyDetails.
display_name Gets the display_name of this CreateRegistrationPolicyDetails.
features [Required] Gets the features of this CreateRegistrationPolicyDetails.
freeform_tags Gets the freeform_tags of this CreateRegistrationPolicyDetails.
resource_id [Required] Gets the resource_id of this CreateRegistrationPolicyDetails.

Methods

__init__(**kwargs) Initializes a new CreateRegistrationPolicyDetails object with values from keyword arguments.
FEATURES_ALL = 'ALL'

A constant which can be used with the features property of a CreateRegistrationPolicyDetails. This constant has a value of “ALL”

FEATURES_ASSESSMENT = 'ASSESSMENT'

A constant which can be used with the features property of a CreateRegistrationPolicyDetails. This constant has a value of “ASSESSMENT”

FEATURES_AUDIT_COLLECTION = 'AUDIT_COLLECTION'

A constant which can be used with the features property of a CreateRegistrationPolicyDetails. This constant has a value of “AUDIT_COLLECTION”

FEATURES_AUDIT_SETTING = 'AUDIT_SETTING'

A constant which can be used with the features property of a CreateRegistrationPolicyDetails. This constant has a value of “AUDIT_SETTING”

FEATURES_DATA_DISCOVERY = 'DATA_DISCOVERY'

A constant which can be used with the features property of a CreateRegistrationPolicyDetails. This constant has a value of “DATA_DISCOVERY”

FEATURES_MASKING = 'MASKING'

A constant which can be used with the features property of a CreateRegistrationPolicyDetails. This constant has a value of “MASKING”

FEATURES_SQL_FIREWALL = 'SQL_FIREWALL'

A constant which can be used with the features property of a CreateRegistrationPolicyDetails. This constant has a value of “SQL_FIREWALL”

__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateRegistrationPolicyDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateRegistrationPolicyDetails.
  • description (str) – The value to assign to the description property of this CreateRegistrationPolicyDetails.
  • resource_id (str) – The value to assign to the resource_id property of this CreateRegistrationPolicyDetails.
  • can_override_features (bool) – The value to assign to the can_override_features property of this CreateRegistrationPolicyDetails.
  • features (list[str]) – The value to assign to the features property of this CreateRegistrationPolicyDetails. Allowed values for items in this list are: “ASSESSMENT”, “AUDIT_COLLECTION”, “AUDIT_SETTING”, “DATA_DISCOVERY”, “MASKING”, “SQL_FIREWALL”, “ALL”
  • connection_option (oci.data_safe.models.PolicyConnectionOption) – The value to assign to the connection_option property of this CreateRegistrationPolicyDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRegistrationPolicyDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRegistrationPolicyDetails.
can_override_features

Gets the can_override_features of this CreateRegistrationPolicyDetails. Indicates whether features will be overridden for all targets.

Returns:The can_override_features of this CreateRegistrationPolicyDetails.
Return type:bool
compartment_id

[Required] Gets the compartment_id of this CreateRegistrationPolicyDetails. The OCID of the compartment where the registration policy will be created.

Returns:The compartment_id of this CreateRegistrationPolicyDetails.
Return type:str
connection_option

Gets the connection_option of this CreateRegistrationPolicyDetails.

Returns:The connection_option of this CreateRegistrationPolicyDetails.
Return type:oci.data_safe.models.PolicyConnectionOption
defined_tags

Gets the defined_tags of this CreateRegistrationPolicyDetails. 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 CreateRegistrationPolicyDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateRegistrationPolicyDetails. A description of the registration policy.

Returns:The description of this CreateRegistrationPolicyDetails.
Return type:str
display_name

Gets the display_name of this CreateRegistrationPolicyDetails. The display name of the registration policy.

Returns:The display_name of this CreateRegistrationPolicyDetails.
Return type:str
features

[Required] Gets the features of this CreateRegistrationPolicyDetails. The Data Safe features granted to the databases registering under the registration policy.

Allowed values for items in this list are: “ASSESSMENT”, “AUDIT_COLLECTION”, “AUDIT_SETTING”, “DATA_DISCOVERY”, “MASKING”, “SQL_FIREWALL”, “ALL”

Returns:The features of this CreateRegistrationPolicyDetails.
Return type:list[str]
freeform_tags

Gets the freeform_tags of this CreateRegistrationPolicyDetails. 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 CreateRegistrationPolicyDetails.
Return type:dict(str, str)
resource_id

[Required] Gets the resource_id of this CreateRegistrationPolicyDetails. The OCID of the resource used in the registration policy.

Returns:The resource_id of this CreateRegistrationPolicyDetails.
Return type:str