Class BackupStatusReport
What ReadStatus(string) found for a bundle or a store.
public sealed record BackupStatusReport : IEquatable<BackupStatusReport>
- Inheritance
-
BackupStatusReport
- Implements
- Inherited Members
Constructors
BackupStatusReport(bool, int, string, string, bool, BackupStatus, BackupStoreStatus, BackupHealth, string)
What ReadStatus(string) found for a bundle or a store.
public BackupStatusReport(bool EngineLive, int Pid, string Machine, string StorePath, bool AcceptsRequests, BackupStatus Status, BackupStoreStatus Store, BackupHealth Health, string Reason)
Parameters
EngineLiveboolAn engine runs on the bundle now (its status file is current).
PidintThe process that wrote the status file; 0 for a store.
MachinestringIts machine;
nullfor a store.StorePathstringThe store the bundle's engine backs up into, or the store asked about.
AcceptsRequestsboolA
backup.requestwould be honoured now (a live engine that accepts requests).StatusBackupStatusThe engine's status, its health judged again now (a stopped engine's status degrades by itself);
nullfor a store.StoreBackupStoreStatusThe store's own status from its packs, or
nullwhen it cannot be read.HealthBackupHealthThe verdict.
ReasonstringWhy, in one sentence.
Properties
AcceptsRequests
A backup.request would be honoured now (a live engine that accepts requests).
public bool AcceptsRequests { get; init; }
Property Value
EngineLive
An engine runs on the bundle now (its status file is current).
public bool EngineLive { get; init; }
Property Value
Health
The verdict.
public BackupHealth Health { get; init; }
Property Value
Machine
Its machine; null for a store.
public string Machine { get; init; }
Property Value
Pid
The process that wrote the status file; 0 for a store.
public int Pid { get; init; }
Property Value
Reason
Why, in one sentence.
public string Reason { get; init; }
Property Value
Status
The engine's status, its health judged again now (a stopped engine's status degrades by itself); null for a store.
public BackupStatus Status { get; init; }
Property Value
Store
The store's own status from its packs, or null when it cannot be read.
public BackupStoreStatus Store { get; init; }
Property Value
StorePath
The store the bundle's engine backs up into, or the store asked about.
public string StorePath { get; init; }
Property Value
Methods
Deconstruct(out bool, out int, out string, out string, out bool, out BackupStatus, out BackupStoreStatus, out BackupHealth, out string)
public void Deconstruct(out bool EngineLive, out int Pid, out string Machine, out string StorePath, out bool AcceptsRequests, out BackupStatus Status, out BackupStoreStatus Store, out BackupHealth Health, out string Reason)
Parameters
EngineLiveboolPidintMachinestringStorePathstringAcceptsRequestsboolStatusBackupStatusStoreBackupStoreStatusHealthBackupHealthReasonstring
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupStatusReport?)
public bool Equals(BackupStatusReport? other)
Parameters
otherBackupStatusReport
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupStatusReport?, BackupStatusReport?)
public static bool operator ==(BackupStatusReport? left, BackupStatusReport? right)
Parameters
leftBackupStatusReportrightBackupStatusReport
Returns
operator !=(BackupStatusReport?, BackupStatusReport?)
public static bool operator !=(BackupStatusReport? left, BackupStatusReport? right)
Parameters
leftBackupStatusReportrightBackupStatusReport