/** * Agilicus API * Agilicus is API-first. Modern software is controlled by other software, is open, is available for you to use the way you want, securely, simply. The OpenAPI Specification in YAML format is available on [www](https://www.agilicus.com/www/api/agilicus-openapi.yaml) for importing to other tools. A rendered, online viewable and usable version of this specification is available at [api](https://www.agilicus.com/api). You may try the API inline directly in the web page. To do so, first obtain an Authentication Token (the simplest way is to install the Python SDK, and then run `agilicus-cli --issuer https://MYISSUER get-token`). You will need an org-id for most calls (and can obtain from `agilicus-cli --issuer https://MYISSUER list-orgs`). The `MYISSUER` will typically be `auth.MYDOMAIN`, and you will see it as you sign-in to the administrative UI. This API releases on Bearer-Token authentication. To obtain a valid bearer token you will need to Authenticate to an Issuer with OpenID Connect (a superset of OAUTH2). Your \"issuer\" will look like https://auth.MYDOMAIN. For example, when you signed-up, if you said \"use my own domain name\" and assigned a CNAME of cloud.example.com, then your issuer would be https://auth.cloud.example.com. If you selected \"use an Agilicus supplied domain name\", your issuer would look like https://auth.myorg.agilicus.cloud. For test purposes you can use our [Python SDK](https://pypi.org/project/agilicus/) and run `agilicus-cli --issuer https://auth.MYDOMAIN get-token`. This API may be used in any language runtime that supports OpenAPI 3.0, or, you may use our [Python SDK](https://pypi.org/project/agilicus/), our [Typescript SDK](https://www.npmjs.com/package/@agilicus/angular), or our [Golang SDK](https://git.agilicus.com/pub/sdk-go). 100% of the activities in our system our API-driven, from our web-admin, through our progressive web applications, to all internals: there is nothing that is not accessible. For more information, see [developer resources](https://www.agilicus.com/developer). * * The version of the OpenAPI document: 2025.12.16 * Contact: dev@agilicus.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ export interface _RuntimeStatus { /** * The status of the running components. - A `good` status means that no action is neccessary on this environment - A `warn` status means that there is an issue that should be dealt with Examples include a rollout failing or crashing containers - A `down` status indicates that there is a service accessibility problem that should be dealt with as soon as possible. This could mean that there were multiple failed rollouts, containers are unstable, access to a neccessary service is down or other problems. - A `stale` status indicates that although there may not be anything wrong, we haven\'t been able to update the status recently. This may indicate an issue with the platform - A `degraded` status indicates that the service is operational but running in non-redundant mode. Note that this alarm would only be valid for a service that supports redundancy. */ overall_status?: RuntimeStatus.OverallStatusEnum; /** * The number of current running replicas. 2 is redundant, 1 could indicate error handling, 0 is down. */ running_replicas?: number; /** * The error in running the current instance. Common errors include CrashLoopBackoff, ContainerPullError, ConfigError. If there is no error description, this will be empty. */ error_message?: string; /** * How many times a container has restarted across all replicas of this instance. A non-zero number might indicate some intermittent error that is handled by the Agilicus system. A large number of errors could indicate problems in the application */ restarts?: number; /** * The current number of CPU cores used by all the containers for the instance. A high number eg 1.00 may indicate performance problems as a container is unable to service all requests */ cpu?: number; /** * The amount of RAM used by all containers used for the instance in MiB */ memory?: number; /** * The last time any change was applied to the running containers. This can be used to indicate if the system has \'picked up\' a recent change that was made */ last_apply_time?: Date; /** * Update time */ readonly updated?: Date; /** * The container tag identifies what container is currently running in this instance. This could be different than the configured image if there was an error upgrading. Although relatively rare in practice, the same image tag could have been pushed with many different images, when the container is started it will pull the latest version. See running_hash for more information */ running_image?: string; /** * The container hash of What versions users see when they browse to the site. If a image tag has been pushed multiple times, ie for hotfixes then this could be used to identify exactly what software is running */ running_hash?: string; /** * Unique identifier */ org_id?: string; } export interface RuntimeStatus extends _RuntimeStatus { _builtin_original?: _RuntimeStatus; _remove_builtin_extensions?: () => void; } export declare class RuntimeStatusImpl implements _RuntimeStatus { _builtin_original?: _RuntimeStatus; overall_status: RuntimeStatus.OverallStatusEnum | undefined; running_replicas: number | undefined; error_message: string | undefined; restarts: number | undefined; cpu: number | undefined; memory: number | undefined; last_apply_time: Date | undefined; readonly updated: Date | undefined; running_image: string | undefined; running_hash: string | undefined; org_id: string | undefined; constructor(base: _RuntimeStatus); _remove_builtin_extensions(): void; } export declare namespace RuntimeStatus { type OverallStatusEnum = 'good' | 'warn' | 'down' | 'stale' | 'degraded'; const OverallStatusEnum: { good: OverallStatusEnum; warn: OverallStatusEnum; down: OverallStatusEnum; stale: OverallStatusEnum; degraded: OverallStatusEnum; }; } export declare function newRuntimeStatusImpl(base: _RuntimeStatus): RuntimeStatusImpl;