CreateBdsCapacityReservationDetails

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

Bases: object

Details for creating a BDS capacity reservation.

Methods

__init__(**kwargs) Initializes a new CreateBdsCapacityReservationDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateBdsCapacityReservationDetails.
compute_capacity_reservations [Required] Gets the compute_capacity_reservations of this CreateBdsCapacityReservationDetails.
defined_tags Gets the defined_tags of this CreateBdsCapacityReservationDetails.
display_name [Required] Gets the display_name of this CreateBdsCapacityReservationDetails.
freeform_tags Gets the freeform_tags of this CreateBdsCapacityReservationDetails.
__init__(**kwargs)

Initializes a new CreateBdsCapacityReservationDetails 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 CreateBdsCapacityReservationDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateBdsCapacityReservationDetails.
  • compute_capacity_reservations (oci.bds.models.ComputeCapacityReservations) – The value to assign to the compute_capacity_reservations property of this CreateBdsCapacityReservationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateBdsCapacityReservationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateBdsCapacityReservationDetails.
compartment_id

[Required] Gets the compartment_id of this CreateBdsCapacityReservationDetails. The OCID of the compartment in which to create the BDS capacity reservation.

Returns:The compartment_id of this CreateBdsCapacityReservationDetails.
Return type:str
compute_capacity_reservations

[Required] Gets the compute_capacity_reservations of this CreateBdsCapacityReservationDetails.

Returns:The compute_capacity_reservations of this CreateBdsCapacityReservationDetails.
Return type:oci.bds.models.ComputeCapacityReservations
defined_tags

Gets the defined_tags of this CreateBdsCapacityReservationDetails. 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 CreateBdsCapacityReservationDetails.
Return type:dict(str, dict(str, object))
display_name

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

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

Gets the freeform_tags of this CreateBdsCapacityReservationDetails. 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 CreateBdsCapacityReservationDetails.
Return type:dict(str, str)