@forestvpn/forestvpn_api
Version:
A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)
76 lines (75 loc) • 2 kB
TypeScript
/**
* ForestVPN API
* ForestVPN - Fast, secure, and modern VPN. It offers Distributed Computing, Crypto Mining, P2P, Ad Blocking, TOR over VPN, 30+ locations, and a free version with unlimited data.
*
* OpenAPI spec version: 2.0
* Contact: support@forestvpn.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { Architecture } from './architecture';
import { FunctionEnvironment } from './function-environment';
/**
*
*
* @export
* @interface ModelFunction
*/
export interface ModelFunction {
/**
* @type {string}
* @memberof ModelFunction
*/
id?: string;
/**
* @type {string}
* @memberof ModelFunction
*/
name: string;
/**
* @type {string}
* @memberof ModelFunction
*/
description?: string;
/**
* @type {string}
* @memberof ModelFunction
*/
handler?: string;
/**
* The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds and minimum is 1 second.
*
* @type {number}
* @memberof ModelFunction
*/
timeout?: number;
/**
* The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.
*
* @type {string}
* @memberof ModelFunction
*/
memory_size?: string;
/**
* @type {Array<Architecture>}
* @memberof ModelFunction
*/
architectures?: Array<Architecture>;
/**
* @type {any}
* @memberof ModelFunction
*/
source?: any;
/**
* @type {string}
* @memberof ModelFunction
*/
source_id?: string;
/**
* @type {FunctionEnvironment}
* @memberof ModelFunction
*/
environment?: FunctionEnvironment;
}