OccAvailabilitySummary¶
- class oci.capacity_management.models.OccAvailabilitySummary(**kwargs)¶
Bases:
objectThe details about the available capacity and constraints for different resource types present in the availability catalog.
Attributes:
A constant which can be used with the namespace property of a OccAvailabilitySummary.
[Required] Gets the available_quantity of this OccAvailabilitySummary.
[Required] Gets the catalog_id of this OccAvailabilitySummary.
[Required] Gets the date_expected_capacity_handover of this OccAvailabilitySummary.
[Required] Gets the date_final_customer_order of this OccAvailabilitySummary.
[Required] Gets the demanded_quantity of this OccAvailabilitySummary.
[Required] Gets the namespace of this OccAvailabilitySummary.
[Required] Gets the resource_name of this OccAvailabilitySummary.
[Required] Gets the resource_type of this OccAvailabilitySummary.
Gets the system_tags of this OccAvailabilitySummary.
[Required] Gets the total_available_quantity of this OccAvailabilitySummary.
[Required] Gets the unit of this OccAvailabilitySummary.
[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”
- __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.
workload_type (str) – The value to assign to the workload_type property of this OccAvailabilitySummary.
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.
total_available_quantity (int) – The value to assign to the total_available_quantity property of this OccAvailabilitySummary.
demanded_quantity (int) – The value to assign to the demanded_quantity property of this OccAvailabilitySummary.
unit (str) – The value to assign to the unit property of this OccAvailabilitySummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this OccAvailabilitySummary.
- property available_quantity¶
[Required] Gets the available_quantity of this OccAvailabilitySummary. The quantity of resource currently available that the customer can request.
- Returns
The available_quantity of this OccAvailabilitySummary.
- Return type
int
- property 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
- property 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
- property 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
- property demanded_quantity¶
[Required] Gets the demanded_quantity of this OccAvailabilitySummary. The quantity of resource currently demanded by the customer.
- Returns
The demanded_quantity of this OccAvailabilitySummary.
- Return type
int
- property 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
- property 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
- property resource_type¶
[Required] Gets the resource_type of this OccAvailabilitySummary. The different types of resources against which customers can place capacity requests.
- Returns
The resource_type of this OccAvailabilitySummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this OccAvailabilitySummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this OccAvailabilitySummary.
- Return type
dict(str, dict(str, object))
- property total_available_quantity¶
[Required] Gets the total_available_quantity of this OccAvailabilitySummary. The total quantity of resource that the customer can request.
- Returns
The total_available_quantity of this OccAvailabilitySummary.
- Return type
int
- property 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
- property workload_type¶
[Required] Gets the workload_type of this OccAvailabilitySummary. The type of workload (Generic/ROW).
- Returns
The workload_type of this OccAvailabilitySummary.
- Return type
str