OccAvailabilitySummary¶
-
class
oci.capacity_management.models.
OccAvailabilitySummary
(**kwargs)¶ Bases:
object
The details about the available capacity and constraints for different resource types present in the availability catalog.
Attributes
NAMESPACE_COMPUTE
A constant which can be used with the namespace property of a OccAvailabilitySummary. RESOURCE_TYPE_CAPACITY_CONSTRAINT
A constant which can be used with the resource_type property of a OccAvailabilitySummary. RESOURCE_TYPE_SERVER_HW
A constant which can be used with the resource_type property of a OccAvailabilitySummary. WORKLOAD_TYPE_GENERIC
A constant which can be used with the workload_type property of a OccAvailabilitySummary. WORKLOAD_TYPE_ROW
A constant which can be used with the workload_type property of a OccAvailabilitySummary. WORKLOAD_TYPE_US_PROD
A constant which can be used with the workload_type property of a OccAvailabilitySummary. available_quantity
[Required] Gets the available_quantity of this OccAvailabilitySummary. catalog_id
[Required] Gets the catalog_id of this OccAvailabilitySummary. date_expected_capacity_handover
[Required] Gets the date_expected_capacity_handover of this OccAvailabilitySummary. date_final_customer_order
[Required] Gets the date_final_customer_order of this OccAvailabilitySummary. namespace
[Required] Gets the namespace of this OccAvailabilitySummary. resource_name
[Required] Gets the resource_name of this OccAvailabilitySummary. resource_type
[Required] Gets the resource_type of this OccAvailabilitySummary. unit
[Required] Gets the unit of this OccAvailabilitySummary. workload_type
[Required] Gets the workload_type of this OccAvailabilitySummary. Methods
__init__
(**kwargs)Initializes a new OccAvailabilitySummary object with values from keyword arguments. -
NAMESPACE_COMPUTE
= 'COMPUTE'¶ A constant which can be used with the namespace property of a OccAvailabilitySummary. This constant has a value of “COMPUTE”
-
RESOURCE_TYPE_CAPACITY_CONSTRAINT
= 'CAPACITY_CONSTRAINT'¶ A constant which can be used with the resource_type property of a OccAvailabilitySummary. This constant has a value of “CAPACITY_CONSTRAINT”
-
RESOURCE_TYPE_SERVER_HW
= 'SERVER_HW'¶ A constant which can be used with the resource_type property of a OccAvailabilitySummary. This constant has a value of “SERVER_HW”
-
WORKLOAD_TYPE_GENERIC
= 'GENERIC'¶ A constant which can be used with the workload_type property of a OccAvailabilitySummary. This constant has a value of “GENERIC”
-
WORKLOAD_TYPE_ROW
= 'ROW'¶ A constant which can be used with the workload_type property of a OccAvailabilitySummary. This constant has a value of “ROW”
-
WORKLOAD_TYPE_US_PROD
= 'US_PROD'¶ A constant which can be used with the workload_type property of a OccAvailabilitySummary. This constant has a value of “US_PROD”
-
__init__
(**kwargs)¶ Initializes a new OccAvailabilitySummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - catalog_id (str) – The value to assign to the catalog_id property of this OccAvailabilitySummary.
- namespace (str) – The value to assign to the namespace property of this OccAvailabilitySummary. Allowed values for this property are: “COMPUTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- date_final_customer_order (datetime) – The value to assign to the date_final_customer_order property of this OccAvailabilitySummary.
- date_expected_capacity_handover (datetime) – The value to assign to the date_expected_capacity_handover property of this OccAvailabilitySummary.
- resource_type (str) – The value to assign to the resource_type property of this OccAvailabilitySummary. Allowed values for this property are: “SERVER_HW”, “CAPACITY_CONSTRAINT”, ‘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 OccAvailabilitySummary. Allowed values for this property are: “GENERIC”, “ROW”, “US_PROD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resource_name (str) – The value to assign to the resource_name property of this OccAvailabilitySummary.
- available_quantity (int) – The value to assign to the available_quantity property of this OccAvailabilitySummary.
- unit (str) – The value to assign to the unit property of this OccAvailabilitySummary.
-
available_quantity
¶ [Required] Gets the available_quantity of this OccAvailabilitySummary. The quantity of available resource that the customer can request.
Returns: The available_quantity of this OccAvailabilitySummary. Return type: int
-
catalog_id
¶ [Required] Gets the catalog_id of this OccAvailabilitySummary. The OCID of the availability catalog.
Returns: The catalog_id of this OccAvailabilitySummary. Return type: str
-
date_expected_capacity_handover
¶ [Required] Gets the date_expected_capacity_handover of this OccAvailabilitySummary. The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
Returns: The date_expected_capacity_handover of this OccAvailabilitySummary. Return type: datetime
-
date_final_customer_order
¶ [Required] Gets the date_final_customer_order of this OccAvailabilitySummary. The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
Returns: The date_final_customer_order of this OccAvailabilitySummary. Return type: datetime
-
namespace
¶ [Required] Gets the namespace of this OccAvailabilitySummary. The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
Allowed values for this property are: “COMPUTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The namespace of this OccAvailabilitySummary. Return type: str
-
resource_name
¶ [Required] Gets the resource_name of this OccAvailabilitySummary. The name of the resource that the customer can request.
Returns: The resource_name of this OccAvailabilitySummary. Return type: str
-
resource_type
¶ [Required] Gets the resource_type of this OccAvailabilitySummary. The different types of resources against which customers can place capacity requests.
Allowed values for this property are: “SERVER_HW”, “CAPACITY_CONSTRAINT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_type of this OccAvailabilitySummary. Return type: str
-
unit
¶ [Required] Gets the unit of this OccAvailabilitySummary. The unit in which the resource available is measured.
Returns: The unit of this OccAvailabilitySummary. Return type: str
-
workload_type
¶ [Required] Gets the workload_type of this OccAvailabilitySummary. The type of workload (Generic/ROW).
Allowed values for this property are: “GENERIC”, “ROW”, “US_PROD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The workload_type of this OccAvailabilitySummary. Return type: str
-