@alicloud/cs20151215 5.0.0 → 6.0.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.
@@ -1,53 +1,7 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
- export declare class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog extends $dara.Model {
3
- /**
4
- * @remarks
5
- * The cluster ID.
6
- *
7
- * @example
8
- * c8155823d057948c69a****
9
- */
10
- clusterId?: string;
11
- /**
12
- * @remarks
13
- * The policy type.
14
- *
15
- * @example
16
- * ACKAllowedRepos
17
- */
18
- constraintKind?: string;
19
- /**
20
- * @remarks
21
- * The message that appears when an event is generated by a policy.
22
- *
23
- * @example
24
- * d4hdhs*****
25
- */
26
- msg?: string;
27
- /**
28
- * @remarks
29
- * The resource type.
30
- *
31
- * @example
32
- * Pod
33
- */
34
- resourceKind?: string;
35
- /**
36
- * @remarks
37
- * The resource name.
38
- *
39
- * @example
40
- * nginx-deployment-basic2-84ccb74bfc-df22p
41
- */
42
- resourceName?: string;
43
- /**
44
- * @remarks
45
- * The namespace to which the resource belongs.
46
- *
47
- * @example
48
- * default
49
- */
50
- resourceNamespace?: string;
2
+ export declare class DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolationsDeny extends $dara.Model {
3
+ severity?: string;
4
+ violations?: string;
51
5
  static names(): {
52
6
  [key: string]: string;
53
7
  };
@@ -59,31 +13,9 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog ex
59
13
  [key: string]: any;
60
14
  });
61
15
  }
62
- export declare class DescribePolicyGovernanceInClusterResponseBodyAdmitLog extends $dara.Model {
63
- /**
64
- * @remarks
65
- * The number of audit log entries.
66
- *
67
- * @example
68
- * 100
69
- */
70
- count?: number;
71
- /**
72
- * @remarks
73
- * The audit log content.
74
- */
75
- log?: DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog;
76
- /**
77
- * @remarks
78
- * The status of the query. Valid values:
79
- *
80
- * * `Complete`: The query succeeded and the complete query result is returned.
81
- * * `Incomplete`: The query succeeded but the query result is incomplete. To obtain the complete query result, you must repeat the request.
82
- *
83
- * @example
84
- * Complete
85
- */
86
- progress?: string;
16
+ export declare class DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolationsWarn extends $dara.Model {
17
+ severity?: string;
18
+ violations?: number;
87
19
  static names(): {
88
20
  [key: string]: string;
89
21
  };
@@ -95,31 +27,9 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyAdmitLog exten
95
27
  [key: string]: any;
96
28
  });
97
29
  }
98
- export declare class DescribePolicyGovernanceInClusterResponseBodyOnState extends $dara.Model {
99
- /**
100
- * @remarks
101
- * The number of policies that are enabled.
102
- *
103
- * @example
104
- * 3
105
- */
106
- enabledCount?: number;
107
- /**
108
- * @remarks
109
- * The severity level of the policy.
110
- *
111
- * @example
112
- * high
113
- */
114
- severity?: string;
115
- /**
116
- * @remarks
117
- * The total number of policies of the severity level.
118
- *
119
- * @example
120
- * 8
121
- */
122
- total?: number;
30
+ export declare class DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolations extends $dara.Model {
31
+ deny?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolationsDeny[];
32
+ warn?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolationsWarn[];
123
33
  static names(): {
124
34
  [key: string]: string;
125
35
  };
@@ -131,22 +41,10 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyOnState extend
131
41
  [key: string]: any;
132
42
  });
133
43
  }
134
- export declare class DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny extends $dara.Model {
135
- /**
136
- * @remarks
137
- * The severity level of the policy.
138
- *
139
- * @example
140
- * high
141
- */
44
+ export declare class DescribePolicyGovernanceInClusterResponseBodyViolationViolationsDeny extends $dara.Model {
45
+ policyDescription?: string;
46
+ policyName?: string;
142
47
  severity?: string;
143
- /**
144
- * @remarks
145
- * The number of blocking events that are triggered.
146
- *
147
- * @example
148
- * 0
149
- */
150
48
  violations?: number;
151
49
  static names(): {
152
50
  [key: string]: string;
@@ -159,22 +57,10 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyTotalViolation
159
57
  [key: string]: any;
160
58
  });
161
59
  }
162
- export declare class DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn extends $dara.Model {
163
- /**
164
- * @remarks
165
- * The severity level of the policy.
166
- *
167
- * @example
168
- * low
169
- */
60
+ export declare class DescribePolicyGovernanceInClusterResponseBodyViolationViolationsWarn extends $dara.Model {
61
+ policyDescription?: string;
62
+ policyName?: string;
170
63
  severity?: string;
171
- /**
172
- * @remarks
173
- * The number of alerting events that are triggered.
174
- *
175
- * @example
176
- * 5
177
- */
178
64
  violations?: number;
179
65
  static names(): {
180
66
  [key: string]: string;
@@ -187,17 +73,9 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyTotalViolation
187
73
  [key: string]: any;
188
74
  });
189
75
  }
190
- export declare class DescribePolicyGovernanceInClusterResponseBodyTotalViolations extends $dara.Model {
191
- /**
192
- * @remarks
193
- * Details about the blocking events that are triggered by the policies of each severity level.
194
- */
195
- deny?: DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny;
196
- /**
197
- * @remarks
198
- * Details about the alerting events that are triggered by the policies of each severity level.
199
- */
200
- warn?: DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn;
76
+ export declare class DescribePolicyGovernanceInClusterResponseBodyViolationViolations extends $dara.Model {
77
+ deny?: DescribePolicyGovernanceInClusterResponseBodyViolationViolationsDeny[];
78
+ warn?: DescribePolicyGovernanceInClusterResponseBodyViolationViolationsWarn[];
201
79
  static names(): {
202
80
  [key: string]: string;
203
81
  };
@@ -209,39 +87,70 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyTotalViolation
209
87
  [key: string]: any;
210
88
  });
211
89
  }
212
- export declare class DescribePolicyGovernanceInClusterResponseBodyViolationsDeny extends $dara.Model {
213
- /**
214
- * @remarks
215
- * The policy description.
216
- *
217
- * @example
218
- * Requires container images to begin with a repo string from a specified list.
219
- */
220
- policyDescription?: string;
90
+ export declare class DescribePolicyGovernanceInClusterResponseBodyViolation extends $dara.Model {
91
+ totalViolations?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolations;
92
+ violations?: DescribePolicyGovernanceInClusterResponseBodyViolationViolations;
93
+ static names(): {
94
+ [key: string]: string;
95
+ };
96
+ static types(): {
97
+ [key: string]: any;
98
+ };
99
+ validate(): void;
100
+ constructor(map?: {
101
+ [key: string]: any;
102
+ });
103
+ }
104
+ export declare class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs extends $dara.Model {
105
+ clusterId?: string;
106
+ constraintAction?: string;
107
+ constraintApiVersion?: string;
108
+ constraintCategory?: string;
109
+ constraintGroup?: string;
110
+ constraintKind?: string;
111
+ constraintName?: string;
112
+ eventMsg?: string;
113
+ eventType?: string;
114
+ requestUid?: string;
115
+ requestUserinfo?: string;
116
+ requestUsername?: string;
117
+ resourceKind?: string;
118
+ resourceName?: string;
119
+ time?: string;
120
+ static names(): {
121
+ [key: string]: string;
122
+ };
123
+ static types(): {
124
+ [key: string]: any;
125
+ };
126
+ validate(): void;
127
+ constructor(map?: {
128
+ [key: string]: any;
129
+ });
130
+ }
131
+ export declare class DescribePolicyGovernanceInClusterResponseBodyAdmitLog extends $dara.Model {
221
132
  /**
222
133
  * @remarks
223
- * The policy name.
134
+ * The number of audit log entries.
224
135
  *
225
136
  * @example
226
- * policy-gatekeeper-ackallowedrepos
137
+ * 100
227
138
  */
228
- policyName?: string;
139
+ count?: number;
140
+ logProject?: string;
141
+ logStore?: string;
142
+ logs?: DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs[];
229
143
  /**
230
144
  * @remarks
231
- * The severity level of the policy.
145
+ * The status of the query. Valid values:
232
146
  *
233
- * @example
234
- * high
235
- */
236
- severity?: string;
237
- /**
238
- * @remarks
239
- * The total number of blocking events that are triggered by the policy.
147
+ * * `Complete`: The query succeeded and the complete query result is returned.
148
+ * * `Incomplete`: The query succeeded but the query result is incomplete. To obtain the complete query result, you must repeat the request.
240
149
  *
241
150
  * @example
242
- * 11
151
+ * Complete
243
152
  */
244
- violations?: number;
153
+ progress?: string;
245
154
  static names(): {
246
155
  [key: string]: string;
247
156
  };
@@ -253,23 +162,15 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyViolationsDeny
253
162
  [key: string]: any;
254
163
  });
255
164
  }
256
- export declare class DescribePolicyGovernanceInClusterResponseBodyViolationsWarn extends $dara.Model {
257
- /**
258
- * @remarks
259
- * The policy description.
260
- *
261
- * @example
262
- * Controls Linux capabilities.
263
- */
264
- policyDescription?: string;
165
+ export declare class DescribePolicyGovernanceInClusterResponseBodyOnState extends $dara.Model {
265
166
  /**
266
167
  * @remarks
267
- * The policy name.
168
+ * The number of policies that are enabled.
268
169
  *
269
170
  * @example
270
- * policy-gatekeeper-ackpspcapabilities
171
+ * 3
271
172
  */
272
- policyName?: string;
173
+ enabledCount?: number;
273
174
  /**
274
175
  * @remarks
275
176
  * The severity level of the policy.
@@ -280,34 +181,12 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyViolationsWarn
280
181
  severity?: string;
281
182
  /**
282
183
  * @remarks
283
- * The total number of alerting events that are triggered by the policy.
184
+ * The total number of policies of the severity level.
284
185
  *
285
186
  * @example
286
- * 81
287
- */
288
- violations?: number;
289
- static names(): {
290
- [key: string]: string;
291
- };
292
- static types(): {
293
- [key: string]: any;
294
- };
295
- validate(): void;
296
- constructor(map?: {
297
- [key: string]: any;
298
- });
299
- }
300
- export declare class DescribePolicyGovernanceInClusterResponseBodyViolations extends $dara.Model {
301
- /**
302
- * @remarks
303
- * Details about the blocking events that are triggered by each policy.
304
- */
305
- deny?: DescribePolicyGovernanceInClusterResponseBodyViolationsDeny;
306
- /**
307
- * @remarks
308
- * Details about the alerting events that are triggered by the policies of each severity level.
187
+ * 8
309
188
  */
310
- warn?: DescribePolicyGovernanceInClusterResponseBodyViolationsWarn;
189
+ total?: number;
311
190
  static names(): {
312
191
  [key: string]: string;
313
192
  };
@@ -320,6 +199,7 @@ export declare class DescribePolicyGovernanceInClusterResponseBodyViolations ext
320
199
  });
321
200
  }
322
201
  export declare class DescribePolicyGovernanceInClusterResponseBody extends $dara.Model {
202
+ violation?: DescribePolicyGovernanceInClusterResponseBodyViolation;
323
203
  /**
324
204
  * @remarks
325
205
  * The audit logs of the policies in the cluster.
@@ -330,16 +210,6 @@ export declare class DescribePolicyGovernanceInClusterResponseBody extends $dara
330
210
  * Details about the policies of different severity levels that are enabled for the cluster.
331
211
  */
332
212
  onState?: DescribePolicyGovernanceInClusterResponseBodyOnState[];
333
- /**
334
- * @remarks
335
- * Details about the blocking and alerting events that are triggered by policies of different severity levels.
336
- */
337
- totalViolations?: DescribePolicyGovernanceInClusterResponseBodyTotalViolations;
338
- /**
339
- * @remarks
340
- * Details about the blocking and alerting events that are triggered by different policies.
341
- */
342
- violations?: DescribePolicyGovernanceInClusterResponseBodyViolations;
343
213
  static names(): {
344
214
  [key: string]: string;
345
215
  };