/**
* The ClusterLocation model module.
* @module Ntnx/ClusterLocation
* @version 4.4.2
* @class ClusterLocation
* @param { ClusterReference | RemoteClusterSpec } config Cluster config for the backup target or recovery source. Cluster reference to be provided to recover Domain Manager from a registered cluster and remote cluster spec to be provided to recover Domain Manager from a non-registered cluster. Only Cluster reference to be supported while performing backup.
*
*/
export default class ClusterLocation {
/**
* Constructs a ClusterLocation 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/ClusterLocation} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/ClusterLocation} The populated ClusterLocation 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 ClusterLocation.
* Model which contains the information about the backup cluster.
* @alias module:Ntnx/ClusterLocation
* @param { ClusterReference | RemoteClusterSpec } config Cluster config for the backup target or recovery source. Cluster reference to be provided to recover Domain Manager from a registered cluster and remote cluster spec to be provided to recover Domain Manager from a non-registered cluster. Only Cluster reference to be supported while performing backup.
*
*/
constructor(config: ClusterReference | RemoteClusterSpec);
config: RemoteClusterSpec | ClusterReference;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Cluster config for the backup target or recovery source. Cluster reference to be provided to recover Domain Manager from a registered cluster and remote cluster spec to be provided to recover Domain Manager from a non-registered cluster. Only Cluster reference to be supported while performing backup.
* @return {ClusterReference | RemoteClusterSpec}
*/
getConfig(): ClusterReference | RemoteClusterSpec;
/**
* Sets Cluster config for the backup target or recovery source. Cluster reference to be provided to recover Domain Manager from a registered cluster and remote cluster spec to be provided to recover Domain Manager from a non-registered cluster. Only Cluster reference to be supported while performing backup.
* @param {ClusterReference | RemoteClusterSpec} config Cluster config for the backup target or recovery source. Cluster reference to be provided to recover Domain Manager from a registered cluster and remote cluster spec to be provided to recover Domain Manager from a non-registered cluster. Only Cluster reference to be supported while performing backup.
*/
setConfig(config: ClusterReference | RemoteClusterSpec): 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 RemoteClusterSpec from "./RemoteClusterSpec";
import ClusterReference from "./ClusterReference";
import ValidationError from "../../../validation/ValidationError";