Include¶
-
class
oci.data_safe.models.Include(**kwargs)¶ Bases:
objectCriteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, definedTags, freeformTagsIn or systemTags criteria then it qualifies for inclusion in the target database group.
Methods
__init__(**kwargs)Initializes a new Include object with values from keyword arguments. Attributes
compartmentsGets the compartments of this Include. defined_tagsGets the defined_tags of this Include. freeform_tagsGets the freeform_tags of this Include. freeform_tags_inGets the freeform_tags_in of this Include. system_tagsGets the system_tags of this Include. target_database_idsGets 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.
- freeform_tags_in (dict(str, object)) – The value to assign to the freeform_tags_in property of this Include.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_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)
Gets the freeform_tags_in of this Include. Map of freeform tag filters. Each key maps to an array of strings. Target database matches the key if it’s tag value equals any of the values in the array.
Returns: The freeform_tags_in of this Include. Return type: dict(str, object)
Gets the system_tags of this Include. Map of system tag filters. Target database matches when for each specified namespace.key and the tag value equals any of the values in the array.
Returns: The system_tags of this Include. Return type: dict(str, dict(str, object))
-
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]
-