VolumeSnapshotPolicy class
Constructors
-
VolumeSnapshotPolicy({Input<
VolumeSnapshotPolicyDailySchedule?> ? dailySchedule, Input<bool?> ? enabled, Input<VolumeSnapshotPolicyHourlySchedule?> ? hourlySchedule, Input<VolumeSnapshotPolicyMonthlySchedule?> ? monthlySchedule, Input<VolumeSnapshotPolicyWeeklySchedule?> ? weeklySchedule}) -
Creates a new VolumeSnapshotPolicy.
dailyScheduleDaily schedule policy.enabledEnables automated snapshot creation according to defined schedule. Default is false.hourlyScheduleHourly schedule policy.monthlyScheduleMonthly schedule policy.weeklyScheduleWeekly schedule policy.const -
VolumeSnapshotPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
dailySchedule
→ Input<
VolumeSnapshotPolicyDailySchedule?> ? -
Daily schedule policy.
Structure is documented below.
final
-
enabled
→ Input<
bool?> ? -
Enables automated snapshot creation according to defined schedule. Default is false.
To disable automatic snapshot creation you have to remove the whole snapshotPolicy block.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hourlySchedule
→ Input<
VolumeSnapshotPolicyHourlySchedule?> ? -
Hourly schedule policy.
Structure is documented below.
final
-
monthlySchedule
→ Input<
VolumeSnapshotPolicyMonthlySchedule?> ? -
Monthly schedule policy.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
weeklySchedule
→ Input<
VolumeSnapshotPolicyWeeklySchedule?> ? -
Weekly schedule policy.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited