@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
44 lines • 1.36 kB
TypeScript
import { IpBlock } from '../../IpBlock';
import { InputStatusEnum } from './InputStatusEnum';
/** Input */
export interface Input {
/** IP blocks */
allowedNetworks?: IpBlock[];
/** Whether the workload is auto-scaled */
autoscale?: boolean;
/** Input creation */
createdAt: string;
/** Input description */
description: string;
/** Input engine ID */
engineId: string;
/** Port */
exposedPort?: string;
/** Hostname */
hostname: string;
/** Input ID */
inputId: string;
/** Indicate if input need to be restarted */
isRestartRequired: boolean;
/** Maximum number of instances in auto-scaled mode */
maxScaleInstance?: number;
/** Minimum number of instances in auto-scaled mode */
minScaleInstance?: number;
/** Number of instance running */
nbInstance?: number;
/** Input IP address */
publicAddress: string;
/** If set, notify when scaling happens */
scalingNotifyEnabled?: boolean;
/** Input SSL certificate */
sslCertificate: string;
/** init: configuration required, pending: ready to start, running: available */
status: InputStatusEnum;
/** Associated Graylog stream */
streamId: string;
/** Input title */
title: string;
/** Input last update */
updatedAt?: string;
}
//# sourceMappingURL=Input.d.ts.map