2016-07-12 21:20:08 +00:00
|
|
|
/// <reference types="q" />
|
|
|
|
import * as plugins from "./smartnginx.plugins";
|
2016-07-06 06:30:33 +00:00
|
|
|
export declare enum zoneTypes {
|
|
|
|
reverseProxy = 0,
|
|
|
|
static = 1,
|
|
|
|
}
|
|
|
|
export declare class NginxZone {
|
|
|
|
zoneName: string;
|
2016-07-08 02:24:07 +00:00
|
|
|
type: zoneTypes;
|
|
|
|
destination: string;
|
2016-07-06 06:30:33 +00:00
|
|
|
configString: string;
|
|
|
|
constructor(optionsArg: {
|
|
|
|
zoneName: string;
|
|
|
|
type: zoneTypes;
|
|
|
|
destination: string;
|
|
|
|
});
|
2016-07-12 21:20:08 +00:00
|
|
|
deploy(certInstanceArg: plugins.cert.Cert): plugins.q.Promise<{}>;
|
2016-07-06 06:30:33 +00:00
|
|
|
}
|