Skip to content

Statistics

Source code in docs_src/capo_deadline/types/statistics.py
class Statistics(TypedDict, closed=True):
    queue_id: NotRequired["capo_deadline.types.queue_id.QueueId"]
    """<p>The queue ID.</p>"""
    fleet_id: NotRequired["capo_deadline.types.fleet_id.FleetId"]
    """<p>The fleet ID.</p>"""
    job_id: NotRequired["capo_deadline.types.job_id.JobId"]
    """<p>The job ID.</p>"""
    job_name: NotRequired["capo_deadline.types.job_name.JobName"]
    """<p>The job name.</p>"""
    user_id: NotRequired["capo_deadline.types.user_id.UserId"]
    """<p>The user ID.</p>"""
    usage_type: NotRequired["capo_deadline.types.usage_type.UsageType"]
    """<p>The type of usage for the statistics.</p>"""
    license_product: NotRequired["capo_deadline.types.license_product.LicenseProduct"]
    """<p>The licensed product.</p>"""
    instance_type: NotRequired["capo_deadline.types.instance_type.InstanceType"]
    """<p>The type of instance.</p>"""
    count: "capo_deadline.types.integer.Integer"
    """<p>The number of instances in a list of statistics.</p>"""
    cost_in_usd: "capo_deadline.types.stats.Stats"
    """<p>How the statistics should appear in USD. Options include: minimum, maximum, average or sum.</p>"""
    runtime_in_seconds: "capo_deadline.types.stats.Stats"
    """<p>The total aggregated runtime.</p>"""
    aggregation_start_time: NotRequired["capo_deadline.types.timestamp.Timestamp"]
    """<p>The start time for the aggregation.</p>"""
    aggregation_end_time: NotRequired["capo_deadline.types.timestamp.Timestamp"]
    """<p>The end time for the aggregation.</p>"""

aggregation_end_time instance-attribute

aggregation_end_time: NotRequired[Timestamp]

The end time for the aggregation.

aggregation_start_time instance-attribute

aggregation_start_time: NotRequired[Timestamp]

The start time for the aggregation.

cost_in_usd instance-attribute

cost_in_usd: Stats

How the statistics should appear in USD. Options include: minimum, maximum, average or sum.

count instance-attribute

count: Integer

The number of instances in a list of statistics.

fleet_id instance-attribute

fleet_id: NotRequired[FleetId]

The fleet ID.

instance_type instance-attribute

instance_type: NotRequired[InstanceType]

The type of instance.

job_id instance-attribute

job_id: NotRequired[JobId]

The job ID.

job_name instance-attribute

job_name: NotRequired[JobName]

The job name.

license_product instance-attribute

license_product: NotRequired[LicenseProduct]

The licensed product.

queue_id instance-attribute

queue_id: NotRequired[QueueId]

The queue ID.

runtime_in_seconds instance-attribute

runtime_in_seconds: Stats

The total aggregated runtime.

usage_type instance-attribute

usage_type: NotRequired[UsageType]

The type of usage for the statistics.

user_id instance-attribute

user_id: NotRequired[UserId]

The user ID.