InstanceStateState class

Input properties used for looking up and filtering InstanceState resources.

Constructors

InstanceStateState({Input<bool?>? force, Input<String?>? instanceId, Input<String?>? region, Input<String?>? state})
Creates a new InstanceStateState. force Whether to request a forced stop when state is stopped. Otherwise (i.e., state is running), ignored. When an instance is forced to stop, it does not flush file system caches or file system metadata, and you must subsequently perform file system check and repair. Not recommended for Windows instances. Defaults to false. instanceId ID of the instance. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. state State of the instance. Valid values are stopped, running.
const
InstanceStateState.fromMap(Map<String, dynamic> map)
factory

Properties

force → Input<bool?>?
Whether to request a forced stop when state is stopped. Otherwise (i.e., state is running), ignored. When an instance is forced to stop, it does not flush file system caches or file system metadata, and you must subsequently perform file system check and repair. Not recommended for Windows instances. Defaults to false.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceId → Input<String?>?
ID of the instance.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Input<String?>?
State of the instance. Valid values are stopped, running.
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