/** * The RecoveryPlan model module. * @module Ntnx/RecoveryPlan * @version 4.3.1 * @class RecoveryPlan * @extends ExternalizableAbstractModel * * @param { string } name Name of the recovery plan. * * @param { DisasterRecoveryLocation } primaryLocation * * @param { DisasterRecoveryLocation } recoveryLocation */ export default class RecoveryPlan extends ExternalizableAbstractModel { /** * Constructs a new RecoveryPlan. * A recovery plan orchestrates disaster recovery of protected VMs and volume groups on primary Nutanix clusters to secondary Nutanix clusters registered to the same or different Domain manager. * @alias module:Ntnx/RecoveryPlan * @extends module:Ntnx/ExternalizableAbstractModel * * @param { string } name Name of the recovery plan. * * @param { DisasterRecoveryLocation } primaryLocation * * @param { DisasterRecoveryLocation } recoveryLocation */ constructor(name: string, primaryLocation: DisasterRecoveryLocation, recoveryLocation: DisasterRecoveryLocation); name: string; primaryLocation: DisasterRecoveryLocation; recoveryLocation: DisasterRecoveryLocation; /** * Returns Name of the recovery plan. * @return {string} */ getName(): string; /** * Sets Name of the recovery plan. * @param {string} name Name of the recovery plan. */ setName(name: string): void; /** * Returns Description of the recovery plan. * @return {string} */ getDescription(): string; /** * Sets Description of the recovery plan. * @param {string} description Description of the recovery plan. */ setDescription(description: string): void; description: string; /** * @return {DisasterRecoveryLocation} */ getPrimaryLocation(): DisasterRecoveryLocation; /** * @param {DisasterRecoveryLocation} primaryLocation */ setPrimaryLocation(primaryLocation: DisasterRecoveryLocation): void; /** * @return {DisasterRecoveryLocation} */ getRecoveryLocation(): DisasterRecoveryLocation; /** * @param {DisasterRecoveryLocation} recoveryLocation */ setRecoveryLocation(recoveryLocation: DisasterRecoveryLocation): void; /** * @return {WitnessConfiguration} */ getWitness(): WitnessConfiguration; /** * @param {WitnessConfiguration} witness */ setWitness(witness: WitnessConfiguration): void; witness: WitnessConfiguration; /** * Returns External identifier of the owner of the protection policy. * @return {string} */ getOwnerExtId(): string; /** * Sets External identifier of the owner of the protection policy. * @param {string} ownerExtId External identifier of the owner of the protection policy. */ setOwnerExtId(ownerExtId: string): void; ownerExtId: string; /** * Returns Indicates whether protection for the recovered VMs and Volume groups is currently paused as a result of post-failover behavior. * @return {boolean} */ getIsProtectionPausedPostFailover(): boolean; /** * Sets Indicates whether protection for the recovered VMs and Volume groups is currently paused as a result of post-failover behavior. * @param {boolean} isProtectionPausedPostFailover Indicates whether protection for the recovered VMs and Volume groups is currently paused as a result of post-failover behavior. */ setIsProtectionPausedPostFailover(isProtectionPausedPostFailover: boolean): void; isProtectionPausedPostFailover: boolean; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import DisasterRecoveryLocation from "./DisasterRecoveryLocation"; import WitnessConfiguration from "./WitnessConfiguration";