@daocloud-proto/mcamel-mysql 0.3.1-1 → 0.3.1-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mysql.pb.ts +35 -11
- package/package.json +1 -1
package/mysql.pb.ts
CHANGED
|
@@ -32,10 +32,20 @@ export enum GetMysqlBackupJobListReqSortDir {
|
|
|
32
32
|
DESC = "DESC",
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export enum
|
|
36
|
-
Failed = "Failed",
|
|
35
|
+
export enum MysqlBackupItemStatusStatus {
|
|
37
36
|
Running = "Running",
|
|
38
|
-
|
|
37
|
+
Failed = "Failed",
|
|
38
|
+
Succeeded = "Succeeded",
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export enum MysqlBackupItemStatusBackupType {
|
|
42
|
+
Full = "Full",
|
|
43
|
+
Incremental = "Incremental",
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export enum MysqlBackupItemStatusBackupMethod {
|
|
47
|
+
Manual = "Manual",
|
|
48
|
+
Auto = "Auto",
|
|
39
49
|
}
|
|
40
50
|
|
|
41
51
|
export enum GetMysqlBackupJobListRespGetMysqlBackupJobItemGetMysqlBackupJobItemSpecJobType {
|
|
@@ -166,19 +176,33 @@ export type GetMysqlBackupProviderListReq = {
|
|
|
166
176
|
workspaceId?: number
|
|
167
177
|
}
|
|
168
178
|
|
|
169
|
-
export type
|
|
170
|
-
|
|
171
|
-
|
|
179
|
+
export type GetMysqlBackupListResp = {
|
|
180
|
+
items?: MysqlBackupItem[]
|
|
181
|
+
pagination?: CommonCommon.Pagination
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export type MysqlBackupItemMetadata = {
|
|
185
|
+
annotations?: {[key: string]: string}
|
|
186
|
+
creationTimestamp?: string
|
|
187
|
+
name?: string
|
|
188
|
+
namespace?: string
|
|
172
189
|
}
|
|
173
190
|
|
|
174
|
-
export type
|
|
191
|
+
export type MysqlBackupItem = {
|
|
192
|
+
apiVersion?: string
|
|
193
|
+
kind?: string
|
|
194
|
+
metadata?: MysqlBackupItemMetadata
|
|
175
195
|
spec?: CreateMysqlBackupReq
|
|
176
|
-
status?:
|
|
196
|
+
status?: MysqlBackupItemStatus
|
|
177
197
|
}
|
|
178
198
|
|
|
179
|
-
export type
|
|
180
|
-
|
|
181
|
-
|
|
199
|
+
export type MysqlBackupItemStatus = {
|
|
200
|
+
status?: MysqlBackupItemStatusStatus
|
|
201
|
+
message?: string
|
|
202
|
+
backupUrl?: string
|
|
203
|
+
backupType?: MysqlBackupItemStatusBackupType
|
|
204
|
+
backupMethod?: MysqlBackupItemStatusBackupMethod
|
|
205
|
+
completionTimestamp?: string
|
|
182
206
|
}
|
|
183
207
|
|
|
184
208
|
export type GetMysqlBackupJobListRespGetMysqlBackupJobItemGetMysqlBackupJobItemSpec = {
|