SDK reference / Models / BackupCenter

ProtectionPolicy

Kind: class

Namespace: Egulu.Sdk.Models.BackupCenter

One protection policy: a schedule and a retention a project applies to many resources.

Properties

NameTypeJSON nameDescription
AssignedCountint?assignedCountResources assigned now.
CopyTostring?copyToA peer location that receives a copy of every backup; empty keeps the backups in this location.
CreateTimeDateTimeOffset?createTimeThe createTime property
DisplayNamestring?displayNameThe displayName property
Enabledbool?enabledWhether the schedule runs on the resources assigned.
Etagstring?etagThe etag property
Namestring?nameprojects/{project}/locations/{location}/protectionPolicies/{policy}.
NotificationChannelstring?notificationChannelWhere a failure notice goes: the name of a notification channel of the project.
RetentionModels.BackupCenter.PolicyRetention?retentionHow 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).
ScheduleModels.BackupCenter.PolicySchedule?scheduleWhen a policy's backups run (the same words as a disk backup plan: ADR-0504).
UpdateTimeDateTimeOffset?updateTimeThe updateTime property