/** * The HttpProxyConfig model module. * @module Ntnx/HttpProxyConfig * @version 4.4.2 * @class HttpProxyConfig * * @param { string } name HTTP Proxy server name configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. */ export default class HttpProxyConfig { /** * Constructs a HttpProxyConfig 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/HttpProxyConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/HttpProxyConfig} The populated HttpProxyConfig 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 HttpProxyConfig. * HTTP Proxy server configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @alias module:Ntnx/HttpProxyConfig * * @param { string } name HTTP Proxy server name configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. */ constructor(name: string); name: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {IPAddress} */ getIpAddress(): IPAddress; /** * @param {IPAddress} ipAddress */ setIpAddress(ipAddress: IPAddress): void; ipAddress: IPAddress; /** * Returns HTTP Proxy server port configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @return {Number} */ getPort(): number; /** * Sets HTTP Proxy server port configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @param {Number} port HTTP Proxy server port configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. */ setPort(port: number): void; port: number; /** * Returns HTTP Proxy server username needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @return {string} */ getUsername(): string; /** * Sets HTTP Proxy server username needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @param {string} username HTTP Proxy server username needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. */ setUsername(username: string): void; username: string; /** * Returns HTTP Proxy server password needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @return {string} */ getPassword(): string; /** * Sets HTTP Proxy server password needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @param {string} password HTTP Proxy server password needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. */ setPassword(password: string): void; password: string; /** * Returns HTTP Proxy server name configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @return {string} */ getName(): string; /** * Sets HTTP Proxy server name configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. * @param {string} name HTTP Proxy server name configuration needed to access a cluster which is hosted behind a HTTP Proxy to not reveal its identity. */ setName(name: string): void; /** * Returns List of HTTP proxy types. * @return {HttpProxyType[]} */ getProxyTypes(): HttpProxyType[]; /** * Sets List of HTTP proxy types. * @param {HttpProxyType[]} proxyTypes List of HTTP proxy types. */ setProxyTypes(proxyTypes: HttpProxyType[]): void; proxyTypes: 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 IPAddress from "../../../common/v1/config/IPAddress"; import HttpProxyType from "./HttpProxyType"; import ValidationError from "../../../validation/ValidationError";