Bladeren bron

DBS SDK Auto Released By wanxin,Version:1.53.90

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 jaren geleden
bovenliggende
commit
6ae3b7a159

+ 6 - 0
ChangeLog.txt

@@ -1,3 +1,9 @@
+2019-04-08 Version: 1.53.90
+1, Modify DescribeBackupPlanList DBS interface.
+2, Modify DescribeFullBackupList DBS interface.
+3, Modify DescribeIncrementBackupList DBS interface.
+4, Modify DescribeBackupGatewayList DBS interface.
+
 2019-04-08 Version: 1.53.89
 1, Add StopBackupPlan DBS interface.
 2, Add DescribeBackupPlanList DBS interface.

+ 30 - 0
services/dbs/struct_backup_gateway.go

@@ -0,0 +1,30 @@
+package dbs
+
+//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.
+
+// BackupGateway is a nested struct in dbs response
+type BackupGateway struct {
+	BackupGatewayId          string `json:"BackupGatewayId" xml:"BackupGatewayId"`
+	SourceEndpointInternetIP string `json:"SourceEndpointInternetIP" xml:"SourceEndpointInternetIP"`
+	SourceEndpointIntranetIP string `json:"SourceEndpointIntranetIP" xml:"SourceEndpointIntranetIP"`
+	SourceEndpointHostname   string `json:"SourceEndpointHostname" xml:"SourceEndpointHostname"`
+	BackupGatewayStatus      string `json:"BackupGatewayStatus" xml:"BackupGatewayStatus"`
+	LastHeartbeatTime        int    `json:"LastHeartbeatTime" xml:"LastHeartbeatTime"`
+	BackupGatewayCreateTime  int    `json:"BackupGatewayCreateTime" xml:"BackupGatewayCreateTime"`
+	Region                   string `json:"Region" xml:"Region"`
+	DisplayName              string `json:"DisplayName" xml:"DisplayName"`
+	Identifier               string `json:"Identifier" xml:"Identifier"`
+}

+ 43 - 0
services/dbs/struct_backup_plan_detail.go

@@ -0,0 +1,43 @@
+package dbs
+
+//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.
+
+// BackupPlanDetail is a nested struct in dbs response
+type BackupPlanDetail struct {
+	BackupPlanId                      string `json:"BackupPlanId" xml:"BackupPlanId"`
+	SourceEndpointInstanceType        string `json:"SourceEndpointInstanceType" xml:"SourceEndpointInstanceType"`
+	SourceEndpointRegion              string `json:"SourceEndpointRegion" xml:"SourceEndpointRegion"`
+	SourceEndpointInstanceID          string `json:"SourceEndpointInstanceID" xml:"SourceEndpointInstanceID"`
+	SourceEndpointIpPort              string `json:"SourceEndpointIpPort" xml:"SourceEndpointIpPort"`
+	SourceEndpointDatabaseName        string `json:"SourceEndpointDatabaseName" xml:"SourceEndpointDatabaseName"`
+	SourceEndpointUserName            string `json:"SourceEndpointUserName" xml:"SourceEndpointUserName"`
+	BackupObjects                     string `json:"BackupObjects" xml:"BackupObjects"`
+	BackupGatewayId                   int    `json:"BackupGatewayId" xml:"BackupGatewayId"`
+	OSSBucketRegion                   string `json:"OSSBucketRegion" xml:"OSSBucketRegion"`
+	OSSBucketName                     string `json:"OSSBucketName" xml:"OSSBucketName"`
+	BackupPeriod                      string `json:"BackupPeriod" xml:"BackupPeriod"`
+	BackupStartTime                   string `json:"BackupStartTime" xml:"BackupStartTime"`
+	EnableBackupLog                   bool   `json:"EnableBackupLog" xml:"EnableBackupLog"`
+	BackupRetentionPeriod             int    `json:"BackupRetentionPeriod" xml:"BackupRetentionPeriod"`
+	DuplicationInfrequentAccessPeriod int    `json:"DuplicationInfrequentAccessPeriod" xml:"DuplicationInfrequentAccessPeriod"`
+	DuplicationArchivePeriod          int    `json:"DuplicationArchivePeriod" xml:"DuplicationArchivePeriod"`
+	BackupPlanName                    string `json:"BackupPlanName" xml:"BackupPlanName"`
+	SourceEndpointOracleSID           string `json:"SourceEndpointOracleSID" xml:"SourceEndpointOracleSID"`
+	InstanceClass                     string `json:"InstanceClass" xml:"InstanceClass"`
+	BackupMethod                      string `json:"BackupMethod" xml:"BackupMethod"`
+	BackupPlanCreateTime              int    `json:"BackupPlanCreateTime" xml:"BackupPlanCreateTime"`
+	BackupPlanStatus                  string `json:"BackupPlanStatus" xml:"BackupPlanStatus"`
+}

+ 28 - 0
services/dbs/struct_full_backup_file.go

@@ -0,0 +1,28 @@
+package dbs
+
+//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.
+
+// FullBackupFile is a nested struct in dbs response
+type FullBackupFile struct {
+	BackupSetId          string `json:"BackupSetId" xml:"BackupSetId"`
+	SourceEndpointIpPort string `json:"SourceEndpointIpPort" xml:"SourceEndpointIpPort"`
+	StartTime            int    `json:"StartTime" xml:"StartTime"`
+	EndTime              int    `json:"EndTime" xml:"EndTime"`
+	BackupStatus         string `json:"BackupStatus" xml:"BackupStatus"`
+	BackupSetExpiredTime int    `json:"BackupSetExpiredTime" xml:"BackupSetExpiredTime"`
+	BackupSize           int    `json:"BackupSize" xml:"BackupSize"`
+	StorageMethod        string `json:"StorageMethod" xml:"StorageMethod"`
+}

+ 28 - 0
services/dbs/struct_increment_backup_file.go

@@ -0,0 +1,28 @@
+package dbs
+
+//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.
+
+// IncrementBackupFile is a nested struct in dbs response
+type IncrementBackupFile struct {
+	BackupSetId          string `json:"BackupSetId" xml:"BackupSetId"`
+	SourceEndpointIpPort string `json:"SourceEndpointIpPort" xml:"SourceEndpointIpPort"`
+	StartTime            int    `json:"StartTime" xml:"StartTime"`
+	EndTime              int    `json:"EndTime" xml:"EndTime"`
+	BackupStatus         string `json:"BackupStatus" xml:"BackupStatus"`
+	BackupSetExpiredTime int    `json:"BackupSetExpiredTime" xml:"BackupSetExpiredTime"`
+	BackupSize           int    `json:"BackupSize" xml:"BackupSize"`
+	StorageMethod        string `json:"StorageMethod" xml:"StorageMethod"`
+}

+ 1 - 1
services/dbs/struct_items_in_describe_backup_gateway_list.go

@@ -17,5 +17,5 @@ package dbs
 
 // ItemsInDescribeBackupGatewayList is a nested struct in dbs response
 type ItemsInDescribeBackupGatewayList struct {
-	BackupGateway []string `json:"BackupGateway" xml:"BackupGateway"`
+	BackupGateway []BackupGateway `json:"BackupGateway" xml:"BackupGateway"`
 }

+ 1 - 1
services/dbs/struct_items_in_describe_backup_plan_list.go

@@ -17,5 +17,5 @@ package dbs
 
 // ItemsInDescribeBackupPlanList is a nested struct in dbs response
 type ItemsInDescribeBackupPlanList struct {
-	BackupPlanDetail []string `json:"BackupPlanDetail" xml:"BackupPlanDetail"`
+	BackupPlanDetail []BackupPlanDetail `json:"BackupPlanDetail" xml:"BackupPlanDetail"`
 }

+ 1 - 1
services/dbs/struct_items_in_describe_full_backup_list.go

@@ -17,5 +17,5 @@ package dbs
 
 // ItemsInDescribeFullBackupList is a nested struct in dbs response
 type ItemsInDescribeFullBackupList struct {
-	FullBackupFile []string `json:"FullBackupFile" xml:"FullBackupFile"`
+	FullBackupFile []FullBackupFile `json:"FullBackupFile" xml:"FullBackupFile"`
 }

+ 1 - 1
services/dbs/struct_items_in_describe_increment_backup_list.go

@@ -17,5 +17,5 @@ package dbs
 
 // ItemsInDescribeIncrementBackupList is a nested struct in dbs response
 type ItemsInDescribeIncrementBackupList struct {
-	IncrementBackupFile []string `json:"IncrementBackupFile" xml:"IncrementBackupFile"`
+	IncrementBackupFile []IncrementBackupFile `json:"IncrementBackupFile" xml:"IncrementBackupFile"`
 }