/** * The LoggingVolumeConfig model module. * @module Ntnx/LoggingVolumeConfig * @version 4.3.1 * @class LoggingVolumeConfig * * @param { string } mountPath Mount path of the log volume. * * @param { Number } sizeMb Size of the log volume in MB. * * @param { string } storageConfigName Name of the storage config to be used for configuring the log volume. */ export default class LoggingVolumeConfig { /** * Constructs a LoggingVolumeConfig 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/LoggingVolumeConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/LoggingVolumeConfig} The populated LoggingVolumeConfig 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 LoggingVolumeConfig. * Configuration of the default volume to be attached to a node for logging purpose. * @alias module:Ntnx/LoggingVolumeConfig * * @param { string } mountPath Mount path of the log volume. * * @param { Number } sizeMb Size of the log volume in MB. * * @param { string } storageConfigName Name of the storage config to be used for configuring the log volume. */ constructor(mountPath: string, sizeMb: number, storageConfigName: string); mountPath: string; sizeMb: number; storageConfigName: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Mount path of the log volume. * @return {string} */ getMountPath(): string; /** * Sets Mount path of the log volume. * @param {string} mountPath Mount path of the log volume. */ setMountPath(mountPath: string): void; /** * Returns Size of the log volume in MB. * @return {Number} */ getSizeMb(): number; /** * Sets Size of the log volume in MB. * @param {Number} sizeMb Size of the log volume in MB. */ setSizeMb(sizeMb: number): void; /** * Returns Name of the storage config to be used for configuring the log volume. * @return {string} */ getStorageConfigName(): string; /** * Sets Name of the storage config to be used for configuring the log volume. * @param {string} storageConfigName Name of the storage config to be used for configuring the log volume. */ setStorageConfigName(storageConfigName: 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 ValidationError from "../../../validation/ValidationError";