smartnginx/dist/smartnginx.classes.nginxconfig.d.ts

14 lines
493 B
TypeScript

/// <reference types="q" />
import * as plugins from "./smartnginx.plugins";
import { NginxZone } from "./smartnginx.classes.nginxzone";
export declare class NginxConfig {
zones: NginxZone[];
cert: plugins.cert.Cert;
isDeployed: boolean;
constructor(optionsArg: plugins.cert.ICertConstructorOptions);
addZone(zoneArg: NginxZone): void;
listZones(): NginxZone[];
removeZones(zoneArg: NginxZone): void;
deploy(nginxRestartArg?: boolean): plugins.q.Promise<{}>;
}