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"]
    """The queue ID."""
    fleet_id: NotRequired["capo_deadline.types.fleet_id.FleetId"]
    """The fleet ID."""
    job_id: NotRequired["capo_deadline.types.job_id.JobId"]
    """The job ID."""
    job_name: NotRequired["capo_deadline.types.job_name.JobName"]
    """The job name."""
    user_id: NotRequired["capo_deadline.types.user_id.UserId"]
    """The user ID."""
    usage_type: NotRequired["capo_deadline.types.usage_type.UsageType"]
    """The type of usage for the statistics."""
    license_product: NotRequired["capo_deadline.types.license_product.LicenseProduct"]
    """The licensed product."""
    instance_type: NotRequired["capo_deadline.types.instance_type.InstanceType"]
    """The type of instance."""
    count: "capo_deadline.types.integer.Integer"
    """The number of instances in a list of statistics."""
    cost_in_usd: "capo_deadline.types.stats.Stats"
    """How the statistics should appear in USD. Options include: minimum, maximum, average or sum."""
    runtime_in_seconds: "capo_deadline.types.stats.Stats"
    """The total aggregated runtime."""
    aggregation_start_time: NotRequired["capo_deadline.types.timestamp.Timestamp"]
    """The start time for the aggregation."""
    aggregation_end_time: NotRequired["capo_deadline.types.timestamp.Timestamp"]
    """The end time for the aggregation."""

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.