@alicloud/cms20240330 3.1.0 → 3.2.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 +36 -0
- package/dist/client.js +128 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AlertRuleQuery.d.ts +34 -0
- package/dist/models/AlertRuleQuery.js +61 -1
- package/dist/models/AlertRuleQuery.js.map +1 -1
- package/dist/models/ListIntegrationPoliciesRequest.d.ts +92 -0
- package/dist/models/ListIntegrationPoliciesRequest.js +106 -0
- package/dist/models/ListIntegrationPoliciesRequest.js.map +1 -0
- package/dist/models/ListIntegrationPoliciesResponse.d.ts +19 -0
- package/dist/models/ListIntegrationPoliciesResponse.js +69 -0
- package/dist/models/ListIntegrationPoliciesResponse.js.map +1 -0
- package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +362 -0
- package/dist/models/ListIntegrationPoliciesResponseBody.js +433 -0
- package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -0
- package/dist/models/ListIntegrationPoliciesShrinkRequest.d.ts +70 -0
- package/dist/models/ListIntegrationPoliciesShrinkRequest.js +82 -0
- package/dist/models/ListIntegrationPoliciesShrinkRequest.js.map +1 -0
- package/dist/models/ListIntegrationPolicyDashboardsRequest.d.ts +23 -0
- package/dist/models/ListIntegrationPolicyDashboardsRequest.js +60 -0
- package/dist/models/ListIntegrationPolicyDashboardsRequest.js.map +1 -0
- package/dist/models/ListIntegrationPolicyDashboardsResponse.d.ts +19 -0
- package/dist/models/ListIntegrationPolicyDashboardsResponse.js +69 -0
- package/dist/models/ListIntegrationPolicyDashboardsResponse.js.map +1 -0
- package/dist/models/ListIntegrationPolicyDashboardsResponseBody.d.ts +45 -0
- package/dist/models/ListIntegrationPolicyDashboardsResponseBody.js +97 -0
- package/dist/models/ListIntegrationPolicyDashboardsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +57 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +148 -0
- package/src/models/AlertRuleQuery.ts +76 -0
- package/src/models/ListIntegrationPoliciesRequest.ts +144 -0
- package/src/models/ListIntegrationPoliciesResponse.ts +40 -0
- package/src/models/ListIntegrationPoliciesResponseBody.ts +642 -0
- package/src/models/ListIntegrationPoliciesShrinkRequest.ts +107 -0
- package/src/models/ListIntegrationPolicyDashboardsRequest.ts +38 -0
- package/src/models/ListIntegrationPolicyDashboardsResponse.ts +40 -0
- package/src/models/ListIntegrationPolicyDashboardsResponseBody.ts +88 -0
- package/src/models/model.ts +23 -0
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesBindResource extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* cv68tt87d78vyc89zy9v
|
|
6
|
+
*/
|
|
7
|
+
clusterId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* ManagedKubernetes
|
|
11
|
+
*/
|
|
12
|
+
clusterType?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 100.100.0.1/16
|
|
16
|
+
*/
|
|
17
|
+
vpcCidr?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* vpc-uf664nyle5khp5d4d7hdo
|
|
21
|
+
*/
|
|
22
|
+
vpcId?: string;
|
|
23
|
+
static names(): {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
static types(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
validate(): void;
|
|
30
|
+
constructor(map?: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesAnnotations extends $dara.Model {
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* add
|
|
38
|
+
*/
|
|
39
|
+
op?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* key
|
|
43
|
+
*/
|
|
44
|
+
tagKey?: string;
|
|
45
|
+
tagValues?: string[];
|
|
46
|
+
static names(): {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
static types(): {
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
};
|
|
52
|
+
validate(): void;
|
|
53
|
+
constructor(map?: {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesFieldRules extends $dara.Model {
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* test
|
|
61
|
+
*/
|
|
62
|
+
fieldKey?: string;
|
|
63
|
+
fieldValues?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* add
|
|
67
|
+
*/
|
|
68
|
+
op?: string;
|
|
69
|
+
static names(): {
|
|
70
|
+
[key: string]: string;
|
|
71
|
+
};
|
|
72
|
+
static types(): {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
};
|
|
75
|
+
validate(): void;
|
|
76
|
+
constructor(map?: {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesIpMatchRule extends $dara.Model {
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* 100.100.1.0/16
|
|
84
|
+
*/
|
|
85
|
+
ipCidr?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* xxxx
|
|
89
|
+
*/
|
|
90
|
+
ipFieldKey?: string;
|
|
91
|
+
static names(): {
|
|
92
|
+
[key: string]: string;
|
|
93
|
+
};
|
|
94
|
+
static types(): {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
};
|
|
97
|
+
validate(): void;
|
|
98
|
+
constructor(map?: {
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesLabels extends $dara.Model {
|
|
103
|
+
/**
|
|
104
|
+
* @example
|
|
105
|
+
* add
|
|
106
|
+
*/
|
|
107
|
+
op?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @example
|
|
110
|
+
* test
|
|
111
|
+
*/
|
|
112
|
+
tagKey?: string;
|
|
113
|
+
tagValues?: string[];
|
|
114
|
+
static names(): {
|
|
115
|
+
[key: string]: string;
|
|
116
|
+
};
|
|
117
|
+
static types(): {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
};
|
|
120
|
+
validate(): void;
|
|
121
|
+
constructor(map?: {
|
|
122
|
+
[key: string]: any;
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesTags extends $dara.Model {
|
|
126
|
+
/**
|
|
127
|
+
* @example
|
|
128
|
+
* add
|
|
129
|
+
*/
|
|
130
|
+
op?: string;
|
|
131
|
+
/**
|
|
132
|
+
* @example
|
|
133
|
+
* key
|
|
134
|
+
*/
|
|
135
|
+
tagKey?: string;
|
|
136
|
+
tagValues?: string[];
|
|
137
|
+
static names(): {
|
|
138
|
+
[key: string]: string;
|
|
139
|
+
};
|
|
140
|
+
static types(): {
|
|
141
|
+
[key: string]: any;
|
|
142
|
+
};
|
|
143
|
+
validate(): void;
|
|
144
|
+
constructor(map?: {
|
|
145
|
+
[key: string]: any;
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRules extends $dara.Model {
|
|
149
|
+
annotations?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesAnnotations[];
|
|
150
|
+
entityTypes?: string[];
|
|
151
|
+
fieldRules?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesFieldRules[];
|
|
152
|
+
instanceIds?: string[];
|
|
153
|
+
ipMatchRule?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesIpMatchRule;
|
|
154
|
+
labels?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesLabels[];
|
|
155
|
+
regionIds?: string[];
|
|
156
|
+
/**
|
|
157
|
+
* @example
|
|
158
|
+
* rg-5i6dbwxfxuqihk7k
|
|
159
|
+
*/
|
|
160
|
+
resourceGroupId?: string;
|
|
161
|
+
tags?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesTags[];
|
|
162
|
+
static names(): {
|
|
163
|
+
[key: string]: string;
|
|
164
|
+
};
|
|
165
|
+
static types(): {
|
|
166
|
+
[key: string]: any;
|
|
167
|
+
};
|
|
168
|
+
validate(): void;
|
|
169
|
+
constructor(map?: {
|
|
170
|
+
[key: string]: any;
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesEntityGroup extends $dara.Model {
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* xxxx
|
|
177
|
+
*/
|
|
178
|
+
description?: string;
|
|
179
|
+
/**
|
|
180
|
+
* @example
|
|
181
|
+
* eg-b79f65d11fb94e779867cf937c3a3002
|
|
182
|
+
*/
|
|
183
|
+
entityGroupId?: string;
|
|
184
|
+
/**
|
|
185
|
+
* @example
|
|
186
|
+
* test-eg
|
|
187
|
+
*/
|
|
188
|
+
entityGroupName?: string;
|
|
189
|
+
entityRules?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRules;
|
|
190
|
+
query?: string;
|
|
191
|
+
/**
|
|
192
|
+
* @example
|
|
193
|
+
* cn-heyuan
|
|
194
|
+
*/
|
|
195
|
+
regionId?: string;
|
|
196
|
+
/**
|
|
197
|
+
* @example
|
|
198
|
+
* 1236812738
|
|
199
|
+
*/
|
|
200
|
+
userId?: string;
|
|
201
|
+
/**
|
|
202
|
+
* @example
|
|
203
|
+
* test-api
|
|
204
|
+
*/
|
|
205
|
+
workspace?: string;
|
|
206
|
+
static names(): {
|
|
207
|
+
[key: string]: string;
|
|
208
|
+
};
|
|
209
|
+
static types(): {
|
|
210
|
+
[key: string]: any;
|
|
211
|
+
};
|
|
212
|
+
validate(): void;
|
|
213
|
+
constructor(map?: {
|
|
214
|
+
[key: string]: any;
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesManagedInfo extends $dara.Model {
|
|
218
|
+
/**
|
|
219
|
+
* @example
|
|
220
|
+
* sg-xxxxx
|
|
221
|
+
*/
|
|
222
|
+
securityGroupId?: string;
|
|
223
|
+
/**
|
|
224
|
+
* @example
|
|
225
|
+
* vsw-xxxxxx
|
|
226
|
+
*/
|
|
227
|
+
vswitchId?: string;
|
|
228
|
+
static names(): {
|
|
229
|
+
[key: string]: string;
|
|
230
|
+
};
|
|
231
|
+
static types(): {
|
|
232
|
+
[key: string]: any;
|
|
233
|
+
};
|
|
234
|
+
validate(): void;
|
|
235
|
+
constructor(map?: {
|
|
236
|
+
[key: string]: any;
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesSubAddonRelease extends $dara.Model {
|
|
240
|
+
ready?: number;
|
|
241
|
+
total?: number;
|
|
242
|
+
static names(): {
|
|
243
|
+
[key: string]: string;
|
|
244
|
+
};
|
|
245
|
+
static types(): {
|
|
246
|
+
[key: string]: any;
|
|
247
|
+
};
|
|
248
|
+
validate(): void;
|
|
249
|
+
constructor(map?: {
|
|
250
|
+
[key: string]: any;
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
export declare class ListIntegrationPoliciesResponseBodyPoliciesTags extends $dara.Model {
|
|
254
|
+
/**
|
|
255
|
+
* @example
|
|
256
|
+
* key
|
|
257
|
+
*/
|
|
258
|
+
key?: string;
|
|
259
|
+
/**
|
|
260
|
+
* @example
|
|
261
|
+
* value
|
|
262
|
+
*/
|
|
263
|
+
value?: string;
|
|
264
|
+
static names(): {
|
|
265
|
+
[key: string]: string;
|
|
266
|
+
};
|
|
267
|
+
static types(): {
|
|
268
|
+
[key: string]: any;
|
|
269
|
+
};
|
|
270
|
+
validate(): void;
|
|
271
|
+
constructor(map?: {
|
|
272
|
+
[key: string]: any;
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
export declare class ListIntegrationPoliciesResponseBodyPolicies extends $dara.Model {
|
|
276
|
+
bindResource?: ListIntegrationPoliciesResponseBodyPoliciesBindResource;
|
|
277
|
+
entityGroup?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroup;
|
|
278
|
+
managedInfo?: ListIntegrationPoliciesResponseBodyPoliciesManagedInfo;
|
|
279
|
+
/**
|
|
280
|
+
* @example
|
|
281
|
+
* policy-ac38a7cb02d14ff48bc9f97d0a75063e
|
|
282
|
+
*/
|
|
283
|
+
policyId?: string;
|
|
284
|
+
/**
|
|
285
|
+
* @example
|
|
286
|
+
* 6f5HSsg3AP
|
|
287
|
+
*/
|
|
288
|
+
policyName?: string;
|
|
289
|
+
/**
|
|
290
|
+
* @example
|
|
291
|
+
* ECS
|
|
292
|
+
*/
|
|
293
|
+
policyType?: string;
|
|
294
|
+
/**
|
|
295
|
+
* @example
|
|
296
|
+
* cn-heyuan
|
|
297
|
+
*/
|
|
298
|
+
regionId?: string;
|
|
299
|
+
/**
|
|
300
|
+
* @example
|
|
301
|
+
* rg-xxxxx
|
|
302
|
+
*/
|
|
303
|
+
resourceGroupId?: string;
|
|
304
|
+
subAddonRelease?: ListIntegrationPoliciesResponseBodyPoliciesSubAddonRelease;
|
|
305
|
+
tags?: ListIntegrationPoliciesResponseBodyPoliciesTags[];
|
|
306
|
+
/**
|
|
307
|
+
* @example
|
|
308
|
+
* 128470923
|
|
309
|
+
*/
|
|
310
|
+
userId?: string;
|
|
311
|
+
/**
|
|
312
|
+
* @example
|
|
313
|
+
* test-api
|
|
314
|
+
*/
|
|
315
|
+
workspace?: string;
|
|
316
|
+
static names(): {
|
|
317
|
+
[key: string]: string;
|
|
318
|
+
};
|
|
319
|
+
static types(): {
|
|
320
|
+
[key: string]: any;
|
|
321
|
+
};
|
|
322
|
+
validate(): void;
|
|
323
|
+
constructor(map?: {
|
|
324
|
+
[key: string]: any;
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
export declare class ListIntegrationPoliciesResponseBody extends $dara.Model {
|
|
328
|
+
/**
|
|
329
|
+
* @example
|
|
330
|
+
* 100
|
|
331
|
+
*/
|
|
332
|
+
maxResults?: number;
|
|
333
|
+
/**
|
|
334
|
+
* @example
|
|
335
|
+
* 44ANBjKZmQeKnaB1fXRq06w7sFYK3MUcCALMD9qQbmEiE
|
|
336
|
+
*/
|
|
337
|
+
nextToken?: string;
|
|
338
|
+
policies?: ListIntegrationPoliciesResponseBodyPolicies[];
|
|
339
|
+
/**
|
|
340
|
+
* @remarks
|
|
341
|
+
* Id of the request
|
|
342
|
+
*
|
|
343
|
+
* @example
|
|
344
|
+
* CD8BA7D6-995D-578D-9941-78B0FECD14B5
|
|
345
|
+
*/
|
|
346
|
+
requestId?: string;
|
|
347
|
+
/**
|
|
348
|
+
* @example
|
|
349
|
+
* 0
|
|
350
|
+
*/
|
|
351
|
+
totalCount?: number;
|
|
352
|
+
static names(): {
|
|
353
|
+
[key: string]: string;
|
|
354
|
+
};
|
|
355
|
+
static types(): {
|
|
356
|
+
[key: string]: any;
|
|
357
|
+
};
|
|
358
|
+
validate(): void;
|
|
359
|
+
constructor(map?: {
|
|
360
|
+
[key: string]: any;
|
|
361
|
+
});
|
|
362
|
+
}
|