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.
forceWhether to request a forced stop whenstateisstopped. Otherwise (i.e.,stateisrunning), 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 tofalse.instanceIdID of the instance.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.stateState of the instance. Valid values arestopped,running.const -
InstanceStateState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
force
→ Input<
bool?> ? -
Whether to request a forced stop when
stateisstopped. Otherwise (i.e.,stateisrunning), 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 tofalse.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