Include¶
-
class
oci.data_safe.models.
Include
(**kwargs)¶ Bases:
object
Criteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, or definedTags criteria, it qualifies for inclusion in the target database group
Methods
__init__
(**kwargs)Initializes a new Include object with values from keyword arguments. Attributes
compartments
Gets the compartments of this Include. defined_tags
Gets the defined_tags of this Include. freeform_tags
Gets the freeform_tags of this Include. target_database_ids
Gets the target_database_ids of this Include. -
__init__
(**kwargs)¶ Initializes a new Include object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartments (list[oci.data_safe.models.Compartments]) – The value to assign to the compartments property of this Include.
- target_database_ids (list[str]) – The value to assign to the target_database_ids property of this Include.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Include.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Include.
-
compartments
¶ Gets the compartments of this Include. List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.
Returns: The compartments of this Include. Return type: list[oci.data_safe.models.Compartments]
Gets the defined_tags of this Include. 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 Include. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this Include. 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 Include. Return type: dict(str, str)
-
target_database_ids
¶ Gets the target_database_ids of this Include. The list of target database OCIDs to be included in the target database group.
Returns: The target_database_ids of this Include. Return type: list[str]
-