devopness-sdk-js
Version:
Devopness API JS/TS SDK - Painless essential DevOps to everyone
48 lines (47 loc) • 1.29 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.
*/
import { DeploymentCreateApplication } from './deployment-create-application';
import { DeploymentCreateServer } from './deployment-create-server';
/**
*
* @export
* @interface DeploymentCreate
*/
export interface DeploymentCreate {
/**
* The type of the deployment being triggred
* @type {string}
* @memberof DeploymentCreate
*/
type: DeploymentCreateTypeEnum;
/**
* The list of applications to be deployed together
* @type {Array<DeploymentCreateApplication>}
* @memberof DeploymentCreate
*/
applications: Array<DeploymentCreateApplication>;
/**
* The list of servers to which all `applications` will be deployed to
* @type {Array<DeploymentCreateServer>}
* @memberof DeploymentCreate
*/
servers: Array<DeploymentCreateServer>;
}
/**
* @export
* @enum {string}
*/
export declare enum DeploymentCreateTypeEnum {
Deploy = "deploy",
Redeploy = "redeploy",
Rollback = "rollback"
}