CapacityAvailability¶
-
class
oci.bds.models.
CapacityAvailability
(**kwargs)¶ Bases:
object
Information about the available capacity for a shape.
Attributes
AVAILABILITY_STATUS_AVAILABLE
A constant which can be used with the availability_status property of a CapacityAvailability. AVAILABILITY_STATUS_HARDWARE_NOT_SUPPORTED
A constant which can be used with the availability_status property of a CapacityAvailability. AVAILABILITY_STATUS_OUT_OF_HOST_CAPACITY
A constant which can be used with the availability_status property of a CapacityAvailability. availability_status
[Required] Gets the availability_status of this CapacityAvailability. available_count
[Required] Gets the available_count of this CapacityAvailability. Methods
__init__
(**kwargs)Initializes a new CapacityAvailability object with values from keyword arguments. -
AVAILABILITY_STATUS_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the availability_status property of a CapacityAvailability. This constant has a value of “AVAILABLE”
-
AVAILABILITY_STATUS_HARDWARE_NOT_SUPPORTED
= 'HARDWARE_NOT_SUPPORTED'¶ A constant which can be used with the availability_status property of a CapacityAvailability. This constant has a value of “HARDWARE_NOT_SUPPORTED”
-
AVAILABILITY_STATUS_OUT_OF_HOST_CAPACITY
= 'OUT_OF_HOST_CAPACITY'¶ A constant which can be used with the availability_status property of a CapacityAvailability. This constant has a value of “OUT_OF_HOST_CAPACITY”
-
__init__
(**kwargs)¶ Initializes a new CapacityAvailability object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - availability_status (str) – The value to assign to the availability_status property of this CapacityAvailability. Allowed values for this property are: “OUT_OF_HOST_CAPACITY”, “HARDWARE_NOT_SUPPORTED”, “AVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- available_count (int) – The value to assign to the available_count property of this CapacityAvailability.
-
availability_status
¶ [Required] Gets the availability_status of this CapacityAvailability. A flag denoting whether capacity is available.
Allowed values for this property are: “OUT_OF_HOST_CAPACITY”, “HARDWARE_NOT_SUPPORTED”, “AVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The availability_status of this CapacityAvailability. Return type: str
-
available_count
¶ [Required] Gets the available_count of this CapacityAvailability. The total number of new cluster nodes that can be created with the specified shape configuration.
Returns: The available_count of this CapacityAvailability. Return type: int
-