瀏覽代碼

Generated 2017-08-01 for polardb.

sdk-team 6 年之前
父節點
當前提交
ad01bffd6e

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2020-01-10 Version: v1.60.327
+- Generated 2017-08-01 for `polardb`.
+- Return `ConsistentTime` for DescribeBackups.
+- Return `DBNodeIds` for CreateDBNodes.
+
 2020-01-09 Version: v1.60.326
 - Generated 2017-12-14 for `BssOpenApi`.
 - Support DAILY report in QueryInstanBill.

+ 1 - 0
services/polardb/create_db_cluster.go

@@ -91,6 +91,7 @@ type CreateDBClusterRequest struct {
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	UsedTime             string           `position:"Query" name:"UsedTime"`
 	VSwitchId            string           `position:"Query" name:"VSwitchId"`
+	SecurityIPList       string           `position:"Query" name:"SecurityIPList"`
 	AutoRenew            requests.Boolean `position:"Query" name:"AutoRenew"`
 	VPCId                string           `position:"Query" name:"VPCId"`
 	DBType               string           `position:"Query" name:"DBType"`

+ 4 - 3
services/polardb/create_db_nodes.go

@@ -94,9 +94,10 @@ type CreateDBNodesDBNode struct {
 // CreateDBNodesResponse is the response struct for api CreateDBNodes
 type CreateDBNodesResponse struct {
 	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	DBClusterId string `json:"DBClusterId" xml:"DBClusterId"`
-	OrderId     string `json:"OrderId" xml:"OrderId"`
+	RequestId   string    `json:"RequestId" xml:"RequestId"`
+	DBClusterId string    `json:"DBClusterId" xml:"DBClusterId"`
+	OrderId     string    `json:"OrderId" xml:"OrderId"`
+	DBNodeIds   DBNodeIds `json:"DBNodeIds" xml:"DBNodeIds"`
 }
 
 // CreateCreateDBNodesRequest creates a request to invoke CreateDBNodes API

+ 1 - 0
services/polardb/modify_db_cluster_access_whitelist.go

@@ -79,6 +79,7 @@ type ModifyDBClusterAccessWhitelistRequest struct {
 	ResourceOwnerId           requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	SecurityIps               string           `position:"Query" name:"SecurityIps"`
 	DBClusterIPArrayAttribute string           `position:"Query" name:"DBClusterIPArrayAttribute"`
+	ModifyMode                string           `position:"Query" name:"ModifyMode"`
 	ResourceOwnerAccount      string           `position:"Query" name:"ResourceOwnerAccount"`
 	DBClusterId               string           `position:"Query" name:"DBClusterId"`
 	OwnerAccount              string           `position:"Query" name:"OwnerAccount"`

+ 1 - 0
services/polardb/struct_backup.go

@@ -27,4 +27,5 @@ type Backup struct {
 	BackupMethod    string `json:"BackupMethod" xml:"BackupMethod"`
 	StoreStatus     string `json:"StoreStatus" xml:"StoreStatus"`
 	BackupSetSize   string `json:"BackupSetSize" xml:"BackupSetSize"`
+	ConsistentTime  string `json:"ConsistentTime" xml:"ConsistentTime"`
 }

+ 21 - 0
services/polardb/struct_db_node_ids.go

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