diff --git a/ChangeLog.txt b/ChangeLog.txt index 0cb95835b7..a96c886b7d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2023-12-28 Version: v1.62.648 +- Generated 2019-09-01 for `OceanBasePro`. +undefined + 2023-12-28 Version: v1.62.647 - Generated 2022-01-30 for `avatar`. undefined diff --git a/services/oceanbasepro/create_instance.go b/services/oceanbasepro/create_instance.go index 49d76ca045..50cc2e2c48 100644 --- a/services/oceanbasepro/create_instance.go +++ b/services/oceanbasepro/create_instance.go @@ -86,6 +86,8 @@ type CreateInstanceRequest struct { ReplicaMode string `position:"Body" name:"ReplicaMode"` AutoRenew requests.Boolean `position:"Body" name:"AutoRenew"` Series string `position:"Body" name:"Series"` + PrimaryInstance string `position:"Body" name:"PrimaryInstance"` + PrimaryRegion string `position:"Body" name:"PrimaryRegion"` ChargeType string `position:"Body" name:"ChargeType"` Bid string `position:"Query" name:"Bid"` } diff --git a/services/oceanbasepro/create_tenant_user.go b/services/oceanbasepro/create_tenant_user.go index 06b1ba8ee7..f1655d84a3 100644 --- a/services/oceanbasepro/create_tenant_user.go +++ b/services/oceanbasepro/create_tenant_user.go @@ -84,8 +84,8 @@ type CreateTenantUserRequest struct { // CreateTenantUserResponse is the response struct for api CreateTenantUser type CreateTenantUserResponse struct { *responses.BaseResponse - RequestId string `json:"RequestId" xml:"RequestId"` - TenantUser []Data `json:"TenantUser" xml:"TenantUser"` + RequestId string `json:"RequestId" xml:"RequestId"` + TenantUser TenantUser `json:"TenantUser" xml:"TenantUser"` } // CreateCreateTenantUserRequest creates a request to invoke CreateTenantUser API diff --git a/services/oceanbasepro/describe_metrics_data.go b/services/oceanbasepro/describe_metrics_data.go index e4bbf68909..9817564a1b 100644 --- a/services/oceanbasepro/describe_metrics_data.go +++ b/services/oceanbasepro/describe_metrics_data.go @@ -76,6 +76,7 @@ type DescribeMetricsDataRequest struct { Limit string `position:"Query" name:"Limit"` SortOrder string `position:"Query" name:"SortOrder"` SortMetricKey string `position:"Query" name:"SortMetricKey"` + ReplicaType string `position:"Body" name:"ReplicaType"` EndTime string `position:"Query" name:"EndTime"` Labels string `position:"Query" name:"Labels"` InstanceId string `position:"Query" name:"InstanceId"` diff --git a/services/oceanbasepro/modify_instance_spec.go b/services/oceanbasepro/modify_instance_spec.go index 14ceb357c8..6370a9b76a 100644 --- a/services/oceanbasepro/modify_instance_spec.go +++ b/services/oceanbasepro/modify_instance_spec.go @@ -75,6 +75,7 @@ type ModifyInstanceSpecRequest struct { InstanceClass string `position:"Body" name:"InstanceClass"` DryRun requests.Boolean `position:"Body" name:"DryRun"` DiskSize requests.Integer `position:"Body" name:"DiskSize"` + DiskType string `position:"Body" name:"DiskType"` InstanceId string `position:"Body" name:"InstanceId"` LogDiskSize requests.Integer `position:"Body" name:"LogDiskSize"` } diff --git a/services/oceanbasepro/modify_instance_temporary_capacity.go b/services/oceanbasepro/modify_instance_temporary_capacity.go index ba42df4470..a60119a5c9 100644 --- a/services/oceanbasepro/modify_instance_temporary_capacity.go +++ b/services/oceanbasepro/modify_instance_temporary_capacity.go @@ -71,9 +71,10 @@ func (client *Client) ModifyInstanceTemporaryCapacityWithCallback(request *Modif // ModifyInstanceTemporaryCapacityRequest is the request struct for api ModifyInstanceTemporaryCapacity type ModifyInstanceTemporaryCapacityRequest struct { *requests.RpcRequest - DiskSize string `position:"Body" name:"DiskSize"` - Spec string `position:"Body" name:"Spec"` - InstanceId string `position:"Body" name:"InstanceId"` + DiskSize string `position:"Body" name:"DiskSize"` + Spec string `position:"Body" name:"Spec"` + InstanceId string `position:"Body" name:"InstanceId"` + AcceptLanguage string `position:"Body" name:"AcceptLanguage"` } // ModifyInstanceTemporaryCapacityResponse is the response struct for api ModifyInstanceTemporaryCapacity diff --git a/services/oceanbasepro/modify_tenant_primary_zone.go b/services/oceanbasepro/modify_tenant_primary_zone.go index 87394c88eb..dc8800daa6 100644 --- a/services/oceanbasepro/modify_tenant_primary_zone.go +++ b/services/oceanbasepro/modify_tenant_primary_zone.go @@ -71,12 +71,14 @@ func (client *Client) ModifyTenantPrimaryZoneWithCallback(request *ModifyTenantP // ModifyTenantPrimaryZoneRequest is the request struct for api ModifyTenantPrimaryZone type ModifyTenantPrimaryZoneRequest struct { *requests.RpcRequest + TenantEndpointDirectId string `position:"Body" name:"TenantEndpointDirectId"` UserVSwitchId string `position:"Body" name:"UserVSwitchId"` MasterIntranetAddressZone string `position:"Body" name:"MasterIntranetAddressZone"` TenantId string `position:"Body" name:"TenantId"` TenantEndpointId string `position:"Body" name:"TenantEndpointId"` InstanceId string `position:"Body" name:"InstanceId"` PrimaryZone string `position:"Body" name:"PrimaryZone"` + UserDirectVSwitchId string `position:"Body" name:"UserDirectVSwitchId"` } // ModifyTenantPrimaryZoneResponse is the response struct for api ModifyTenantPrimaryZone diff --git a/services/oceanbasepro/struct_available_specifications_item.go b/services/oceanbasepro/struct_available_specifications_item.go index d75f93f47a..3b72723d81 100644 --- a/services/oceanbasepro/struct_available_specifications_item.go +++ b/services/oceanbasepro/struct_available_specifications_item.go @@ -20,6 +20,7 @@ type AvailableSpecificationsItem struct { Spec string `json:"Spec" xml:"Spec"` InstanceClass string `json:"InstanceClass" xml:"InstanceClass"` NodeNum []int `json:"NodeNum" xml:"NodeNum"` + DiskTypes []string `json:"DiskTypes" xml:"DiskTypes"` DiskSizeRange DiskSizeRange `json:"DiskSizeRange" xml:"DiskSizeRange"` LogDiskSizeRange LogDiskSizeRange `json:"LogDiskSizeRange" xml:"LogDiskSizeRange"` } diff --git a/services/oceanbasepro/struct_data.go b/services/oceanbasepro/struct_data.go index 640df5b3c3..fd9cd81483 100644 --- a/services/oceanbasepro/struct_data.go +++ b/services/oceanbasepro/struct_data.go @@ -91,7 +91,6 @@ type Data struct { SafeMem string `json:"SafeMem" xml:"SafeMem"` LogicalRead int64 `json:"LogicalRead" xml:"LogicalRead"` SQLText string `json:"SQLText" xml:"SQLText"` - UserType string `json:"UserType" xml:"UserType"` Success bool `json:"Success" xml:"Success"` Suggestion string `json:"Suggestion" xml:"Suggestion"` DataSize string `json:"DataSize" xml:"DataSize"` @@ -113,7 +112,6 @@ type Data struct { ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` ExecPerSecond float64 `json:"ExecPerSecond" xml:"ExecPerSecond"` AvgExecutionMS float64 `json:"AvgExecutionMS" xml:"AvgExecutionMS"` - UserStatus string `json:"UserStatus" xml:"UserStatus"` QueueTime float64 `json:"QueueTime" xml:"QueueTime"` PageNumber int `json:"PageNumber" xml:"PageNumber"` TotalWaitTime float64 `json:"TotalWaitTime" xml:"TotalWaitTime"` @@ -139,8 +137,7 @@ type Data struct { AvailableZones []AvailableZonesItem `json:"AvailableZones" xml:"AvailableZones"` Labels []Label `json:"Labels" xml:"Labels"` Parameters []ParametersItem `json:"Parameters" xml:"Parameters"` - Roles []RolesItem `json:"Roles" xml:"Roles"` - AvailableSpecifications []AvailableSpecificationsItem `json:"AvailableSpecifications" xml:"AvailableSpecifications"` Steps []Step `json:"Steps" xml:"Steps"` + AvailableSpecifications []AvailableSpecificationsItem `json:"AvailableSpecifications" xml:"AvailableSpecifications"` Users []UsersItem `json:"Users" xml:"Users"` } diff --git a/services/oceanbasepro/struct_disk_types.go b/services/oceanbasepro/struct_disk_types_in_describe_available_spec.go similarity index 85% rename from services/oceanbasepro/struct_disk_types.go rename to services/oceanbasepro/struct_disk_types_in_describe_available_spec.go index 60d3212579..031214bbdf 100644 --- a/services/oceanbasepro/struct_disk_types.go +++ b/services/oceanbasepro/struct_disk_types_in_describe_available_spec.go @@ -15,7 +15,7 @@ package oceanbasepro // Code generated by Alibaba Cloud SDK Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -// DiskTypes is a nested struct in oceanbasepro response -type DiskTypes struct { +// DiskTypesInDescribeAvailableSpec is a nested struct in oceanbasepro response +type DiskTypesInDescribeAvailableSpec struct { DiskTypes []string `json:"DiskTypes" xml:"DiskTypes"` } diff --git a/services/oceanbasepro/struct_tenant_user_in_create_tenant_user.go b/services/oceanbasepro/struct_disk_types_in_describe_available_zone.go similarity index 79% rename from services/oceanbasepro/struct_tenant_user_in_create_tenant_user.go rename to services/oceanbasepro/struct_disk_types_in_describe_available_zone.go index 54c7353b72..760422a89c 100644 --- a/services/oceanbasepro/struct_tenant_user_in_create_tenant_user.go +++ b/services/oceanbasepro/struct_disk_types_in_describe_available_zone.go @@ -15,7 +15,7 @@ package oceanbasepro // Code generated by Alibaba Cloud SDK Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -// TenantUserInCreateTenantUser is a nested struct in oceanbasepro response -type TenantUserInCreateTenantUser struct { - Data []Data `json:"Data" xml:"Data"` +// DiskTypesInDescribeAvailableZone is a nested struct in oceanbasepro response +type DiskTypesInDescribeAvailableZone struct { + DiskTypes []string `json:"DiskTypes" xml:"DiskTypes"` } diff --git a/services/oceanbasepro/struct_instance.go b/services/oceanbasepro/struct_instance.go index e5f9164893..b261cbf35c 100644 --- a/services/oceanbasepro/struct_instance.go +++ b/services/oceanbasepro/struct_instance.go @@ -53,4 +53,5 @@ type Instance struct { Resource Resource `json:"Resource" xml:"Resource"` TenantCreatable TenantCreatable `json:"TenantCreatable" xml:"TenantCreatable"` DataDiskAutoScaleConfig DataDiskAutoScaleConfig `json:"DataDiskAutoScaleConfig" xml:"DataDiskAutoScaleConfig"` + ReadOnlyResource ReadOnlyResource `json:"ReadOnlyResource" xml:"ReadOnlyResource"` } diff --git a/services/oceanbasepro/struct_log_disk_size.go b/services/oceanbasepro/struct_log_disk_size.go index 98e58eac81..9944d42665 100644 --- a/services/oceanbasepro/struct_log_disk_size.go +++ b/services/oceanbasepro/struct_log_disk_size.go @@ -21,6 +21,7 @@ type LogDiskSize struct { UnitLogDisk int `json:"UnitLogDisk" xml:"UnitLogDisk"` MaxLogAssignedPercent string `json:"MaxLogAssignedPercent" xml:"MaxLogAssignedPercent"` TotalDiskSize int64 `json:"TotalDiskSize" xml:"TotalDiskSize"` + OriginalTotalDiskSize int `json:"OriginalTotalDiskSize" xml:"OriginalTotalDiskSize"` UnitDiskSize int64 `json:"UnitDiskSize" xml:"UnitDiskSize"` TotalLogDisk int `json:"TotalLogDisk" xml:"TotalLogDisk"` MaxLogAssignedObServer []string `json:"MaxLogAssignedObServer" xml:"MaxLogAssignedObServer"` diff --git a/services/oceanbasepro/struct_max_log_assigned_ob_server.go b/services/oceanbasepro/struct_max_log_assigned_ob_server_in_describe_instance.go similarity index 84% rename from services/oceanbasepro/struct_max_log_assigned_ob_server.go rename to services/oceanbasepro/struct_max_log_assigned_ob_server_in_describe_instance.go index 57d61249bd..b12bbc08e1 100644 --- a/services/oceanbasepro/struct_max_log_assigned_ob_server.go +++ b/services/oceanbasepro/struct_max_log_assigned_ob_server_in_describe_instance.go @@ -15,7 +15,7 @@ package oceanbasepro // Code generated by Alibaba Cloud SDK Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -// MaxLogAssignedObServer is a nested struct in oceanbasepro response -type MaxLogAssignedObServer struct { +// MaxLogAssignedObServerInDescribeInstance is a nested struct in oceanbasepro response +type MaxLogAssignedObServerInDescribeInstance struct { MaxLogAssignedObServer []string `json:"MaxLogAssignedObServer" xml:"MaxLogAssignedObServer"` } diff --git a/services/oceanbasepro/struct_nodes_item.go b/services/oceanbasepro/struct_nodes_item.go index d7d45baa5b..b00b3ec9a5 100644 --- a/services/oceanbasepro/struct_nodes_item.go +++ b/services/oceanbasepro/struct_nodes_item.go @@ -17,8 +17,11 @@ package oceanbasepro // NodesItem is a nested struct in oceanbasepro response type NodesItem struct { - NodeId string `json:"NodeId" xml:"NodeId"` - NodeCopyId int64 `json:"NodeCopyId" xml:"NodeCopyId"` - NodeStatus string `json:"NodeStatus" xml:"NodeStatus"` - NodeResource []NodeResourceItem `json:"NodeResource" xml:"NodeResource"` + NodeId string `json:"NodeId" xml:"NodeId"` + NodeCopyId int64 `json:"NodeCopyId" xml:"NodeCopyId"` + NodeStatus string `json:"NodeStatus" xml:"NodeStatus"` + ReplicaType string `json:"ReplicaType" xml:"ReplicaType"` + FullCopyId int64 `json:"FullCopyId" xml:"FullCopyId"` + ReadOnlyCopyId int64 `json:"ReadOnlyCopyId" xml:"ReadOnlyCopyId"` + NodeResource []NodeResourceItem `json:"NodeResource" xml:"NodeResource"` } diff --git a/services/oceanbasepro/struct_read_only_resource.go b/services/oceanbasepro/struct_read_only_resource.go new file mode 100644 index 0000000000..bf0fafdb2d --- /dev/null +++ b/services/oceanbasepro/struct_read_only_resource.go @@ -0,0 +1,27 @@ +package oceanbasepro + +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// ReadOnlyResource is a nested struct in oceanbasepro response +type ReadOnlyResource struct { + UnitCount int64 `json:"UnitCount" xml:"UnitCount"` + UnitNum int `json:"UnitNum" xml:"UnitNum"` + Memory Memory `json:"Memory" xml:"Memory"` + LogDiskSize LogDiskSize `json:"LogDiskSize" xml:"LogDiskSize"` + DiskSize DiskSizeInDescribeTenant `json:"DiskSize" xml:"DiskSize"` + CapacityUnit CapacityUnit `json:"CapacityUnit" xml:"CapacityUnit"` + Cpu CpuInDescribeTenant `json:"Cpu" xml:"Cpu"` +} diff --git a/services/oceanbasepro/struct_resource.go b/services/oceanbasepro/struct_resource.go index 9ade0b5855..c2a27f3059 100644 --- a/services/oceanbasepro/struct_resource.go +++ b/services/oceanbasepro/struct_resource.go @@ -19,8 +19,8 @@ package oceanbasepro type Resource struct { UnitCount int64 `json:"UnitCount" xml:"UnitCount"` Memory Memory `json:"Memory" xml:"Memory"` - CapacityUnit CapacityUnitInDescribeInstances `json:"CapacityUnit" xml:"CapacityUnit"` LogDiskSize LogDiskSize `json:"LogDiskSize" xml:"LogDiskSize"` + CapacityUnit CapacityUnitInDescribeInstances `json:"CapacityUnit" xml:"CapacityUnit"` DiskSize DiskSize `json:"DiskSize" xml:"DiskSize"` Cpu Cpu `json:"Cpu" xml:"Cpu"` } diff --git a/services/oceanbasepro/struct_tenant.go b/services/oceanbasepro/struct_tenant.go index b2996c791d..e217eeb73c 100644 --- a/services/oceanbasepro/struct_tenant.go +++ b/services/oceanbasepro/struct_tenant.go @@ -43,8 +43,10 @@ type Tenant struct { MaxParallelQueryDegree int64 `json:"MaxParallelQueryDegree" xml:"MaxParallelQueryDegree"` EnableBinlogService bool `json:"EnableBinlogService" xml:"EnableBinlogService"` TimeZone string `json:"TimeZone" xml:"TimeZone"` + DataMergeTime string `json:"DataMergeTime" xml:"DataMergeTime"` AvailableZones []string `json:"AvailableZones" xml:"AvailableZones"` TenantResource TenantResource `json:"TenantResource" xml:"TenantResource"` + ReadOnlyResource ReadOnlyResource `json:"ReadOnlyResource" xml:"ReadOnlyResource"` TenantConnections []TenantConnectionsItem `json:"TenantConnections" xml:"TenantConnections"` TenantZones []TenantZonesItem `json:"TenantZones" xml:"TenantZones"` } diff --git a/services/oceanbasepro/struct_tenant_connections_item.go b/services/oceanbasepro/struct_tenant_connections_item.go index 3a27f6b982..53d1fbd142 100644 --- a/services/oceanbasepro/struct_tenant_connections_item.go +++ b/services/oceanbasepro/struct_tenant_connections_item.go @@ -33,5 +33,6 @@ type TenantConnectionsItem struct { ParallelQueryDegree int64 `json:"ParallelQueryDegree" xml:"ParallelQueryDegree"` TenantEndpointId string `json:"TenantEndpointId" xml:"TenantEndpointId"` MaxConnectionNum int64 `json:"MaxConnectionNum" xml:"MaxConnectionNum"` + ConnectionReplicaType string `json:"ConnectionReplicaType" xml:"ConnectionReplicaType"` ConnectionZones []string `json:"ConnectionZones" xml:"ConnectionZones"` } diff --git a/services/oceanbasepro/struct_tenant_user.go b/services/oceanbasepro/struct_tenant_user.go index 658382b0a6..f514fe9f70 100644 --- a/services/oceanbasepro/struct_tenant_user.go +++ b/services/oceanbasepro/struct_tenant_user.go @@ -17,9 +17,12 @@ package oceanbasepro // TenantUser is a nested struct in oceanbasepro response type TenantUser struct { + UserType string `json:"UserType" xml:"UserType"` + UserStatus string `json:"UserStatus" xml:"UserStatus"` UserName string `json:"UserName" xml:"UserName"` DatabaseName string `json:"DatabaseName" xml:"DatabaseName"` TenantId string `json:"TenantId" xml:"TenantId"` UserRole []UserRoleItem `json:"UserRole" xml:"UserRole"` Users []UserRole `json:"Users" xml:"Users"` + Roles []RolesItem `json:"Roles" xml:"Roles"` } diff --git a/services/oceanbasepro/struct_tenant_zone_replicas.go b/services/oceanbasepro/struct_tenant_zone_replicas.go new file mode 100644 index 0000000000..60e0cf1b8b --- /dev/null +++ b/services/oceanbasepro/struct_tenant_zone_replicas.go @@ -0,0 +1,21 @@ +package oceanbasepro + +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// TenantZoneReplicas is a nested struct in oceanbasepro response +type TenantZoneReplicas struct { + TenantZoneReplicasItem []TenantZoneReplicasItem `json:"TenantZoneReplicas" xml:"TenantZoneReplicas"` +} diff --git a/services/oceanbasepro/struct_tenant_zone_replicas_item.go b/services/oceanbasepro/struct_tenant_zone_replicas_item.go new file mode 100644 index 0000000000..8d85bbc99a --- /dev/null +++ b/services/oceanbasepro/struct_tenant_zone_replicas_item.go @@ -0,0 +1,26 @@ +package oceanbasepro + +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// TenantZoneReplicasItem is a nested struct in oceanbasepro response +type TenantZoneReplicasItem struct { + ZoneReplicaType string `json:"ZoneReplicaType" xml:"ZoneReplicaType"` + ZoneNodes string `json:"ZoneNodes" xml:"ZoneNodes"` + LogicZoneName string `json:"LogicZoneName" xml:"LogicZoneName"` + ZoneCopyId int `json:"ZoneCopyId" xml:"ZoneCopyId"` + FullCopyId int `json:"FullCopyId" xml:"FullCopyId"` + ReadOnlyCopyId string `json:"ReadOnlyCopyId" xml:"ReadOnlyCopyId"` +} diff --git a/services/oceanbasepro/struct_tenant_zones_item.go b/services/oceanbasepro/struct_tenant_zones_item.go index fec5738bab..c75338952b 100644 --- a/services/oceanbasepro/struct_tenant_zones_item.go +++ b/services/oceanbasepro/struct_tenant_zones_item.go @@ -17,13 +17,14 @@ package oceanbasepro // TenantZonesItem is a nested struct in oceanbasepro response type TenantZonesItem struct { - Region string `json:"Region" xml:"Region"` - IsElectable bool `json:"IsElectable" xml:"IsElectable"` - TenantZoneRole string `json:"TenantZoneRole" xml:"TenantZoneRole"` - Zone string `json:"Zone" xml:"Zone"` - TenantZoneId string `json:"TenantZoneId" xml:"TenantZoneId"` - IsPrimaryTenantZone string `json:"IsPrimaryTenantZone" xml:"IsPrimaryTenantZone"` - IsPrimary bool `json:"IsPrimary" xml:"IsPrimary"` - IsReadable string `json:"IsReadable" xml:"IsReadable"` - Units []UnitsItem `json:"Units" xml:"Units"` + Region string `json:"Region" xml:"Region"` + IsElectable bool `json:"IsElectable" xml:"IsElectable"` + TenantZoneRole string `json:"TenantZoneRole" xml:"TenantZoneRole"` + Zone string `json:"Zone" xml:"Zone"` + TenantZoneId string `json:"TenantZoneId" xml:"TenantZoneId"` + IsPrimaryTenantZone string `json:"IsPrimaryTenantZone" xml:"IsPrimaryTenantZone"` + IsPrimary bool `json:"IsPrimary" xml:"IsPrimary"` + IsReadable string `json:"IsReadable" xml:"IsReadable"` + Units []UnitsItem `json:"Units" xml:"Units"` + TenantZoneReplicas []TenantZoneReplicasItem `json:"TenantZoneReplicas" xml:"TenantZoneReplicas"` } diff --git a/services/oceanbasepro/struct_units_item.go b/services/oceanbasepro/struct_units_item.go index d7df16a5ab..d555e3b424 100644 --- a/services/oceanbasepro/struct_units_item.go +++ b/services/oceanbasepro/struct_units_item.go @@ -26,4 +26,5 @@ type UnitsItem struct { ManualMigrate bool `json:"ManualMigrate" xml:"ManualMigrate"` EnableCancelMigrateUnit bool `json:"EnableCancelMigrateUnit" xml:"EnableCancelMigrateUnit"` UnitDataSize int64 `json:"UnitDataSize" xml:"UnitDataSize"` + ReplicaType string `json:"ReplicaType" xml:"ReplicaType"` }