@@ -51,6 +51,8 @@ public static class InstanceTopology {
51
51
52
52
private List <ZonesItem > zones ;
53
53
54
+ private List <ReplicasItem > replicas ;
55
+
54
56
public List <TenantsItem > getTenants () {
55
57
return this .tenants ;
56
58
}
@@ -67,6 +69,14 @@ public void setZones(List<ZonesItem> zones) {
67
69
this .zones = zones ;
68
70
}
69
71
72
+ public List <ReplicasItem > getReplicas () {
73
+ return this .replicas ;
74
+ }
75
+
76
+ public void setReplicas (List <ReplicasItem > replicas ) {
77
+ this .replicas = replicas ;
78
+ }
79
+
70
80
public static class TenantsItem {
71
81
72
82
private String tenantId ;
@@ -87,6 +97,12 @@ public static class TenantsItem {
87
97
88
98
private String primaryZoneDeployType ;
89
99
100
+ private Float tenantDiskSize ;
101
+
102
+ private Float tenantUnitCpu ;
103
+
104
+ private Float tenantUnitMemory ;
105
+
90
106
private List <TenantZonesItem > tenantZones ;
91
107
92
108
public String getTenantId () {
@@ -161,6 +177,30 @@ public void setPrimaryZoneDeployType(String primaryZoneDeployType) {
161
177
this .primaryZoneDeployType = primaryZoneDeployType ;
162
178
}
163
179
180
+ public Float getTenantDiskSize () {
181
+ return this .tenantDiskSize ;
182
+ }
183
+
184
+ public void setTenantDiskSize (Float tenantDiskSize ) {
185
+ this .tenantDiskSize = tenantDiskSize ;
186
+ }
187
+
188
+ public Float getTenantUnitCpu () {
189
+ return this .tenantUnitCpu ;
190
+ }
191
+
192
+ public void setTenantUnitCpu (Float tenantUnitCpu ) {
193
+ this .tenantUnitCpu = tenantUnitCpu ;
194
+ }
195
+
196
+ public Float getTenantUnitMemory () {
197
+ return this .tenantUnitMemory ;
198
+ }
199
+
200
+ public void setTenantUnitMemory (Float tenantUnitMemory ) {
201
+ this .tenantUnitMemory = tenantUnitMemory ;
202
+ }
203
+
164
204
public List <TenantZonesItem > getTenantZones () {
165
205
return this .tenantZones ;
166
206
}
@@ -177,6 +217,10 @@ public static class TenantZonesItem {
177
217
178
218
private String tenantZoneId ;
179
219
220
+ private String logicalZone ;
221
+
222
+ private String replicaType ;
223
+
180
224
private List <UnitsItem > units ;
181
225
182
226
public String getTenantZoneRole () {
@@ -203,6 +247,22 @@ public void setTenantZoneId(String tenantZoneId) {
203
247
this .tenantZoneId = tenantZoneId ;
204
248
}
205
249
250
+ public String getLogicalZone () {
251
+ return this .logicalZone ;
252
+ }
253
+
254
+ public void setLogicalZone (String logicalZone ) {
255
+ this .logicalZone = logicalZone ;
256
+ }
257
+
258
+ public String getReplicaType () {
259
+ return this .replicaType ;
260
+ }
261
+
262
+ public void setReplicaType (String replicaType ) {
263
+ this .replicaType = replicaType ;
264
+ }
265
+
206
266
public List <UnitsItem > getUnits () {
207
267
return this .units ;
208
268
}
@@ -382,6 +442,8 @@ public static class NodesItem {
382
442
383
443
private Long readOnlyCopyId ;
384
444
445
+ private String logicalZone ;
446
+
385
447
private List <NodeResourceItem > nodeResource ;
386
448
387
449
public String getNodeId () {
@@ -432,6 +494,14 @@ public void setReadOnlyCopyId(Long readOnlyCopyId) {
432
494
this .readOnlyCopyId = readOnlyCopyId ;
433
495
}
434
496
497
+ public String getLogicalZone () {
498
+ return this .logicalZone ;
499
+ }
500
+
501
+ public void setLogicalZone (String logicalZone ) {
502
+ this .logicalZone = logicalZone ;
503
+ }
504
+
435
505
public List <NodeResourceItem > getNodeResource () {
436
506
return this .nodeResource ;
437
507
}
@@ -579,6 +649,191 @@ public void setMaxDiskUsedObServer(List<String> maxDiskUsedObServer) {
579
649
}
580
650
}
581
651
}
652
+
653
+ public static class ReplicasItem {
654
+
655
+ private String logicalZone ;
656
+
657
+ private Integer nodeNum ;
658
+
659
+ private String zoneLogicalName ;
660
+
661
+ private String zoneRegionName ;
662
+
663
+ private Integer zoneLogicalId ;
664
+
665
+ private String replicaType ;
666
+
667
+ private String status ;
668
+
669
+ private ReplicaResource replicaResource ;
670
+
671
+ public String getLogicalZone () {
672
+ return this .logicalZone ;
673
+ }
674
+
675
+ public void setLogicalZone (String logicalZone ) {
676
+ this .logicalZone = logicalZone ;
677
+ }
678
+
679
+ public Integer getNodeNum () {
680
+ return this .nodeNum ;
681
+ }
682
+
683
+ public void setNodeNum (Integer nodeNum ) {
684
+ this .nodeNum = nodeNum ;
685
+ }
686
+
687
+ public String getZoneLogicalName () {
688
+ return this .zoneLogicalName ;
689
+ }
690
+
691
+ public void setZoneLogicalName (String zoneLogicalName ) {
692
+ this .zoneLogicalName = zoneLogicalName ;
693
+ }
694
+
695
+ public String getZoneRegionName () {
696
+ return this .zoneRegionName ;
697
+ }
698
+
699
+ public void setZoneRegionName (String zoneRegionName ) {
700
+ this .zoneRegionName = zoneRegionName ;
701
+ }
702
+
703
+ public Integer getZoneLogicalId () {
704
+ return this .zoneLogicalId ;
705
+ }
706
+
707
+ public void setZoneLogicalId (Integer zoneLogicalId ) {
708
+ this .zoneLogicalId = zoneLogicalId ;
709
+ }
710
+
711
+ public String getReplicaType () {
712
+ return this .replicaType ;
713
+ }
714
+
715
+ public void setReplicaType (String replicaType ) {
716
+ this .replicaType = replicaType ;
717
+ }
718
+
719
+ public String getStatus () {
720
+ return this .status ;
721
+ }
722
+
723
+ public void setStatus (String status ) {
724
+ this .status = status ;
725
+ }
726
+
727
+ public ReplicaResource getReplicaResource () {
728
+ return this .replicaResource ;
729
+ }
730
+
731
+ public void setReplicaResource (ReplicaResource replicaResource ) {
732
+ this .replicaResource = replicaResource ;
733
+ }
734
+
735
+ public static class ReplicaResource {
736
+
737
+ private Memory2 memory2 ;
738
+
739
+ private DiskSize3 diskSize3 ;
740
+
741
+ private Cpu4 cpu4 ;
742
+
743
+ public Memory2 getMemory2 () {
744
+ return this .memory2 ;
745
+ }
746
+
747
+ public void setMemory2 (Memory2 memory2 ) {
748
+ this .memory2 = memory2 ;
749
+ }
750
+
751
+ public DiskSize3 getDiskSize3 () {
752
+ return this .diskSize3 ;
753
+ }
754
+
755
+ public void setDiskSize3 (DiskSize3 diskSize3 ) {
756
+ this .diskSize3 = diskSize3 ;
757
+ }
758
+
759
+ public Cpu4 getCpu4 () {
760
+ return this .cpu4 ;
761
+ }
762
+
763
+ public void setCpu4 (Cpu4 cpu4 ) {
764
+ this .cpu4 = cpu4 ;
765
+ }
766
+
767
+ public static class Memory2 {
768
+
769
+ private Long usedMemory ;
770
+
771
+ private Long totalMemory ;
772
+
773
+ public Long getUsedMemory () {
774
+ return this .usedMemory ;
775
+ }
776
+
777
+ public void setUsedMemory (Long usedMemory ) {
778
+ this .usedMemory = usedMemory ;
779
+ }
780
+
781
+ public Long getTotalMemory () {
782
+ return this .totalMemory ;
783
+ }
784
+
785
+ public void setTotalMemory (Long totalMemory ) {
786
+ this .totalMemory = totalMemory ;
787
+ }
788
+ }
789
+
790
+ public static class DiskSize3 {
791
+
792
+ private Float usedDiskSize ;
793
+
794
+ private Long totalDiskSize ;
795
+
796
+ public Float getUsedDiskSize () {
797
+ return this .usedDiskSize ;
798
+ }
799
+
800
+ public void setUsedDiskSize (Float usedDiskSize ) {
801
+ this .usedDiskSize = usedDiskSize ;
802
+ }
803
+
804
+ public Long getTotalDiskSize () {
805
+ return this .totalDiskSize ;
806
+ }
807
+
808
+ public void setTotalDiskSize (Long totalDiskSize ) {
809
+ this .totalDiskSize = totalDiskSize ;
810
+ }
811
+ }
812
+
813
+ public static class Cpu4 {
814
+
815
+ private Integer totalCpu ;
816
+
817
+ private Integer usedCpu ;
818
+
819
+ public Integer getTotalCpu () {
820
+ return this .totalCpu ;
821
+ }
822
+
823
+ public void setTotalCpu (Integer totalCpu ) {
824
+ this .totalCpu = totalCpu ;
825
+ }
826
+
827
+ public Integer getUsedCpu () {
828
+ return this .usedCpu ;
829
+ }
830
+
831
+ public void setUsedCpu (Integer usedCpu ) {
832
+ this .usedCpu = usedCpu ;
833
+ }
834
+ }
835
+ }
836
+ }
582
837
}
583
838
584
839
@ Override
0 commit comments