Compartments

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

Bases: object

Containing the OCID of the compartment and a boolean value to indicates compartmentIdInSubtree.

Methods:

__init__(**kwargs)

Initializes a new Compartments object with values from keyword arguments.

Attributes:

id

[Required] Gets the id of this Compartments.

is_include_subtree

Gets the is_include_subtree of this Compartments.

__init__(**kwargs)

Initializes a new Compartments 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 Compartments.

  • is_include_subtree (bool) – The value to assign to the is_include_subtree property of this Compartments.

property id

[Required] Gets the id of this Compartments. The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.

Returns

The id of this Compartments.

Return type

str

property is_include_subtree

Gets the is_include_subtree of this Compartments. This indicates whether the target databases of sub-compartments should also be included in the target database group. By default, this parameter is set to false.

Returns

The is_include_subtree of this Compartments.

Return type

bool