@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/dist/client.d.ts +8 -0
- package/dist/client.js +19 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +28 -0
package/dist/client.d.ts
CHANGED
|
@@ -526,6 +526,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
526
526
|
resourceGroupId?: string;
|
|
527
527
|
runtime?: Runtime;
|
|
528
528
|
securityGroupId?: string;
|
|
529
|
+
securityHardeningOs?: boolean;
|
|
529
530
|
serviceAccountIssuer?: string;
|
|
530
531
|
serviceCidr?: string;
|
|
531
532
|
serviceDiscoveryTypes?: string[];
|
|
@@ -4964,6 +4965,8 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
4964
4965
|
}
|
|
4965
4966
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
4966
4967
|
autoUpgradeKubelet?: boolean;
|
|
4968
|
+
autoUpgradeOs?: boolean;
|
|
4969
|
+
autoUpgradeRuntime?: boolean;
|
|
4967
4970
|
static names(): {
|
|
4968
4971
|
[key: string]: string;
|
|
4969
4972
|
};
|
|
@@ -5114,6 +5117,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
5114
5117
|
scalingPolicy?: string;
|
|
5115
5118
|
securityGroupId?: string;
|
|
5116
5119
|
securityGroupIds?: string[];
|
|
5120
|
+
securityHardeningOs?: boolean;
|
|
5117
5121
|
socEnabled?: boolean;
|
|
5118
5122
|
spotInstancePools?: number;
|
|
5119
5123
|
spotInstanceRemedy?: boolean;
|
|
@@ -5505,6 +5509,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
5505
5509
|
scalingPolicy?: string;
|
|
5506
5510
|
securityGroupId?: string;
|
|
5507
5511
|
securityGroupIds?: string[];
|
|
5512
|
+
securityHardeningOs?: boolean;
|
|
5508
5513
|
socEnabled?: boolean;
|
|
5509
5514
|
spotInstancePools?: number;
|
|
5510
5515
|
spotInstanceRemedy?: boolean;
|
|
@@ -5774,6 +5779,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
5774
5779
|
scalingPolicy?: string;
|
|
5775
5780
|
securityGroupId?: string;
|
|
5776
5781
|
securityGroupIds?: string[];
|
|
5782
|
+
securityHardeningOs?: boolean;
|
|
5777
5783
|
socEnabled?: boolean;
|
|
5778
5784
|
spotInstancePools?: number;
|
|
5779
5785
|
spotInstanceRemedy?: boolean;
|
|
@@ -6963,6 +6969,8 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
6963
6969
|
}
|
|
6964
6970
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
6965
6971
|
autoUpgradeKubelet?: boolean;
|
|
6972
|
+
autoUpgradeOs?: boolean;
|
|
6973
|
+
autoUpgradeRuntime?: boolean;
|
|
6966
6974
|
static names(): {
|
|
6967
6975
|
[key: string]: string;
|
|
6968
6976
|
};
|
package/dist/client.js
CHANGED
|
@@ -751,6 +751,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
751
751
|
resourceGroupId: 'resource_group_id',
|
|
752
752
|
runtime: 'runtime',
|
|
753
753
|
securityGroupId: 'security_group_id',
|
|
754
|
+
securityHardeningOs: 'security_hardening_os',
|
|
754
755
|
serviceAccountIssuer: 'service_account_issuer',
|
|
755
756
|
serviceCidr: 'service_cidr',
|
|
756
757
|
serviceDiscoveryTypes: 'service_discovery_types',
|
|
@@ -845,6 +846,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
845
846
|
resourceGroupId: 'string',
|
|
846
847
|
runtime: Runtime,
|
|
847
848
|
securityGroupId: 'string',
|
|
849
|
+
securityHardeningOs: 'boolean',
|
|
848
850
|
serviceAccountIssuer: 'string',
|
|
849
851
|
serviceCidr: 'string',
|
|
850
852
|
serviceDiscoveryTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -6877,11 +6879,15 @@ class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model
|
|
|
6877
6879
|
static names() {
|
|
6878
6880
|
return {
|
|
6879
6881
|
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
6882
|
+
autoUpgradeOs: 'auto_upgrade_os',
|
|
6883
|
+
autoUpgradeRuntime: 'auto_upgrade_runtime',
|
|
6880
6884
|
};
|
|
6881
6885
|
}
|
|
6882
6886
|
static types() {
|
|
6883
6887
|
return {
|
|
6884
6888
|
autoUpgradeKubelet: 'boolean',
|
|
6889
|
+
autoUpgradeOs: 'boolean',
|
|
6890
|
+
autoUpgradeRuntime: 'boolean',
|
|
6885
6891
|
};
|
|
6886
6892
|
}
|
|
6887
6893
|
constructor(map) {
|
|
@@ -7079,6 +7085,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7079
7085
|
scalingPolicy: 'scaling_policy',
|
|
7080
7086
|
securityGroupId: 'security_group_id',
|
|
7081
7087
|
securityGroupIds: 'security_group_ids',
|
|
7088
|
+
securityHardeningOs: 'security_hardening_os',
|
|
7082
7089
|
socEnabled: 'soc_enabled',
|
|
7083
7090
|
spotInstancePools: 'spot_instance_pools',
|
|
7084
7091
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
@@ -7126,6 +7133,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7126
7133
|
scalingPolicy: 'string',
|
|
7127
7134
|
securityGroupId: 'string',
|
|
7128
7135
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
7136
|
+
securityHardeningOs: 'boolean',
|
|
7129
7137
|
socEnabled: 'boolean',
|
|
7130
7138
|
spotInstancePools: 'number',
|
|
7131
7139
|
spotInstanceRemedy: 'boolean',
|
|
@@ -7667,6 +7675,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
7667
7675
|
scalingPolicy: 'scaling_policy',
|
|
7668
7676
|
securityGroupId: 'security_group_id',
|
|
7669
7677
|
securityGroupIds: 'security_group_ids',
|
|
7678
|
+
securityHardeningOs: 'security_hardening_os',
|
|
7670
7679
|
socEnabled: 'soc_enabled',
|
|
7671
7680
|
spotInstancePools: 'spot_instance_pools',
|
|
7672
7681
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
@@ -7716,6 +7725,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
7716
7725
|
scalingPolicy: 'string',
|
|
7717
7726
|
securityGroupId: 'string',
|
|
7718
7727
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
7728
|
+
securityHardeningOs: 'boolean',
|
|
7719
7729
|
socEnabled: 'boolean',
|
|
7720
7730
|
spotInstancePools: 'number',
|
|
7721
7731
|
spotInstanceRemedy: 'boolean',
|
|
@@ -8085,6 +8095,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
8085
8095
|
scalingPolicy: 'scaling_policy',
|
|
8086
8096
|
securityGroupId: 'security_group_id',
|
|
8087
8097
|
securityGroupIds: 'security_group_ids',
|
|
8098
|
+
securityHardeningOs: 'security_hardening_os',
|
|
8088
8099
|
socEnabled: 'soc_enabled',
|
|
8089
8100
|
spotInstancePools: 'spot_instance_pools',
|
|
8090
8101
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
@@ -8134,6 +8145,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
8134
8145
|
scalingPolicy: 'string',
|
|
8135
8146
|
securityGroupId: 'string',
|
|
8136
8147
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
8148
|
+
securityHardeningOs: 'boolean',
|
|
8137
8149
|
socEnabled: 'boolean',
|
|
8138
8150
|
spotInstancePools: 'number',
|
|
8139
8151
|
spotInstanceRemedy: 'boolean',
|
|
@@ -9907,11 +9919,15 @@ class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model
|
|
|
9907
9919
|
static names() {
|
|
9908
9920
|
return {
|
|
9909
9921
|
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
9922
|
+
autoUpgradeOs: 'auto_upgrade_os',
|
|
9923
|
+
autoUpgradeRuntime: 'auto_upgrade_runtime',
|
|
9910
9924
|
};
|
|
9911
9925
|
}
|
|
9912
9926
|
static types() {
|
|
9913
9927
|
return {
|
|
9914
9928
|
autoUpgradeKubelet: 'boolean',
|
|
9929
|
+
autoUpgradeOs: 'boolean',
|
|
9930
|
+
autoUpgradeRuntime: 'boolean',
|
|
9915
9931
|
};
|
|
9916
9932
|
}
|
|
9917
9933
|
constructor(map) {
|
|
@@ -10920,6 +10936,9 @@ class Client extends openapi_client_1.default {
|
|
|
10920
10936
|
if (!tea_util_1.default.isUnset(request.securityGroupId)) {
|
|
10921
10937
|
body["security_group_id"] = request.securityGroupId;
|
|
10922
10938
|
}
|
|
10939
|
+
if (!tea_util_1.default.isUnset(request.securityHardeningOs)) {
|
|
10940
|
+
body["security_hardening_os"] = request.securityHardeningOs;
|
|
10941
|
+
}
|
|
10923
10942
|
if (!tea_util_1.default.isUnset(request.serviceAccountIssuer)) {
|
|
10924
10943
|
body["service_account_issuer"] = request.serviceAccountIssuer;
|
|
10925
10944
|
}
|