/** * The BackupTarget model module. * @module Ntnx/BackupTarget * @version 4.4.2 * @class BackupTarget * @extends ExternalizableAbstractModel */ export default class BackupTarget extends ExternalizableAbstractModel { /** * Returns The location of the backup target. For example, a cluster or an object store endpoint such as AWS s3. * @return {ClusterLocation | ObjectStoreLocation} */ getLocation(): ClusterLocation | ObjectStoreLocation; /** * Sets The location of the backup target. For example, a cluster or an object store endpoint such as AWS s3. * @param {ClusterLocation | ObjectStoreLocation} location The location of the backup target. For example, a cluster or an object store endpoint such as AWS s3. */ setLocation(location: ClusterLocation | ObjectStoreLocation): void; location: ClusterLocation | ObjectStoreLocation; /** * Returns The time when the domain manager last synchronised or copied its configuration data to the backup target. This field refreshes every 30 minutes. * @return {Date} */ getLastSyncTime(): Date; /** * Sets The time when the domain manager last synchronised or copied its configuration data to the backup target. This field refreshes every 30 minutes. * @param {Date} lastSyncTime The time when the domain manager last synchronised or copied its configuration data to the backup target. This field refreshes every 30 minutes. */ setLastSyncTime(lastSyncTime: Date): void; lastSyncTime: Date; /** * Returns Whether or not the backup is paused on the specified cluster. * @return {boolean} */ getIsBackupPaused(): boolean; /** * Sets Whether or not the backup is paused on the specified cluster. * @param {boolean} isBackupPaused Whether or not the backup is paused on the specified cluster. */ setIsBackupPaused(isBackupPaused: boolean): void; isBackupPaused: boolean; /** * Returns Specifies a reason why the backup might have paused. This is empty if the isBackupPaused field is false. * @return {string} */ getBackupPauseReason(): string; /** * Sets Specifies a reason why the backup might have paused. This is empty if the isBackupPaused field is false. * @param {string} backupPauseReason Specifies a reason why the backup might have paused. This is empty if the isBackupPaused field is false. */ setBackupPauseReason(backupPauseReason: string): void; backupPauseReason: string; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import ClusterLocation from "./ClusterLocation"; import ObjectStoreLocation from "./ObjectStoreLocation";