Skip to content

FairshareCapacityUsage

Source code in docs_src/capo_batch/types/fairshare_capacity_usage.py
class FairshareCapacityUsage(TypedDict, closed=True):
    capacity_unit: NotRequired["capo_batch.types.string.String"]
    """<p>The unit of measure for the capacity usage. For compute jobs, this is <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is the instance type.</p>"""
    quantity: NotRequired["capo_batch.types.double.Double"]
    """<p>The quantity of capacity being used, measured in the units specified by <code>capacityUnit</code>.</p>"""

capacity_unit instance-attribute

capacity_unit: NotRequired[String]

The unit of measure for the capacity usage. For compute jobs, this is VCPU for Amazon EC2 and cpu for Amazon EKS. For service jobs, this is the instance type.

quantity instance-attribute

quantity: NotRequired[Double]

The quantity of capacity being used, measured in the units specified by capacityUnit.