smartnginx/dist/smartnginx.classes.nginxzone.d.ts
2016-07-12 23:20:08 +02:00

19 lines
467 B
TypeScript

/// <reference types="q" />
import * as plugins from "./smartnginx.plugins";
export declare enum zoneTypes {
reverseProxy = 0,
static = 1,
}
export declare class NginxZone {
zoneName: string;
type: zoneTypes;
destination: string;
configString: string;
constructor(optionsArg: {
zoneName: string;
type: zoneTypes;
destination: string;
});
deploy(certInstanceArg: plugins.cert.Cert): plugins.q.Promise<{}>;
}