OccHandoverResourceBlockSummary¶
-
class
oci.capacity_management.models.
OccHandoverResourceBlockSummary
(**kwargs)¶ Bases:
object
Details about the association of capacity requests with the corresponding resources handed over by oracle.
Attributes
NAMESPACE_COMPUTE
A constant which can be used with the namespace property of a OccHandoverResourceBlockSummary. associated_capacity_requests
[Required] Gets the associated_capacity_requests of this OccHandoverResourceBlockSummary. compartment_id
[Required] Gets the compartment_id of this OccHandoverResourceBlockSummary. handover_date
[Required] Gets the handover_date of this OccHandoverResourceBlockSummary. handover_resource_name
[Required] Gets the handover_resource_name of this OccHandoverResourceBlockSummary. id
[Required] Gets the id of this OccHandoverResourceBlockSummary. namespace
[Required] Gets the namespace of this OccHandoverResourceBlockSummary. occ_customer_group_id
[Required] Gets the occ_customer_group_id of this OccHandoverResourceBlockSummary. placement_details
[Required] Gets the placement_details of this OccHandoverResourceBlockSummary. total_handover_quantity
[Required] Gets the total_handover_quantity of this OccHandoverResourceBlockSummary. Methods
__init__
(**kwargs)Initializes a new OccHandoverResourceBlockSummary object with values from keyword arguments. -
NAMESPACE_COMPUTE
= 'COMPUTE'¶ A constant which can be used with the namespace property of a OccHandoverResourceBlockSummary. This constant has a value of “COMPUTE”
-
__init__
(**kwargs)¶ Initializes a new OccHandoverResourceBlockSummary 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 OccHandoverResourceBlockSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this OccHandoverResourceBlockSummary.
- namespace (str) – The value to assign to the namespace property of this OccHandoverResourceBlockSummary. Allowed values for this property are: “COMPUTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- occ_customer_group_id (str) – The value to assign to the occ_customer_group_id property of this OccHandoverResourceBlockSummary.
- handover_date (datetime) – The value to assign to the handover_date property of this OccHandoverResourceBlockSummary.
- handover_resource_name (str) – The value to assign to the handover_resource_name property of this OccHandoverResourceBlockSummary.
- total_handover_quantity (int) – The value to assign to the total_handover_quantity property of this OccHandoverResourceBlockSummary.
- associated_capacity_requests (list[oci.capacity_management.models.AssociatedCapacityRequestDetails]) – The value to assign to the associated_capacity_requests property of this OccHandoverResourceBlockSummary.
- placement_details (oci.capacity_management.models.PlacementDetails) – The value to assign to the placement_details property of this OccHandoverResourceBlockSummary.
-
associated_capacity_requests
¶ [Required] Gets the associated_capacity_requests of this OccHandoverResourceBlockSummary. A list containing details about the capacity requests against which the resources were provisioned by oracle.
Returns: The associated_capacity_requests of this OccHandoverResourceBlockSummary. Return type: list[oci.capacity_management.models.AssociatedCapacityRequestDetails]
-
compartment_id
¶ [Required] Gets the compartment_id of this OccHandoverResourceBlockSummary. The OCID of the compartment where the resource block’s are placed.
Returns: The compartment_id of this OccHandoverResourceBlockSummary. Return type: str
-
handover_date
¶ [Required] Gets the handover_date of this OccHandoverResourceBlockSummary. The date on which the resource was handed over to the customer.
Returns: The handover_date of this OccHandoverResourceBlockSummary. Return type: datetime
-
handover_resource_name
¶ [Required] Gets the handover_resource_name of this OccHandoverResourceBlockSummary. The name of the resource handed over by oracle. For instance for compute namespace this will be the name of the bare metal hardware resource.
Returns: The handover_resource_name of this OccHandoverResourceBlockSummary. Return type: str
-
id
¶ [Required] Gets the id of this OccHandoverResourceBlockSummary. The OCID of the resource block.
Returns: The id of this OccHandoverResourceBlockSummary. Return type: str
-
namespace
¶ [Required] Gets the namespace of this OccHandoverResourceBlockSummary. 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 OccHandoverResourceBlockSummary. Return type: str
-
occ_customer_group_id
¶ [Required] Gets the occ_customer_group_id of this OccHandoverResourceBlockSummary. The OCID of the customer group for which the resources were provisioned.
Returns: The occ_customer_group_id of this OccHandoverResourceBlockSummary. Return type: str
-
placement_details
¶ [Required] Gets the placement_details of this OccHandoverResourceBlockSummary.
Returns: The placement_details of this OccHandoverResourceBlockSummary. Return type: oci.capacity_management.models.PlacementDetails
-
total_handover_quantity
¶ [Required] Gets the total_handover_quantity of this OccHandoverResourceBlockSummary. The total quantity of the resource that was made available to the customer by Oracle.
Returns: The total_handover_quantity of this OccHandoverResourceBlockSummary. Return type: int
-