InstanceFailoverReplicaResponse class
The name and status of the failover replica.
Constructors
-
InstanceFailoverReplicaResponse({required Input<
bool> available, required Input<String> name}) -
Creates a new InstanceFailoverReplicaResponse.
availableThe availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.nameThe name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.const -
InstanceFailoverReplicaResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
available
→ Input<
bool> -
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> -
The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
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