/** * The ReplicationLocation model module. * @module Ntnx/ReplicationLocation * @version 4.3.1 * @class ReplicationLocation * * @param { string } label This is a unique user defined label of the replication location. It is used to identify the location in the replication configurations. * * @param { string } domainManagerExtId External identifier of the domain manager. */ export default class ReplicationLocation { /** * Constructs a ReplicationLocation 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/ReplicationLocation} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ReplicationLocation} The populated ReplicationLocation 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 ReplicationLocation. * Indicates all the locations participating in the protection policy. You can specify up to 3 replication locations. * @alias module:Ntnx/ReplicationLocation * * @param { string } label This is a unique user defined label of the replication location. It is used to identify the location in the replication configurations. * * @param { string } domainManagerExtId External identifier of the domain manager. */ constructor(label: string, domainManagerExtId: string); label: string; domainManagerExtId: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns This is a unique user defined label of the replication location. It is used to identify the location in the replication configurations. * @return {string} */ getLabel(): string; /** * Sets This is a unique user defined label of the replication location. It is used to identify the location in the replication configurations. * @param {string} label This is a unique user defined label of the replication location. It is used to identify the location in the replication configurations. */ setLabel(label: string): void; /** * Returns External identifier of the domain manager. * @return {string} */ getDomainManagerExtId(): string; /** * Sets External identifier of the domain manager. * @param {string} domainManagerExtId External identifier of the domain manager. */ setDomainManagerExtId(domainManagerExtId: string): void; /** * Returns Specifies the replication sublocations where recovery points can be created or replicated. * @return {NutanixCluster | Mst} */ getReplicationSubLocation(): NutanixCluster | Mst; /** * Sets Specifies the replication sublocations where recovery points can be created or replicated. * @param {NutanixCluster | Mst} replicationSubLocation Specifies the replication sublocations where recovery points can be created or replicated. */ setReplicationSubLocation(replicationSubLocation: NutanixCluster | Mst): void; replicationSubLocation: Mst | NutanixCluster; /** * Returns One of the locations must be specified as the primary location. All the other locations must be connected to the primary location. * @return {boolean} */ getIsPrimary(): boolean; /** * Sets One of the locations must be specified as the primary location. All the other locations must be connected to the primary location. * @param {boolean} isPrimary One of the locations must be specified as the primary location. All the other locations must be connected to the primary location. */ setIsPrimary(isPrimary: boolean): void; isPrimary: 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 NutanixCluster from "./NutanixCluster"; import Mst from "./Mst"; import ValidationError from "../../../validation/ValidationError";