/** * The PostClusterConfigDetails model module. * @module Ntnx/PostClusterConfigDetails * @version 4.3.1 * @class PostClusterConfigDetails * * @param { NodeInfo[] } nodes List of nodes to perform post-cluster operations on * * @param { string } clusterExtId External ID of the cluster */ export default class PostClusterConfigDetails { /** * Constructs a PostClusterConfigDetails from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:Ntnx/PostClusterConfigDetails} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/PostClusterConfigDetails} The populated PostClusterConfigDetails instance. */ static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any; /** * Converts a given snake_case string to camelCase. * @param {string} snakeStr - The input string in snake_case format. * @returns {string} - The converted string in camelCase format. */ static snakeToCamel(snakeStr: string): string; /** * Constructs a new PostClusterConfigDetails. * Configuration details for post-cluster operations on nodes after cluster creation * @alias module:Ntnx/PostClusterConfigDetails * * @param { NodeInfo[] } nodes List of nodes to perform post-cluster operations on * * @param { string } clusterExtId External ID of the cluster */ constructor(nodes: NodeInfo[], clusterExtId: string); nodes: NodeInfo[]; clusterExtId: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns List of nodes to perform post-cluster operations on * @return {NodeInfo[]} */ getNodes(): NodeInfo[]; /** * Sets List of nodes to perform post-cluster operations on * @param {NodeInfo[]} nodes List of nodes to perform post-cluster operations on */ setNodes(nodes: NodeInfo[]): void; /** * Returns External ID of the cluster * @return {string} */ getClusterExtId(): string; /** * Sets External ID of the cluster * @param {string} clusterExtId External ID of the cluster */ setClusterExtId(clusterExtId: string): void; get$Reserved(): any; get$ObjectType(): string; get$UnknownFields(): any; toJson(forMutation: any): any; validate(scope: any, properties: any, ...args: any[]): Promise; validateProperty(scope: any, property: any): ValidationError; #private; } import NodeInfo from "./NodeInfo"; import ValidationError from "../../../validation/ValidationError";