@daocloud-proto/mcamel-redis 0.4.0-119 → 0.4.0-120

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/redis.pb.ts +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-redis",
3
- "version":"0.4.0-119",
3
+ "version":"0.4.0-120",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/redis.pb.ts CHANGED
@@ -51,6 +51,11 @@ export enum GetRedisConfReqSortDir {
51
51
  DESC = "DESC",
52
52
  }
53
53
 
54
+ export enum CreateRedisReqRestoreProvider {
55
+ Minio = "Minio",
56
+ Other = "Other",
57
+ }
58
+
54
59
  export enum GetRedisParamRespSelectSelectType {
55
60
  Single = "Single",
56
61
  Multiple = "Multiple",
@@ -141,6 +146,15 @@ export type CreateRedisReqPorts = {
141
146
  nodePort?: number
142
147
  }
143
148
 
149
+ export type CreateRedisReqRestore = {
150
+ enable?: boolean
151
+ accessKeyId?: string
152
+ accessKeySecret?: string
153
+ endpoint?: string
154
+ provider?: CreateRedisReqRestoreProvider
155
+ storePath?: string
156
+ }
157
+
144
158
  export type CreateRedisReq = {
145
159
  cluster?: string
146
160
  namespace?: string
@@ -166,6 +180,7 @@ export type CreateRedisReq = {
166
180
  lbTyp?: CommonCommon.LBTyp
167
181
  lbPoolName?: string
168
182
  lbAddress?: string
183
+ restore?: CreateRedisReqRestore
169
184
  }
170
185
 
171
186
  export type UpdateRedisConfReq = {