UNPKG

@devopness/sdk-js

Version:

Devopness API JS/TS SDK - Painless essential DevOps to everyone

115 lines (114 loc) 3.05 kB
/** * devopness API * Devopness API - Painless essential DevOps to everyone * * The version of the OpenAPI document: latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ActionRelation } from './action-relation'; import { ApplicationRelation } from './application-relation'; import { EnvironmentRelation } from './environment-relation'; import { ProjectRelation } from './project-relation'; import { ServerRelation } from './server-relation'; import { UserRelation } from './user-relation'; /** * * @export * @interface Daemon */ export interface Daemon { /** * The ID of the given daemon * @type {number} * @memberof Daemon */ id: number; /** * The name entered by the user (or auto-generated by `devopness`) to uniquely identify the daemon * @type {string} * @memberof Daemon */ name: string; /** * The command line to be executed to start the daemon * @type {string} * @memberof Daemon */ command: string; /** * The name of the Unix user on behalf of which the daemon will be executed * @type {string} * @memberof Daemon */ run_as_user: string; /** * The working directory where the Daemon command will be executed. If the Daemon is linked to an application, the path must be a relative path to the application root directory. If the Daemon is not linked to an application, the value must be an absolute path. Must not be greater than 255 characters * @type {string} * @memberof Daemon */ working_directory: string | null; /** * The number of daemon process instances of the program to run simultaneously * @type {number} * @memberof Daemon */ process_count: number; /** * Indicates if the daemon was auto_generated by `Devopness` itself * @type {boolean} * @memberof Daemon */ is_auto_generated: boolean; /** * * @type {ProjectRelation} * @memberof Daemon */ project: ProjectRelation | null; /** * * @type {ActionRelation} * @memberof Daemon */ last_action: ActionRelation | null; /** * * @type {ApplicationRelation} * @memberof Daemon */ application: ApplicationRelation | null; /** * * @type {EnvironmentRelation} * @memberof Daemon */ environment: EnvironmentRelation | null; /** * * @type {Array<ServerRelation>} * @memberof Daemon */ servers: Array<ServerRelation>; /** * * @type {UserRelation} * @memberof Daemon */ created_by_user: UserRelation; /** * The date and time when the record was created * @type {string} * @memberof Daemon */ created_at: string; /** * The date and time when the record was last updated * @type {string} * @memberof Daemon */ updated_at: string; }