OccCapacityRequestBaseDetails¶
-
class
oci.capacity_management.models.
OccCapacityRequestBaseDetails
(**kwargs)¶ Bases:
object
The details of the create capacity request. This model serves as a base for different namespaces.
Attributes
RESOURCE_TYPE_SERVER_HW
A constant which can be used with the resource_type property of a OccCapacityRequestBaseDetails. actual_handover_quantity
Gets the actual_handover_quantity of this OccCapacityRequestBaseDetails. date_actual_handover
Gets the date_actual_handover of this OccCapacityRequestBaseDetails. date_expected_handover
Gets the date_expected_handover of this OccCapacityRequestBaseDetails. expected_handover_quantity
Gets the expected_handover_quantity of this OccCapacityRequestBaseDetails. resource_type
[Required] Gets the resource_type of this OccCapacityRequestBaseDetails. workload_type
[Required] Gets the workload_type of this OccCapacityRequestBaseDetails. Methods
__init__
(**kwargs)Initializes a new OccCapacityRequestBaseDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
RESOURCE_TYPE_SERVER_HW
= 'SERVER_HW'¶ A constant which can be used with the resource_type property of a OccCapacityRequestBaseDetails. This constant has a value of “SERVER_HW”
-
__init__
(**kwargs)¶ Initializes a new OccCapacityRequestBaseDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - resource_type (str) – The value to assign to the resource_type property of this OccCapacityRequestBaseDetails. Allowed values for this property are: “SERVER_HW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- workload_type (str) – The value to assign to the workload_type property of this OccCapacityRequestBaseDetails.
- expected_handover_quantity (int) – The value to assign to the expected_handover_quantity property of this OccCapacityRequestBaseDetails.
- date_expected_handover (datetime) – The value to assign to the date_expected_handover property of this OccCapacityRequestBaseDetails.
- actual_handover_quantity (int) – The value to assign to the actual_handover_quantity property of this OccCapacityRequestBaseDetails.
- date_actual_handover (datetime) – The value to assign to the date_actual_handover property of this OccCapacityRequestBaseDetails.
-
actual_handover_quantity
¶ Gets the actual_handover_quantity of this OccCapacityRequestBaseDetails. The actual handed over quantity of resources at the time of request resolution.
Returns: The actual_handover_quantity of this OccCapacityRequestBaseDetails. Return type: int
-
date_actual_handover
¶ Gets the date_actual_handover of this OccCapacityRequestBaseDetails. The date on which the actual handover quantity of resources is delivered.
Returns: The date_actual_handover of this OccCapacityRequestBaseDetails. Return type: datetime
-
date_expected_handover
¶ Gets the date_expected_handover of this OccCapacityRequestBaseDetails. The date on which the latest increment to supplied quantity of resources was delivered.
Returns: The date_expected_handover of this OccCapacityRequestBaseDetails. Return type: datetime
-
expected_handover_quantity
¶ Gets the expected_handover_quantity of this OccCapacityRequestBaseDetails. The incremental quantity of resources supplied as the provisioning is underway.
Returns: The expected_handover_quantity of this OccCapacityRequestBaseDetails. Return type: int
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
resource_type
¶ [Required] Gets the resource_type of this OccCapacityRequestBaseDetails. The type of the resource against which the user wants to place a capacity request.
Allowed values for this property are: “SERVER_HW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_type of this OccCapacityRequestBaseDetails. Return type: str
-
workload_type
¶ [Required] Gets the workload_type of this OccCapacityRequestBaseDetails. The type of the workload (Generic/ROW).
Returns: The workload_type of this OccCapacityRequestBaseDetails. Return type: str
-