@alicloud/cs20151215 7.2.3 → 7.2.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/dist/client.d.ts +14 -14
- package/dist/client.js +14 -14
- package/dist/models/CreateClusterNodePoolRequest.d.ts +222 -234
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +18 -18
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +19 -9
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -14
- package/src/models/CreateClusterNodePoolRequest.ts +224 -234
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +18 -18
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +21 -9
- package/src/models/Nodepool.ts +152 -202
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name
|
|
8
|
+
* The fault name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Node.FaultNeedReboot.HOST
|
|
@@ -13,7 +13,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Mo
|
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The type
|
|
16
|
+
* The fault type.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* system
|
|
@@ -45,7 +45,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Mo
|
|
|
45
45
|
export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionApprovedLabel extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The key of the label.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* k8s.aliyun.com/incident
|
|
@@ -125,12 +125,12 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventio
|
|
|
125
125
|
export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureIntervention extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The label configuration for authorization confirmation.
|
|
128
|
+
* The label configuration for authorization confirmation. When you add the following label to a node, you authorize ACK to perform the operations in this phase. After completing the operations in this phase, ACK automatically removes the inquiry and confirmation labels for this phase. If you do not add the following label in time, ACK will not perform the operations in this phase and subsequent phases, and the node may remain in a damaged state.
|
|
129
129
|
*/
|
|
130
130
|
approvedLabel?: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionApprovedLabel;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
*
|
|
133
|
+
* Specifies whether manual approval is enabled.
|
|
134
134
|
*
|
|
135
135
|
* @example
|
|
136
136
|
* true
|
|
@@ -138,7 +138,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventio
|
|
|
138
138
|
enable?: boolean;
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The label configuration for authorization inquiry. When this
|
|
141
|
+
* The label configuration for authorization inquiry. When this phase is entered, ACK adds the following label to your node and waits for your authorization to perform the operations in this phase.
|
|
142
142
|
*/
|
|
143
143
|
inquiringLabel?: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionInquiringLabel;
|
|
144
144
|
/**
|
|
@@ -190,7 +190,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedure extends $d
|
|
|
190
190
|
config?: { [key: string]: any };
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The
|
|
193
|
+
* The manual intervention procedure.
|
|
194
194
|
*/
|
|
195
195
|
intervention?: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureIntervention;
|
|
196
196
|
/**
|
|
@@ -235,7 +235,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedure extends $d
|
|
|
235
235
|
export class DescribeAutoRepairPolicyResponseBodyRules extends $dara.Model {
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The list of identified
|
|
238
|
+
* The list of identified faults.
|
|
239
239
|
*/
|
|
240
240
|
incidents?: DescribeAutoRepairPolicyResponseBodyRulesIncidents[];
|
|
241
241
|
/**
|
|
@@ -275,7 +275,7 @@ export class DescribeAutoRepairPolicyResponseBodyRules extends $dara.Model {
|
|
|
275
275
|
export class DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
276
276
|
/**
|
|
277
277
|
* @remarks
|
|
278
|
-
* The self-healing rule
|
|
278
|
+
* The ID of the self-healing rule.
|
|
279
279
|
*
|
|
280
280
|
* @example
|
|
281
281
|
* r-xxx
|
|
@@ -296,7 +296,7 @@ export class DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
|
296
296
|
resourceIds?: string[];
|
|
297
297
|
/**
|
|
298
298
|
* @remarks
|
|
299
|
-
* The subtype
|
|
299
|
+
* The resource subtype bound to the self-healing rule.
|
|
300
300
|
*
|
|
301
301
|
* @example
|
|
302
302
|
* ess
|
|
@@ -304,7 +304,7 @@ export class DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
|
304
304
|
resourceSubType?: string;
|
|
305
305
|
/**
|
|
306
306
|
* @remarks
|
|
307
|
-
* The type
|
|
307
|
+
* The resource type bound to the self-healing rule.
|
|
308
308
|
*
|
|
309
309
|
* @example
|
|
310
310
|
* nodepool
|
|
@@ -315,6 +315,16 @@ export class DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
|
315
315
|
* The list of self-healing sub-rules.
|
|
316
316
|
*/
|
|
317
317
|
rules?: DescribeAutoRepairPolicyResponseBodyRules[];
|
|
318
|
+
/**
|
|
319
|
+
* @remarks
|
|
320
|
+
* The rule type. The value is case-sensitive. Valid values:
|
|
321
|
+
* - custom: user-defined rules that support modification and deletion
|
|
322
|
+
* - builtin: built-in system rules that are read-only and do not support creation, modification, or deletion
|
|
323
|
+
*
|
|
324
|
+
* @example
|
|
325
|
+
* custom
|
|
326
|
+
*/
|
|
327
|
+
type?: string;
|
|
318
328
|
static names(): { [key: string]: string } {
|
|
319
329
|
return {
|
|
320
330
|
id: 'id',
|
|
@@ -323,6 +333,7 @@ export class DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
|
323
333
|
resourceSubType: 'resource_sub_type',
|
|
324
334
|
resourceType: 'resource_type',
|
|
325
335
|
rules: 'rules',
|
|
336
|
+
type: 'type',
|
|
326
337
|
};
|
|
327
338
|
}
|
|
328
339
|
|
|
@@ -334,6 +345,7 @@ export class DescribeAutoRepairPolicyResponseBody extends $dara.Model {
|
|
|
334
345
|
resourceSubType: 'string',
|
|
335
346
|
resourceType: 'string',
|
|
336
347
|
rules: { 'type': 'array', 'itemType': DescribeAutoRepairPolicyResponseBodyRules },
|
|
348
|
+
type: 'string',
|
|
337
349
|
};
|
|
338
350
|
}
|
|
339
351
|
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeClusterUserKubeconfigRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to
|
|
9
|
-
* - `true`:
|
|
10
|
-
* - `false`:
|
|
8
|
+
* Specifies whether to obtain the internal network connection configuration. Valid values:
|
|
9
|
+
* - `true`: obtains only the internal network connection credentials.
|
|
10
|
+
* - `false`: obtains only the public network connection credentials.
|
|
11
11
|
*
|
|
12
12
|
* Default value: `false`.
|
|
13
13
|
*
|
|
@@ -17,7 +17,7 @@ export class DescribeClusterUserKubeconfigRequest extends $dara.Model {
|
|
|
17
17
|
privateIpAddress?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The validity period of the temporary kubeconfig file, in minutes. Valid values: 15
|
|
20
|
+
* The validity period of the temporary kubeconfig file, in minutes. Valid values: 15 to 4320.
|
|
21
21
|
* > If you do not specify this parameter, the system automatically determines a longer validity period. You can determine the specific expiration time based on the value of the `expiration` field in the response.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
@@ -13,7 +13,7 @@ export class DescribeClusterUserKubeconfigResponseBody extends $dara.Model {
|
|
|
13
13
|
config?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The expiration time of the kubeconfig file. The time is displayed in UTC and follows the RFC 3339
|
|
16
|
+
* The expiration time of the kubeconfig file. The time is displayed in UTC and follows the RFC 3339 standard.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 2024-03-10T09:56:17Z
|
|
@@ -85,12 +85,12 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolatio
|
|
|
85
85
|
export class DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolations extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The
|
|
88
|
+
* The summary of interception records.
|
|
89
89
|
*/
|
|
90
90
|
deny?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolationsDeny[];
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The
|
|
93
|
+
* The summary of alert records.
|
|
94
94
|
*/
|
|
95
95
|
warn?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolationsWarn[];
|
|
96
96
|
static names(): { [key: string]: string } {
|
|
@@ -133,7 +133,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationViolationsDen
|
|
|
133
133
|
policyDescription?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The
|
|
136
|
+
* The Policy Name.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
139
|
* ACKNamespacesDeleteProtection
|
|
@@ -193,7 +193,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationViolationsWar
|
|
|
193
193
|
policyDescription?: string;
|
|
194
194
|
/**
|
|
195
195
|
* @remarks
|
|
196
|
-
* The
|
|
196
|
+
* The Policy Name.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* ACKRestrictALBCreation
|
|
@@ -245,12 +245,12 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationViolationsWar
|
|
|
245
245
|
export class DescribePolicyGovernanceInClusterResponseBodyViolationViolations extends $dara.Model {
|
|
246
246
|
/**
|
|
247
247
|
* @remarks
|
|
248
|
-
* The
|
|
248
|
+
* The summary of interception records.
|
|
249
249
|
*/
|
|
250
250
|
deny?: DescribePolicyGovernanceInClusterResponseBodyViolationViolationsDeny[];
|
|
251
251
|
/**
|
|
252
252
|
* @remarks
|
|
253
|
-
* The
|
|
253
|
+
* The summary of alert information.
|
|
254
254
|
*/
|
|
255
255
|
warn?: DescribePolicyGovernanceInClusterResponseBodyViolationViolationsWarn[];
|
|
256
256
|
static names(): { [key: string]: string } {
|
|
@@ -285,12 +285,12 @@ export class DescribePolicyGovernanceInClusterResponseBodyViolationViolations ex
|
|
|
285
285
|
export class DescribePolicyGovernanceInClusterResponseBodyViolation extends $dara.Model {
|
|
286
286
|
/**
|
|
287
287
|
* @remarks
|
|
288
|
-
* The
|
|
288
|
+
* The summary information.
|
|
289
289
|
*/
|
|
290
290
|
totalViolations?: DescribePolicyGovernanceInClusterResponseBodyViolationTotalViolations;
|
|
291
291
|
/**
|
|
292
292
|
* @remarks
|
|
293
|
-
* The violation records
|
|
293
|
+
* The violation records summarized by policy name.
|
|
294
294
|
*/
|
|
295
295
|
violations?: DescribePolicyGovernanceInClusterResponseBodyViolationViolations;
|
|
296
296
|
static names(): { [key: string]: string } {
|
|
@@ -334,8 +334,8 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs extends $
|
|
|
334
334
|
/**
|
|
335
335
|
* @remarks
|
|
336
336
|
* The action taken by the policy. Valid values:
|
|
337
|
-
* - warn:
|
|
338
|
-
* - deny: Intercepts
|
|
337
|
+
* - warn: Generates an alert for the policy violation but does not intercept the request.
|
|
338
|
+
* - deny: Intercepts the request that violates the policy.
|
|
339
339
|
*
|
|
340
340
|
* @example
|
|
341
341
|
* deny
|
|
@@ -367,7 +367,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs extends $
|
|
|
367
367
|
constraintGroup?: string;
|
|
368
368
|
/**
|
|
369
369
|
* @remarks
|
|
370
|
-
* The
|
|
370
|
+
* The corresponding Policy Name in policy management.
|
|
371
371
|
*
|
|
372
372
|
* @example
|
|
373
373
|
* ACKNamespacesDeleteProtection
|
|
@@ -439,7 +439,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs extends $
|
|
|
439
439
|
resourceName?: string;
|
|
440
440
|
/**
|
|
441
441
|
* @remarks
|
|
442
|
-
* The time when the policy
|
|
442
|
+
* The time when the policy was violated. The time is in ISO 8601 format and includes time zone information.
|
|
443
443
|
*
|
|
444
444
|
* @example
|
|
445
445
|
* 2025-10-27T11:31:40Z
|
|
@@ -505,7 +505,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLog extends $dara
|
|
|
505
505
|
count?: number;
|
|
506
506
|
/**
|
|
507
507
|
* @remarks
|
|
508
|
-
* The
|
|
508
|
+
* The log project that stores the policy action information.
|
|
509
509
|
*
|
|
510
510
|
* @example
|
|
511
511
|
* k8s-log-clusterid
|
|
@@ -513,7 +513,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLog extends $dara
|
|
|
513
513
|
logProject?: string;
|
|
514
514
|
/**
|
|
515
515
|
* @remarks
|
|
516
|
-
* The
|
|
516
|
+
* The Logstore that stores the policy action information.
|
|
517
517
|
*
|
|
518
518
|
* @example
|
|
519
519
|
* policyadmit-clusterid
|
|
@@ -521,7 +521,7 @@ export class DescribePolicyGovernanceInClusterResponseBodyAdmitLog extends $dara
|
|
|
521
521
|
logStore?: string;
|
|
522
522
|
/**
|
|
523
523
|
* @remarks
|
|
524
|
-
* The log
|
|
524
|
+
* The log information about policy violations.
|
|
525
525
|
*/
|
|
526
526
|
logs?: DescribePolicyGovernanceInClusterResponseBodyAdmitLogLogs[];
|
|
527
527
|
/**
|
|
@@ -619,17 +619,17 @@ export class DescribePolicyGovernanceInClusterResponseBodyOnState extends $dara.
|
|
|
619
619
|
export class DescribePolicyGovernanceInClusterResponseBody extends $dara.Model {
|
|
620
620
|
/**
|
|
621
621
|
* @remarks
|
|
622
|
-
* The policy violation information
|
|
622
|
+
* The policy violation information summarized by severity level.
|
|
623
623
|
*/
|
|
624
624
|
violation?: DescribePolicyGovernanceInClusterResponseBodyViolation;
|
|
625
625
|
/**
|
|
626
626
|
* @remarks
|
|
627
|
-
* The policy governance audit logs of the cluster.
|
|
627
|
+
* The current policy governance audit logs of the cluster.
|
|
628
628
|
*/
|
|
629
629
|
admitLog?: DescribePolicyGovernanceInClusterResponseBodyAdmitLog;
|
|
630
630
|
/**
|
|
631
631
|
* @remarks
|
|
632
|
-
* The counts of enabled policies at different severity levels in the
|
|
632
|
+
* The counts of enabled policies at different severity levels in the cluster.
|
|
633
633
|
*/
|
|
634
634
|
onState?: DescribePolicyGovernanceInClusterResponseBodyOnState[];
|
|
635
635
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAutoRepairPoliciesResponseBodyItemsRulesIncidents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name of the
|
|
8
|
+
* The name of the incident.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Node.FaultNeedReboot.HOST
|
|
@@ -93,7 +93,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterven
|
|
|
93
93
|
key?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The value of the
|
|
96
|
+
* The value of the taint.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* inquiring
|
|
@@ -125,7 +125,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterven
|
|
|
125
125
|
export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureIntervention extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The label configuration for authorization confirmation.
|
|
128
|
+
* The label configuration for authorization confirmation. When you add the following labels to a node, you authorize ACK to perform operations in this phase. After completing the operations in this phase, ACK automatically removes the inquiry and confirmation labels for this phase. If you do not add the following labels in time, ACK will not perform the actions in this phase and subsequent phases, and the node may remain in a damaged state.
|
|
129
129
|
*/
|
|
130
130
|
approvedLabel?: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionApprovedLabel;
|
|
131
131
|
/**
|
|
@@ -138,7 +138,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterven
|
|
|
138
138
|
enable?: boolean;
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The label configuration for authorization inquiry. When this
|
|
141
|
+
* The label configuration for authorization inquiry. When this phase is entered, ACK adds the following labels to your node and waits for your authorization to perform the actions in this phase.
|
|
142
142
|
*/
|
|
143
143
|
inquiringLabel?: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureInterventionInquiringLabel;
|
|
144
144
|
/**
|
|
@@ -190,7 +190,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedure extends
|
|
|
190
190
|
config?: { [key: string]: any };
|
|
191
191
|
/**
|
|
192
192
|
* @remarks
|
|
193
|
-
* The configuration for the
|
|
193
|
+
* The manual intervention configuration for the procedure.
|
|
194
194
|
*/
|
|
195
195
|
intervention?: ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedureIntervention;
|
|
196
196
|
/**
|
|
@@ -235,7 +235,7 @@ export class ListAutoRepairPoliciesResponseBodyItemsRulesRepairProcedure extends
|
|
|
235
235
|
export class ListAutoRepairPoliciesResponseBodyItemsRules extends $dara.Model {
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The list of identified
|
|
238
|
+
* The list of identified incidents.
|
|
239
239
|
*/
|
|
240
240
|
incidents?: ListAutoRepairPoliciesResponseBodyItemsRulesIncidents[];
|
|
241
241
|
/**
|
|
@@ -296,7 +296,7 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
296
296
|
resourceIds?: string[];
|
|
297
297
|
/**
|
|
298
298
|
* @remarks
|
|
299
|
-
* The subtype
|
|
299
|
+
* The resource subtype bound to the self-healing rule.
|
|
300
300
|
*
|
|
301
301
|
* @example
|
|
302
302
|
* ess
|
|
@@ -304,7 +304,7 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
304
304
|
resourceSubType?: string;
|
|
305
305
|
/**
|
|
306
306
|
* @remarks
|
|
307
|
-
* The type
|
|
307
|
+
* The resource type bound to the self-healing rule.
|
|
308
308
|
*
|
|
309
309
|
* @example
|
|
310
310
|
* nodepool
|
|
@@ -312,9 +312,19 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
312
312
|
resourceType?: string;
|
|
313
313
|
/**
|
|
314
314
|
* @remarks
|
|
315
|
-
* The list of self-healing
|
|
315
|
+
* The list of self-healing sub-rules.
|
|
316
316
|
*/
|
|
317
317
|
rules?: ListAutoRepairPoliciesResponseBodyItemsRules[];
|
|
318
|
+
/**
|
|
319
|
+
* @remarks
|
|
320
|
+
* The rule type. The value is case-sensitive. Valid values:
|
|
321
|
+
* - custom: user-defined rules that support modification and deletion
|
|
322
|
+
* - builtin: built-in system rules that are read-only and do not support creation, modification, or deletion
|
|
323
|
+
*
|
|
324
|
+
* @example
|
|
325
|
+
* custom
|
|
326
|
+
*/
|
|
327
|
+
type?: string;
|
|
318
328
|
static names(): { [key: string]: string } {
|
|
319
329
|
return {
|
|
320
330
|
id: 'id',
|
|
@@ -323,6 +333,7 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
323
333
|
resourceSubType: 'resource_sub_type',
|
|
324
334
|
resourceType: 'resource_type',
|
|
325
335
|
rules: 'rules',
|
|
336
|
+
type: 'type',
|
|
326
337
|
};
|
|
327
338
|
}
|
|
328
339
|
|
|
@@ -334,6 +345,7 @@ export class ListAutoRepairPoliciesResponseBodyItems extends $dara.Model {
|
|
|
334
345
|
resourceSubType: 'string',
|
|
335
346
|
resourceType: 'string',
|
|
336
347
|
rules: { 'type': 'array', 'itemType': ListAutoRepairPoliciesResponseBodyItemsRules },
|
|
348
|
+
type: 'string',
|
|
337
349
|
};
|
|
338
350
|
}
|
|
339
351
|
|