Selaa lähdekoodia

DBS SDK Auto Released By wanxin,Version:1.60.25

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
sdk-team 6 vuotta sitten
vanhempi
commit
94d45b5266

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-05-29 Version: 1.60.25
+1, Modify DescribeRestoreTaskList DBS interface.
+2, Modify DescribeFullBackupList DBS interface.
+
 2019-05-28 Version: 1.60.24
 1, CreateDBInstance now support autoRenew
 

+ 2 - 2
services/dbs/struct_backup_gateway.go

@@ -22,8 +22,8 @@ type BackupGateway struct {
 	SourceEndpointIntranetIP string `json:"SourceEndpointIntranetIP" xml:"SourceEndpointIntranetIP"`
 	SourceEndpointHostname   string `json:"SourceEndpointHostname" xml:"SourceEndpointHostname"`
 	BackupGatewayStatus      string `json:"BackupGatewayStatus" xml:"BackupGatewayStatus"`
-	LastHeartbeatTime        int64  `json:"LastHeartbeatTime" xml:"LastHeartbeatTime"`
-	BackupGatewayCreateTime  int64  `json:"BackupGatewayCreateTime" xml:"BackupGatewayCreateTime"`
+	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"`

+ 2 - 2
services/dbs/struct_backup_plan_detail.go

@@ -25,7 +25,7 @@ type BackupPlanDetail struct {
 	SourceEndpointDatabaseName        string `json:"SourceEndpointDatabaseName" xml:"SourceEndpointDatabaseName"`
 	SourceEndpointUserName            string `json:"SourceEndpointUserName" xml:"SourceEndpointUserName"`
 	BackupObjects                     string `json:"BackupObjects" xml:"BackupObjects"`
-	BackupGatewayId                   int64  `json:"BackupGatewayId" xml:"BackupGatewayId"`
+	BackupGatewayId                   int    `json:"BackupGatewayId" xml:"BackupGatewayId"`
 	OSSBucketRegion                   string `json:"OSSBucketRegion" xml:"OSSBucketRegion"`
 	OSSBucketName                     string `json:"OSSBucketName" xml:"OSSBucketName"`
 	BackupPeriod                      string `json:"BackupPeriod" xml:"BackupPeriod"`
@@ -38,6 +38,6 @@ type BackupPlanDetail struct {
 	SourceEndpointOracleSID           string `json:"SourceEndpointOracleSID" xml:"SourceEndpointOracleSID"`
 	InstanceClass                     string `json:"InstanceClass" xml:"InstanceClass"`
 	BackupMethod                      string `json:"BackupMethod" xml:"BackupMethod"`
-	BackupPlanCreateTime              int64  `json:"BackupPlanCreateTime" xml:"BackupPlanCreateTime"`
+	BackupPlanCreateTime              int    `json:"BackupPlanCreateTime" xml:"BackupPlanCreateTime"`
 	BackupPlanStatus                  string `json:"BackupPlanStatus" xml:"BackupPlanStatus"`
 }

+ 5 - 4
services/dbs/struct_full_backup_file.go

@@ -19,10 +19,11 @@ package dbs
 type FullBackupFile struct {
 	BackupSetId          string `json:"BackupSetId" xml:"BackupSetId"`
 	SourceEndpointIpPort string `json:"SourceEndpointIpPort" xml:"SourceEndpointIpPort"`
-	StartTime            int64  `json:"StartTime" xml:"StartTime"`
-	EndTime              int64  `json:"EndTime" xml:"EndTime"`
+	StartTime            int    `json:"StartTime" xml:"StartTime"`
+	EndTime              int    `json:"EndTime" xml:"EndTime"`
 	BackupStatus         string `json:"BackupStatus" xml:"BackupStatus"`
-	BackupSetExpiredTime int64  `json:"BackupSetExpiredTime" xml:"BackupSetExpiredTime"`
-	BackupSize           int64  `json:"BackupSize" xml:"BackupSize"`
+	BackupSetExpiredTime int    `json:"BackupSetExpiredTime" xml:"BackupSetExpiredTime"`
+	BackupSize           int    `json:"BackupSize" xml:"BackupSize"`
 	StorageMethod        string `json:"StorageMethod" xml:"StorageMethod"`
+	ErrMessage           string `json:"ErrMessage" xml:"ErrMessage"`
 }

+ 4 - 4
services/dbs/struct_increment_backup_file.go

@@ -19,10 +19,10 @@ package dbs
 type IncrementBackupFile struct {
 	BackupSetId          string `json:"BackupSetId" xml:"BackupSetId"`
 	SourceEndpointIpPort string `json:"SourceEndpointIpPort" xml:"SourceEndpointIpPort"`
-	StartTime            int64  `json:"StartTime" xml:"StartTime"`
-	EndTime              int64  `json:"EndTime" xml:"EndTime"`
+	StartTime            int    `json:"StartTime" xml:"StartTime"`
+	EndTime              int    `json:"EndTime" xml:"EndTime"`
 	BackupStatus         string `json:"BackupStatus" xml:"BackupStatus"`
-	BackupSetExpiredTime int64  `json:"BackupSetExpiredTime" xml:"BackupSetExpiredTime"`
-	BackupSize           int64  `json:"BackupSize" xml:"BackupSize"`
+	BackupSetExpiredTime int    `json:"BackupSetExpiredTime" xml:"BackupSetExpiredTime"`
+	BackupSize           int    `json:"BackupSize" xml:"BackupSize"`
 	StorageMethod        string `json:"StorageMethod" xml:"StorageMethod"`
 }

+ 4 - 3
services/dbs/struct_restore_task_detail.go

@@ -26,16 +26,17 @@ type RestoreTaskDetail struct {
 	DestinationEndpointUserName     string `json:"DestinationEndpointUserName" xml:"DestinationEndpointUserName"`
 	DestinationEndpointOracleSID    string `json:"DestinationEndpointOracleSID" xml:"DestinationEndpointOracleSID"`
 	RestoreObjects                  string `json:"RestoreObjects" xml:"RestoreObjects"`
-	BackupGatewayId                 int64  `json:"BackupGatewayId" xml:"BackupGatewayId"`
+	BackupGatewayId                 int    `json:"BackupGatewayId" xml:"BackupGatewayId"`
 	RestoreDir                      string `json:"RestoreDir" xml:"RestoreDir"`
 	RestoreTaskName                 string `json:"RestoreTaskName" xml:"RestoreTaskName"`
 	BackupSetId                     string `json:"BackupSetId" xml:"BackupSetId"`
-	RestoreTime                     int64  `json:"RestoreTime" xml:"RestoreTime"`
-	RestoreTaskCreateTime           int64  `json:"RestoreTaskCreateTime" xml:"RestoreTaskCreateTime"`
+	RestoreTime                     int    `json:"RestoreTime" xml:"RestoreTime"`
+	RestoreTaskCreateTime           int    `json:"RestoreTaskCreateTime" xml:"RestoreTaskCreateTime"`
 	RestoreStatus                   string `json:"RestoreStatus" xml:"RestoreStatus"`
 	RestoreTaskId                   string `json:"RestoreTaskId" xml:"RestoreTaskId"`
 	FullStruforeRestoreProgress     int    `json:"FullStruforeRestoreProgress" xml:"FullStruforeRestoreProgress"`
 	FullDataRestoreProgress         int    `json:"FullDataRestoreProgress" xml:"FullDataRestoreProgress"`
 	ContinuousRestoreProgress       int    `json:"ContinuousRestoreProgress" xml:"ContinuousRestoreProgress"`
 	FullStruAfterRestoreProgress    int    `json:"FullStruAfterRestoreProgress" xml:"FullStruAfterRestoreProgress"`
+	ErrMessage                      string `json:"ErrMessage" xml:"ErrMessage"`
 }