UpdateOccCapacityRequestDetails

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

Bases: object

The details required for making an update call for capacity requests.

Attributes

REQUEST_STATE_CANCELLED A constant which can be used with the request_state property of a UpdateOccCapacityRequestDetails.
REQUEST_STATE_SUBMITTED A constant which can be used with the request_state property of a UpdateOccCapacityRequestDetails.
defined_tags Gets the defined_tags of this UpdateOccCapacityRequestDetails.
display_name Gets the display_name of this UpdateOccCapacityRequestDetails.
freeform_tags Gets the freeform_tags of this UpdateOccCapacityRequestDetails.
request_state Gets the request_state of this UpdateOccCapacityRequestDetails.

Methods

__init__(**kwargs) Initializes a new UpdateOccCapacityRequestDetails object with values from keyword arguments.
REQUEST_STATE_CANCELLED = 'CANCELLED'

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

REQUEST_STATE_SUBMITTED = 'SUBMITTED'

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

__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateOccCapacityRequestDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateOccCapacityRequestDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateOccCapacityRequestDetails.
  • request_state (str) – The value to assign to the request_state property of this UpdateOccCapacityRequestDetails. Allowed values for this property are: “SUBMITTED”, “CANCELLED”
defined_tags

Gets the defined_tags of this UpdateOccCapacityRequestDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateOccCapacityRequestDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateOccCapacityRequestDetails. The display name of the capacity request.

Returns:The display_name of this UpdateOccCapacityRequestDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateOccCapacityRequestDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateOccCapacityRequestDetails.
Return type:dict(str, str)
request_state

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

Allowed values for this property are: “SUBMITTED”, “CANCELLED”

Returns:The request_state of this UpdateOccCapacityRequestDetails.
Return type:str