@devopness/sdk-js
Version:
Devopness API JS/TS SDK - Painless essential DevOps to everyone
61 lines (60 loc) • 2.12 kB
TypeScript
/**
* 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.
*/
/**
*
* @export
* @interface DaemonUpdate
*/
export interface DaemonUpdate {
/**
* The unique ID of the given Daemon.
* @type {number}
* @memberof DaemonUpdate
*/
id: number;
/**
* The command line to be executed to start the daemon. Must not be greater than 255 characters.
* @type {string}
* @memberof DaemonUpdate
*/
command: string;
/**
* The number of daemon process instances of the program to run simultaneously. Must be at least 1. Must not be greater than 99.
* @type {number}
* @memberof DaemonUpdate
*/
process_count: number;
/**
* 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 start with one of <code>/</code> Must not be greater than 255 characters.
* @type {string}
* @memberof DaemonUpdate
*/
working_directory: string | null;
/**
* The name of the Unix user on behalf of which the daemon will run. Must not be greater than 60 characters.
* @type {string}
* @memberof DaemonUpdate
*/
run_as_user: string;
/**
* The name entered by the user (or auto-generated by `devopness`) to uniquely identify the daemon. Must contain only letters, numbers, dashes and underscores. Must not be greater than 60 characters.
* @type {string}
* @memberof DaemonUpdate
*/
name: string;
/**
* The ID of the application to be linked to the daemon. The value of `working_directory` will be relative to the application directory.
* @type {number}
* @memberof DaemonUpdate
*/
application_id?: number | null;
}