/** * The ClusterResourceConfig model module. * @module Ntnx/ClusterResourceConfig * @version 4.3.1 * @class ClusterResourceConfig * * @param { string } name Name of resource config. */ export default class ClusterResourceConfig { /** * Constructs a ClusterResourceConfig 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/ClusterResourceConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ClusterResourceConfig} The populated ClusterResourceConfig 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 ClusterResourceConfig. * @alias module:Ntnx/ClusterResourceConfig * * @param { string } name Name of resource config. */ constructor(name: string); name: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Name of resource config. * @return {string} */ getName(): string; /** * Sets Name of resource config. * @param {string} name Name of resource config. */ setName(name: string): void; /** * @return {AhvResourceConfig | EsxResourceConfig} */ getResourceConfig(): AhvResourceConfig | EsxResourceConfig; /** * @param {AhvResourceConfig | EsxResourceConfig} resourceConfig */ setResourceConfig(resourceConfig: AhvResourceConfig | EsxResourceConfig): void; resourceConfig: AhvResourceConfig | EsxResourceConfig; /** * Returns Labels for this resource config. Its a key value pair of strings * @return {KVStringPair[]} */ getLabels(): KVStringPair[]; /** * Sets Labels for this resource config. Its a key value pair of strings * @param {KVStringPair[]} labels Labels for this resource config. Its a key value pair of strings */ setLabels(labels: KVStringPair[]): void; labels: KVStringPair[]; /** * Returns Name of client config to use. * @return {string} */ getClient(): string; /** * Sets Name of client config to use. * @param {string} client Name of client config to use. */ setClient(client: string): void; client: string; 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 AhvResourceConfig from "./AhvResourceConfig"; import EsxResourceConfig from "./EsxResourceConfig"; import KVStringPair from "../../../common/v1/config/KVStringPair"; import ValidationError from "../../../validation/ValidationError";