@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
46 lines • 1.75 kB
TypeScript
import { NodePoolAutoscaling } from './NodePoolAutoscaling';
import { NodePoolSizeStatusEnum } from './NodePoolSizeStatusEnum';
import { NodePoolStatusEnum } from './NodePoolStatusEnum';
import { NodePoolTemplate } from './NodePoolTemplate';
/** NodePool created on your cluster to manage your nodes */
export interface NodePool {
/** Enable anti affinity groups for nodes in the pool */
antiAffinity: boolean;
/** Enable auto-scaling for the pool */
autoscale: boolean;
/** Autoscaling customization parameters */
autoscaling: NodePoolAutoscaling;
/** Number of nodes which are actually ready in the pool */
availableNodes: number;
/** Creation date */
createdAt: string;
/** Number of nodes present in the pool */
currentNodes: number;
/** Number of nodes you desire in the pool */
desiredNodes: number;
/** Flavor name */
flavor: string;
/** NodePool ID */
id: string;
/** Number of nodes you desire in the pool */
maxNodes: number;
/** Number of nodes you desire in the pool */
minNodes: number;
/** Enable monthly billing on all nodes in the pool */
monthlyBilled: boolean;
/** NodePool resource name */
name: string;
/** Project id */
projectId: string;
/** Status describing the state between number of nodes wanted and available ones */
sizeStatus: NodePoolSizeStatusEnum;
/** Current status */
status: NodePoolStatusEnum;
/** Template of nodes metadata and spec to create in the pool */
template: NodePoolTemplate;
/** Number of nodes with latest version installed in the pool */
upToDateNodes: number;
/** Last update date */
updatedAt: string;
}
//# sourceMappingURL=NodePool.d.ts.map