BackupPlan class

Defines the configuration and scheduling for a "line" of Backups.

Constructors

BackupPlan({BackupConfig? backupConfig, Schedule? backupSchedule, String? cluster, String? createTime, bool? deactivated, String? description, String? etag, Map<String, String>? labels, String? name, int? protectedPodCount, RetentionPolicy? retentionPolicy, int? rpoRiskLevel, String? rpoRiskReason, String? state, String? stateReason, String? uid, String? updateTime})
BackupPlan.fromJson(Map json_)

Properties

backupConfig BackupConfig?
Defines the configuration of Backups created via this BackupPlan.
getter/setter pair
backupSchedule Schedule?
Defines a schedule for automatic Backup creation via this BackupPlan.
getter/setter pair
cluster String?
The source cluster from which Backups will be created via this BackupPlan.
getter/setter pair
createTime String?
The timestamp when this BackupPlan resource was created.
getter/setter pair
deactivated bool?
This flag indicates whether this BackupPlan has been deactivated.
getter/setter pair
description String?
User specified descriptive string for this BackupPlan.
getter/setter pair
etag String?
etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
A set of custom labels supplied by user.
getter/setter pair
name String?
The full name of the BackupPlan resource.
getter/setter pair
protectedPodCount int?
The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
getter/setter pair
retentionPolicy RetentionPolicy?
RetentionPolicy governs lifecycle of Backups created under this plan.
getter/setter pair
rpoRiskLevel int?
A number that represents the current risk level of this BackupPlan from RPO perspective with 1 being no risk and 5 being highest risk.
getter/setter pair
rpoRiskReason String?
Human-readable description of why the BackupPlan is in the current rpo_risk_level and action items if any.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
State of the BackupPlan.
getter/setter pair
stateReason String?
Human-readable description of why BackupPlan is in the current state
getter/setter pair
uid String?
Server generated global unique identifier of UUID format.
getter/setter pair
updateTime String?
The timestamp when this BackupPlan resource was last updated.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited