@alicloud/cs20151215 6.5.2 → 6.6.1

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 (130) hide show
  1. package/dist/client.d.ts +48 -30
  2. package/dist/client.js +99 -30
  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/CreateTemplateResponseBody.d.ts +1 -1
  12. package/dist/models/DataDisk.d.ts +71 -0
  13. package/dist/models/DataDisk.js.map +1 -1
  14. package/dist/models/DeleteAlertContactResponse.d.ts +0 -24
  15. package/dist/models/DeleteAlertContactResponse.js.map +1 -1
  16. package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +1 -52
  17. package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -56
  18. package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
  19. package/dist/models/DescribeClusterAddonMetadataRequest.d.ts +7 -0
  20. package/dist/models/DescribeClusterAddonMetadataRequest.js.map +1 -1
  21. package/dist/models/DescribeClusterEventsRequest.d.ts +2 -0
  22. package/dist/models/DescribeClusterEventsRequest.js +4 -0
  23. package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
  24. package/dist/models/DescribeClusterEventsResponseBody.d.ts +1 -0
  25. package/dist/models/DescribeClusterEventsResponseBody.js +2 -0
  26. package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
  27. package/dist/models/DescribeClusterTasksRequest.d.ts +2 -0
  28. package/dist/models/DescribeClusterTasksRequest.js +4 -0
  29. package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
  30. package/dist/models/DescribeClusterTasksResponseBody.d.ts +1 -0
  31. package/dist/models/DescribeClusterTasksResponseBody.js +2 -0
  32. package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
  33. package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -0
  34. package/dist/models/DescribeEventsForRegionRequest.js +4 -0
  35. package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
  36. package/dist/models/DescribeEventsForRegionResponseBody.d.ts +1 -0
  37. package/dist/models/DescribeEventsForRegionResponseBody.js +2 -0
  38. package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
  39. package/dist/models/DescribeEventsRequest.d.ts +2 -0
  40. package/dist/models/DescribeEventsRequest.js +4 -0
  41. package/dist/models/DescribeEventsRequest.js.map +1 -1
  42. package/dist/models/DescribeEventsResponseBody.d.ts +8 -4
  43. package/dist/models/DescribeEventsResponseBody.js +2 -0
  44. package/dist/models/DescribeEventsResponseBody.js.map +1 -1
  45. package/dist/models/DescribeRegionsRequest.d.ts +27 -0
  46. package/dist/models/DescribeRegionsRequest.js.map +1 -1
  47. package/dist/models/DescribeRegionsResponseBody.d.ts +17 -0
  48. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  49. package/dist/models/InstallNodePoolComponentsRequest.d.ts +34 -0
  50. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  51. package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +9 -0
  52. package/dist/models/InstallNodePoolComponentsResponseBody.js.map +1 -1
  53. package/dist/models/InstancePatterns.d.ts +77 -0
  54. package/dist/models/InstancePatterns.js.map +1 -1
  55. package/dist/models/KubeletConfig.d.ts +127 -0
  56. package/dist/models/KubeletConfig.js.map +1 -1
  57. package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +1 -52
  58. package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -56
  59. package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
  60. package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +35 -0
  61. package/dist/models/ListClusterAddonInstanceResourcesResponseBody.js.map +1 -1
  62. package/dist/models/ListTagResourcesResponseBody.d.ts +3 -3
  63. package/dist/models/MaintenanceWindow.d.ts +31 -1
  64. package/dist/models/MaintenanceWindow.js.map +1 -1
  65. package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +0 -51
  66. package/dist/models/ModifyAutoRepairPolicyRequest.js +1 -55
  67. package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
  68. package/dist/models/Nodepool.d.ts +508 -10
  69. package/dist/models/Nodepool.js.map +1 -1
  70. package/dist/models/Runtime.d.ts +14 -0
  71. package/dist/models/Runtime.js.map +1 -1
  72. package/dist/models/Tag.d.ts +6 -0
  73. package/dist/models/Tag.js.map +1 -1
  74. package/dist/models/TagResourcesResponseBody.d.ts +1 -1
  75. package/dist/models/Taint.d.ts +15 -0
  76. package/dist/models/Taint.js.map +1 -1
  77. package/dist/models/UntagResourcesResponseBody.d.ts +1 -1
  78. package/dist/models/UpdateKmsencryptionRequest.d.ts +39 -0
  79. package/dist/models/UpdateKmsencryptionRequest.js +60 -0
  80. package/dist/models/UpdateKmsencryptionRequest.js.map +1 -0
  81. package/dist/models/UpdateKmsencryptionResponse.d.ts +17 -0
  82. package/dist/models/UpdateKmsencryptionResponse.js +63 -0
  83. package/dist/models/UpdateKmsencryptionResponse.js.map +1 -0
  84. package/dist/models/UpdateNodePoolComponentRequest.d.ts +35 -0
  85. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  86. package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +6 -0
  87. package/dist/models/UpdateNodePoolComponentResponseBody.js.map +1 -1
  88. package/dist/models/model.d.ts +2 -8
  89. package/dist/models/model.js +50 -62
  90. package/dist/models/model.js.map +1 -1
  91. package/package.json +1 -1
  92. package/src/client.ts +111 -30
  93. package/src/models/Addon.ts +16 -1
  94. package/src/models/ContainerdConfig.ts +8 -0
  95. package/src/models/CreateAutoRepairPolicyRequest.ts +0 -87
  96. package/src/models/CreateTemplateResponseBody.ts +1 -1
  97. package/src/models/DataDisk.ts +71 -0
  98. package/src/models/DeleteAlertContactResponse.ts +0 -24
  99. package/src/models/DescribeAutoRepairPolicyResponseBody.ts +2 -89
  100. package/src/models/DescribeClusterAddonMetadataRequest.ts +7 -0
  101. package/src/models/DescribeClusterEventsRequest.ts +6 -0
  102. package/src/models/DescribeClusterEventsResponseBody.ts +3 -0
  103. package/src/models/DescribeClusterTasksRequest.ts +6 -0
  104. package/src/models/DescribeClusterTasksResponseBody.ts +3 -0
  105. package/src/models/DescribeEventsForRegionRequest.ts +6 -0
  106. package/src/models/DescribeEventsForRegionResponseBody.ts +3 -0
  107. package/src/models/DescribeEventsRequest.ts +6 -0
  108. package/src/models/DescribeEventsResponseBody.ts +10 -4
  109. package/src/models/DescribeRegionsRequest.ts +27 -0
  110. package/src/models/DescribeRegionsResponseBody.ts +17 -0
  111. package/src/models/InstallNodePoolComponentsRequest.ts +34 -0
  112. package/src/models/InstallNodePoolComponentsResponseBody.ts +9 -0
  113. package/src/models/InstancePatterns.ts +77 -0
  114. package/src/models/KubeletConfig.ts +127 -0
  115. package/src/models/ListAutoRepairPoliciesResponseBody.ts +2 -89
  116. package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +35 -0
  117. package/src/models/ListTagResourcesResponseBody.ts +3 -3
  118. package/src/models/MaintenanceWindow.ts +31 -1
  119. package/src/models/ModifyAutoRepairPolicyRequest.ts +0 -87
  120. package/src/models/Nodepool.ts +508 -10
  121. package/src/models/Runtime.ts +14 -0
  122. package/src/models/Tag.ts +6 -0
  123. package/src/models/TagResourcesResponseBody.ts +1 -1
  124. package/src/models/Taint.ts +15 -0
  125. package/src/models/UntagResourcesResponseBody.ts +1 -1
  126. package/src/models/UpdateKmsencryptionRequest.ts +54 -0
  127. package/src/models/UpdateKmsencryptionResponse.ts +33 -0
  128. package/src/models/UpdateNodePoolComponentRequest.ts +35 -0
  129. package/src/models/UpdateNodePoolComponentResponseBody.ts +6 -0
  130. package/src/models/model.ts +2 -8
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DataDisk extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Specifies whether to automatically mount the data disk.
9
+ *
7
10
  * @example
8
11
  * true
9
12
  *
@@ -11,36 +14,80 @@ export class DataDisk extends $dara.Model {
11
14
  */
12
15
  autoFormat?: boolean;
13
16
  /**
17
+ * @remarks
18
+ * The ID of the automatic snapshot policy. The system performs automatic backup for a cloud disk based on the specified automatic snapshot policy.
19
+ *
20
+ * By default, this parameter is empty, which indicates that automatic backup is disabled.
21
+ *
14
22
  * @example
15
23
  * sp-2zej1nogjvovnz4z****
16
24
  */
17
25
  autoSnapshotPolicyId?: string;
18
26
  /**
27
+ * @remarks
28
+ * Specifies whether to enable the burst feature for the data disk. Valid values:
29
+ *
30
+ * * `true`: enables the burst feature.
31
+ * * `false`: disables the burst feature for the data disk.
32
+ *
33
+ * This parameter is available only if `DiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
34
+ *
19
35
  * @example
20
36
  * true
21
37
  */
22
38
  burstingEnabled?: boolean;
23
39
  /**
40
+ * @remarks
41
+ * The category of data disk. Valid values:
42
+ *
43
+ * * `cloud`: basic disk.
44
+ * * `cloud_efficiency`: ultra disk
45
+ * * `cloud_ssd`: standard SSD.
46
+ * * `cloud_essd`: Enterprise ESSD (ESSD).
47
+ * * `cloud_auto`: ESSD AutoPL disk.
48
+ * * `cloud_essd_entry`: ESSD Entry disk.
49
+ * * `elastic_ephemeral_disk_premium`: premium elastic ephemeral disk.
50
+ * * `elastic_ephemeral_disk_standard`: standard elastic ephemeral disk.
51
+ *
52
+ * Default value: `cloud_efficiency`.
53
+ *
24
54
  * @example
25
55
  * cloud_ssd
26
56
  */
27
57
  category?: string;
28
58
  /**
59
+ * @remarks
60
+ * The mount target of the data disk. If you do not specify this parameter, the system automatically assigns a mount target when you create an Elastic Compute Service (ECS) instance. Valid values: /dev/xvdb to /dev/xvdz.
61
+ *
29
62
  * @example
30
63
  * /dev/xvdb
31
64
  */
32
65
  device?: string;
33
66
  /**
67
+ * @remarks
68
+ * The data disk name. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
69
+ *
34
70
  * @example
35
71
  * DataDiskName
36
72
  */
37
73
  diskName?: string;
38
74
  /**
75
+ * @remarks
76
+ * Specifies whether to encrypt the data disk. Valid values:
77
+ *
78
+ * * `true`: encrypts the data disk.
79
+ * * `false`: does not encrypt the data disk.
80
+ *
81
+ * Default value: `false`.
82
+ *
39
83
  * @example
40
84
  * true
41
85
  */
42
86
  encrypted?: string;
43
87
  /**
88
+ * @remarks
89
+ * The file system that is mounted. This parameter takes effect only if auto_format is set to true. Valid values: ext4 and xfs.
90
+ *
44
91
  * @example
45
92
  * ext4
46
93
  *
@@ -48,11 +95,17 @@ export class DataDisk extends $dara.Model {
48
95
  */
49
96
  fileSystem?: string;
50
97
  /**
98
+ * @remarks
99
+ * The ID of the Key Management Service (KMS) key that is used to encrypt the data disk.
100
+ *
51
101
  * @example
52
102
  * 0e478b7a-4262-4802-b8cb-00d3fb40****
53
103
  */
54
104
  kmsKeyId?: string;
55
105
  /**
106
+ * @remarks
107
+ * The path to which the data disk is mounted. You must specify a valid path.
108
+ *
56
109
  * @example
57
110
  * /mnt/path1
58
111
  *
@@ -60,21 +113,39 @@ export class DataDisk extends $dara.Model {
60
113
  */
61
114
  mountTarget?: string;
62
115
  /**
116
+ * @remarks
117
+ * The performance level (PL) of the data disk. This parameter takes effect only for an ESSD. This parameter is related to the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
118
+ *
63
119
  * @example
64
120
  * PL1
65
121
  */
66
122
  performanceLevel?: string;
67
123
  /**
124
+ * @remarks
125
+ * The preset IOPS of the data disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
126
+ *
127
+ * This parameter is available only if `DiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
128
+ *
68
129
  * @example
69
130
  * 1000
70
131
  */
71
132
  provisionedIops?: number;
72
133
  /**
134
+ * @remarks
135
+ * The size of the data disk. Unit: GiB.
136
+ *
137
+ * Valid values: 40 to 32768.
138
+ *
139
+ * Default value: `120`.
140
+ *
73
141
  * @example
74
142
  * 40
75
143
  */
76
144
  size?: number;
77
145
  /**
146
+ * @remarks
147
+ * The ID of the snapshot that you want to use to create the data disk. If this parameter is specified, the specified size of the data disk is ignored. The size of the disk equals the size of the specified snapshot. If the snapshot was created on or before July 15, 2013, the API request is rejected and the InvalidSnapshot.TooOld message is returned.
148
+ *
78
149
  * @example
79
150
  * s-280s7****
80
151
  */
@@ -3,32 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DeleteAlertContactResponseBodyResult extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The deletion status.
9
- *
10
- * * true: The alert contact was deleted.
11
- * * false: The alert contact failed to be deleted.
12
- *
13
- * @example
14
- * true
15
- */
16
6
  status?: boolean;
17
- /**
18
- * @remarks
19
- * The error message returned if the call fails.
20
- *
21
- * @example
22
- * Delete contact resource failed.
23
- */
24
7
  msg?: string;
25
- /**
26
- * @remarks
27
- * An alert contact ID.
28
- *
29
- * @example
30
- * 12345
31
- */
32
8
  contactId?: string;
33
9
  static names(): { [key: string]: string } {
34
10
  return {
@@ -2,84 +2,7 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- export class DescribeAutoRepairPolicyResponseBodyRulesIncidentsConditions extends $dara.Model {
6
- /**
7
- * @example
8
- * xxxx
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 DescribeAutoRepairPolicyResponseBodyRulesIncidentsEvents extends $dara.Model {
47
- /**
48
- * @example
49
- * xxxx
50
- */
51
- reason?: string;
52
- /**
53
- * @example
54
- * xxxx
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 DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Model {
81
- conditions?: DescribeAutoRepairPolicyResponseBodyRulesIncidentsConditions[];
82
- events?: DescribeAutoRepairPolicyResponseBodyRulesIncidentsEvents[];
83
6
  /**
84
7
  * @example
85
8
  * Node.FaultNeedReboot.HOST
@@ -92,8 +15,6 @@ export class DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Mo
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 DescribeAutoRepairPolicyResponseBodyRulesIncidents extends $dara.Mo
101
22
 
102
23
  static types(): { [key: string]: any } {
103
24
  return {
104
- conditions: { 'type': 'array', 'itemType': DescribeAutoRepairPolicyResponseBodyRulesIncidentsConditions },
105
- events: { 'type': 'array', 'itemType': DescribeAutoRepairPolicyResponseBodyRulesIncidentsEvents },
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
 
@@ -197,7 +110,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventio
197
110
  * @example
198
111
  * true
199
112
  */
200
- enable?: string;
113
+ enable?: boolean;
201
114
  inquiringLabel?: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionInquiringLabel;
202
115
  /**
203
116
  * @example
@@ -216,7 +129,7 @@ export class DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventio
216
129
  static types(): { [key: string]: any } {
217
130
  return {
218
131
  approvedLabel: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionApprovedLabel,
219
- enable: 'string',
132
+ enable: 'boolean',
220
133
  inquiringLabel: DescribeAutoRepairPolicyResponseBodyRulesRepairProcedureInterventionInquiringLabel,
221
134
  type: 'string',
222
135
  };
@@ -3,6 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeClusterAddonMetadataRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The component version.
9
+ *
10
+ * @example
11
+ * 1.8.4.1
12
+ */
6
13
  version?: string;
7
14
  static names(): { [key: string]: string } {
8
15
  return {
@@ -3,6 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeClusterEventsRequest extends $dara.Model {
6
+ maxResults?: number;
7
+ nextToken?: string;
6
8
  /**
7
9
  * @remarks
8
10
  * The number of the page to return.
@@ -29,6 +31,8 @@ export class DescribeClusterEventsRequest extends $dara.Model {
29
31
  taskId?: string;
30
32
  static names(): { [key: string]: string } {
31
33
  return {
34
+ maxResults: 'max_results',
35
+ nextToken: 'next_token',
32
36
  pageNumber: 'page_number',
33
37
  pageSize: 'page_size',
34
38
  taskId: 'task_id',
@@ -37,6 +41,8 @@ export class DescribeClusterEventsRequest extends $dara.Model {
37
41
 
38
42
  static types(): { [key: string]: any } {
39
43
  return {
44
+ maxResults: 'number',
45
+ nextToken: 'string',
40
46
  pageNumber: 'number',
41
47
  pageSize: 'number',
42
48
  taskId: 'string',
@@ -224,6 +224,7 @@ export class DescribeClusterEventsResponseBody extends $dara.Model {
224
224
  * The list of events.
225
225
  */
226
226
  events?: DescribeClusterEventsResponseBodyEvents[];
227
+ nextToken?: string;
227
228
  /**
228
229
  * @remarks
229
230
  * The pagination information.
@@ -232,6 +233,7 @@ export class DescribeClusterEventsResponseBody extends $dara.Model {
232
233
  static names(): { [key: string]: string } {
233
234
  return {
234
235
  events: 'events',
236
+ nextToken: 'next_token',
235
237
  pageInfo: 'page_info',
236
238
  };
237
239
  }
@@ -239,6 +241,7 @@ export class DescribeClusterEventsResponseBody extends $dara.Model {
239
241
  static types(): { [key: string]: any } {
240
242
  return {
241
243
  events: { 'type': 'array', 'itemType': DescribeClusterEventsResponseBodyEvents },
244
+ nextToken: 'string',
242
245
  pageInfo: DescribeClusterEventsResponseBodyPageInfo,
243
246
  };
244
247
  }
@@ -3,6 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeClusterTasksRequest extends $dara.Model {
6
+ maxResults?: number;
7
+ nextToken?: string;
6
8
  /**
7
9
  * @remarks
8
10
  * The page number.
@@ -21,6 +23,8 @@ export class DescribeClusterTasksRequest extends $dara.Model {
21
23
  pageSize?: number;
22
24
  static names(): { [key: string]: string } {
23
25
  return {
26
+ maxResults: 'max_results',
27
+ nextToken: 'next_token',
24
28
  pageNumber: 'page_number',
25
29
  pageSize: 'page_size',
26
30
  };
@@ -28,6 +32,8 @@ export class DescribeClusterTasksRequest extends $dara.Model {
28
32
 
29
33
  static types(): { [key: string]: any } {
30
34
  return {
35
+ maxResults: 'number',
36
+ nextToken: 'string',
31
37
  pageNumber: 'number',
32
38
  pageSize: 'number',
33
39
  };
@@ -173,6 +173,7 @@ export class DescribeClusterTasksResponseBodyTasks extends $dara.Model {
173
173
  }
174
174
 
175
175
  export class DescribeClusterTasksResponseBody extends $dara.Model {
176
+ nextToken?: string;
176
177
  /**
177
178
  * @remarks
178
179
  * The pagination information.
@@ -193,6 +194,7 @@ export class DescribeClusterTasksResponseBody extends $dara.Model {
193
194
  tasks?: DescribeClusterTasksResponseBodyTasks[];
194
195
  static names(): { [key: string]: string } {
195
196
  return {
197
+ nextToken: 'next_token',
196
198
  pageInfo: 'page_info',
197
199
  requestId: 'requestId',
198
200
  tasks: 'tasks',
@@ -201,6 +203,7 @@ export class DescribeClusterTasksResponseBody extends $dara.Model {
201
203
 
202
204
  static types(): { [key: string]: any } {
203
205
  return {
206
+ nextToken: 'string',
204
207
  pageInfo: DescribeClusterTasksResponseBodyPageInfo,
205
208
  requestId: 'string',
206
209
  tasks: { 'type': 'array', 'itemType': DescribeClusterTasksResponseBodyTasks },
@@ -11,6 +11,8 @@ export class DescribeEventsForRegionRequest extends $dara.Model {
11
11
  * cf62854ac2130470897be7a27ed1f****
12
12
  */
13
13
  clusterId?: string;
14
+ maxResults?: number;
15
+ nextToken?: string;
14
16
  /**
15
17
  * @remarks
16
18
  * The number of pages.
@@ -30,6 +32,8 @@ export class DescribeEventsForRegionRequest extends $dara.Model {
30
32
  static names(): { [key: string]: string } {
31
33
  return {
32
34
  clusterId: 'cluster_id',
35
+ maxResults: 'max_results',
36
+ nextToken: 'next_token',
33
37
  pageNumber: 'page_number',
34
38
  pageSize: 'page_size',
35
39
  };
@@ -38,6 +42,8 @@ export class DescribeEventsForRegionRequest extends $dara.Model {
38
42
  static types(): { [key: string]: any } {
39
43
  return {
40
44
  clusterId: 'string',
45
+ maxResults: 'number',
46
+ nextToken: 'string',
41
47
  pageNumber: 'number',
42
48
  pageSize: 'number',
43
49
  };
@@ -195,6 +195,7 @@ export class DescribeEventsForRegionResponseBody extends $dara.Model {
195
195
  * The events.
196
196
  */
197
197
  events?: DescribeEventsForRegionResponseBodyEvents[];
198
+ nextToken?: string;
198
199
  /**
199
200
  * @remarks
200
201
  * The pagination details.
@@ -203,6 +204,7 @@ export class DescribeEventsForRegionResponseBody extends $dara.Model {
203
204
  static names(): { [key: string]: string } {
204
205
  return {
205
206
  events: 'events',
207
+ nextToken: 'next_token',
206
208
  pageInfo: 'page_info',
207
209
  };
208
210
  }
@@ -210,6 +212,7 @@ export class DescribeEventsForRegionResponseBody extends $dara.Model {
210
212
  static types(): { [key: string]: any } {
211
213
  return {
212
214
  events: { 'type': 'array', 'itemType': DescribeEventsForRegionResponseBodyEvents },
215
+ nextToken: 'string',
213
216
  pageInfo: DescribeEventsForRegionResponseBodyPageInfo,
214
217
  };
215
218
  }
@@ -11,6 +11,8 @@ export class DescribeEventsRequest extends $dara.Model {
11
11
  * cf62854ac2130470897be7a27ed1f****
12
12
  */
13
13
  clusterId?: string;
14
+ maxResults?: number;
15
+ nextToken?: string;
14
16
  /**
15
17
  * @remarks
16
18
  * The page number.
@@ -55,6 +57,8 @@ export class DescribeEventsRequest extends $dara.Model {
55
57
  static names(): { [key: string]: string } {
56
58
  return {
57
59
  clusterId: 'cluster_id',
60
+ maxResults: 'max_results',
61
+ nextToken: 'next_token',
58
62
  pageNumber: 'page_number',
59
63
  pageSize: 'page_size',
60
64
  type: 'type',
@@ -64,6 +68,8 @@ export class DescribeEventsRequest extends $dara.Model {
64
68
  static types(): { [key: string]: any } {
65
69
  return {
66
70
  clusterId: 'string',
71
+ maxResults: 'number',
72
+ nextToken: 'string',
67
73
  pageNumber: 'number',
68
74
  pageSize: 'number',
69
75
  type: 'string',
@@ -62,7 +62,7 @@ export class DescribeEventsResponseBodyEvents extends $dara.Model {
62
62
  * The ID of the cluster.
63
63
  *
64
64
  * @example
65
- * cluster-id
65
+ * cf62854ac2130470897be7a27ed1f****
66
66
  */
67
67
  clusterId?: string;
68
68
  /**
@@ -75,12 +75,15 @@ export class DescribeEventsResponseBodyEvents extends $dara.Model {
75
75
  * The event ID.
76
76
  *
77
77
  * @example
78
- * A234-1234-1234
78
+ * e-dba703c8-953b-40d8-82e8-cb713590****
79
79
  */
80
80
  eventId?: string;
81
81
  /**
82
82
  * @remarks
83
83
  * The source of the event.
84
+ *
85
+ * @example
86
+ * task
84
87
  */
85
88
  source?: string;
86
89
  /**
@@ -88,7 +91,7 @@ export class DescribeEventsResponseBodyEvents extends $dara.Model {
88
91
  * The subject of the event.
89
92
  *
90
93
  * @example
91
- * nodePool-id
94
+ * np6a5c86f4ecae436f8f4a3dc034a7****
92
95
  */
93
96
  subject?: string;
94
97
  /**
@@ -96,7 +99,7 @@ export class DescribeEventsResponseBodyEvents extends $dara.Model {
96
99
  * The time when the event started.
97
100
  *
98
101
  * @example
99
- * 2022-11-23T20:48:01+08:00
102
+ * 2025-04-23T20:48:01+08:00
100
103
  */
101
104
  time?: string;
102
105
  /**
@@ -216,6 +219,7 @@ export class DescribeEventsResponseBody extends $dara.Model {
216
219
  * The details of the events.
217
220
  */
218
221
  events?: DescribeEventsResponseBodyEvents[];
222
+ nextToken?: string;
219
223
  /**
220
224
  * @remarks
221
225
  * The pagination information.
@@ -224,6 +228,7 @@ export class DescribeEventsResponseBody extends $dara.Model {
224
228
  static names(): { [key: string]: string } {
225
229
  return {
226
230
  events: 'events',
231
+ nextToken: 'next_token',
227
232
  pageInfo: 'page_info',
228
233
  };
229
234
  }
@@ -231,6 +236,7 @@ export class DescribeEventsResponseBody extends $dara.Model {
231
236
  static types(): { [key: string]: any } {
232
237
  return {
233
238
  events: { 'type': 'array', 'itemType': DescribeEventsResponseBodyEvents },
239
+ nextToken: 'string',
234
240
  pageInfo: DescribeEventsResponseBodyPageInfo,
235
241
  };
236
242
  }
@@ -4,16 +4,43 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeRegionsRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The language in which the results are returned.
9
+ *
10
+ * Valid values:
11
+ *
12
+ * * zh-CN
13
+ * * en-US
14
+ *
7
15
  * @example
8
16
  * zh-CN
9
17
  */
10
18
  acceptLanguage?: string;
11
19
  /**
20
+ * @remarks
21
+ * The type of the cluster.
22
+ *
23
+ * Valid values:
24
+ *
25
+ * * ExternalKubernetes: registered clusters.
26
+ * * ManagedKubernetes: managed clusters.
27
+ * * Kubernetes: dedicated clusters.
28
+ *
12
29
  * @example
13
30
  * ManagedKubernetes
14
31
  */
15
32
  clusterType?: string;
16
33
  /**
34
+ * @remarks
35
+ * The subtype of the managed cluster.
36
+ *
37
+ * Valid values:
38
+ *
39
+ * * Lingjun: ACK Lingjun clusters.
40
+ * * Serverless: ACK serverless clusters.
41
+ * * Default: ACK managed clusters.
42
+ * * Edge: ACK Edge clusters.
43
+ *
17
44
  * @example
18
45
  * Default
19
46
  */
@@ -3,8 +3,18 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeRegionsResponseBodyRegions extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the region.
9
+ *
10
+ * @example
11
+ * 华东1(杭州)
12
+ */
6
13
  localName?: string;
7
14
  /**
15
+ * @remarks
16
+ * The ID of the region.
17
+ *
8
18
  * @example
9
19
  * cn-hangzhou
10
20
  */
@@ -33,8 +43,15 @@ export class DescribeRegionsResponseBodyRegions extends $dara.Model {
33
43
  }
34
44
 
35
45
  export class DescribeRegionsResponseBody extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * A list of available regions.
49
+ */
36
50
  regions?: DescribeRegionsResponseBodyRegions[];
37
51
  /**
52
+ * @remarks
53
+ * The unique ID of the request.
54
+ *
38
55
  * @example
39
56
  * CE0F23E3-C5F5-5FB3-AA9F-134093C49C60
40
57
  */