InstanceSchedulingGracefulShutdown class
Constructors
-
InstanceSchedulingGracefulShutdown({required Input<
bool> enabled, Input<InstanceSchedulingGracefulShutdownMaxDuration?> ? maxDuration}) -
Creates a new InstanceSchedulingGracefulShutdown.
enabledOpts-in for graceful shutdown.maxDurationThe time allotted for the instance to gracefully shut down.const -
InstanceSchedulingGracefulShutdown.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
enabled
→ Input<
bool> -
Opts-in for graceful shutdown.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxDuration
→ Input<
InstanceSchedulingGracefulShutdownMaxDuration?> ? -
The time allotted for the instance to gracefully shut down.
If the graceful shutdown isn't complete after this time, then the instance
transitions to the STOPPING state. Structure is documented below:
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited