interface InstanceSummary {
    application_id: string;
    application_specification?: string;
    application_type: InstanceSummaryApplicationType;
    application_version: string;
    archived: boolean;
    authorisation_code?: number;
    coins?: string;
    error_message?: string;
    fix_permissions?: boolean;
    id: string;
    job_collection?: string;
    job_id?: number;
    job_image_type?: InstanceSummaryJobImageType;
    job_job?: string;
    job_name?: string;
    job_version?: string;
    launched: string;
    name: string;
    outputs?: string;
    owner: string;
    phase: InstanceSummaryPhase;
    project_id: string;
    run_time: string;
    started?: string;
    stopped?: string;
    url?: string;
}

Properties

application_id: string

The application ID

application_specification?: string

The User's specification, provided when the application was launched

The type of Application, which can be a job or an application

application_version: string

The application version

archived: boolean

True if the instance is archived (protected from automatic deletion)

authorisation_code?: number

The code obtained from the Account Server

coins?: string

The current running coin cost of the instance.

error_message?: string

If the instance has failed, this will be the error message

fix_permissions?: boolean

Set if the instance output file permissions are expected to be fixed by the Data Manager when the Instance completes.

id: string

The application instance ID

job_collection?: string

If the instance relates to a job, this will be the job collection, as defined in the original collection's job definition.

job_id?: number

The Job definition's unique ID

The Job container image type. Typically a single-container 'SIMPLE' (where only one container runs) or a workflow where multiple container images can be spawned (like NEXTFLOW)

job_job?: string

If the instance relates to a job, this will be the job, as defined in the original collection's job definition.

job_name?: string

If the instance relates to a job, this will be the job's name, as defined in the original collection's job definition.

job_version?: string

If the instance relates to a job, this will be the job's name, as defined in the original collection's job definition.

launched: string

The data and time (UTC) the instance was launched

name: string

The Instance name

outputs?: string

The instance's known outputs, a JSON string defining a map of all the outputs. Typically applied only to JOB application types

owner: string

The application instance owner, the person who launched the application and is the only user than can stop it.

The phase of the application. This is a string, one of a limited number of values that are defined internally within the Data Manager. The initial phase, indicating that the Instance is preparing to run, is PENDING. The instance is running when the phase is RUNNING. COMPLETED indicates the Instance has finished successfully and FAILED when it's finished but unsuccessfully.

project_id: string

The Project the instances is running in.

run_time: string

The time the instance has spent running in the cluster. It's a string representation of a Python timedelta`` object, e.g. 0:12:32for a run-time of 12 minutes and 32 seconds. The run-time must be considered as an _estimate_ until the instance has stopped and the instance is only considered to be running oncestarted` has been set.

started?: string

The data and time (UTC) the instance started running

stopped?: string

The data and time (UTC) the instance stopped running

url?: string

For applications (not Jobs) this is the URL the application has exposed. It will only be available when the application has started.