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: "Required. Immutable. User inputs for the auto-created
@@ -361,6 +386,99 @@ properties:
361
386
description:
362
387
"Output only. Ports of the exposed endpoint."
363
388
output: true
389
+
- name: 'crossInstanceReplicationConfig'
390
+
type: NestedObject
391
+
description: Cross instance replication config
392
+
default_from_api: true
393
+
properties:
394
+
- name: 'instanceRole'
395
+
type: Enum
396
+
description: |
397
+
The instance role supports the following values:
398
+
1. `INSTANCE_ROLE_UNSPECIFIED`: This is an independent instance that has never participated in cross instance replication. It allows both reads and writes.
399
+
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.
400
+
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.
401
+
4. `SECONDARY`: This instance replicates data from the primary instance. It allows only reads.
402
+
enum_values:
403
+
- 'INSTANCE_ROLE_UNSPECIFIED'
404
+
- 'NONE'
405
+
- 'PRIMARY'
406
+
- 'SECONDARY'
407
+
- name: 'primaryInstance'
408
+
type: NestedObject
409
+
description: |
410
+
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`.
411
+
properties:
412
+
- name: 'instance'
413
+
type: String
414
+
description: |
415
+
The full resource path of the primary instance in the format: projects/{project}/locations/{region}/instances/{instance-id}
416
+
- name: 'uid'
417
+
type: String
418
+
description: |
419
+
The unique id of the primary instance.
420
+
output: true
421
+
- name: 'secondaryInstances'
422
+
type: Array
423
+
description: |
424
+
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`.
425
+
item_type:
426
+
type: NestedObject
427
+
properties:
428
+
- name: 'instance'
429
+
type: String
430
+
description: |
431
+
The full resource path of the Nth instance in the format: projects/{project}/locations/{region}/instance/{instance-id}
432
+
- name: 'uid'
433
+
type: String
434
+
description: |
435
+
The unique id of the Nth instance.
436
+
output: true
437
+
- name: 'membership'
438
+
type: NestedObject
439
+
description: |
440
+
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.
441
+
output: true
442
+
properties:
443
+
- name: 'primaryInstance'
444
+
type: NestedObject
445
+
description: |
446
+
Details of the primary instance that is used as the replication source for all the secondary instances.
447
+
output: true
448
+
properties:
449
+
- name: 'instance'
450
+
type: String
451
+
description: |
452
+
The full resource path of the primary instance in the format: projects/{project}/locations/{region}/instance/{instance-id}
453
+
output: true
454
+
- name: 'uid'
455
+
type: String
456
+
description: |
457
+
The unique id of the primary instance.
458
+
output: true
459
+
- name: 'secondaryInstance'
460
+
type: Array
461
+
description: |
462
+
List of secondary instances that are replicating from the primary instance.
463
+
output: true
464
+
item_type:
465
+
type: NestedObject
466
+
properties:
467
+
- name: 'instance'
468
+
type: String
469
+
description: |
470
+
The full resource path of the secondary instance in the format: projects/{project}/locations/{region}/instance/{instance-id}
471
+
output: true
472
+
- name: 'uid'
473
+
type: String
474
+
description: |
475
+
The unique id of the secondary instance.
476
+
output: true
477
+
- name: 'updateTime'
478
+
type: String
479
+
description: |
480
+
The last time cross instance replication config was updated.
0 commit comments