BdsCapacityReservationConfiguration¶
- class oci.bds.models.BdsCapacityReservationConfiguration(**kwargs)¶
Bases:
objectA configuration between a BDS cluster and a BDS capacity reservation.
Attributes:
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration.
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration.
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration.
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration.
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration.
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration.
[Required] Gets the bds_capacity_reservation_id of this BdsCapacityReservationConfiguration.
[Required] Gets the bds_instance_id of this BdsCapacityReservationConfiguration.
[Required] Gets the display_name of this BdsCapacityReservationConfiguration.
[Required] Gets the id of this BdsCapacityReservationConfiguration.
[Required] Gets the lifecycle_state of this BdsCapacityReservationConfiguration.
[Required] Gets the time_created of this BdsCapacityReservationConfiguration.
Gets the time_updated of this BdsCapacityReservationConfiguration.
Methods:
__init__(**kwargs)Initializes a new BdsCapacityReservationConfiguration object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration. This constant has a value of “DELETING”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a BdsCapacityReservationConfiguration. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new BdsCapacityReservationConfiguration 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 BdsCapacityReservationConfiguration.
bds_instance_id (str) – The value to assign to the bds_instance_id property of this BdsCapacityReservationConfiguration.
bds_capacity_reservation_id (str) – The value to assign to the bds_capacity_reservation_id property of this BdsCapacityReservationConfiguration.
display_name (str) – The value to assign to the display_name property of this BdsCapacityReservationConfiguration.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this BdsCapacityReservationConfiguration. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “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 BdsCapacityReservationConfiguration.
time_updated (datetime) – The value to assign to the time_updated property of this BdsCapacityReservationConfiguration.
- property bds_capacity_reservation_id¶
[Required] Gets the bds_capacity_reservation_id of this BdsCapacityReservationConfiguration. The OCID of the BDS capacity reservation associated with the BDS cluster.
- Returns
The bds_capacity_reservation_id of this BdsCapacityReservationConfiguration.
- Return type
str
- property bds_instance_id¶
[Required] Gets the bds_instance_id of this BdsCapacityReservationConfiguration. The OCID of the BDS cluster associated with the BDS capacity reservation.
- Returns
The bds_instance_id of this BdsCapacityReservationConfiguration.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this BdsCapacityReservationConfiguration. The display name of the BDS capacity reservation configuration.
- Returns
The display_name of this BdsCapacityReservationConfiguration.
- Return type
str
- property id¶
[Required] Gets the id of this BdsCapacityReservationConfiguration. The OCID of the BDS capacity reservation configuration.
- Returns
The id of this BdsCapacityReservationConfiguration.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this BdsCapacityReservationConfiguration. The lifecycle state of the BDS capacity reservation configuration.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “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 BdsCapacityReservationConfiguration.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this BdsCapacityReservationConfiguration. The time the BDS capacity reservation configuration was created, shown as an RFC 3339 formatted datetime string.
- Returns
The time_created of this BdsCapacityReservationConfiguration.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this BdsCapacityReservationConfiguration. The time the BDS capacity reservation configuration was updated, shown as an RFC 3339 formatted datetime string.
- Returns
The time_updated of this BdsCapacityReservationConfiguration.
- Return type
datetime