@alicloud/cs20151215 4.0.1 → 4.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cs20151215",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -897,6 +897,7 @@ export class CreateClusterRequest extends $tea.Model {
897
897
  resourceGroupId?: string;
898
898
  runtime?: Runtime;
899
899
  securityGroupId?: string;
900
+ securityHardeningOs?: boolean;
900
901
  serviceAccountIssuer?: string;
901
902
  serviceCidr?: string;
902
903
  serviceDiscoveryTypes?: string[];
@@ -989,6 +990,7 @@ export class CreateClusterRequest extends $tea.Model {
989
990
  resourceGroupId: 'resource_group_id',
990
991
  runtime: 'runtime',
991
992
  securityGroupId: 'security_group_id',
993
+ securityHardeningOs: 'security_hardening_os',
992
994
  serviceAccountIssuer: 'service_account_issuer',
993
995
  serviceCidr: 'service_cidr',
994
996
  serviceDiscoveryTypes: 'service_discovery_types',
@@ -1084,6 +1086,7 @@ export class CreateClusterRequest extends $tea.Model {
1084
1086
  resourceGroupId: 'string',
1085
1087
  runtime: Runtime,
1086
1088
  securityGroupId: 'string',
1089
+ securityHardeningOs: 'boolean',
1087
1090
  serviceAccountIssuer: 'string',
1088
1091
  serviceCidr: 'string',
1089
1092
  serviceDiscoveryTypes: { 'type': 'array', 'itemType': 'string' },
@@ -8677,15 +8680,21 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
8677
8680
 
8678
8681
  export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
8679
8682
  autoUpgradeKubelet?: boolean;
8683
+ autoUpgradeOs?: boolean;
8684
+ autoUpgradeRuntime?: boolean;
8680
8685
  static names(): { [key: string]: string } {
8681
8686
  return {
8682
8687
  autoUpgradeKubelet: 'auto_upgrade_kubelet',
8688
+ autoUpgradeOs: 'auto_upgrade_os',
8689
+ autoUpgradeRuntime: 'auto_upgrade_runtime',
8683
8690
  };
8684
8691
  }
8685
8692
 
8686
8693
  static types(): { [key: string]: any } {
8687
8694
  return {
8688
8695
  autoUpgradeKubelet: 'boolean',
8696
+ autoUpgradeOs: 'boolean',
8697
+ autoUpgradeRuntime: 'boolean',
8689
8698
  };
8690
8699
  }
8691
8700
 
@@ -8922,6 +8931,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8922
8931
  scalingPolicy?: string;
8923
8932
  securityGroupId?: string;
8924
8933
  securityGroupIds?: string[];
8934
+ securityHardeningOs?: boolean;
8925
8935
  socEnabled?: boolean;
8926
8936
  spotInstancePools?: number;
8927
8937
  spotInstanceRemedy?: boolean;
@@ -8967,6 +8977,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
8967
8977
  scalingPolicy: 'scaling_policy',
8968
8978
  securityGroupId: 'security_group_id',
8969
8979
  securityGroupIds: 'security_group_ids',
8980
+ securityHardeningOs: 'security_hardening_os',
8970
8981
  socEnabled: 'soc_enabled',
8971
8982
  spotInstancePools: 'spot_instance_pools',
8972
8983
  spotInstanceRemedy: 'spot_instance_remedy',
@@ -9015,6 +9026,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
9015
9026
  scalingPolicy: 'string',
9016
9027
  securityGroupId: 'string',
9017
9028
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
9029
+ securityHardeningOs: 'boolean',
9018
9030
  socEnabled: 'boolean',
9019
9031
  spotInstancePools: 'number',
9020
9032
  spotInstanceRemedy: 'boolean',
@@ -9683,6 +9695,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
9683
9695
  scalingPolicy?: string;
9684
9696
  securityGroupId?: string;
9685
9697
  securityGroupIds?: string[];
9698
+ securityHardeningOs?: boolean;
9686
9699
  socEnabled?: boolean;
9687
9700
  spotInstancePools?: number;
9688
9701
  spotInstanceRemedy?: boolean;
@@ -9730,6 +9743,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
9730
9743
  scalingPolicy: 'scaling_policy',
9731
9744
  securityGroupId: 'security_group_id',
9732
9745
  securityGroupIds: 'security_group_ids',
9746
+ securityHardeningOs: 'security_hardening_os',
9733
9747
  socEnabled: 'soc_enabled',
9734
9748
  spotInstancePools: 'spot_instance_pools',
9735
9749
  spotInstanceRemedy: 'spot_instance_remedy',
@@ -9780,6 +9794,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
9780
9794
  scalingPolicy: 'string',
9781
9795
  securityGroupId: 'string',
9782
9796
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
9797
+ securityHardeningOs: 'boolean',
9783
9798
  socEnabled: 'boolean',
9784
9799
  spotInstancePools: 'number',
9785
9800
  spotInstanceRemedy: 'boolean',
@@ -10235,6 +10250,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
10235
10250
  scalingPolicy?: string;
10236
10251
  securityGroupId?: string;
10237
10252
  securityGroupIds?: string[];
10253
+ securityHardeningOs?: boolean;
10238
10254
  socEnabled?: boolean;
10239
10255
  spotInstancePools?: number;
10240
10256
  spotInstanceRemedy?: boolean;
@@ -10282,6 +10298,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
10282
10298
  scalingPolicy: 'scaling_policy',
10283
10299
  securityGroupId: 'security_group_id',
10284
10300
  securityGroupIds: 'security_group_ids',
10301
+ securityHardeningOs: 'security_hardening_os',
10285
10302
  socEnabled: 'soc_enabled',
10286
10303
  spotInstancePools: 'spot_instance_pools',
10287
10304
  spotInstanceRemedy: 'spot_instance_remedy',
@@ -10332,6 +10349,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
10332
10349
  scalingPolicy: 'string',
10333
10350
  securityGroupId: 'string',
10334
10351
  securityGroupIds: { 'type': 'array', 'itemType': 'string' },
10352
+ securityHardeningOs: 'boolean',
10335
10353
  socEnabled: 'boolean',
10336
10354
  spotInstancePools: 'number',
10337
10355
  spotInstanceRemedy: 'boolean',
@@ -12627,15 +12645,21 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea
12627
12645
 
12628
12646
  export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
12629
12647
  autoUpgradeKubelet?: boolean;
12648
+ autoUpgradeOs?: boolean;
12649
+ autoUpgradeRuntime?: boolean;
12630
12650
  static names(): { [key: string]: string } {
12631
12651
  return {
12632
12652
  autoUpgradeKubelet: 'auto_upgrade_kubelet',
12653
+ autoUpgradeOs: 'auto_upgrade_os',
12654
+ autoUpgradeRuntime: 'auto_upgrade_runtime',
12633
12655
  };
12634
12656
  }
12635
12657
 
12636
12658
  static types(): { [key: string]: any } {
12637
12659
  return {
12638
12660
  autoUpgradeKubelet: 'boolean',
12661
+ autoUpgradeOs: 'boolean',
12662
+ autoUpgradeRuntime: 'boolean',
12639
12663
  };
12640
12664
  }
12641
12665
 
@@ -13888,6 +13912,10 @@ export default class Client extends OpenApi {
13888
13912
  body["security_group_id"] = request.securityGroupId;
13889
13913
  }
13890
13914
 
13915
+ if (!Util.isUnset(request.securityHardeningOs)) {
13916
+ body["security_hardening_os"] = request.securityHardeningOs;
13917
+ }
13918
+
13891
13919
  if (!Util.isUnset(request.serviceAccountIssuer)) {
13892
13920
  body["service_account_issuer"] = request.serviceAccountIssuer;
13893
13921
  }