BulkApplyRecommendationsDetails

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

Bases: object

Details about bulk recommendation actions.

Attributes

STATUS_DISMISSED A constant which can be used with the status property of a BulkApplyRecommendationsDetails.
STATUS_IMPLEMENTED A constant which can be used with the status property of a BulkApplyRecommendationsDetails.
STATUS_PENDING A constant which can be used with the status property of a BulkApplyRecommendationsDetails.
STATUS_POSTPONED A constant which can be used with the status property of a BulkApplyRecommendationsDetails.
actions Gets the actions of this BulkApplyRecommendationsDetails.
resource_action_ids Gets the resource_action_ids of this BulkApplyRecommendationsDetails.
status [Required] Gets the status of this BulkApplyRecommendationsDetails.
time_status_end Gets the time_status_end of this BulkApplyRecommendationsDetails.

Methods

__init__(**kwargs) Initializes a new BulkApplyRecommendationsDetails object with values from keyword arguments.
STATUS_DISMISSED = 'DISMISSED'

A constant which can be used with the status property of a BulkApplyRecommendationsDetails. This constant has a value of “DISMISSED”

STATUS_IMPLEMENTED = 'IMPLEMENTED'

A constant which can be used with the status property of a BulkApplyRecommendationsDetails. This constant has a value of “IMPLEMENTED”

STATUS_PENDING = 'PENDING'

A constant which can be used with the status property of a BulkApplyRecommendationsDetails. This constant has a value of “PENDING”

STATUS_POSTPONED = 'POSTPONED'

A constant which can be used with the status property of a BulkApplyRecommendationsDetails. This constant has a value of “POSTPONED”

__init__(**kwargs)

Initializes a new BulkApplyRecommendationsDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • resource_action_ids (list[str]) – The value to assign to the resource_action_ids property of this BulkApplyRecommendationsDetails.
  • actions (list[oci.optimizer.models.BulkApplyResourceAction]) – The value to assign to the actions property of this BulkApplyRecommendationsDetails.
  • status (str) – The value to assign to the status property of this BulkApplyRecommendationsDetails. Allowed values for this property are: “PENDING”, “DISMISSED”, “POSTPONED”, “IMPLEMENTED”
  • time_status_end (datetime) – The value to assign to the time_status_end property of this BulkApplyRecommendationsDetails.
actions

Gets the actions of this BulkApplyRecommendationsDetails. The unique resource actions that recommendations are applied to.

Returns:The actions of this BulkApplyRecommendationsDetails.
Return type:list[oci.optimizer.models.BulkApplyResourceAction]
resource_action_ids

Gets the resource_action_ids of this BulkApplyRecommendationsDetails. The unique OCIDs of the resource actions that recommendations are applied to.

This field is deprecated.

Returns:The resource_action_ids of this BulkApplyRecommendationsDetails.
Return type:list[str]
status

[Required] Gets the status of this BulkApplyRecommendationsDetails. The current status of the recommendation.

Allowed values for this property are: “PENDING”, “DISMISSED”, “POSTPONED”, “IMPLEMENTED”

Returns:The status of this BulkApplyRecommendationsDetails.
Return type:str
time_status_end

Gets the time_status_end of this BulkApplyRecommendationsDetails. The date and time the current status will change. The format is defined by RFC3339.

For example, “The current postponed status of the resource action will end and change to pending on this date and time.”

Returns:The time_status_end of this BulkApplyRecommendationsDetails.
Return type:datetime