You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Immutable. User inputs for the auto-created
@@ -493,6 +518,99 @@ properties:
493
518
description:
494
519
"Output only. Ports of the exposed endpoint."
495
520
output: true
521
+
- name: 'crossInstanceReplicationConfig'
522
+
type: NestedObject
523
+
description: Cross instance replication config
524
+
default_from_api: true
525
+
properties:
526
+
- name: 'instanceRole'
527
+
type: Enum
528
+
description: |
529
+
The instance role supports the following values:
530
+
1. `INSTANCE_ROLE_UNSPECIFIED`: This is an independent instance that has never participated in cross instance replication. It allows both reads and writes.
531
+
2. `NONE`: This is an independent instance that previously participated in cross instance replication(either as a `PRIMARY` or `SECONDARY` cluster). It allows both reads and writes.
532
+
3. `PRIMARY`: This instance serves as the replication source for secondary instance that are replicating from it. Any data written to it is automatically replicated to its secondary clusters. It allows both reads and writes.
533
+
4. `SECONDARY`: This instance replicates data from the primary instance. It allows only reads.
534
+
enum_values:
535
+
- 'INSTANCE_ROLE_UNSPECIFIED'
536
+
- 'NONE'
537
+
- 'PRIMARY'
538
+
- 'SECONDARY'
539
+
- name: 'primaryInstance'
540
+
type: NestedObject
541
+
description: |
542
+
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`.
543
+
properties:
544
+
- name: 'instance'
545
+
type: String
546
+
description: |
547
+
The full resource path of the primary instance in the format: projects/{project}/locations/{region}/instances/{instance-id}
548
+
- name: 'uid'
549
+
type: String
550
+
description: |
551
+
The unique id of the primary instance.
552
+
output: true
553
+
- name: 'secondaryInstances'
554
+
type: Array
555
+
description: |
556
+
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`.
557
+
item_type:
558
+
type: NestedObject
559
+
properties:
560
+
- name: 'instance'
561
+
type: String
562
+
description: |
563
+
The full resource path of the Nth instance in the format: projects/{project}/locations/{region}/instance/{instance-id}
564
+
- name: 'uid'
565
+
type: String
566
+
description: |
567
+
The unique id of the Nth instance.
568
+
output: true
569
+
- name: 'membership'
570
+
type: NestedObject
571
+
description: |
572
+
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.
573
+
output: true
574
+
properties:
575
+
- name: 'primaryInstance'
576
+
type: NestedObject
577
+
description: |
578
+
Details of the primary instance that is used as the replication source for all the secondary instances.
579
+
output: true
580
+
properties:
581
+
- name: 'instance'
582
+
type: String
583
+
description: |
584
+
The full resource path of the primary instance in the format: projects/{project}/locations/{region}/instance/{instance-id}
585
+
output: true
586
+
- name: 'uid'
587
+
type: String
588
+
description: |
589
+
The unique id of the primary instance.
590
+
output: true
591
+
- name: 'secondaryInstance'
592
+
type: Array
593
+
description: |
594
+
List of secondary instances that are replicating from the primary instance.
595
+
output: true
596
+
item_type:
597
+
type: NestedObject
598
+
properties:
599
+
- name: 'instance'
600
+
type: String
601
+
description: |
602
+
The full resource path of the secondary instance in the format: projects/{project}/locations/{region}/instance/{instance-id}
603
+
output: true
604
+
- name: 'uid'
605
+
type: String
606
+
description: |
607
+
The unique id of the secondary instance.
608
+
output: true
609
+
- name: 'updateTime'
610
+
type: String
611
+
description: |
612
+
The last time cross instance replication config was updated.
0 commit comments