InstanceCrossInstanceReplicationConfig class
Constructors
-
InstanceCrossInstanceReplicationConfig({Input<
String?> ? instanceRole, Input<List< ? memberships, Input<InstanceCrossInstanceReplicationConfigMembership> ?>InstanceCrossInstanceReplicationConfigPrimaryInstance?> ? primaryInstance, Input<List< ? secondaryInstances, Input<InstanceCrossInstanceReplicationConfigSecondaryInstance> ?>String?> ? updateTime}) -
Creates a new InstanceCrossInstanceReplicationConfig.
instanceRoleThe instance role supports the following values:memberships(Output)primaryInstanceThis field is only set for a secondary instance. Details of the primary instance that is used as the replication source for this secondary instance. This is allowed to be set only for clusters whose cluster role is of typeSECONDARY.secondaryInstancesList of secondary instances that are replicating from this primary cluster. This is allowed to be set only for instances whose cluster role is of typePRIMARY.updateTime(Output)const -
InstanceCrossInstanceReplicationConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceRole
→ Input<
String?> ? -
The instance role supports the following values:
final
-
memberships
→ Input<
List< ?InstanceCrossInstanceReplicationConfigMembership> ?> -
(Output)
An output only view of all the member instance participating in cross instance replication. This field is populated for all the member clusters irrespective of their cluster role.
Structure is documented below.
final
-
primaryInstance
→ Input<
InstanceCrossInstanceReplicationConfigPrimaryInstance?> ? -
This field is only set for a secondary instance. Details of the primary instance that is used as the replication source for this secondary instance. This is allowed to be set only for clusters whose cluster role is of type
SECONDARY. Structure is documented below.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryInstances
→ Input<
List< ?InstanceCrossInstanceReplicationConfigSecondaryInstance> ?> -
List of secondary instances that are replicating from this primary cluster. This is allowed to be set only for instances whose cluster role is of type
PRIMARY. Structure is documented below.final -
updateTime
→ Input<
String?> ? -
(Output)
The last time cross instance replication config was updated.
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