@alicloud/cs20151215 3.2.0 → 3.3.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.
- package/dist/client.d.ts +157 -0
- package/dist/client.js +302 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +381 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1666,15 +1666,21 @@ export class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
|
|
1668
1668
|
export class DeleteClusterResponseBody extends $tea.Model {
|
|
1669
|
+
clusterId?: string;
|
|
1670
|
+
requestId?: string;
|
|
1669
1671
|
taskId?: string;
|
|
1670
1672
|
static names(): { [key: string]: string } {
|
|
1671
1673
|
return {
|
|
1674
|
+
clusterId: 'cluster_id',
|
|
1675
|
+
requestId: 'request_id',
|
|
1672
1676
|
taskId: 'task_id',
|
|
1673
1677
|
};
|
|
1674
1678
|
}
|
|
1675
1679
|
|
|
1676
1680
|
static types(): { [key: string]: any } {
|
|
1677
1681
|
return {
|
|
1682
|
+
clusterId: 'string',
|
|
1683
|
+
requestId: 'string',
|
|
1678
1684
|
taskId: 'string',
|
|
1679
1685
|
};
|
|
1680
1686
|
}
|
|
@@ -2163,6 +2169,111 @@ export class DescirbeWorkflowResponse extends $tea.Model {
|
|
|
2163
2169
|
}
|
|
2164
2170
|
}
|
|
2165
2171
|
|
|
2172
|
+
export class DescribeAddonRequest extends $tea.Model {
|
|
2173
|
+
clusterId?: string;
|
|
2174
|
+
clusterSpec?: string;
|
|
2175
|
+
clusterType?: string;
|
|
2176
|
+
clusterVersion?: string;
|
|
2177
|
+
profile?: string;
|
|
2178
|
+
regionId?: string;
|
|
2179
|
+
version?: string;
|
|
2180
|
+
static names(): { [key: string]: string } {
|
|
2181
|
+
return {
|
|
2182
|
+
clusterId: 'cluster_id',
|
|
2183
|
+
clusterSpec: 'cluster_spec',
|
|
2184
|
+
clusterType: 'cluster_type',
|
|
2185
|
+
clusterVersion: 'cluster_version',
|
|
2186
|
+
profile: 'profile',
|
|
2187
|
+
regionId: 'region_id',
|
|
2188
|
+
version: 'version',
|
|
2189
|
+
};
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
static types(): { [key: string]: any } {
|
|
2193
|
+
return {
|
|
2194
|
+
clusterId: 'string',
|
|
2195
|
+
clusterSpec: 'string',
|
|
2196
|
+
clusterType: 'string',
|
|
2197
|
+
clusterVersion: 'string',
|
|
2198
|
+
profile: 'string',
|
|
2199
|
+
regionId: 'string',
|
|
2200
|
+
version: 'string',
|
|
2201
|
+
};
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
constructor(map?: { [key: string]: any }) {
|
|
2205
|
+
super(map);
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
export class DescribeAddonResponseBody extends $tea.Model {
|
|
2210
|
+
architecture?: string[];
|
|
2211
|
+
category?: string;
|
|
2212
|
+
configSchema?: string;
|
|
2213
|
+
installByDefault?: boolean;
|
|
2214
|
+
managed?: boolean;
|
|
2215
|
+
name?: string;
|
|
2216
|
+
newerVersions?: DescribeAddonResponseBodyNewerVersions[];
|
|
2217
|
+
supportedActions?: string[];
|
|
2218
|
+
version?: string;
|
|
2219
|
+
static names(): { [key: string]: string } {
|
|
2220
|
+
return {
|
|
2221
|
+
architecture: 'architecture',
|
|
2222
|
+
category: 'category',
|
|
2223
|
+
configSchema: 'config_schema',
|
|
2224
|
+
installByDefault: 'install_by_default',
|
|
2225
|
+
managed: 'managed',
|
|
2226
|
+
name: 'name',
|
|
2227
|
+
newerVersions: 'newer_versions',
|
|
2228
|
+
supportedActions: 'supported_actions',
|
|
2229
|
+
version: 'version',
|
|
2230
|
+
};
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
static types(): { [key: string]: any } {
|
|
2234
|
+
return {
|
|
2235
|
+
architecture: { 'type': 'array', 'itemType': 'string' },
|
|
2236
|
+
category: 'string',
|
|
2237
|
+
configSchema: 'string',
|
|
2238
|
+
installByDefault: 'boolean',
|
|
2239
|
+
managed: 'boolean',
|
|
2240
|
+
name: 'string',
|
|
2241
|
+
newerVersions: { 'type': 'array', 'itemType': DescribeAddonResponseBodyNewerVersions },
|
|
2242
|
+
supportedActions: { 'type': 'array', 'itemType': 'string' },
|
|
2243
|
+
version: 'string',
|
|
2244
|
+
};
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
constructor(map?: { [key: string]: any }) {
|
|
2248
|
+
super(map);
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
export class DescribeAddonResponse extends $tea.Model {
|
|
2253
|
+
headers: { [key: string]: string };
|
|
2254
|
+
statusCode: number;
|
|
2255
|
+
body: DescribeAddonResponseBody;
|
|
2256
|
+
static names(): { [key: string]: string } {
|
|
2257
|
+
return {
|
|
2258
|
+
headers: 'headers',
|
|
2259
|
+
statusCode: 'statusCode',
|
|
2260
|
+
body: 'body',
|
|
2261
|
+
};
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
static types(): { [key: string]: any } {
|
|
2265
|
+
return {
|
|
2266
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2267
|
+
statusCode: 'number',
|
|
2268
|
+
body: DescribeAddonResponseBody,
|
|
2269
|
+
};
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
constructor(map?: { [key: string]: any }) {
|
|
2273
|
+
super(map);
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2166
2277
|
export class DescribeAddonsRequest extends $tea.Model {
|
|
2167
2278
|
clusterProfile?: string;
|
|
2168
2279
|
clusterSpec?: string;
|
|
@@ -5205,6 +5316,72 @@ export class ListClusterChecksResponse extends $tea.Model {
|
|
|
5205
5316
|
}
|
|
5206
5317
|
}
|
|
5207
5318
|
|
|
5319
|
+
export class ListOperationPlansRequest extends $tea.Model {
|
|
5320
|
+
clusterId?: string;
|
|
5321
|
+
type?: string;
|
|
5322
|
+
static names(): { [key: string]: string } {
|
|
5323
|
+
return {
|
|
5324
|
+
clusterId: 'cluster_id',
|
|
5325
|
+
type: 'type',
|
|
5326
|
+
};
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
static types(): { [key: string]: any } {
|
|
5330
|
+
return {
|
|
5331
|
+
clusterId: 'string',
|
|
5332
|
+
type: 'string',
|
|
5333
|
+
};
|
|
5334
|
+
}
|
|
5335
|
+
|
|
5336
|
+
constructor(map?: { [key: string]: any }) {
|
|
5337
|
+
super(map);
|
|
5338
|
+
}
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
export class ListOperationPlansResponseBody extends $tea.Model {
|
|
5342
|
+
plans?: ListOperationPlansResponseBodyPlans[];
|
|
5343
|
+
static names(): { [key: string]: string } {
|
|
5344
|
+
return {
|
|
5345
|
+
plans: 'plans',
|
|
5346
|
+
};
|
|
5347
|
+
}
|
|
5348
|
+
|
|
5349
|
+
static types(): { [key: string]: any } {
|
|
5350
|
+
return {
|
|
5351
|
+
plans: { 'type': 'array', 'itemType': ListOperationPlansResponseBodyPlans },
|
|
5352
|
+
};
|
|
5353
|
+
}
|
|
5354
|
+
|
|
5355
|
+
constructor(map?: { [key: string]: any }) {
|
|
5356
|
+
super(map);
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
|
|
5360
|
+
export class ListOperationPlansResponse extends $tea.Model {
|
|
5361
|
+
headers: { [key: string]: string };
|
|
5362
|
+
statusCode: number;
|
|
5363
|
+
body: ListOperationPlansResponseBody;
|
|
5364
|
+
static names(): { [key: string]: string } {
|
|
5365
|
+
return {
|
|
5366
|
+
headers: 'headers',
|
|
5367
|
+
statusCode: 'statusCode',
|
|
5368
|
+
body: 'body',
|
|
5369
|
+
};
|
|
5370
|
+
}
|
|
5371
|
+
|
|
5372
|
+
static types(): { [key: string]: any } {
|
|
5373
|
+
return {
|
|
5374
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5375
|
+
statusCode: 'number',
|
|
5376
|
+
body: ListOperationPlansResponseBody,
|
|
5377
|
+
};
|
|
5378
|
+
}
|
|
5379
|
+
|
|
5380
|
+
constructor(map?: { [key: string]: any }) {
|
|
5381
|
+
super(map);
|
|
5382
|
+
}
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5208
5385
|
export class ListTagResourcesRequest extends $tea.Model {
|
|
5209
5386
|
nextToken?: string;
|
|
5210
5387
|
regionId?: string;
|
|
@@ -5575,6 +5752,7 @@ export class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
5575
5752
|
|
|
5576
5753
|
export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
5577
5754
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
5755
|
+
concurrency?: boolean;
|
|
5578
5756
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
5579
5757
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
5580
5758
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
@@ -5584,6 +5762,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
5584
5762
|
static names(): { [key: string]: string } {
|
|
5585
5763
|
return {
|
|
5586
5764
|
autoScaling: 'auto_scaling',
|
|
5765
|
+
concurrency: 'concurrency',
|
|
5587
5766
|
kubernetesConfig: 'kubernetes_config',
|
|
5588
5767
|
management: 'management',
|
|
5589
5768
|
nodepoolInfo: 'nodepool_info',
|
|
@@ -5596,6 +5775,7 @@ export class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
5596
5775
|
static types(): { [key: string]: any } {
|
|
5597
5776
|
return {
|
|
5598
5777
|
autoScaling: ModifyClusterNodePoolRequestAutoScaling,
|
|
5778
|
+
concurrency: 'boolean',
|
|
5599
5779
|
kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
|
|
5600
5780
|
management: ModifyClusterNodePoolRequestManagement,
|
|
5601
5781
|
nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
|
|
@@ -6022,12 +6202,14 @@ export class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
6022
6202
|
}
|
|
6023
6203
|
|
|
6024
6204
|
export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
6205
|
+
concurrency?: boolean;
|
|
6025
6206
|
drainNode?: boolean;
|
|
6026
6207
|
instanceIds?: string[];
|
|
6027
6208
|
nodes?: string[];
|
|
6028
6209
|
releaseNode?: boolean;
|
|
6029
6210
|
static names(): { [key: string]: string } {
|
|
6030
6211
|
return {
|
|
6212
|
+
concurrency: 'concurrency',
|
|
6031
6213
|
drainNode: 'drain_node',
|
|
6032
6214
|
instanceIds: 'instance_ids',
|
|
6033
6215
|
nodes: 'nodes',
|
|
@@ -6037,6 +6219,7 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
6037
6219
|
|
|
6038
6220
|
static types(): { [key: string]: any } {
|
|
6039
6221
|
return {
|
|
6222
|
+
concurrency: 'boolean',
|
|
6040
6223
|
drainNode: 'boolean',
|
|
6041
6224
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
6042
6225
|
nodes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -6050,12 +6233,14 @@ export class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
6050
6233
|
}
|
|
6051
6234
|
|
|
6052
6235
|
export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
6236
|
+
concurrency?: boolean;
|
|
6053
6237
|
drainNode?: boolean;
|
|
6054
6238
|
instanceIdsShrink?: string;
|
|
6055
6239
|
nodesShrink?: string;
|
|
6056
6240
|
releaseNode?: boolean;
|
|
6057
6241
|
static names(): { [key: string]: string } {
|
|
6058
6242
|
return {
|
|
6243
|
+
concurrency: 'concurrency',
|
|
6059
6244
|
drainNode: 'drain_node',
|
|
6060
6245
|
instanceIdsShrink: 'instance_ids',
|
|
6061
6246
|
nodesShrink: 'nodes',
|
|
@@ -6065,6 +6250,7 @@ export class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
6065
6250
|
|
|
6066
6251
|
static types(): { [key: string]: any } {
|
|
6067
6252
|
return {
|
|
6253
|
+
concurrency: 'boolean',
|
|
6068
6254
|
drainNode: 'boolean',
|
|
6069
6255
|
instanceIdsShrink: 'string',
|
|
6070
6256
|
nodesShrink: 'string',
|
|
@@ -7236,13 +7422,40 @@ export class UpdateControlPlaneLogRequest extends $tea.Model {
|
|
|
7236
7422
|
}
|
|
7237
7423
|
}
|
|
7238
7424
|
|
|
7425
|
+
export class UpdateControlPlaneLogResponseBody extends $tea.Model {
|
|
7426
|
+
clusterId?: string;
|
|
7427
|
+
requestId?: string;
|
|
7428
|
+
taskId?: string;
|
|
7429
|
+
static names(): { [key: string]: string } {
|
|
7430
|
+
return {
|
|
7431
|
+
clusterId: 'cluster_id',
|
|
7432
|
+
requestId: 'request_id',
|
|
7433
|
+
taskId: 'task_id',
|
|
7434
|
+
};
|
|
7435
|
+
}
|
|
7436
|
+
|
|
7437
|
+
static types(): { [key: string]: any } {
|
|
7438
|
+
return {
|
|
7439
|
+
clusterId: 'string',
|
|
7440
|
+
requestId: 'string',
|
|
7441
|
+
taskId: 'string',
|
|
7442
|
+
};
|
|
7443
|
+
}
|
|
7444
|
+
|
|
7445
|
+
constructor(map?: { [key: string]: any }) {
|
|
7446
|
+
super(map);
|
|
7447
|
+
}
|
|
7448
|
+
}
|
|
7449
|
+
|
|
7239
7450
|
export class UpdateControlPlaneLogResponse extends $tea.Model {
|
|
7240
7451
|
headers: { [key: string]: string };
|
|
7241
7452
|
statusCode: number;
|
|
7453
|
+
body: UpdateControlPlaneLogResponseBody;
|
|
7242
7454
|
static names(): { [key: string]: string } {
|
|
7243
7455
|
return {
|
|
7244
7456
|
headers: 'headers',
|
|
7245
7457
|
statusCode: 'statusCode',
|
|
7458
|
+
body: 'body',
|
|
7246
7459
|
};
|
|
7247
7460
|
}
|
|
7248
7461
|
|
|
@@ -7250,6 +7463,7 @@ export class UpdateControlPlaneLogResponse extends $tea.Model {
|
|
|
7250
7463
|
return {
|
|
7251
7464
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7252
7465
|
statusCode: 'number',
|
|
7466
|
+
body: UpdateControlPlaneLogResponseBody,
|
|
7253
7467
|
};
|
|
7254
7468
|
}
|
|
7255
7469
|
|
|
@@ -8591,6 +8805,31 @@ export class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
8591
8805
|
}
|
|
8592
8806
|
}
|
|
8593
8807
|
|
|
8808
|
+
export class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
|
|
8809
|
+
minimumClusterVersion?: string;
|
|
8810
|
+
upgradable?: boolean;
|
|
8811
|
+
version?: string;
|
|
8812
|
+
static names(): { [key: string]: string } {
|
|
8813
|
+
return {
|
|
8814
|
+
minimumClusterVersion: 'minimum_cluster_version',
|
|
8815
|
+
upgradable: 'upgradable',
|
|
8816
|
+
version: 'version',
|
|
8817
|
+
};
|
|
8818
|
+
}
|
|
8819
|
+
|
|
8820
|
+
static types(): { [key: string]: any } {
|
|
8821
|
+
return {
|
|
8822
|
+
minimumClusterVersion: 'string',
|
|
8823
|
+
upgradable: 'boolean',
|
|
8824
|
+
version: 'string',
|
|
8825
|
+
};
|
|
8826
|
+
}
|
|
8827
|
+
|
|
8828
|
+
constructor(map?: { [key: string]: any }) {
|
|
8829
|
+
super(map);
|
|
8830
|
+
}
|
|
8831
|
+
}
|
|
8832
|
+
|
|
8594
8833
|
export class DescribeAddonsResponseBodyComponentGroupsItems extends $tea.Model {
|
|
8595
8834
|
name?: string;
|
|
8596
8835
|
static names(): { [key: string]: string } {
|
|
@@ -11712,6 +11951,49 @@ export class ListClusterChecksResponseBodyChecks extends $tea.Model {
|
|
|
11712
11951
|
}
|
|
11713
11952
|
}
|
|
11714
11953
|
|
|
11954
|
+
export class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
11955
|
+
clusterId?: string;
|
|
11956
|
+
created?: string;
|
|
11957
|
+
endTime?: string;
|
|
11958
|
+
planId?: string;
|
|
11959
|
+
startTime?: string;
|
|
11960
|
+
state?: string;
|
|
11961
|
+
targetId?: string;
|
|
11962
|
+
targetType?: string;
|
|
11963
|
+
type?: string;
|
|
11964
|
+
static names(): { [key: string]: string } {
|
|
11965
|
+
return {
|
|
11966
|
+
clusterId: 'cluster_id',
|
|
11967
|
+
created: 'created',
|
|
11968
|
+
endTime: 'end_time',
|
|
11969
|
+
planId: 'plan_id',
|
|
11970
|
+
startTime: 'start_time',
|
|
11971
|
+
state: 'state',
|
|
11972
|
+
targetId: 'target_id',
|
|
11973
|
+
targetType: 'target_type',
|
|
11974
|
+
type: 'type',
|
|
11975
|
+
};
|
|
11976
|
+
}
|
|
11977
|
+
|
|
11978
|
+
static types(): { [key: string]: any } {
|
|
11979
|
+
return {
|
|
11980
|
+
clusterId: 'string',
|
|
11981
|
+
created: 'string',
|
|
11982
|
+
endTime: 'string',
|
|
11983
|
+
planId: 'string',
|
|
11984
|
+
startTime: 'string',
|
|
11985
|
+
state: 'string',
|
|
11986
|
+
targetId: 'string',
|
|
11987
|
+
targetType: 'string',
|
|
11988
|
+
type: 'string',
|
|
11989
|
+
};
|
|
11990
|
+
}
|
|
11991
|
+
|
|
11992
|
+
constructor(map?: { [key: string]: any }) {
|
|
11993
|
+
super(map);
|
|
11994
|
+
}
|
|
11995
|
+
}
|
|
11996
|
+
|
|
11715
11997
|
export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
11716
11998
|
resourceId?: string;
|
|
11717
11999
|
resourceType?: string;
|
|
@@ -13826,6 +14108,61 @@ export default class Client extends OpenApi {
|
|
|
13826
14108
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
13827
14109
|
}
|
|
13828
14110
|
|
|
14111
|
+
async describeAddonWithOptions(addonName: string, request: DescribeAddonRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse> {
|
|
14112
|
+
Util.validateModel(request);
|
|
14113
|
+
let query : {[key: string ]: any} = { };
|
|
14114
|
+
if (!Util.isUnset(request.clusterId)) {
|
|
14115
|
+
query["cluster_id"] = request.clusterId;
|
|
14116
|
+
}
|
|
14117
|
+
|
|
14118
|
+
if (!Util.isUnset(request.clusterSpec)) {
|
|
14119
|
+
query["cluster_spec"] = request.clusterSpec;
|
|
14120
|
+
}
|
|
14121
|
+
|
|
14122
|
+
if (!Util.isUnset(request.clusterType)) {
|
|
14123
|
+
query["cluster_type"] = request.clusterType;
|
|
14124
|
+
}
|
|
14125
|
+
|
|
14126
|
+
if (!Util.isUnset(request.clusterVersion)) {
|
|
14127
|
+
query["cluster_version"] = request.clusterVersion;
|
|
14128
|
+
}
|
|
14129
|
+
|
|
14130
|
+
if (!Util.isUnset(request.profile)) {
|
|
14131
|
+
query["profile"] = request.profile;
|
|
14132
|
+
}
|
|
14133
|
+
|
|
14134
|
+
if (!Util.isUnset(request.regionId)) {
|
|
14135
|
+
query["region_id"] = request.regionId;
|
|
14136
|
+
}
|
|
14137
|
+
|
|
14138
|
+
if (!Util.isUnset(request.version)) {
|
|
14139
|
+
query["version"] = request.version;
|
|
14140
|
+
}
|
|
14141
|
+
|
|
14142
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14143
|
+
headers: headers,
|
|
14144
|
+
query: OpenApiUtil.query(query),
|
|
14145
|
+
});
|
|
14146
|
+
let params = new $OpenApi.Params({
|
|
14147
|
+
action: "DescribeAddon",
|
|
14148
|
+
version: "2015-12-15",
|
|
14149
|
+
protocol: "HTTPS",
|
|
14150
|
+
pathname: `/addons/${OpenApiUtil.getEncodeParam(addonName)}`,
|
|
14151
|
+
method: "GET",
|
|
14152
|
+
authType: "AK",
|
|
14153
|
+
style: "ROA",
|
|
14154
|
+
reqBodyType: "json",
|
|
14155
|
+
bodyType: "json",
|
|
14156
|
+
});
|
|
14157
|
+
return $tea.cast<DescribeAddonResponse>(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
14158
|
+
}
|
|
14159
|
+
|
|
14160
|
+
async describeAddon(addonName: string, request: DescribeAddonRequest): Promise<DescribeAddonResponse> {
|
|
14161
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14162
|
+
let headers : {[key: string ]: string} = { };
|
|
14163
|
+
return await this.describeAddonWithOptions(addonName, request, headers, runtime);
|
|
14164
|
+
}
|
|
14165
|
+
|
|
13829
14166
|
async describeAddonsWithOptions(request: DescribeAddonsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonsResponse> {
|
|
13830
14167
|
Util.validateModel(request);
|
|
13831
14168
|
let query : {[key: string ]: any} = { };
|
|
@@ -15635,6 +15972,41 @@ export default class Client extends OpenApi {
|
|
|
15635
15972
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
15636
15973
|
}
|
|
15637
15974
|
|
|
15975
|
+
async listOperationPlansWithOptions(request: ListOperationPlansRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse> {
|
|
15976
|
+
Util.validateModel(request);
|
|
15977
|
+
let query : {[key: string ]: any} = { };
|
|
15978
|
+
if (!Util.isUnset(request.clusterId)) {
|
|
15979
|
+
query["cluster_id"] = request.clusterId;
|
|
15980
|
+
}
|
|
15981
|
+
|
|
15982
|
+
if (!Util.isUnset(request.type)) {
|
|
15983
|
+
query["type"] = request.type;
|
|
15984
|
+
}
|
|
15985
|
+
|
|
15986
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15987
|
+
headers: headers,
|
|
15988
|
+
query: OpenApiUtil.query(query),
|
|
15989
|
+
});
|
|
15990
|
+
let params = new $OpenApi.Params({
|
|
15991
|
+
action: "ListOperationPlans",
|
|
15992
|
+
version: "2015-12-15",
|
|
15993
|
+
protocol: "HTTPS",
|
|
15994
|
+
pathname: `/operation/plans`,
|
|
15995
|
+
method: "GET",
|
|
15996
|
+
authType: "AK",
|
|
15997
|
+
style: "ROA",
|
|
15998
|
+
reqBodyType: "json",
|
|
15999
|
+
bodyType: "json",
|
|
16000
|
+
});
|
|
16001
|
+
return $tea.cast<ListOperationPlansResponse>(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
16002
|
+
}
|
|
16003
|
+
|
|
16004
|
+
async listOperationPlans(request: ListOperationPlansRequest): Promise<ListOperationPlansResponse> {
|
|
16005
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16006
|
+
let headers : {[key: string ]: string} = { };
|
|
16007
|
+
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
16008
|
+
}
|
|
16009
|
+
|
|
15638
16010
|
async listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
15639
16011
|
Util.validateModel(tmpReq);
|
|
15640
16012
|
let request = new ListTagResourcesShrinkRequest({ });
|
|
@@ -15891,6 +16263,10 @@ export default class Client extends OpenApi {
|
|
|
15891
16263
|
body["auto_scaling"] = request.autoScaling;
|
|
15892
16264
|
}
|
|
15893
16265
|
|
|
16266
|
+
if (!Util.isUnset(request.concurrency)) {
|
|
16267
|
+
body["concurrency"] = request.concurrency;
|
|
16268
|
+
}
|
|
16269
|
+
|
|
15894
16270
|
if (!Util.isUnset(request.kubernetesConfig)) {
|
|
15895
16271
|
body["kubernetes_config"] = request.kubernetesConfig;
|
|
15896
16272
|
}
|
|
@@ -16264,6 +16640,10 @@ export default class Client extends OpenApi {
|
|
|
16264
16640
|
}
|
|
16265
16641
|
|
|
16266
16642
|
let query : {[key: string ]: any} = { };
|
|
16643
|
+
if (!Util.isUnset(request.concurrency)) {
|
|
16644
|
+
query["concurrency"] = request.concurrency;
|
|
16645
|
+
}
|
|
16646
|
+
|
|
16267
16647
|
if (!Util.isUnset(request.drainNode)) {
|
|
16268
16648
|
query["drain_node"] = request.drainNode;
|
|
16269
16649
|
}
|
|
@@ -17136,7 +17516,7 @@ export default class Client extends OpenApi {
|
|
|
17136
17516
|
authType: "AK",
|
|
17137
17517
|
style: "ROA",
|
|
17138
17518
|
reqBodyType: "json",
|
|
17139
|
-
bodyType: "
|
|
17519
|
+
bodyType: "json",
|
|
17140
17520
|
});
|
|
17141
17521
|
return $tea.cast<UpdateControlPlaneLogResponse>(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
17142
17522
|
}
|