@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
34 lines • 1.42 kB
TypeScript
import { IpBlock } from '../../IpBlock';
import { ProxyTypeEnum } from '../ProxyTypeEnum';
/** Frontend */
export interface Frontend {
/** Restrict iplb access to these ip block. No restriction if null. You cannot specify allowedSource and deniedSource both at the same time */
allowedSource?: IpBlock[];
/** Only attach frontend on these ip. No restriction if null */
dedicatedIpfo?: IpBlock[];
/** Default Backend of your frontend */
defaultBackendId?: number;
/** Default ssl served to your customer */
defaultSslId?: number;
/** Deny iplb access to these ip block. No restriction if null. You cannot specify allowedSource and deniedSource both at the same time */
deniedSource?: IpBlock[];
/** Disable frontend. Default: 'false' */
disabled: boolean;
/** HTTP Strict Transport Security. Default: 'false' */
hsts: boolean;
/** Add header to your frontend. Useful variables admitted : %ci <=> client_ip, %cp <=> client_port */
httpHeader?: string[];
/** Id of your frontend */
id: number;
/** Port(s) attached to your frontend */
port: string;
/** HTTP redirection (Ex : http://www.ovh.com) */
redirectLocation?: string;
/** SSL deciphering. Default: 'false' */
ssl: boolean;
/** Type of your frontend */
type: ProxyTypeEnum;
/** Zone of you frontend */
zone: string;
}
//# sourceMappingURL=Frontend.d.ts.map