/** * The DataPlaneHealthCheckConfig model module. * @module Ntnx/DataPlaneHealthCheckConfig * @version 4.4.1 * @class DataPlaneHealthCheckConfig */ export default class DataPlaneHealthCheckConfig { /** * Constructs a DataPlaneHealthCheckConfig 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/DataPlaneHealthCheckConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/DataPlaneHealthCheckConfig} The populated DataPlaneHealthCheckConfig 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; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns The interval, in seconds, between health checks. * minimum: 1 * maximum: 65535 * @return {Number} */ getIntervalSecs(): number; /** * Sets The interval, in seconds, between health checks. * @param {Number} intervalSecs The interval, in seconds, between health checks. */ setIntervalSecs(intervalSecs: number): void; intervalSecs: number; /** * Returns The time, in seconds, after which a health check times out. * minimum: 1 * maximum: 65535 * @return {Number} */ getTimeoutSecs(): number; /** * Sets The time, in seconds, after which a health check times out. * @param {Number} timeoutSecs The time, in seconds, after which a health check times out. */ setTimeoutSecs(timeoutSecs: number): void; timeoutSecs: number; /** * Returns The number of successful checks after which the target is considered healthy. * minimum: 1 * maximum: 64 * @return {Number} */ getSuccessThreshold(): number; /** * Sets The number of successful checks after which the target is considered healthy. * @param {Number} successThreshold The number of successful checks after which the target is considered healthy. */ setSuccessThreshold(successThreshold: number): void; successThreshold: number; /** * Returns The number of failure checks after which the target is considered unhealthy. * minimum: 1 * maximum: 64 * @return {Number} */ getFailureThreshold(): number; /** * Sets The number of failure checks after which the target is considered unhealthy. * @param {Number} failureThreshold The number of failure checks after which the target is considered unhealthy. */ setFailureThreshold(failureThreshold: number): void; failureThreshold: number; 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";