TargetCompartments¶
-
class
oci.optimizer.models.
TargetCompartments
(**kwargs)¶ Bases:
object
Optional. The compartments specified in the profile override for a recommendation.
Methods
__init__
(**kwargs)Initializes a new TargetCompartments object with values from keyword arguments. Attributes
items
[Required] Gets the items of this TargetCompartments. -
__init__
(**kwargs)¶ Initializes a new TargetCompartments object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: items (list[str]) – The value to assign to the items property of this TargetCompartments.
-
items
¶ [Required] Gets the items of this TargetCompartments. The list of OCIDs attached to the compartments specified in the current profile override.
Returns: The items of this TargetCompartments. Return type: list[str]
-