SDK reference / Models / BackupCenter

ProtectedResource

Kind: class

Namespace: Egulu.Sdk.Models.BackupCenter

One resource of the project and its protection. Read only.

Properties

NameTypeJSON nameDescription
CopyLocationsList<string>?copyLocationsThe locations that hold a copy of the backups.
CostPerMonthCentslong?costPerMonthCentsThe estimated cost per month of the backups in EUR cents, from the price book; absent where the type has no meter (est.).
HasOwnPlanbool?hasOwnPlanWhether the resource has a plan of its own that no policy made.
HoldsDatabool?holdsDataWhether the resource holds data (an empty stopped instance does not).
LabelsModels.BackupCenter.ProtectedResource_labels?labelsThe labels property
LastGoodBackupTimeDateTimeOffset?lastGoodBackupTimeThe lastGoodBackupTime property
LastRestoreTestTimeDateTimeOffset?lastRestoreTestTimeWhen a restore of it was last rehearsed.
Locationstring?locationThe location property
Namestring?nameprojects/{project}/locations/{location}/protectedResources/{type}~{id}.
NextScheduledTimeDateTimeOffset?nextScheduledTimeThe nextScheduledTime property
OldestRestorableTimeDateTimeOffset?oldestRestorableTimeThe oldestRestorableTime property
Policystring?policyThe protection policy that governs it, if one is assigned.
ReadTimeDateTimeOffset?readTimeWhen the centre read it.
RecoveryPointObjectiveSecondslong?recoveryPointObjectiveSecondsThe longest age of a good backup the schedule allows, in seconds (the interval plus a grace of 15 minutes or a tenth).
Resourcestring?resourceThe owning service's resource name, for example projects/p/locations/lab-de1/disks/data.
Retentionstring?retentionThe retention in words, for example `7 newest, 14 days`.
RpoMetbool?rpoMetWhether the newest good backup is inside the objective; false when nothing is scheduled or no good backup exists.
ScheduleIntervalSecondslong?scheduleIntervalSecondsThe schedule's interval in seconds; absent when nothing is scheduled.
SizeByteslong?sizeBytesThe sizeBytes property
StateModels.BackupCenter.ProtectedResource_state?stateThe state property
StateReasonstring?stateReasonOne sentence that says why.
Typestring?typeThe type: disk, vm, postgres, valkey, mariadb, mysql, documentdb, opensearch, clickhouse, graphdb, vectordb, timeseries, bucket, fileshare.
UnsupportedReasonstring?unsupportedReasonWhy the type cannot be backed up here, when it cannot.