@alicloud/cs20151215 6.5.2 → 6.6.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.
Files changed (69) hide show
  1. package/dist/client.d.ts +36 -18
  2. package/dist/client.js +63 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/Addon.d.ts +16 -1
  5. package/dist/models/Addon.js.map +1 -1
  6. package/dist/models/ContainerdConfig.d.ts +8 -0
  7. package/dist/models/ContainerdConfig.js.map +1 -1
  8. package/dist/models/CreateAutoRepairPolicyRequest.d.ts +0 -51
  9. package/dist/models/CreateAutoRepairPolicyRequest.js +1 -55
  10. package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
  11. package/dist/models/DataDisk.d.ts +71 -0
  12. package/dist/models/DataDisk.js.map +1 -1
  13. package/dist/models/DeleteAlertContactResponse.d.ts +0 -24
  14. package/dist/models/DeleteAlertContactResponse.js.map +1 -1
  15. package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +1 -52
  16. package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -56
  17. package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
  18. package/dist/models/DescribeClusterAddonMetadataRequest.d.ts +7 -0
  19. package/dist/models/DescribeClusterAddonMetadataRequest.js.map +1 -1
  20. package/dist/models/InstancePatterns.d.ts +77 -0
  21. package/dist/models/InstancePatterns.js.map +1 -1
  22. package/dist/models/KubeletConfig.d.ts +127 -0
  23. package/dist/models/KubeletConfig.js.map +1 -1
  24. package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +1 -52
  25. package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -56
  26. package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
  27. package/dist/models/MaintenanceWindow.d.ts +31 -1
  28. package/dist/models/MaintenanceWindow.js.map +1 -1
  29. package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +0 -51
  30. package/dist/models/ModifyAutoRepairPolicyRequest.js +1 -55
  31. package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
  32. package/dist/models/Nodepool.d.ts +508 -10
  33. package/dist/models/Nodepool.js.map +1 -1
  34. package/dist/models/Runtime.d.ts +14 -0
  35. package/dist/models/Runtime.js.map +1 -1
  36. package/dist/models/Tag.d.ts +6 -0
  37. package/dist/models/Tag.js.map +1 -1
  38. package/dist/models/Taint.d.ts +15 -0
  39. package/dist/models/Taint.js.map +1 -1
  40. package/dist/models/UpdateKmsencryptionRequest.d.ts +23 -0
  41. package/dist/models/UpdateKmsencryptionRequest.js +60 -0
  42. package/dist/models/UpdateKmsencryptionRequest.js.map +1 -0
  43. package/dist/models/UpdateKmsencryptionResponse.d.ts +17 -0
  44. package/dist/models/UpdateKmsencryptionResponse.js +63 -0
  45. package/dist/models/UpdateKmsencryptionResponse.js.map +1 -0
  46. package/dist/models/model.d.ts +2 -8
  47. package/dist/models/model.js +50 -62
  48. package/dist/models/model.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/client.ts +67 -18
  51. package/src/models/Addon.ts +16 -1
  52. package/src/models/ContainerdConfig.ts +8 -0
  53. package/src/models/CreateAutoRepairPolicyRequest.ts +0 -87
  54. package/src/models/DataDisk.ts +71 -0
  55. package/src/models/DeleteAlertContactResponse.ts +0 -24
  56. package/src/models/DescribeAutoRepairPolicyResponseBody.ts +2 -89
  57. package/src/models/DescribeClusterAddonMetadataRequest.ts +7 -0
  58. package/src/models/InstancePatterns.ts +77 -0
  59. package/src/models/KubeletConfig.ts +127 -0
  60. package/src/models/ListAutoRepairPoliciesResponseBody.ts +2 -89
  61. package/src/models/MaintenanceWindow.ts +31 -1
  62. package/src/models/ModifyAutoRepairPolicyRequest.ts +0 -87
  63. package/src/models/Nodepool.ts +508 -10
  64. package/src/models/Runtime.ts +14 -0
  65. package/src/models/Tag.ts +6 -0
  66. package/src/models/Taint.ts +15 -0
  67. package/src/models/UpdateKmsencryptionRequest.ts +38 -0
  68. package/src/models/UpdateKmsencryptionResponse.ts +33 -0
  69. package/src/models/model.ts +2 -8
@@ -4,26 +4,56 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class MaintenanceWindow extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The duration of the cluster maintenance window.
9
+ *
10
+ * Valid values: 1 to 24.
11
+ *
12
+ * Unit: hours.
13
+ *
14
+ * Default value: 3.
15
+ *
7
16
  * @example
8
17
  * 3h
9
18
  */
10
19
  duration?: string;
11
20
  /**
21
+ * @remarks
22
+ * Specifies whether to enable the cluster maintenance window. Valid values:
23
+ *
24
+ * * `true`: enables the cluster maintenance window.
25
+ * * `false`: disables the cluster maintenance window.
26
+ *
27
+ * Default value: `false`.
28
+ *
12
29
  * @example
13
30
  * false
14
31
  */
15
32
  enable?: boolean;
16
33
  /**
34
+ * @remarks
35
+ * The start time of the cluster maintenance window. The value follows a standard time format in Golang. Example: 15:04:05Z.
36
+ *
17
37
  * @example
18
- * 2020-10-15T12:31:00.000+08:00
38
+ * 03:00:00Z
19
39
  */
20
40
  maintenanceTime?: string;
21
41
  /**
42
+ * @remarks
43
+ * Defines a maintenance window recurrence rule by using the RFC5545 recurrence rule. Currently, only FREQ=WEEKLY is supported, and you cannot specify COUNT or UNTIL.
44
+ *
22
45
  * @example
23
46
  * FREQ=WEEKLY;INTERVAL=4;BYDAY=MO,TU
24
47
  */
25
48
  recurrence?: string;
26
49
  /**
50
+ * @remarks
51
+ * The day of the week when maintenance is performed. Separate multiple days with commas (,).
52
+ *
53
+ * Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.
54
+ *
55
+ * Default value: `Thursday`.
56
+ *
27
57
  * @example
28
58
  * Monday,Thursday
29
59
  */
@@ -2,84 +2,7 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- export class ModifyAutoRepairPolicyRequestRulesIncidentsConditions extends $dara.Model {
6
- /**
7
- * @example
8
- * xxx
9
- */
10
- reason?: string;
11
- /**
12
- * @example
13
- * False
14
- */
15
- status?: string;
16
- /**
17
- * @example
18
- * KubeletReady
19
- */
20
- type?: string;
21
- static names(): { [key: string]: string } {
22
- return {
23
- reason: 'reason',
24
- status: 'status',
25
- type: 'type',
26
- };
27
- }
28
-
29
- static types(): { [key: string]: any } {
30
- return {
31
- reason: 'string',
32
- status: 'string',
33
- type: 'string',
34
- };
35
- }
36
-
37
- validate() {
38
- super.validate();
39
- }
40
-
41
- constructor(map?: { [key: string]: any }) {
42
- super(map);
43
- }
44
- }
45
-
46
- export class ModifyAutoRepairPolicyRequestRulesIncidentsEvents extends $dara.Model {
47
- /**
48
- * @example
49
- * xxx
50
- */
51
- reason?: string;
52
- /**
53
- * @example
54
- * xxx
55
- */
56
- type?: string;
57
- static names(): { [key: string]: string } {
58
- return {
59
- reason: 'reason',
60
- type: 'type',
61
- };
62
- }
63
-
64
- static types(): { [key: string]: any } {
65
- return {
66
- reason: 'string',
67
- type: 'string',
68
- };
69
- }
70
-
71
- validate() {
72
- super.validate();
73
- }
74
-
75
- constructor(map?: { [key: string]: any }) {
76
- super(map);
77
- }
78
- }
79
-
80
5
  export class ModifyAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
81
- conditions?: ModifyAutoRepairPolicyRequestRulesIncidentsConditions[];
82
- events?: ModifyAutoRepairPolicyRequestRulesIncidentsEvents[];
83
6
  /**
84
7
  * @example
85
8
  * Node.FaultNeedReboot.HOST
@@ -92,8 +15,6 @@ export class ModifyAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
92
15
  type?: string;
93
16
  static names(): { [key: string]: string } {
94
17
  return {
95
- conditions: 'conditions',
96
- events: 'events',
97
18
  name: 'name',
98
19
  type: 'type',
99
20
  };
@@ -101,20 +22,12 @@ export class ModifyAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
101
22
 
102
23
  static types(): { [key: string]: any } {
103
24
  return {
104
- conditions: { 'type': 'array', 'itemType': ModifyAutoRepairPolicyRequestRulesIncidentsConditions },
105
- events: { 'type': 'array', 'itemType': ModifyAutoRepairPolicyRequestRulesIncidentsEvents },
106
25
  name: 'string',
107
26
  type: 'string',
108
27
  };
109
28
  }
110
29
 
111
30
  validate() {
112
- if(Array.isArray(this.conditions)) {
113
- $dara.Model.validateArray(this.conditions);
114
- }
115
- if(Array.isArray(this.events)) {
116
- $dara.Model.validateArray(this.events);
117
- }
118
31
  super.validate();
119
32
  }
120
33