/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { KoordinatorNodeReservation } from './koordinator-node-reservation'; // May contain unused imports in some cases // @ts-ignore import type { NodeStatus } from './node-status'; // May contain unused imports in some cases // @ts-ignore import type { ResourceStats } from './resource-stats'; /** * node info * @export * @interface Node */ export interface Node { /** * CPU cores of the node * @type {number} * @memberof Node */ 'cpu'?: number; /** * * @type {ResourceStats} * @memberof Node */ 'cpuStats'?: ResourceStats; /** * CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists * @type {string} * @memberof Node */ 'createdAt': string; /** * Host name of the node * @type {string} * @memberof Node */ 'hostName': string; /** * Instance type of the node * @type {string} * @memberof Node */ 'instanceType'?: string; /** * IP address of the node * @type {string} * @memberof Node */ 'ip': string; /** * Memory of the node, unit is GiB * @type {number} * @memberof Node */ 'memory'?: number; /** * * @type {ResourceStats} * @memberof Node */ 'memoryStats'?: ResourceStats; /** * Zone of the node * @type {string} * @memberof Node */ 'zone'?: string; /** * Region of the node * @type {string} * @memberof Node */ 'region'?: string; /** * Node Group of the node * @type {string} * @memberof Node */ 'nodeGroup'?: string; /** * node is in control plane * @type {boolean} * @memberof Node */ 'controlPlane'?: boolean; /** * node is in data plane * @type {boolean} * @memberof Node */ 'dataPlane'?: boolean; /** * Whether the node is managed (has data-plane or control-plane label) * @type {boolean} * @memberof Node */ 'managed'?: boolean; /** * * @type {Array} * @memberof Node */ 'koordinatorReservations'?: Array; /** * * @type {NodeStatus} * @memberof Node */ 'status': NodeStatus; }