SDK reference / Models

Models.BackupCenter namespace

Types

TypeKindDescription
AssignProtectionPolicyRequestclass
AssignProtectionPolicyResponseclass
AssignmentItemclassWhat happens, or happened, to one resource.
BackupReportclassA monthly report: the inventory summary and one line per resource as they stood when it was made. Kept 12 months.
BackupSummaryclassCounts by state and the lists a customer acts on.
BackupSummary_byTypeclassCounts by type, for the overview.
CreateProtectionPolicyRequestclass
CreateRestoreTestRequestclass
CreateRestoreTestRequest_scheduleenumDAILY or WEEKLY to repeat the test; absent for one test now.
PolicyAssignmentclassOne resource assigned to a policy.
PolicyRetentionclassHow long a policy keeps backups. At least one field. The platform never keeps fewer than one backup or one day, and at most 100 backups and 35 days (ADR-0510).
PolicyScheduleclassWhen a policy's backups run (the same words as a disk backup plan: ADR-0504).
PolicySchedule_frequencyenumHOURLY, DAILY or WEEKLY.
ProtectedResourceclassOne resource of the project and its protection. Read only.
ProtectedResourceListclassA page of protected resources.
ProtectedResource_labelsclass
ProtectedResource_stateenum
ProtectionPolicyclassOne protection policy: a schedule and a retention a project applies to many resources.
ResourceSelectorclassPicks resources by type and labels. Empty selects nothing.
ResourceSelector_labelsclassLabels a resource must all carry.
RestoreIssueclassAn issue a failed rehearsal raised.
RestoreTestclassA restore rehearsal: a backup of a resource is restored into a temporary target, checked, and the target is deleted.
RestoreTestResultclassWhat a rehearsal proved. Kept as evidence.
RestoreTest_scheduleenumDAILY or WEEKLY for a recurring test; absent for a single one.
RestoreTest_stateenum
UnassignProtectionPolicyRequestclass
UnavailableSourceclassA type the centre could not read this time. Its resources are not listed and never counted as protected.