Lifecycle class

Contains an array of Transition objects specifying how long in days before a recovery point transitions to cold storage or is deleted.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

Constructors

Lifecycle({int? deleteAfterDays, int? moveToColdStorageAfterDays})
Lifecycle.fromJson(Map<String, dynamic> json)
factory

Properties

deleteAfterDays int?
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.
final
hashCode int
The hash code for this object.
no setterinherited
moveToColdStorageAfterDays int?
Specifies the number of days after creation that a recovery point is moved to cold storage.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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