UNPKG

@devopness/sdk-js

Version:

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

56 lines (55 loc) 1.7 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 { ResourceToBeLinked } from './resource-to-be-linked'; /** * * @export * @interface CronJobEnvironmentCreate */ export interface CronJobEnvironmentCreate { /** * The resources to be linked with this resource * @type {Array<ResourceToBeLinked>} * @memberof CronJobEnvironmentCreate */ linked_resources?: Array<ResourceToBeLinked>; /** * The name of the cron job. Must not be greater than 60 characters. * @type {string} * @memberof CronJobEnvironmentCreate */ name: string; /** * The command line to be executed when running the cron job. Must be at least 5 characters. Must not be greater than 255 characters. * @type {string} * @memberof CronJobEnvironmentCreate */ command: string; /** * A cron expression consisting of Minute, Hour, Day of Month, Month and Day of Week subexpressions. * @type {string} * @memberof CronJobEnvironmentCreate */ pattern: string; /** * The name of the system user on behalf of which the cron job will be executed. Must not be greater than 60 characters. * @type {string} * @memberof CronJobEnvironmentCreate */ run_as_user: string; /** * Numeric ID of the application to which the cron job belongs to. * @type {number} * @memberof CronJobEnvironmentCreate */ application_id?: number; }