UpdateResourceActionDetails

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

Bases: object

The request object for updating the resource action details.

Attributes

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

Methods

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

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

STATUS_IMPLEMENTED = 'IMPLEMENTED'

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

STATUS_PENDING = 'PENDING'

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

STATUS_POSTPONED = 'POSTPONED'

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

__init__(**kwargs)

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

Parameters:
  • status (str) – The value to assign to the status property of this UpdateResourceActionDetails. 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 UpdateResourceActionDetails.
status

[Required] Gets the status of this UpdateResourceActionDetails. The status of the resource action.

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

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

Gets the time_status_end of this UpdateResourceActionDetails. 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 UpdateResourceActionDetails.
Return type:datetime