UpdateInternalOccCapacityRequestDetails

class oci.capacity_management.models.UpdateInternalOccCapacityRequestDetails(**kwargs)

Bases: object

The details required for making an internal API update call for the capacity requests.

Attributes:

REQUEST_STATE_IN_PROGRESS

A constant which can be used with the request_state property of a UpdateInternalOccCapacityRequestDetails.

REQUEST_STATE_REJECTED

A constant which can be used with the request_state property of a UpdateInternalOccCapacityRequestDetails.

REQUEST_STATE_RESOLVED

A constant which can be used with the request_state property of a UpdateInternalOccCapacityRequestDetails.

lifecycle_details

Gets the lifecycle_details of this UpdateInternalOccCapacityRequestDetails.

request_state

Gets the request_state of this UpdateInternalOccCapacityRequestDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateInternalOccCapacityRequestDetails object with values from keyword arguments.

REQUEST_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the request_state property of a UpdateInternalOccCapacityRequestDetails. This constant has a value of “IN_PROGRESS”

REQUEST_STATE_REJECTED = 'REJECTED'

A constant which can be used with the request_state property of a UpdateInternalOccCapacityRequestDetails. This constant has a value of “REJECTED”

REQUEST_STATE_RESOLVED = 'RESOLVED'

A constant which can be used with the request_state property of a UpdateInternalOccCapacityRequestDetails. This constant has a value of “RESOLVED”

__init__(**kwargs)

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

Parameters
  • request_state (str) – The value to assign to the request_state property of this UpdateInternalOccCapacityRequestDetails. Allowed values for this property are: “RESOLVED”, “REJECTED”, “IN_PROGRESS”

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this UpdateInternalOccCapacityRequestDetails.

property lifecycle_details

Gets the lifecycle_details of this UpdateInternalOccCapacityRequestDetails. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.

Returns

The lifecycle_details of this UpdateInternalOccCapacityRequestDetails.

Return type

str

property request_state

Gets the request_state of this UpdateInternalOccCapacityRequestDetails. The subset of request states available internally for updating the capacity request.

Allowed values for this property are: “RESOLVED”, “REJECTED”, “IN_PROGRESS”

Returns

The request_state of this UpdateInternalOccCapacityRequestDetails.

Return type

str