BdsCapacityReservationSummary

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

Bases: object

Summary of a BDS capacity reservation.

Methods:

__init__(**kwargs)

Initializes a new BdsCapacityReservationSummary object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this BdsCapacityReservationSummary.

compute_capacity_reservations

[Required] Gets the compute_capacity_reservations of this BdsCapacityReservationSummary.

defined_tags

Gets the defined_tags of this BdsCapacityReservationSummary.

display_name

[Required] Gets the display_name of this BdsCapacityReservationSummary.

freeform_tags

Gets the freeform_tags of this BdsCapacityReservationSummary.

id

[Required] Gets the id of this BdsCapacityReservationSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this BdsCapacityReservationSummary.

system_tags

Gets the system_tags of this BdsCapacityReservationSummary.

time_created

[Required] Gets the time_created of this BdsCapacityReservationSummary.

time_updated

Gets the time_updated of this BdsCapacityReservationSummary.

__init__(**kwargs)

Initializes a new BdsCapacityReservationSummary 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 BdsCapacityReservationSummary.

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

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

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

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this BdsCapacityReservationSummary.

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

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

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

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

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

property compartment_id

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

Returns

The compartment_id of this BdsCapacityReservationSummary.

Return type

str

property compute_capacity_reservations

[Required] Gets the compute_capacity_reservations of this BdsCapacityReservationSummary.

Returns

The compute_capacity_reservations of this BdsCapacityReservationSummary.

Return type

oci.bds.models.ComputeCapacityReservations

property defined_tags

Gets the defined_tags of this BdsCapacityReservationSummary. 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 BdsCapacityReservationSummary.

Return type

dict(str, dict(str, object))

property display_name

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

Returns

The display_name of this BdsCapacityReservationSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this BdsCapacityReservationSummary. 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 BdsCapacityReservationSummary.

Return type

dict(str, str)

property id

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

Returns

The id of this BdsCapacityReservationSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this BdsCapacityReservationSummary. The lifecycle state of the BDS capacity reservation.

Returns

The lifecycle_state of this BdsCapacityReservationSummary.

Return type

str

property system_tags

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

Returns

The system_tags of this BdsCapacityReservationSummary.

Return type

dict(str, dict(str, object))

property time_created

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

Returns

The time_created of this BdsCapacityReservationSummary.

Return type

datetime

property time_updated

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

Returns

The time_updated of this BdsCapacityReservationSummary.

Return type

datetime