Bläddra i källkod

R-KVSTORE SDK Auto Released By junjun.zhang,Version:1.29.2

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 år sedan
förälder
incheckning
4ed3eb0246

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2018-09-06 Version: 1.29.2
+1, fixed DescirbeRegions zoneId date type.
+
 2018-09-06 Version: 1.29.1
 1, AutoScaling support launchTemplate.
 

+ 11 - 10
services/r-kvstore/describe_replica_performance.go

@@ -76,16 +76,17 @@ func (client *Client) DescribeReplicaPerformanceWithCallback(request *DescribeRe
 // DescribeReplicaPerformanceRequest is the request struct for api DescribeReplicaPerformance
 type DescribeReplicaPerformanceRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	EndTime              string           `position:"Query" name:"EndTime"`
-	StartTime            string           `position:"Query" name:"StartTime"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	SourceDBInstanceId   string           `position:"Query" name:"SourceDBInstanceId"`
-	SecurityToken        string           `position:"Query" name:"SecurityToken"`
-	ReplicaId            string           `position:"Query" name:"ReplicaId"`
-	Key                  string           `position:"Query" name:"Key"`
+	ResourceOwnerId         requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DestinationDBInstanceId string           `position:"Query" name:"DestinationDBInstanceId"`
+	ResourceOwnerAccount    string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount            string           `position:"Query" name:"OwnerAccount"`
+	EndTime                 string           `position:"Query" name:"EndTime"`
+	StartTime               string           `position:"Query" name:"StartTime"`
+	OwnerId                 requests.Integer `position:"Query" name:"OwnerId"`
+	SourceDBInstanceId      string           `position:"Query" name:"SourceDBInstanceId"`
+	SecurityToken           string           `position:"Query" name:"SecurityToken"`
+	ReplicaId               string           `position:"Query" name:"ReplicaId"`
+	Key                     string           `position:"Query" name:"Key"`
 }
 
 // DescribeReplicaPerformanceResponse is the response struct for api DescribeReplicaPerformance

+ 8 - 7
services/r-kvstore/describe_replica_usage.go

@@ -76,13 +76,14 @@ func (client *Client) DescribeReplicaUsageWithCallback(request *DescribeReplicaU
 // DescribeReplicaUsageRequest is the request struct for api DescribeReplicaUsage
 type DescribeReplicaUsageRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	SourceDBInstanceId   string           `position:"Query" name:"SourceDBInstanceId"`
-	SecurityToken        string           `position:"Query" name:"SecurityToken"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ReplicaId            string           `position:"Query" name:"ReplicaId"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ResourceOwnerId         requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceDBInstanceId      string           `position:"Query" name:"SourceDBInstanceId"`
+	DestinationDBInstanceId string           `position:"Query" name:"DestinationDBInstanceId"`
+	SecurityToken           string           `position:"Query" name:"SecurityToken"`
+	ResourceOwnerAccount    string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount            string           `position:"Query" name:"OwnerAccount"`
+	ReplicaId               string           `position:"Query" name:"ReplicaId"`
+	OwnerId                 requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeReplicaUsageResponse is the response struct for api DescribeReplicaUsage

+ 5 - 5
services/r-kvstore/struct_kv_store_region.go

@@ -17,9 +17,9 @@ package r_kvstore
 
 // KVStoreRegion is a nested struct in r_kvstore response
 type KVStoreRegion struct {
-	RegionId       string `json:"RegionId" xml:"RegionId"`
-	ZoneIds        string `json:"ZoneIds" xml:"ZoneIds"`
-	LocalName      string `json:"LocalName" xml:"LocalName"`
-	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
-	ZoneIdList     string `json:"ZoneIdList" xml:"ZoneIdList"`
+	RegionId       string     `json:"RegionId" xml:"RegionId"`
+	ZoneIds        string     `json:"ZoneIds" xml:"ZoneIds"`
+	LocalName      string     `json:"LocalName" xml:"LocalName"`
+	RegionEndpoint string     `json:"RegionEndpoint" xml:"RegionEndpoint"`
+	ZoneIdList     ZoneIdList `json:"ZoneIdList" xml:"ZoneIdList"`
 }

+ 21 - 0
services/r-kvstore/struct_zone_id_list.go

@@ -0,0 +1,21 @@
+package r_kvstore
+
+//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.
+
+// ZoneIdList is a nested struct in r_kvstore response
+type ZoneIdList struct {
+	ZoneId []string `json:"ZoneId" xml:"ZoneId"`
+}