@alicloud/cs20151215 4.8.2 → 4.8.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 +129 -0
- package/dist/client.js +156 -9
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +213 -2
package/dist/client.d.ts
CHANGED
|
@@ -155,6 +155,7 @@ export declare class InstancePatterns extends $tea.Model {
|
|
|
155
155
|
}
|
|
156
156
|
export declare class KubeletConfig extends $tea.Model {
|
|
157
157
|
allowedUnsafeSysctls?: string[];
|
|
158
|
+
clusterDNS?: string[];
|
|
158
159
|
/**
|
|
159
160
|
* @example
|
|
160
161
|
* 5
|
|
@@ -165,6 +166,16 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
165
166
|
* 10Mi
|
|
166
167
|
*/
|
|
167
168
|
containerLogMaxSize?: string;
|
|
169
|
+
/**
|
|
170
|
+
* @example
|
|
171
|
+
* true
|
|
172
|
+
*/
|
|
173
|
+
cpuCFSQuota?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* 100ms
|
|
177
|
+
*/
|
|
178
|
+
cpuCFSQuotaPeriod?: string;
|
|
168
179
|
/**
|
|
169
180
|
* @example
|
|
170
181
|
* none
|
|
@@ -192,6 +203,16 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
192
203
|
featureGates?: {
|
|
193
204
|
[key: string]: any;
|
|
194
205
|
};
|
|
206
|
+
/**
|
|
207
|
+
* @example
|
|
208
|
+
* 85
|
|
209
|
+
*/
|
|
210
|
+
imageGCHighThresholdPercent?: number;
|
|
211
|
+
/**
|
|
212
|
+
* @example
|
|
213
|
+
* 80
|
|
214
|
+
*/
|
|
215
|
+
imageGCLowThresholdPercent?: number;
|
|
195
216
|
/**
|
|
196
217
|
* @example
|
|
197
218
|
* 10
|
|
@@ -210,6 +231,16 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
210
231
|
* 110
|
|
211
232
|
*/
|
|
212
233
|
maxPods?: number;
|
|
234
|
+
/**
|
|
235
|
+
* @example
|
|
236
|
+
* none
|
|
237
|
+
*/
|
|
238
|
+
memoryManagerPolicy?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @example
|
|
241
|
+
* -1
|
|
242
|
+
*/
|
|
243
|
+
podPidsLimit?: number;
|
|
213
244
|
/**
|
|
214
245
|
* @example
|
|
215
246
|
* 0
|
|
@@ -225,6 +256,7 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
225
256
|
* 5
|
|
226
257
|
*/
|
|
227
258
|
registryPullQPS?: number;
|
|
259
|
+
reservedMemory?: KubeletConfigReservedMemory[];
|
|
228
260
|
/**
|
|
229
261
|
* @example
|
|
230
262
|
* true
|
|
@@ -233,6 +265,12 @@ export declare class KubeletConfig extends $tea.Model {
|
|
|
233
265
|
systemReserved?: {
|
|
234
266
|
[key: string]: any;
|
|
235
267
|
};
|
|
268
|
+
/**
|
|
269
|
+
* @example
|
|
270
|
+
* restricted
|
|
271
|
+
*/
|
|
272
|
+
topologyManagerPolicy?: string;
|
|
273
|
+
tracing?: KubeletConfigTracing;
|
|
236
274
|
static names(): {
|
|
237
275
|
[key: string]: string;
|
|
238
276
|
};
|
|
@@ -5310,6 +5348,7 @@ export declare class DescribeClusterUserKubeconfigResponse extends $tea.Model {
|
|
|
5310
5348
|
}
|
|
5311
5349
|
export declare class DescribeClusterV2UserKubeconfigRequest extends $tea.Model {
|
|
5312
5350
|
privateIpAddress?: boolean;
|
|
5351
|
+
temporaryDurationMinutes?: number;
|
|
5313
5352
|
static names(): {
|
|
5314
5353
|
[key: string]: string;
|
|
5315
5354
|
};
|
|
@@ -7873,11 +7912,26 @@ export declare class InstallClusterAddonsRequest extends $tea.Model {
|
|
|
7873
7912
|
[key: string]: any;
|
|
7874
7913
|
});
|
|
7875
7914
|
}
|
|
7915
|
+
export declare class InstallClusterAddonsResponseBody extends $tea.Model {
|
|
7916
|
+
clusterId?: string;
|
|
7917
|
+
requestId?: string;
|
|
7918
|
+
taskId?: string;
|
|
7919
|
+
static names(): {
|
|
7920
|
+
[key: string]: string;
|
|
7921
|
+
};
|
|
7922
|
+
static types(): {
|
|
7923
|
+
[key: string]: any;
|
|
7924
|
+
};
|
|
7925
|
+
constructor(map?: {
|
|
7926
|
+
[key: string]: any;
|
|
7927
|
+
});
|
|
7928
|
+
}
|
|
7876
7929
|
export declare class InstallClusterAddonsResponse extends $tea.Model {
|
|
7877
7930
|
headers?: {
|
|
7878
7931
|
[key: string]: string;
|
|
7879
7932
|
};
|
|
7880
7933
|
statusCode?: number;
|
|
7934
|
+
body?: InstallClusterAddonsResponseBody;
|
|
7881
7935
|
static names(): {
|
|
7882
7936
|
[key: string]: string;
|
|
7883
7937
|
};
|
|
@@ -10261,11 +10315,26 @@ export declare class UnInstallClusterAddonsRequest extends $tea.Model {
|
|
|
10261
10315
|
[key: string]: any;
|
|
10262
10316
|
});
|
|
10263
10317
|
}
|
|
10318
|
+
export declare class UnInstallClusterAddonsResponseBody extends $tea.Model {
|
|
10319
|
+
clusterId?: string;
|
|
10320
|
+
requestId?: string;
|
|
10321
|
+
taskId?: string;
|
|
10322
|
+
static names(): {
|
|
10323
|
+
[key: string]: string;
|
|
10324
|
+
};
|
|
10325
|
+
static types(): {
|
|
10326
|
+
[key: string]: any;
|
|
10327
|
+
};
|
|
10328
|
+
constructor(map?: {
|
|
10329
|
+
[key: string]: any;
|
|
10330
|
+
});
|
|
10331
|
+
}
|
|
10264
10332
|
export declare class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
10265
10333
|
headers?: {
|
|
10266
10334
|
[key: string]: string;
|
|
10267
10335
|
};
|
|
10268
10336
|
statusCode?: number;
|
|
10337
|
+
body?: UnInstallClusterAddonsResponseBody;
|
|
10269
10338
|
static names(): {
|
|
10270
10339
|
[key: string]: string;
|
|
10271
10340
|
};
|
|
@@ -11207,6 +11276,38 @@ export declare class UpgradeClusterNodepoolResponse extends $tea.Model {
|
|
|
11207
11276
|
[key: string]: any;
|
|
11208
11277
|
});
|
|
11209
11278
|
}
|
|
11279
|
+
export declare class KubeletConfigReservedMemory extends $tea.Model {
|
|
11280
|
+
limits?: {
|
|
11281
|
+
[key: string]: any;
|
|
11282
|
+
};
|
|
11283
|
+
numaNode?: number;
|
|
11284
|
+
static names(): {
|
|
11285
|
+
[key: string]: string;
|
|
11286
|
+
};
|
|
11287
|
+
static types(): {
|
|
11288
|
+
[key: string]: any;
|
|
11289
|
+
};
|
|
11290
|
+
constructor(map?: {
|
|
11291
|
+
[key: string]: any;
|
|
11292
|
+
});
|
|
11293
|
+
}
|
|
11294
|
+
export declare class KubeletConfigTracing extends $tea.Model {
|
|
11295
|
+
/**
|
|
11296
|
+
* @example
|
|
11297
|
+
* localhost:4317
|
|
11298
|
+
*/
|
|
11299
|
+
endpoint?: string;
|
|
11300
|
+
samplingRatePerMillion?: number;
|
|
11301
|
+
static names(): {
|
|
11302
|
+
[key: string]: string;
|
|
11303
|
+
};
|
|
11304
|
+
static types(): {
|
|
11305
|
+
[key: string]: any;
|
|
11306
|
+
};
|
|
11307
|
+
constructor(map?: {
|
|
11308
|
+
[key: string]: any;
|
|
11309
|
+
});
|
|
11310
|
+
}
|
|
11210
11311
|
export declare class NodepoolAutoScaling extends $tea.Model {
|
|
11211
11312
|
/**
|
|
11212
11313
|
* @example
|
|
@@ -21922,6 +22023,8 @@ export default class Client extends OpenApi {
|
|
|
21922
22023
|
/**
|
|
21923
22024
|
* You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
21924
22025
|
*
|
|
22026
|
+
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
22027
|
+
*
|
|
21925
22028
|
* @param request - CreateKubernetesTriggerRequest
|
|
21926
22029
|
* @param headers - map
|
|
21927
22030
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21933,6 +22036,8 @@ export default class Client extends OpenApi {
|
|
|
21933
22036
|
/**
|
|
21934
22037
|
* You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
21935
22038
|
*
|
|
22039
|
+
* @deprecated OpenAPI CreateKubernetesTrigger is deprecated
|
|
22040
|
+
*
|
|
21936
22041
|
* @param request - CreateKubernetesTriggerRequest
|
|
21937
22042
|
* @returns CreateKubernetesTriggerResponse
|
|
21938
22043
|
*/
|
|
@@ -22096,6 +22201,8 @@ export default class Client extends OpenApi {
|
|
|
22096
22201
|
/**
|
|
22097
22202
|
* You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
22098
22203
|
*
|
|
22204
|
+
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
22205
|
+
*
|
|
22099
22206
|
* @param headers - map
|
|
22100
22207
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
22101
22208
|
* @returns DeleteKubernetesTriggerResponse
|
|
@@ -22105,6 +22212,8 @@ export default class Client extends OpenApi {
|
|
|
22105
22212
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteKubernetesTriggerResponse>;
|
|
22106
22213
|
/**
|
|
22107
22214
|
* You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
22215
|
+
*
|
|
22216
|
+
* @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
|
|
22108
22217
|
* @returns DeleteKubernetesTriggerResponse
|
|
22109
22218
|
*/
|
|
22110
22219
|
deleteKubernetesTrigger(Id: string): Promise<DeleteKubernetesTriggerResponse>;
|
|
@@ -22590,6 +22699,8 @@ export default class Client extends OpenApi {
|
|
|
22590
22699
|
/**
|
|
22591
22700
|
* You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
22592
22701
|
*
|
|
22702
|
+
* @deprecated OpenAPI DescribeEdgeMachineActiveProcess is deprecated
|
|
22703
|
+
*
|
|
22593
22704
|
* @param headers - map
|
|
22594
22705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
22595
22706
|
* @returns DescribeEdgeMachineActiveProcessResponse
|
|
@@ -22599,6 +22710,8 @@ export default class Client extends OpenApi {
|
|
|
22599
22710
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineActiveProcessResponse>;
|
|
22600
22711
|
/**
|
|
22601
22712
|
* You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
22713
|
+
*
|
|
22714
|
+
* @deprecated OpenAPI DescribeEdgeMachineActiveProcess is deprecated
|
|
22602
22715
|
* @returns DescribeEdgeMachineActiveProcessResponse
|
|
22603
22716
|
*/
|
|
22604
22717
|
describeEdgeMachineActiveProcess(edgeMachineid: string): Promise<DescribeEdgeMachineActiveProcessResponse>;
|
|
@@ -22692,6 +22805,8 @@ export default class Client extends OpenApi {
|
|
|
22692
22805
|
* @remarks
|
|
22693
22806
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
22694
22807
|
*
|
|
22808
|
+
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
22809
|
+
*
|
|
22695
22810
|
* @param request - DescribeExternalAgentRequest
|
|
22696
22811
|
* @param headers - map
|
|
22697
22812
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22706,6 +22821,8 @@ export default class Client extends OpenApi {
|
|
|
22706
22821
|
* @remarks
|
|
22707
22822
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
22708
22823
|
*
|
|
22824
|
+
* @deprecated OpenAPI DescribeExternalAgent is deprecated
|
|
22825
|
+
*
|
|
22709
22826
|
* @param request - DescribeExternalAgentRequest
|
|
22710
22827
|
* @returns DescribeExternalAgentResponse
|
|
22711
22828
|
*/
|
|
@@ -22993,6 +23110,8 @@ export default class Client extends OpenApi {
|
|
|
22993
23110
|
/**
|
|
22994
23111
|
* You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
22995
23112
|
*
|
|
23113
|
+
* @deprecated OpenAPI EdgeClusterAddEdgeMachine is deprecated
|
|
23114
|
+
*
|
|
22996
23115
|
* @param request - EdgeClusterAddEdgeMachineRequest
|
|
22997
23116
|
* @param headers - map
|
|
22998
23117
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23004,6 +23123,8 @@ export default class Client extends OpenApi {
|
|
|
23004
23123
|
/**
|
|
23005
23124
|
* You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
23006
23125
|
*
|
|
23126
|
+
* @deprecated OpenAPI EdgeClusterAddEdgeMachine is deprecated
|
|
23127
|
+
*
|
|
23007
23128
|
* @param request - EdgeClusterAddEdgeMachineRequest
|
|
23008
23129
|
* @returns EdgeClusterAddEdgeMachineResponse
|
|
23009
23130
|
*/
|
|
@@ -23116,6 +23237,8 @@ export default class Client extends OpenApi {
|
|
|
23116
23237
|
/**
|
|
23117
23238
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
23118
23239
|
*
|
|
23240
|
+
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
23241
|
+
*
|
|
23119
23242
|
* @param request - GetKubernetesTriggerRequest
|
|
23120
23243
|
* @param headers - map
|
|
23121
23244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23127,6 +23250,8 @@ export default class Client extends OpenApi {
|
|
|
23127
23250
|
/**
|
|
23128
23251
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
23129
23252
|
*
|
|
23253
|
+
* @deprecated OpenAPI GetKubernetesTrigger is deprecated
|
|
23254
|
+
*
|
|
23130
23255
|
* @param request - GetKubernetesTriggerRequest
|
|
23131
23256
|
* @returns GetKubernetesTriggerResponse
|
|
23132
23257
|
*/
|
|
@@ -23402,6 +23527,8 @@ export default class Client extends OpenApi {
|
|
|
23402
23527
|
/**
|
|
23403
23528
|
* This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
23404
23529
|
*
|
|
23530
|
+
* @deprecated OpenAPI ModifyClusterConfiguration is deprecated
|
|
23531
|
+
*
|
|
23405
23532
|
* @param request - ModifyClusterConfigurationRequest
|
|
23406
23533
|
* @param headers - map
|
|
23407
23534
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23413,6 +23540,8 @@ export default class Client extends OpenApi {
|
|
|
23413
23540
|
/**
|
|
23414
23541
|
* This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
23415
23542
|
*
|
|
23543
|
+
* @deprecated OpenAPI ModifyClusterConfiguration is deprecated
|
|
23544
|
+
*
|
|
23416
23545
|
* @param request - ModifyClusterConfigurationRequest
|
|
23417
23546
|
* @returns ModifyClusterConfigurationResponse
|
|
23418
23547
|
*/
|