/** * The LoadBalancerConfigObject model module. * @module Ntnx/LoadBalancerConfigObject * @version 4.3.1 * @class LoadBalancerConfigObject * * @param { string } name Name of the Load Balancer configuration. The name should be unique for every configuration. * * @param { LoadBalancer[] } instances */ declare class LoadBalancerConfigObject { /** * Constructs a LoadBalancerConfigObject 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/LoadBalancerConfigObject} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/LoadBalancerConfigObject} The populated LoadBalancerConfigObject 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 LoadBalancerConfigObject. * Load balancer configuration of the cluster. * @alias module:Ntnx/LoadBalancerConfigObject * * @param { string } name Name of the Load Balancer configuration. The name should be unique for every configuration. * * @param { LoadBalancer[] } instances */ constructor(name: string, instances: LoadBalancer[]); name: string; instances: LoadBalancer[]; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Name of the Load Balancer configuration. The name should be unique for every configuration. * @return {string} */ getName(): string; /** * Sets Name of the Load Balancer configuration. The name should be unique for every configuration. * @param {string} name Name of the Load Balancer configuration. The name should be unique for every configuration. */ setName(name: string): void; /** * @return {LoadBalancer[]} */ getInstances(): LoadBalancer[]; /** * @param {LoadBalancer[]} instances */ setInstances(instances: LoadBalancer[]): void; /** * @return {LoadBalancerConfigType} */ getConfigType(): LoadBalancerConfigType; /** * @param {LoadBalancerConfigType} configType */ setConfigType(configType: LoadBalancerConfigType): void; configType: string; /** * @return {LoadBalancerResourceConfig} */ getResourceConfig(): LoadBalancerResourceConfig; /** * @param {LoadBalancerResourceConfig} resourceConfig */ setResourceConfig(resourceConfig: LoadBalancerResourceConfig): void; resourceConfig: LoadBalancerResourceConfig; /** * Returns UUID of the MSP wanting to use this LB. * @return {string} */ getMspUuid(): string; /** * Sets UUID of the MSP wanting to use this LB. * @param {string} mspUuid UUID of the MSP wanting to use this LB. */ setMspUuid(mspUuid: string): void; mspUuid: string; /** * @return {LoadBalancerType} */ getType(): LoadBalancerType; /** * @param {LoadBalancerType} type */ setType(type: LoadBalancerType): void; type: string; /** * Returns Action to be taken on load balancer. * @return {string} */ getAction(): string; /** * Sets Action to be taken on load balancer. * @param {string} action Action to be taken on load balancer. */ setAction(action: string): void; action: string; /** * Returns Kind of LB such as envoyproxy etc. * @return {string} */ getKind(): string; /** * Sets Kind of LB such as envoyproxy etc. * @param {string} kind Kind of LB such as envoyproxy etc. */ setKind(kind: string): void; kind: 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; } declare namespace LoadBalancerConfigObject { namespace ActionEnum { const DEPLOY: string; } /** * * */ type ActionEnum = string; namespace KindEnum { const ENVOYPROXY: string; } /** * * */ type KindEnum = string; } export default LoadBalancerConfigObject; import LoadBalancer from "./LoadBalancer"; import LoadBalancerConfigType from "./LoadBalancerConfigType"; import LoadBalancerResourceConfig from "./LoadBalancerResourceConfig"; import LoadBalancerType from "./LoadBalancerType"; import ValidationError from "../../../validation/ValidationError";