@alicloud/cs20151215 3.0.4 → 3.0.5
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 +5 -0
- package/dist/client.js +13 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +19 -0
package/dist/client.d.ts
CHANGED
|
@@ -280,6 +280,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
280
280
|
proxyMode?: string;
|
|
281
281
|
rdsInstances?: string[];
|
|
282
282
|
regionId?: string;
|
|
283
|
+
resourceGroupId?: string;
|
|
283
284
|
runtime?: Runtime;
|
|
284
285
|
securityGroupId?: string;
|
|
285
286
|
serviceAccountIssuer?: string;
|
|
@@ -3187,6 +3188,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
3187
3188
|
compensateWithOnDemand?: boolean;
|
|
3188
3189
|
dataDisks?: DataDisk[];
|
|
3189
3190
|
deploymentsetId?: string;
|
|
3191
|
+
desiredSize?: number;
|
|
3190
3192
|
imageId?: string;
|
|
3191
3193
|
imageType?: string;
|
|
3192
3194
|
instanceChargeType?: string;
|
|
@@ -3398,6 +3400,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
3398
3400
|
compensateWithOnDemand?: boolean;
|
|
3399
3401
|
dataDisks?: DataDisk[];
|
|
3400
3402
|
deploymentsetId?: string;
|
|
3403
|
+
desiredSize?: number;
|
|
3401
3404
|
imageId?: string;
|
|
3402
3405
|
instanceChargeType?: string;
|
|
3403
3406
|
instanceTypes?: string[];
|
|
@@ -3587,6 +3590,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
3587
3590
|
compensateWithOnDemand?: boolean;
|
|
3588
3591
|
dataDisks?: DataDisk[];
|
|
3589
3592
|
deploymentsetId?: string;
|
|
3593
|
+
desiredSize?: number;
|
|
3590
3594
|
imageId?: string;
|
|
3591
3595
|
instanceChargeType?: string;
|
|
3592
3596
|
instanceTypes?: string[];
|
|
@@ -4478,6 +4482,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
4478
4482
|
autoRenewPeriod?: number;
|
|
4479
4483
|
compensateWithOnDemand?: boolean;
|
|
4480
4484
|
dataDisks?: DataDisk[];
|
|
4485
|
+
desiredSize?: number;
|
|
4481
4486
|
imageId?: string;
|
|
4482
4487
|
instanceChargeType?: string;
|
|
4483
4488
|
instanceTypes?: string[];
|
package/dist/client.js
CHANGED
|
@@ -381,6 +381,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
381
381
|
proxyMode: 'proxy_mode',
|
|
382
382
|
rdsInstances: 'rds_instances',
|
|
383
383
|
regionId: 'region_id',
|
|
384
|
+
resourceGroupId: 'resource_group_id',
|
|
384
385
|
runtime: 'runtime',
|
|
385
386
|
securityGroupId: 'security_group_id',
|
|
386
387
|
serviceAccountIssuer: 'service_account_issuer',
|
|
@@ -468,6 +469,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
468
469
|
proxyMode: 'string',
|
|
469
470
|
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
470
471
|
regionId: 'string',
|
|
472
|
+
resourceGroupId: 'string',
|
|
471
473
|
runtime: Runtime,
|
|
472
474
|
securityGroupId: 'string',
|
|
473
475
|
serviceAccountIssuer: 'string',
|
|
@@ -4336,6 +4338,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
4336
4338
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
4337
4339
|
dataDisks: 'data_disks',
|
|
4338
4340
|
deploymentsetId: 'deploymentset_id',
|
|
4341
|
+
desiredSize: 'desired_size',
|
|
4339
4342
|
imageId: 'image_id',
|
|
4340
4343
|
imageType: 'image_type',
|
|
4341
4344
|
instanceChargeType: 'instance_charge_type',
|
|
@@ -4372,6 +4375,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
4372
4375
|
compensateWithOnDemand: 'boolean',
|
|
4373
4376
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
4374
4377
|
deploymentsetId: 'string',
|
|
4378
|
+
desiredSize: 'number',
|
|
4375
4379
|
imageId: 'string',
|
|
4376
4380
|
imageType: 'string',
|
|
4377
4381
|
instanceChargeType: 'string',
|
|
@@ -4662,6 +4666,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
4662
4666
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
4663
4667
|
dataDisks: 'data_disks',
|
|
4664
4668
|
deploymentsetId: 'deploymentset_id',
|
|
4669
|
+
desiredSize: 'desired_size',
|
|
4665
4670
|
imageId: 'image_id',
|
|
4666
4671
|
instanceChargeType: 'instance_charge_type',
|
|
4667
4672
|
instanceTypes: 'instance_types',
|
|
@@ -4699,6 +4704,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
4699
4704
|
compensateWithOnDemand: 'boolean',
|
|
4700
4705
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
4701
4706
|
deploymentsetId: 'string',
|
|
4707
|
+
desiredSize: 'number',
|
|
4702
4708
|
imageId: 'string',
|
|
4703
4709
|
instanceChargeType: 'string',
|
|
4704
4710
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -4960,6 +4966,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
4960
4966
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
4961
4967
|
dataDisks: 'data_disks',
|
|
4962
4968
|
deploymentsetId: 'deploymentset_id',
|
|
4969
|
+
desiredSize: 'desired_size',
|
|
4963
4970
|
imageId: 'image_id',
|
|
4964
4971
|
instanceChargeType: 'instance_charge_type',
|
|
4965
4972
|
instanceTypes: 'instance_types',
|
|
@@ -4997,6 +5004,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
4997
5004
|
compensateWithOnDemand: 'boolean',
|
|
4998
5005
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
4999
5006
|
deploymentsetId: 'string',
|
|
5007
|
+
desiredSize: 'number',
|
|
5000
5008
|
imageId: 'string',
|
|
5001
5009
|
instanceChargeType: 'string',
|
|
5002
5010
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -6327,6 +6335,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6327
6335
|
autoRenewPeriod: 'auto_renew_period',
|
|
6328
6336
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
6329
6337
|
dataDisks: 'data_disks',
|
|
6338
|
+
desiredSize: 'desired_size',
|
|
6330
6339
|
imageId: 'image_id',
|
|
6331
6340
|
instanceChargeType: 'instance_charge_type',
|
|
6332
6341
|
instanceTypes: 'instance_types',
|
|
@@ -6359,6 +6368,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6359
6368
|
autoRenewPeriod: 'number',
|
|
6360
6369
|
compensateWithOnDemand: 'boolean',
|
|
6361
6370
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
6371
|
+
desiredSize: 'number',
|
|
6362
6372
|
imageId: 'string',
|
|
6363
6373
|
instanceChargeType: 'string',
|
|
6364
6374
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -6922,6 +6932,9 @@ class Client extends openapi_client_1.default {
|
|
|
6922
6932
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
6923
6933
|
body["region_id"] = request.regionId;
|
|
6924
6934
|
}
|
|
6935
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
6936
|
+
body["resource_group_id"] = request.resourceGroupId;
|
|
6937
|
+
}
|
|
6925
6938
|
if (!tea_util_1.default.isUnset($tea.toMap(request.runtime))) {
|
|
6926
6939
|
body["runtime"] = request.runtime;
|
|
6927
6940
|
}
|