/**
* The ClusterRegistrationSpec model module.
* @module Ntnx/ClusterRegistrationSpec
* @version 4.4.2
* @class ClusterRegistrationSpec
* @param { DomainManagerRemoteClusterSpec | AOSRemoteClusterSpec | ClusterReference } remoteCluster Description of a remote cluster.
*
*/
export default class ClusterRegistrationSpec {
/**
* Constructs a ClusterRegistrationSpec 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/ClusterRegistrationSpec} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/ClusterRegistrationSpec} The populated ClusterRegistrationSpec 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 ClusterRegistrationSpec.
* Input specifications to perform the registration with a remote cluster entity.
* @alias module:Ntnx/ClusterRegistrationSpec
* @param { DomainManagerRemoteClusterSpec | AOSRemoteClusterSpec | ClusterReference } remoteCluster Description of a remote cluster.
*
*/
constructor(remoteCluster: DomainManagerRemoteClusterSpec | AOSRemoteClusterSpec | ClusterReference);
remoteCluster: AOSRemoteClusterSpec | ClusterReference | DomainManagerRemoteClusterSpec;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Description of a remote cluster.
* @return {DomainManagerRemoteClusterSpec | AOSRemoteClusterSpec | ClusterReference}
*/
getRemoteCluster(): DomainManagerRemoteClusterSpec | AOSRemoteClusterSpec | ClusterReference;
/**
* Sets Description of a remote cluster.
* @param {DomainManagerRemoteClusterSpec | AOSRemoteClusterSpec | ClusterReference} remoteCluster Description of a remote cluster.
*/
setRemoteCluster(remoteCluster: DomainManagerRemoteClusterSpec | AOSRemoteClusterSpec | ClusterReference): 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 AOSRemoteClusterSpec from "./AOSRemoteClusterSpec";
import ClusterReference from "./ClusterReference";
import DomainManagerRemoteClusterSpec from "./DomainManagerRemoteClusterSpec";
import ValidationError from "../../../validation/ValidationError";