TargetCompartments

class oci.optimizer.models.TargetCompartments(**kwargs)

Bases: object

Optional. The target compartments supported by a 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 target compartment OCIDs attached to the current profile override.

Returns:The items of this TargetCompartments.
Return type:list[str]