BdsCapacityReservation

class oci.bds.models.BdsCapacityReservation(**kwargs)

Bases: object

A reusable BDS capacity reservation resource.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation.

compartment_id

[Required] Gets the compartment_id of this BdsCapacityReservation.

compute_capacity_reservations

[Required] Gets the compute_capacity_reservations of this BdsCapacityReservation.

defined_tags

Gets the defined_tags of this BdsCapacityReservation.

display_name

[Required] Gets the display_name of this BdsCapacityReservation.

freeform_tags

Gets the freeform_tags of this BdsCapacityReservation.

id

[Required] Gets the id of this BdsCapacityReservation.

lifecycle_state

Gets the lifecycle_state of this BdsCapacityReservation.

system_tags

Gets the system_tags of this BdsCapacityReservation.

time_created

Gets the time_created of this BdsCapacityReservation.

time_updated

Gets the time_updated of this BdsCapacityReservation.

Methods:

__init__(**kwargs)

Initializes a new BdsCapacityReservation object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation. This constant has a value of “DELETING”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a BdsCapacityReservation. This constant has a value of “UPDATING”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this BdsCapacityReservation.

  • display_name (str) – The value to assign to the display_name property of this BdsCapacityReservation.

  • compartment_id (str) – The value to assign to the compartment_id property of this BdsCapacityReservation.

  • compute_capacity_reservations (oci.bds.models.ComputeCapacityReservations) – The value to assign to the compute_capacity_reservations property of this BdsCapacityReservation.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this BdsCapacityReservation. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this BdsCapacityReservation.

  • time_updated (datetime) – The value to assign to the time_updated property of this BdsCapacityReservation.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this BdsCapacityReservation.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this BdsCapacityReservation.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this BdsCapacityReservation.

property compartment_id

[Required] Gets the compartment_id of this BdsCapacityReservation. The OCID of the compartment that contains the BDS capacity reservation.

Returns

The compartment_id of this BdsCapacityReservation.

Return type

str

property compute_capacity_reservations

[Required] Gets the compute_capacity_reservations of this BdsCapacityReservation.

Returns

The compute_capacity_reservations of this BdsCapacityReservation.

Return type

oci.bds.models.ComputeCapacityReservations

property defined_tags

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

Returns

The defined_tags of this BdsCapacityReservation.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this BdsCapacityReservation. A user-friendly name for the BDS capacity reservation.

Returns

The display_name of this BdsCapacityReservation.

Return type

str

property freeform_tags

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

Returns

The freeform_tags of this BdsCapacityReservation.

Return type

dict(str, str)

property id

[Required] Gets the id of this BdsCapacityReservation. The OCID of the BDS capacity reservation.

Returns

The id of this BdsCapacityReservation.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this BdsCapacityReservation. The lifecycle state of the BDS capacity reservation.

Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this BdsCapacityReservation.

Return type

str

property system_tags

Gets the system_tags of this BdsCapacityReservation. Usage of system tag keys. These predefined keys are scoped to namespaces.

Returns

The system_tags of this BdsCapacityReservation.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this BdsCapacityReservation. The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.

Returns

The time_created of this BdsCapacityReservation.

Return type

datetime

property time_updated

Gets the time_updated of this BdsCapacityReservation. The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.

Returns

The time_updated of this BdsCapacityReservation.

Return type

datetime