/**
* The ConnectionConfig model module.
* @module Ntnx/ConnectionConfig
* @version 4.4.2
* @class ConnectionConfig
*
* @param { IPAddressOrFQDN } ipAddressOrHostname
*/
export default class ConnectionConfig {
/**
* Constructs a ConnectionConfig 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/ConnectionConfig} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/ConnectionConfig} The populated ConnectionConfig 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 ConnectionConfig.
* Connection configuration to be used when making a connection with the object store.
* @alias module:Ntnx/ConnectionConfig
*
* @param { IPAddressOrFQDN } ipAddressOrHostname
*/
constructor(ipAddressOrHostname: IPAddressOrFQDN);
ipAddressOrHostname: IPAddressOrFQDN;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* @return {IPAddressOrFQDN}
*/
getIpAddressOrHostname(): IPAddressOrFQDN;
/**
* @param {IPAddressOrFQDN} ipAddressOrHostname
*/
setIpAddressOrHostname(ipAddressOrHostname: IPAddressOrFQDN): void;
/**
* Returns The port of the object store endpoint where backup data of domain manager is stored.
* minimum: 0
* maximum: 65535
* @return {Number}
*/
getPort(): number;
/**
* Sets The port of the object store endpoint where backup data of domain manager is stored.
* @param {Number} port The port of the object store endpoint where backup data of domain manager is stored.
*/
setPort(port: number): void;
port: number;
/**
* Returns Skips the verification of the certificate during communication with the object store endpoint.
* @return {boolean}
*/
getShouldSkipCertificateValidation(): boolean;
/**
* Sets Skips the verification of the certificate during communication with the object store endpoint.
* @param {boolean} shouldSkipCertificateValidation Skips the verification of the certificate during communication with the object store endpoint.
*/
setShouldSkipCertificateValidation(shouldSkipCertificateValidation: boolean): void;
shouldSkipCertificateValidation: boolean;
/**
* Returns Certificate which will be used while validating the object store identity.
* @return {string}
*/
getCertificate(): string;
/**
* Sets Certificate which will be used while validating the object store identity.
* @param {string} certificate Certificate which will be used while validating the object store identity.
*/
setCertificate(certificate: string): void;
certificate: string;
/**
* Returns Indicates whether a custom certificate were configured or not.
* @return {boolean}
*/
getHasCustomCertificate(): boolean;
/**
* Sets Indicates whether a custom certificate were configured or not.
* @param {boolean} hasCustomCertificate Indicates whether a custom certificate were configured or not.
*/
setHasCustomCertificate(hasCustomCertificate: boolean): void;
hasCustomCertificate: boolean;
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 IPAddressOrFQDN from "../../../common/v1/config/IPAddressOrFQDN";
import ValidationError from "../../../validation/ValidationError";