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
| Name | Type | JSON name | Description |
|---|---|---|---|
AssignedCount | int? | assignedCount | Resources assigned now. |
CopyTo | string? | copyTo | A peer location that receives a copy of every backup; empty keeps the backups in this location. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DisplayName | string? | displayName | The displayName property |
Enabled | bool? | enabled | Whether the schedule runs on the resources assigned. |
Etag | string? | etag | The etag property |
Name | string? | name | projects/{project}/locations/{location}/protectionPolicies/{policy}. |
NotificationChannel | string? | notificationChannel | Where a failure notice goes: the name of a notification channel of the project. |
Retention | Models.BackupCenter.PolicyRetention? | retention | How 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). |
Schedule | Models.BackupCenter.PolicySchedule? | schedule | When a policy's backups run (the same words as a disk backup plan: ADR-0504). |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |