@alicloud/mse20190531 6.20.1 → 6.21.0
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/dist/client.d.ts +60 -0
- package/dist/client.js +277 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DeleteBlackWhiteListRequest.d.ts +33 -0
- package/dist/models/DeleteBlackWhiteListRequest.js +64 -0
- package/dist/models/DeleteBlackWhiteListRequest.js.map +1 -0
- package/dist/models/DeleteBlackWhiteListResponse.d.ts +19 -0
- package/dist/models/DeleteBlackWhiteListResponse.js +69 -0
- package/dist/models/DeleteBlackWhiteListResponse.js.map +1 -0
- package/dist/models/DeleteBlackWhiteListResponseBody.d.ts +109 -0
- package/dist/models/DeleteBlackWhiteListResponseBody.js +110 -0
- package/dist/models/DeleteBlackWhiteListResponseBody.js.map +1 -0
- package/dist/models/DeleteGatewayAuthRequest.d.ts +28 -0
- package/dist/models/DeleteGatewayAuthRequest.js +62 -0
- package/dist/models/DeleteGatewayAuthRequest.js.map +1 -0
- package/dist/models/DeleteGatewayAuthResponse.d.ts +19 -0
- package/dist/models/DeleteGatewayAuthResponse.js +69 -0
- package/dist/models/DeleteGatewayAuthResponse.js.map +1 -0
- package/dist/models/DeleteGatewayAuthResponseBody.d.ts +161 -0
- package/dist/models/DeleteGatewayAuthResponseBody.js +133 -0
- package/dist/models/DeleteGatewayAuthResponseBody.js.map +1 -0
- package/dist/models/ListGatewayAuthRequest.d.ts +76 -0
- package/dist/models/ListGatewayAuthRequest.js +98 -0
- package/dist/models/ListGatewayAuthRequest.js.map +1 -0
- package/dist/models/ListGatewayAuthResponse.d.ts +19 -0
- package/dist/models/ListGatewayAuthResponse.js +69 -0
- package/dist/models/ListGatewayAuthResponse.js.map +1 -0
- package/dist/models/ListGatewayAuthResponseBody.d.ts +281 -0
- package/dist/models/ListGatewayAuthResponseBody.js +240 -0
- package/dist/models/ListGatewayAuthResponseBody.js.map +1 -0
- package/dist/models/ListGatewayAuthShrinkRequest.d.ts +39 -0
- package/dist/models/ListGatewayAuthShrinkRequest.js +68 -0
- package/dist/models/ListGatewayAuthShrinkRequest.js.map +1 -0
- package/dist/models/ListNacosConfigsResponseBody.d.ts +2 -0
- package/dist/models/ListNacosConfigsResponseBody.js +4 -0
- package/dist/models/ListNacosConfigsResponseBody.js.map +1 -1
- package/dist/models/QueryConfigResponseBody.d.ts +19 -0
- package/dist/models/QueryConfigResponseBody.js +37 -1
- package/dist/models/QueryConfigResponseBody.js.map +1 -1
- package/dist/models/UpdateGatewayAuthRequest.d.ts +237 -0
- package/dist/models/UpdateGatewayAuthRequest.js +216 -0
- package/dist/models/UpdateGatewayAuthRequest.js.map +1 -0
- package/dist/models/UpdateGatewayAuthResponse.d.ts +19 -0
- package/dist/models/UpdateGatewayAuthResponse.js +69 -0
- package/dist/models/UpdateGatewayAuthResponse.js.map +1 -0
- package/dist/models/UpdateGatewayAuthResponseBody.d.ts +43 -0
- package/dist/models/UpdateGatewayAuthResponseBody.js +68 -0
- package/dist/models/UpdateGatewayAuthResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayAuthShrinkRequest.d.ts +122 -0
- package/dist/models/UpdateGatewayAuthShrinkRequest.js +106 -0
- package/dist/models/UpdateGatewayAuthShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +77 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +328 -0
- package/src/models/DeleteBlackWhiteListRequest.ts +52 -0
- package/src/models/DeleteBlackWhiteListResponse.ts +40 -0
- package/src/models/DeleteBlackWhiteListResponseBody.ts +165 -0
- package/src/models/DeleteGatewayAuthRequest.ts +45 -0
- package/src/models/DeleteGatewayAuthResponse.ts +40 -0
- package/src/models/DeleteGatewayAuthResponseBody.ts +240 -0
- package/src/models/ListGatewayAuthRequest.ts +120 -0
- package/src/models/ListGatewayAuthResponse.ts +40 -0
- package/src/models/ListGatewayAuthResponseBody.ts +440 -0
- package/src/models/ListGatewayAuthShrinkRequest.ts +62 -0
- package/src/models/ListNacosConfigsResponseBody.ts +6 -0
- package/src/models/QueryConfigResponseBody.ts +44 -0
- package/src/models/UpdateGatewayAuthRequest.ts +381 -0
- package/src/models/UpdateGatewayAuthResponse.ts +40 -0
- package/src/models/UpdateGatewayAuthResponseBody.ts +66 -0
- package/src/models/UpdateGatewayAuthShrinkRequest.ts +183 -0
- package/src/models/model.ts +25 -0
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListGatewayAuthResponseBodyDataResultExternalAuthZService extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* com.mse.console.test.3YXO
|
|
9
|
+
*/
|
|
10
|
+
groupName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* updatetime
|
|
14
|
+
*/
|
|
15
|
+
name?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* default
|
|
19
|
+
*/
|
|
20
|
+
namespace?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* MSE
|
|
24
|
+
*/
|
|
25
|
+
sourceType?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
groupName: 'GroupName',
|
|
29
|
+
name: 'Name',
|
|
30
|
+
namespace: 'Namespace',
|
|
31
|
+
sourceType: 'SourceType',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
groupName: 'string',
|
|
38
|
+
name: 'string',
|
|
39
|
+
namespace: 'string',
|
|
40
|
+
sourceType: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class ListGatewayAuthResponseBodyDataResultExternalAuthZ extends $dara.Model {
|
|
54
|
+
allowRequestHeaders?: string[];
|
|
55
|
+
allowUpstreamHeaders?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* 1024
|
|
59
|
+
*/
|
|
60
|
+
bodyMaxBytes?: number;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* true
|
|
64
|
+
*/
|
|
65
|
+
isRestrict?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* /auth
|
|
69
|
+
*/
|
|
70
|
+
prefixPath?: string;
|
|
71
|
+
service?: ListGatewayAuthResponseBodyDataResultExternalAuthZService;
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* 45186
|
|
75
|
+
*/
|
|
76
|
+
serviceId?: number;
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* 30
|
|
80
|
+
*/
|
|
81
|
+
timeout?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* Authorization
|
|
85
|
+
*/
|
|
86
|
+
tokenKey?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* true
|
|
90
|
+
*/
|
|
91
|
+
withRematchRoute?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @example
|
|
94
|
+
* true
|
|
95
|
+
*/
|
|
96
|
+
withRequestBody?: boolean;
|
|
97
|
+
static names(): { [key: string]: string } {
|
|
98
|
+
return {
|
|
99
|
+
allowRequestHeaders: 'AllowRequestHeaders',
|
|
100
|
+
allowUpstreamHeaders: 'AllowUpstreamHeaders',
|
|
101
|
+
bodyMaxBytes: 'BodyMaxBytes',
|
|
102
|
+
isRestrict: 'IsRestrict',
|
|
103
|
+
prefixPath: 'PrefixPath',
|
|
104
|
+
service: 'Service',
|
|
105
|
+
serviceId: 'ServiceId',
|
|
106
|
+
timeout: 'Timeout',
|
|
107
|
+
tokenKey: 'TokenKey',
|
|
108
|
+
withRematchRoute: 'WithRematchRoute',
|
|
109
|
+
withRequestBody: 'WithRequestBody',
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
static types(): { [key: string]: any } {
|
|
114
|
+
return {
|
|
115
|
+
allowRequestHeaders: { 'type': 'array', 'itemType': 'string' },
|
|
116
|
+
allowUpstreamHeaders: { 'type': 'array', 'itemType': 'string' },
|
|
117
|
+
bodyMaxBytes: 'number',
|
|
118
|
+
isRestrict: 'boolean',
|
|
119
|
+
prefixPath: 'string',
|
|
120
|
+
service: ListGatewayAuthResponseBodyDataResultExternalAuthZService,
|
|
121
|
+
serviceId: 'number',
|
|
122
|
+
timeout: 'number',
|
|
123
|
+
tokenKey: 'string',
|
|
124
|
+
withRematchRoute: 'boolean',
|
|
125
|
+
withRequestBody: 'boolean',
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
validate() {
|
|
130
|
+
if(Array.isArray(this.allowRequestHeaders)) {
|
|
131
|
+
$dara.Model.validateArray(this.allowRequestHeaders);
|
|
132
|
+
}
|
|
133
|
+
if(Array.isArray(this.allowUpstreamHeaders)) {
|
|
134
|
+
$dara.Model.validateArray(this.allowUpstreamHeaders);
|
|
135
|
+
}
|
|
136
|
+
if(this.service && typeof (this.service as any).validate === 'function') {
|
|
137
|
+
(this.service as any).validate();
|
|
138
|
+
}
|
|
139
|
+
super.validate();
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
constructor(map?: { [key: string]: any }) {
|
|
143
|
+
super(map);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export class ListGatewayAuthResponseBodyDataResult extends $dara.Model {
|
|
148
|
+
/**
|
|
149
|
+
* @example
|
|
150
|
+
* 0
|
|
151
|
+
*/
|
|
152
|
+
authResourceMode?: number;
|
|
153
|
+
/**
|
|
154
|
+
* @example
|
|
155
|
+
* app_mnvxaavggw7hcdcnr6usi6***
|
|
156
|
+
*/
|
|
157
|
+
clientId?: string;
|
|
158
|
+
/**
|
|
159
|
+
* @example
|
|
160
|
+
* CS6EYfx3k9yTRR9EtQ2MXWP97P6UAUwFg4teoWJ19Z****
|
|
161
|
+
*/
|
|
162
|
+
clientSecret?: string;
|
|
163
|
+
/**
|
|
164
|
+
* @example
|
|
165
|
+
* test.com
|
|
166
|
+
*/
|
|
167
|
+
cookieDomain?: string;
|
|
168
|
+
externalAuthZ?: ListGatewayAuthResponseBodyDataResultExternalAuthZ;
|
|
169
|
+
/**
|
|
170
|
+
* @example
|
|
171
|
+
* 1
|
|
172
|
+
*/
|
|
173
|
+
gatewayId?: number;
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* gw-e2d226bba4b2445c9e29fa7f8216****
|
|
177
|
+
*/
|
|
178
|
+
gatewayUniqueId?: string;
|
|
179
|
+
/**
|
|
180
|
+
* @example
|
|
181
|
+
* 2021-09-13 19:24:23
|
|
182
|
+
*/
|
|
183
|
+
gmtCreate?: string;
|
|
184
|
+
/**
|
|
185
|
+
* @example
|
|
186
|
+
* 2021-09-13 19:24:23
|
|
187
|
+
*/
|
|
188
|
+
gmtModified?: string;
|
|
189
|
+
/**
|
|
190
|
+
* @example
|
|
191
|
+
* 549
|
|
192
|
+
*/
|
|
193
|
+
id?: number;
|
|
194
|
+
/**
|
|
195
|
+
* @example
|
|
196
|
+
* true
|
|
197
|
+
*/
|
|
198
|
+
isWhite?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* @example
|
|
201
|
+
* https://example.com/auth
|
|
202
|
+
*/
|
|
203
|
+
issuer?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @example
|
|
206
|
+
* {\\"keys\\":[{\\"kty\\":\\"oct\\",\\"k\\":\\"9V9lpiuAQsME1efQChI0kEQz6fdVlJbDRFFa1lvEB_A\\",\\"alg\\":\\"HS256\\"}]}
|
|
207
|
+
*/
|
|
208
|
+
jwks?: string;
|
|
209
|
+
/**
|
|
210
|
+
* @example
|
|
211
|
+
* https://daxxxxcn.aliyunidaas.com/
|
|
212
|
+
*/
|
|
213
|
+
loginUrl?: string;
|
|
214
|
+
/**
|
|
215
|
+
* @example
|
|
216
|
+
* test
|
|
217
|
+
*/
|
|
218
|
+
name?: string;
|
|
219
|
+
/**
|
|
220
|
+
* @example
|
|
221
|
+
* http://test.com/oauth2/callback
|
|
222
|
+
*/
|
|
223
|
+
redirectUrl?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @example
|
|
226
|
+
* ["openid"]
|
|
227
|
+
*/
|
|
228
|
+
scopesList?: string;
|
|
229
|
+
/**
|
|
230
|
+
* @example
|
|
231
|
+
* true
|
|
232
|
+
*/
|
|
233
|
+
status?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* @example
|
|
236
|
+
* example-app
|
|
237
|
+
*/
|
|
238
|
+
sub?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @example
|
|
241
|
+
* Authorization
|
|
242
|
+
*/
|
|
243
|
+
tokenName?: string;
|
|
244
|
+
/**
|
|
245
|
+
* @example
|
|
246
|
+
* Bearer
|
|
247
|
+
*/
|
|
248
|
+
tokenNamePrefix?: string;
|
|
249
|
+
/**
|
|
250
|
+
* @example
|
|
251
|
+
* true
|
|
252
|
+
*/
|
|
253
|
+
tokenPass?: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* @example
|
|
256
|
+
* HEADER
|
|
257
|
+
*/
|
|
258
|
+
tokenPosition?: string;
|
|
259
|
+
/**
|
|
260
|
+
* @example
|
|
261
|
+
* JWT
|
|
262
|
+
*/
|
|
263
|
+
type?: string;
|
|
264
|
+
static names(): { [key: string]: string } {
|
|
265
|
+
return {
|
|
266
|
+
authResourceMode: 'AuthResourceMode',
|
|
267
|
+
clientId: 'ClientId',
|
|
268
|
+
clientSecret: 'ClientSecret',
|
|
269
|
+
cookieDomain: 'CookieDomain',
|
|
270
|
+
externalAuthZ: 'ExternalAuthZ',
|
|
271
|
+
gatewayId: 'GatewayId',
|
|
272
|
+
gatewayUniqueId: 'GatewayUniqueId',
|
|
273
|
+
gmtCreate: 'GmtCreate',
|
|
274
|
+
gmtModified: 'GmtModified',
|
|
275
|
+
id: 'Id',
|
|
276
|
+
isWhite: 'IsWhite',
|
|
277
|
+
issuer: 'Issuer',
|
|
278
|
+
jwks: 'Jwks',
|
|
279
|
+
loginUrl: 'LoginUrl',
|
|
280
|
+
name: 'Name',
|
|
281
|
+
redirectUrl: 'RedirectUrl',
|
|
282
|
+
scopesList: 'ScopesList',
|
|
283
|
+
status: 'Status',
|
|
284
|
+
sub: 'Sub',
|
|
285
|
+
tokenName: 'TokenName',
|
|
286
|
+
tokenNamePrefix: 'TokenNamePrefix',
|
|
287
|
+
tokenPass: 'TokenPass',
|
|
288
|
+
tokenPosition: 'TokenPosition',
|
|
289
|
+
type: 'Type',
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
static types(): { [key: string]: any } {
|
|
294
|
+
return {
|
|
295
|
+
authResourceMode: 'number',
|
|
296
|
+
clientId: 'string',
|
|
297
|
+
clientSecret: 'string',
|
|
298
|
+
cookieDomain: 'string',
|
|
299
|
+
externalAuthZ: ListGatewayAuthResponseBodyDataResultExternalAuthZ,
|
|
300
|
+
gatewayId: 'number',
|
|
301
|
+
gatewayUniqueId: 'string',
|
|
302
|
+
gmtCreate: 'string',
|
|
303
|
+
gmtModified: 'string',
|
|
304
|
+
id: 'number',
|
|
305
|
+
isWhite: 'boolean',
|
|
306
|
+
issuer: 'string',
|
|
307
|
+
jwks: 'string',
|
|
308
|
+
loginUrl: 'string',
|
|
309
|
+
name: 'string',
|
|
310
|
+
redirectUrl: 'string',
|
|
311
|
+
scopesList: 'string',
|
|
312
|
+
status: 'boolean',
|
|
313
|
+
sub: 'string',
|
|
314
|
+
tokenName: 'string',
|
|
315
|
+
tokenNamePrefix: 'string',
|
|
316
|
+
tokenPass: 'boolean',
|
|
317
|
+
tokenPosition: 'string',
|
|
318
|
+
type: 'string',
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
validate() {
|
|
323
|
+
if(this.externalAuthZ && typeof (this.externalAuthZ as any).validate === 'function') {
|
|
324
|
+
(this.externalAuthZ as any).validate();
|
|
325
|
+
}
|
|
326
|
+
super.validate();
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
constructor(map?: { [key: string]: any }) {
|
|
330
|
+
super(map);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export class ListGatewayAuthResponseBodyData extends $dara.Model {
|
|
335
|
+
/**
|
|
336
|
+
* @example
|
|
337
|
+
* 1
|
|
338
|
+
*/
|
|
339
|
+
pageNumber?: number;
|
|
340
|
+
/**
|
|
341
|
+
* @example
|
|
342
|
+
* 10
|
|
343
|
+
*/
|
|
344
|
+
pageSize?: number;
|
|
345
|
+
result?: ListGatewayAuthResponseBodyDataResult[];
|
|
346
|
+
/**
|
|
347
|
+
* @example
|
|
348
|
+
* 9
|
|
349
|
+
*/
|
|
350
|
+
totalSize?: number;
|
|
351
|
+
static names(): { [key: string]: string } {
|
|
352
|
+
return {
|
|
353
|
+
pageNumber: 'PageNumber',
|
|
354
|
+
pageSize: 'PageSize',
|
|
355
|
+
result: 'Result',
|
|
356
|
+
totalSize: 'TotalSize',
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
static types(): { [key: string]: any } {
|
|
361
|
+
return {
|
|
362
|
+
pageNumber: 'number',
|
|
363
|
+
pageSize: 'number',
|
|
364
|
+
result: { 'type': 'array', 'itemType': ListGatewayAuthResponseBodyDataResult },
|
|
365
|
+
totalSize: 'number',
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
validate() {
|
|
370
|
+
if(Array.isArray(this.result)) {
|
|
371
|
+
$dara.Model.validateArray(this.result);
|
|
372
|
+
}
|
|
373
|
+
super.validate();
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
constructor(map?: { [key: string]: any }) {
|
|
377
|
+
super(map);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export class ListGatewayAuthResponseBody extends $dara.Model {
|
|
382
|
+
/**
|
|
383
|
+
* @example
|
|
384
|
+
* 200
|
|
385
|
+
*/
|
|
386
|
+
code?: number;
|
|
387
|
+
data?: ListGatewayAuthResponseBodyData;
|
|
388
|
+
/**
|
|
389
|
+
* @example
|
|
390
|
+
* 200
|
|
391
|
+
*/
|
|
392
|
+
httpStatusCode?: number;
|
|
393
|
+
message?: string;
|
|
394
|
+
/**
|
|
395
|
+
* @remarks
|
|
396
|
+
* Id of the request
|
|
397
|
+
*
|
|
398
|
+
* @example
|
|
399
|
+
* EC1EED4A-B147-597B-B949-FD3131AB4298
|
|
400
|
+
*/
|
|
401
|
+
requestId?: string;
|
|
402
|
+
/**
|
|
403
|
+
* @example
|
|
404
|
+
* true
|
|
405
|
+
*/
|
|
406
|
+
success?: boolean;
|
|
407
|
+
static names(): { [key: string]: string } {
|
|
408
|
+
return {
|
|
409
|
+
code: 'Code',
|
|
410
|
+
data: 'Data',
|
|
411
|
+
httpStatusCode: 'HttpStatusCode',
|
|
412
|
+
message: 'Message',
|
|
413
|
+
requestId: 'RequestId',
|
|
414
|
+
success: 'Success',
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
static types(): { [key: string]: any } {
|
|
419
|
+
return {
|
|
420
|
+
code: 'number',
|
|
421
|
+
data: ListGatewayAuthResponseBodyData,
|
|
422
|
+
httpStatusCode: 'number',
|
|
423
|
+
message: 'string',
|
|
424
|
+
requestId: 'string',
|
|
425
|
+
success: 'boolean',
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
validate() {
|
|
430
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
431
|
+
(this.data as any).validate();
|
|
432
|
+
}
|
|
433
|
+
super.validate();
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
constructor(map?: { [key: string]: any }) {
|
|
437
|
+
super(map);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListGatewayAuthShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* zh
|
|
9
|
+
*/
|
|
10
|
+
acceptLanguage?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* false
|
|
14
|
+
*/
|
|
15
|
+
descSort?: boolean;
|
|
16
|
+
filterParamsShrink?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* {}
|
|
20
|
+
*/
|
|
21
|
+
orderItem?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 1
|
|
25
|
+
*/
|
|
26
|
+
pageNumber?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 10
|
|
30
|
+
*/
|
|
31
|
+
pageSize?: number;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
acceptLanguage: 'AcceptLanguage',
|
|
35
|
+
descSort: 'DescSort',
|
|
36
|
+
filterParamsShrink: 'FilterParams',
|
|
37
|
+
orderItem: 'OrderItem',
|
|
38
|
+
pageNumber: 'PageNumber',
|
|
39
|
+
pageSize: 'PageSize',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static types(): { [key: string]: any } {
|
|
44
|
+
return {
|
|
45
|
+
acceptLanguage: 'string',
|
|
46
|
+
descSort: 'boolean',
|
|
47
|
+
filterParamsShrink: 'string',
|
|
48
|
+
orderItem: 'string',
|
|
49
|
+
pageNumber: 'number',
|
|
50
|
+
pageSize: 'number',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
constructor(map?: { [key: string]: any }) {
|
|
59
|
+
super(map);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -11,6 +11,7 @@ export class ListNacosConfigsResponseBodyConfigurations extends $dara.Model {
|
|
|
11
11
|
* test
|
|
12
12
|
*/
|
|
13
13
|
appName?: string;
|
|
14
|
+
configTags?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
17
|
* The ID of the configuration.
|
|
@@ -19,6 +20,7 @@ export class ListNacosConfigsResponseBodyConfigurations extends $dara.Model {
|
|
|
19
20
|
* log.yaml
|
|
20
21
|
*/
|
|
21
22
|
dataId?: string;
|
|
23
|
+
description?: string;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
26
|
* The ID of the group.
|
|
@@ -38,7 +40,9 @@ export class ListNacosConfigsResponseBodyConfigurations extends $dara.Model {
|
|
|
38
40
|
static names(): { [key: string]: string } {
|
|
39
41
|
return {
|
|
40
42
|
appName: 'AppName',
|
|
43
|
+
configTags: 'ConfigTags',
|
|
41
44
|
dataId: 'DataId',
|
|
45
|
+
description: 'Description',
|
|
42
46
|
group: 'Group',
|
|
43
47
|
id: 'Id',
|
|
44
48
|
};
|
|
@@ -47,7 +51,9 @@ export class ListNacosConfigsResponseBodyConfigurations extends $dara.Model {
|
|
|
47
51
|
static types(): { [key: string]: any } {
|
|
48
52
|
return {
|
|
49
53
|
appName: 'string',
|
|
54
|
+
configTags: 'string',
|
|
50
55
|
dataId: 'string',
|
|
56
|
+
description: 'string',
|
|
51
57
|
group: 'string',
|
|
52
58
|
id: 'string',
|
|
53
59
|
};
|
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class QueryConfigResponseBodyDataNacosRunningEnvFencePolicy extends $dara.Model {
|
|
6
|
+
enabledModules?: string[];
|
|
7
|
+
interceptPolicy?: { [key: string]: string };
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
enabledModules: 'enabledModules',
|
|
11
|
+
interceptPolicy: 'interceptPolicy',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
enabledModules: { 'type': 'array', 'itemType': 'string' },
|
|
18
|
+
interceptPolicy: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
if(Array.isArray(this.enabledModules)) {
|
|
24
|
+
$dara.Model.validateArray(this.enabledModules);
|
|
25
|
+
}
|
|
26
|
+
if(this.interceptPolicy) {
|
|
27
|
+
$dara.Model.validateMap(this.interceptPolicy);
|
|
28
|
+
}
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
5
37
|
export class QueryConfigResponseBodyDataNacosRunningEnv extends $dara.Model {
|
|
6
38
|
/**
|
|
7
39
|
* @remarks
|
|
@@ -11,10 +43,14 @@ export class QueryConfigResponseBodyDataNacosRunningEnv extends $dara.Model {
|
|
|
11
43
|
* true
|
|
12
44
|
*/
|
|
13
45
|
emptyProtect?: boolean;
|
|
46
|
+
fenceEnabled?: boolean;
|
|
47
|
+
fencePolicy?: QueryConfigResponseBodyDataNacosRunningEnvFencePolicy;
|
|
14
48
|
grayAuth?: string;
|
|
15
49
|
static names(): { [key: string]: string } {
|
|
16
50
|
return {
|
|
17
51
|
emptyProtect: 'emptyProtect',
|
|
52
|
+
fenceEnabled: 'fenceEnabled',
|
|
53
|
+
fencePolicy: 'fencePolicy',
|
|
18
54
|
grayAuth: 'grayAuth',
|
|
19
55
|
};
|
|
20
56
|
}
|
|
@@ -22,11 +58,16 @@ export class QueryConfigResponseBodyDataNacosRunningEnv extends $dara.Model {
|
|
|
22
58
|
static types(): { [key: string]: any } {
|
|
23
59
|
return {
|
|
24
60
|
emptyProtect: 'boolean',
|
|
61
|
+
fenceEnabled: 'boolean',
|
|
62
|
+
fencePolicy: QueryConfigResponseBodyDataNacosRunningEnvFencePolicy,
|
|
25
63
|
grayAuth: 'string',
|
|
26
64
|
};
|
|
27
65
|
}
|
|
28
66
|
|
|
29
67
|
validate() {
|
|
68
|
+
if(this.fencePolicy && typeof (this.fencePolicy as any).validate === 'function') {
|
|
69
|
+
(this.fencePolicy as any).validate();
|
|
70
|
+
}
|
|
30
71
|
super.validate();
|
|
31
72
|
}
|
|
32
73
|
|
|
@@ -270,6 +311,7 @@ export class QueryConfigResponseBodyData extends $dara.Model {
|
|
|
270
311
|
* password
|
|
271
312
|
*/
|
|
272
313
|
passWord?: string;
|
|
314
|
+
prometheusSdProtocolEnabled?: string;
|
|
273
315
|
/**
|
|
274
316
|
* @remarks
|
|
275
317
|
* Indicates whether the instance was restarted and new configurations have taken effect. Valid values:
|
|
@@ -350,6 +392,7 @@ export class QueryConfigResponseBodyData extends $dara.Model {
|
|
|
350
392
|
namingCreateServiceSupported: 'NamingCreateServiceSupported',
|
|
351
393
|
openSuperAcl: 'OpenSuperAcl',
|
|
352
394
|
passWord: 'PassWord',
|
|
395
|
+
prometheusSdProtocolEnabled: 'PrometheusSdProtocolEnabled',
|
|
353
396
|
restartFlag: 'RestartFlag',
|
|
354
397
|
snapshotCount: 'SnapshotCount',
|
|
355
398
|
syncLimit: 'SyncLimit',
|
|
@@ -388,6 +431,7 @@ export class QueryConfigResponseBodyData extends $dara.Model {
|
|
|
388
431
|
namingCreateServiceSupported: 'boolean',
|
|
389
432
|
openSuperAcl: 'boolean',
|
|
390
433
|
passWord: 'string',
|
|
434
|
+
prometheusSdProtocolEnabled: 'string',
|
|
391
435
|
restartFlag: 'boolean',
|
|
392
436
|
snapshotCount: 'string',
|
|
393
437
|
syncLimit: 'string',
|