@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cs20151215",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.0",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.1",
|
|
25
25
|
"@alicloud/openapi-util": "^0.2.7",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -441,6 +441,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
441
441
|
proxyMode?: string;
|
|
442
442
|
rdsInstances?: string[];
|
|
443
443
|
regionId?: string;
|
|
444
|
+
resourceGroupId?: string;
|
|
444
445
|
runtime?: Runtime;
|
|
445
446
|
securityGroupId?: string;
|
|
446
447
|
serviceAccountIssuer?: string;
|
|
@@ -526,6 +527,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
526
527
|
proxyMode: 'proxy_mode',
|
|
527
528
|
rdsInstances: 'rds_instances',
|
|
528
529
|
regionId: 'region_id',
|
|
530
|
+
resourceGroupId: 'resource_group_id',
|
|
529
531
|
runtime: 'runtime',
|
|
530
532
|
securityGroupId: 'security_group_id',
|
|
531
533
|
serviceAccountIssuer: 'service_account_issuer',
|
|
@@ -614,6 +616,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
614
616
|
proxyMode: 'string',
|
|
615
617
|
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
616
618
|
regionId: 'string',
|
|
619
|
+
resourceGroupId: 'string',
|
|
617
620
|
runtime: Runtime,
|
|
618
621
|
securityGroupId: 'string',
|
|
619
622
|
serviceAccountIssuer: 'string',
|
|
@@ -5433,6 +5436,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
5433
5436
|
compensateWithOnDemand?: boolean;
|
|
5434
5437
|
dataDisks?: DataDisk[];
|
|
5435
5438
|
deploymentsetId?: string;
|
|
5439
|
+
desiredSize?: number;
|
|
5436
5440
|
imageId?: string;
|
|
5437
5441
|
imageType?: string;
|
|
5438
5442
|
instanceChargeType?: string;
|
|
@@ -5467,6 +5471,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
5467
5471
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
5468
5472
|
dataDisks: 'data_disks',
|
|
5469
5473
|
deploymentsetId: 'deploymentset_id',
|
|
5474
|
+
desiredSize: 'desired_size',
|
|
5470
5475
|
imageId: 'image_id',
|
|
5471
5476
|
imageType: 'image_type',
|
|
5472
5477
|
instanceChargeType: 'instance_charge_type',
|
|
@@ -5504,6 +5509,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
5504
5509
|
compensateWithOnDemand: 'boolean',
|
|
5505
5510
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
5506
5511
|
deploymentsetId: 'string',
|
|
5512
|
+
desiredSize: 'number',
|
|
5507
5513
|
imageId: 'string',
|
|
5508
5514
|
imageType: 'string',
|
|
5509
5515
|
instanceChargeType: 'string',
|
|
@@ -5862,6 +5868,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
5862
5868
|
compensateWithOnDemand?: boolean;
|
|
5863
5869
|
dataDisks?: DataDisk[];
|
|
5864
5870
|
deploymentsetId?: string;
|
|
5871
|
+
desiredSize?: number;
|
|
5865
5872
|
imageId?: string;
|
|
5866
5873
|
instanceChargeType?: string;
|
|
5867
5874
|
instanceTypes?: string[];
|
|
@@ -5897,6 +5904,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
5897
5904
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
5898
5905
|
dataDisks: 'data_disks',
|
|
5899
5906
|
deploymentsetId: 'deploymentset_id',
|
|
5907
|
+
desiredSize: 'desired_size',
|
|
5900
5908
|
imageId: 'image_id',
|
|
5901
5909
|
instanceChargeType: 'instance_charge_type',
|
|
5902
5910
|
instanceTypes: 'instance_types',
|
|
@@ -5935,6 +5943,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
|
|
|
5935
5943
|
compensateWithOnDemand: 'boolean',
|
|
5936
5944
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
5937
5945
|
deploymentsetId: 'string',
|
|
5946
|
+
desiredSize: 'number',
|
|
5938
5947
|
imageId: 'string',
|
|
5939
5948
|
instanceChargeType: 'string',
|
|
5940
5949
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -6259,6 +6268,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
6259
6268
|
compensateWithOnDemand?: boolean;
|
|
6260
6269
|
dataDisks?: DataDisk[];
|
|
6261
6270
|
deploymentsetId?: string;
|
|
6271
|
+
desiredSize?: number;
|
|
6262
6272
|
imageId?: string;
|
|
6263
6273
|
instanceChargeType?: string;
|
|
6264
6274
|
instanceTypes?: string[];
|
|
@@ -6294,6 +6304,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
6294
6304
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
6295
6305
|
dataDisks: 'data_disks',
|
|
6296
6306
|
deploymentsetId: 'deploymentset_id',
|
|
6307
|
+
desiredSize: 'desired_size',
|
|
6297
6308
|
imageId: 'image_id',
|
|
6298
6309
|
instanceChargeType: 'instance_charge_type',
|
|
6299
6310
|
instanceTypes: 'instance_types',
|
|
@@ -6332,6 +6343,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
6332
6343
|
compensateWithOnDemand: 'boolean',
|
|
6333
6344
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
6334
6345
|
deploymentsetId: 'string',
|
|
6346
|
+
desiredSize: 'number',
|
|
6335
6347
|
imageId: 'string',
|
|
6336
6348
|
instanceChargeType: 'string',
|
|
6337
6349
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -8055,6 +8067,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8055
8067
|
autoRenewPeriod?: number;
|
|
8056
8068
|
compensateWithOnDemand?: boolean;
|
|
8057
8069
|
dataDisks?: DataDisk[];
|
|
8070
|
+
desiredSize?: number;
|
|
8058
8071
|
imageId?: string;
|
|
8059
8072
|
instanceChargeType?: string;
|
|
8060
8073
|
instanceTypes?: string[];
|
|
@@ -8085,6 +8098,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8085
8098
|
autoRenewPeriod: 'auto_renew_period',
|
|
8086
8099
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
8087
8100
|
dataDisks: 'data_disks',
|
|
8101
|
+
desiredSize: 'desired_size',
|
|
8088
8102
|
imageId: 'image_id',
|
|
8089
8103
|
instanceChargeType: 'instance_charge_type',
|
|
8090
8104
|
instanceTypes: 'instance_types',
|
|
@@ -8118,6 +8132,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
8118
8132
|
autoRenewPeriod: 'number',
|
|
8119
8133
|
compensateWithOnDemand: 'boolean',
|
|
8120
8134
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
8135
|
+
desiredSize: 'number',
|
|
8121
8136
|
imageId: 'string',
|
|
8122
8137
|
instanceChargeType: 'string',
|
|
8123
8138
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -8806,6 +8821,10 @@ export default class Client extends OpenApi {
|
|
|
8806
8821
|
body["region_id"] = request.regionId;
|
|
8807
8822
|
}
|
|
8808
8823
|
|
|
8824
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
8825
|
+
body["resource_group_id"] = request.resourceGroupId;
|
|
8826
|
+
}
|
|
8827
|
+
|
|
8809
8828
|
if (!Util.isUnset($tea.toMap(request.runtime))) {
|
|
8810
8829
|
body["runtime"] = request.runtime;
|
|
8811
8830
|
}
|