@alicloud/cs20151215 3.0.25 → 3.0.27
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 +210 -0
- package/dist/client.js +301 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +376 -0
package/dist/client.d.ts
CHANGED
|
@@ -19,10 +19,13 @@ export declare class Addon extends $tea.Model {
|
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
export declare class DataDisk extends $tea.Model {
|
|
22
|
+
autoFormat?: boolean;
|
|
22
23
|
autoSnapshotPolicyId?: string;
|
|
23
24
|
burstingEnabled?: boolean;
|
|
24
25
|
category?: string;
|
|
25
26
|
encrypted?: string;
|
|
27
|
+
fileSystem?: string;
|
|
28
|
+
mountTarget?: string;
|
|
26
29
|
performanceLevel?: string;
|
|
27
30
|
provisionedIops?: number;
|
|
28
31
|
size?: number;
|
|
@@ -2875,6 +2878,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
2875
2878
|
instanceDeletionProtection?: boolean;
|
|
2876
2879
|
maintenanceWindow?: MaintenanceWindow;
|
|
2877
2880
|
resourceGroupId?: string;
|
|
2881
|
+
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
2878
2882
|
static names(): {
|
|
2879
2883
|
[key: string]: string;
|
|
2880
2884
|
};
|
|
@@ -4352,6 +4356,43 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
4352
4356
|
[key: string]: any;
|
|
4353
4357
|
});
|
|
4354
4358
|
}
|
|
4359
|
+
export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
4360
|
+
restartNode?: boolean;
|
|
4361
|
+
static names(): {
|
|
4362
|
+
[key: string]: string;
|
|
4363
|
+
};
|
|
4364
|
+
static types(): {
|
|
4365
|
+
[key: string]: any;
|
|
4366
|
+
};
|
|
4367
|
+
constructor(map?: {
|
|
4368
|
+
[key: string]: any;
|
|
4369
|
+
});
|
|
4370
|
+
}
|
|
4371
|
+
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
4372
|
+
autoUpgradeKubelet?: boolean;
|
|
4373
|
+
static names(): {
|
|
4374
|
+
[key: string]: string;
|
|
4375
|
+
};
|
|
4376
|
+
static types(): {
|
|
4377
|
+
[key: string]: any;
|
|
4378
|
+
};
|
|
4379
|
+
constructor(map?: {
|
|
4380
|
+
[key: string]: any;
|
|
4381
|
+
});
|
|
4382
|
+
}
|
|
4383
|
+
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
4384
|
+
restartNode?: boolean;
|
|
4385
|
+
vulLevel?: string;
|
|
4386
|
+
static names(): {
|
|
4387
|
+
[key: string]: string;
|
|
4388
|
+
};
|
|
4389
|
+
static types(): {
|
|
4390
|
+
[key: string]: any;
|
|
4391
|
+
};
|
|
4392
|
+
constructor(map?: {
|
|
4393
|
+
[key: string]: any;
|
|
4394
|
+
});
|
|
4395
|
+
}
|
|
4355
4396
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
4356
4397
|
autoUpgrade?: boolean;
|
|
4357
4398
|
maxUnavailable?: number;
|
|
@@ -4369,6 +4410,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
4369
4410
|
}
|
|
4370
4411
|
export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
4371
4412
|
autoRepair?: boolean;
|
|
4413
|
+
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
4414
|
+
autoUpgrade?: boolean;
|
|
4415
|
+
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
4416
|
+
autoVulFix?: boolean;
|
|
4417
|
+
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
4372
4418
|
enable?: boolean;
|
|
4373
4419
|
upgradeConfig?: CreateClusterNodePoolRequestManagementUpgradeConfig;
|
|
4374
4420
|
static names(): {
|
|
@@ -4633,6 +4679,43 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
4633
4679
|
[key: string]: any;
|
|
4634
4680
|
});
|
|
4635
4681
|
}
|
|
4682
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
4683
|
+
restartNode?: boolean;
|
|
4684
|
+
static names(): {
|
|
4685
|
+
[key: string]: string;
|
|
4686
|
+
};
|
|
4687
|
+
static types(): {
|
|
4688
|
+
[key: string]: any;
|
|
4689
|
+
};
|
|
4690
|
+
constructor(map?: {
|
|
4691
|
+
[key: string]: any;
|
|
4692
|
+
});
|
|
4693
|
+
}
|
|
4694
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
4695
|
+
autoUpgradeKubelet?: boolean;
|
|
4696
|
+
static names(): {
|
|
4697
|
+
[key: string]: string;
|
|
4698
|
+
};
|
|
4699
|
+
static types(): {
|
|
4700
|
+
[key: string]: any;
|
|
4701
|
+
};
|
|
4702
|
+
constructor(map?: {
|
|
4703
|
+
[key: string]: any;
|
|
4704
|
+
});
|
|
4705
|
+
}
|
|
4706
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
4707
|
+
restartNode?: boolean;
|
|
4708
|
+
vulLevel?: string;
|
|
4709
|
+
static names(): {
|
|
4710
|
+
[key: string]: string;
|
|
4711
|
+
};
|
|
4712
|
+
static types(): {
|
|
4713
|
+
[key: string]: any;
|
|
4714
|
+
};
|
|
4715
|
+
constructor(map?: {
|
|
4716
|
+
[key: string]: any;
|
|
4717
|
+
});
|
|
4718
|
+
}
|
|
4636
4719
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $tea.Model {
|
|
4637
4720
|
autoUpgrade?: boolean;
|
|
4638
4721
|
maxUnavailable?: number;
|
|
@@ -4650,6 +4733,11 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeC
|
|
|
4650
4733
|
}
|
|
4651
4734
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Model {
|
|
4652
4735
|
autoRepair?: boolean;
|
|
4736
|
+
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
4737
|
+
autoUpgrade?: boolean;
|
|
4738
|
+
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
4739
|
+
autoVulFix?: boolean;
|
|
4740
|
+
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
4653
4741
|
enable?: boolean;
|
|
4654
4742
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
4655
4743
|
static names(): {
|
|
@@ -4849,6 +4937,43 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
4849
4937
|
[key: string]: any;
|
|
4850
4938
|
});
|
|
4851
4939
|
}
|
|
4940
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $tea.Model {
|
|
4941
|
+
restartNode?: boolean;
|
|
4942
|
+
static names(): {
|
|
4943
|
+
[key: string]: string;
|
|
4944
|
+
};
|
|
4945
|
+
static types(): {
|
|
4946
|
+
[key: string]: any;
|
|
4947
|
+
};
|
|
4948
|
+
constructor(map?: {
|
|
4949
|
+
[key: string]: any;
|
|
4950
|
+
});
|
|
4951
|
+
}
|
|
4952
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $tea.Model {
|
|
4953
|
+
autoUpgradeKubelet?: boolean;
|
|
4954
|
+
static names(): {
|
|
4955
|
+
[key: string]: string;
|
|
4956
|
+
};
|
|
4957
|
+
static types(): {
|
|
4958
|
+
[key: string]: any;
|
|
4959
|
+
};
|
|
4960
|
+
constructor(map?: {
|
|
4961
|
+
[key: string]: any;
|
|
4962
|
+
});
|
|
4963
|
+
}
|
|
4964
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $tea.Model {
|
|
4965
|
+
restartNode?: boolean;
|
|
4966
|
+
vulLevel?: string;
|
|
4967
|
+
static names(): {
|
|
4968
|
+
[key: string]: string;
|
|
4969
|
+
};
|
|
4970
|
+
static types(): {
|
|
4971
|
+
[key: string]: any;
|
|
4972
|
+
};
|
|
4973
|
+
constructor(map?: {
|
|
4974
|
+
[key: string]: any;
|
|
4975
|
+
});
|
|
4976
|
+
}
|
|
4852
4977
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $tea.Model {
|
|
4853
4978
|
autoUpgrade?: boolean;
|
|
4854
4979
|
maxUnavailable?: number;
|
|
@@ -4866,6 +4991,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
4866
4991
|
}
|
|
4867
4992
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $tea.Model {
|
|
4868
4993
|
autoRepair?: boolean;
|
|
4994
|
+
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
4995
|
+
autoUpgrade?: boolean;
|
|
4996
|
+
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
4997
|
+
autoVulFix?: boolean;
|
|
4998
|
+
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
4869
4999
|
enable?: boolean;
|
|
4870
5000
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
4871
5001
|
static names(): {
|
|
@@ -5079,6 +5209,20 @@ export declare class DescribeClusterNodesResponseBodyPage extends $tea.Model {
|
|
|
5079
5209
|
[key: string]: any;
|
|
5080
5210
|
});
|
|
5081
5211
|
}
|
|
5212
|
+
export declare class DescribeClusterResourcesResponseBodyDependencies extends $tea.Model {
|
|
5213
|
+
clusterId?: string;
|
|
5214
|
+
resourceType?: string;
|
|
5215
|
+
instanceId?: string;
|
|
5216
|
+
static names(): {
|
|
5217
|
+
[key: string]: string;
|
|
5218
|
+
};
|
|
5219
|
+
static types(): {
|
|
5220
|
+
[key: string]: any;
|
|
5221
|
+
};
|
|
5222
|
+
constructor(map?: {
|
|
5223
|
+
[key: string]: any;
|
|
5224
|
+
});
|
|
5225
|
+
}
|
|
5082
5226
|
export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
5083
5227
|
clusterId?: string;
|
|
5084
5228
|
created?: string;
|
|
@@ -5087,6 +5231,7 @@ export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
5087
5231
|
resourceType?: string;
|
|
5088
5232
|
state?: string;
|
|
5089
5233
|
autoCreate?: number;
|
|
5234
|
+
dependencies?: DescribeClusterResourcesResponseBodyDependencies;
|
|
5090
5235
|
static names(): {
|
|
5091
5236
|
[key: string]: string;
|
|
5092
5237
|
};
|
|
@@ -5896,6 +6041,19 @@ export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model
|
|
|
5896
6041
|
[key: string]: any;
|
|
5897
6042
|
});
|
|
5898
6043
|
}
|
|
6044
|
+
export declare class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
|
|
6045
|
+
enabled?: boolean;
|
|
6046
|
+
loggingProject?: string;
|
|
6047
|
+
static names(): {
|
|
6048
|
+
[key: string]: string;
|
|
6049
|
+
};
|
|
6050
|
+
static types(): {
|
|
6051
|
+
[key: string]: any;
|
|
6052
|
+
};
|
|
6053
|
+
constructor(map?: {
|
|
6054
|
+
[key: string]: any;
|
|
6055
|
+
});
|
|
6056
|
+
}
|
|
5899
6057
|
export declare class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends $tea.Model {
|
|
5900
6058
|
key?: string;
|
|
5901
6059
|
value?: string;
|
|
@@ -5958,6 +6116,43 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
5958
6116
|
[key: string]: any;
|
|
5959
6117
|
});
|
|
5960
6118
|
}
|
|
6119
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
6120
|
+
restartNode?: boolean;
|
|
6121
|
+
static names(): {
|
|
6122
|
+
[key: string]: string;
|
|
6123
|
+
};
|
|
6124
|
+
static types(): {
|
|
6125
|
+
[key: string]: any;
|
|
6126
|
+
};
|
|
6127
|
+
constructor(map?: {
|
|
6128
|
+
[key: string]: any;
|
|
6129
|
+
});
|
|
6130
|
+
}
|
|
6131
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
6132
|
+
autoUpgradeKubelet?: boolean;
|
|
6133
|
+
static names(): {
|
|
6134
|
+
[key: string]: string;
|
|
6135
|
+
};
|
|
6136
|
+
static types(): {
|
|
6137
|
+
[key: string]: any;
|
|
6138
|
+
};
|
|
6139
|
+
constructor(map?: {
|
|
6140
|
+
[key: string]: any;
|
|
6141
|
+
});
|
|
6142
|
+
}
|
|
6143
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
6144
|
+
restartNode?: boolean;
|
|
6145
|
+
vulLevel?: string;
|
|
6146
|
+
static names(): {
|
|
6147
|
+
[key: string]: string;
|
|
6148
|
+
};
|
|
6149
|
+
static types(): {
|
|
6150
|
+
[key: string]: any;
|
|
6151
|
+
};
|
|
6152
|
+
constructor(map?: {
|
|
6153
|
+
[key: string]: any;
|
|
6154
|
+
});
|
|
6155
|
+
}
|
|
5961
6156
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
5962
6157
|
autoUpgrade?: boolean;
|
|
5963
6158
|
maxUnavailable?: number;
|
|
@@ -5975,6 +6170,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
5975
6170
|
}
|
|
5976
6171
|
export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
5977
6172
|
autoRepair?: boolean;
|
|
6173
|
+
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
6174
|
+
autoUpgrade?: boolean;
|
|
6175
|
+
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
6176
|
+
autoVulFix?: boolean;
|
|
6177
|
+
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
5978
6178
|
enable?: boolean;
|
|
5979
6179
|
upgradeConfig?: ModifyClusterNodePoolRequestManagementUpgradeConfig;
|
|
5980
6180
|
static names(): {
|
|
@@ -6686,6 +6886,11 @@ export default class Client extends OpenApi {
|
|
|
6686
6886
|
pauseTask(taskId: string): Promise<PauseTaskResponse>;
|
|
6687
6887
|
/**
|
|
6688
6888
|
* @deprecated
|
|
6889
|
+
* ****
|
|
6890
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
6891
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6892
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6893
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
6689
6894
|
*
|
|
6690
6895
|
* @param request RemoveClusterNodesRequest
|
|
6691
6896
|
* @param headers map
|
|
@@ -6697,6 +6902,11 @@ export default class Client extends OpenApi {
|
|
|
6697
6902
|
}, runtime: $Util.RuntimeOptions): Promise<RemoveClusterNodesResponse>;
|
|
6698
6903
|
/**
|
|
6699
6904
|
* @deprecated
|
|
6905
|
+
* ****
|
|
6906
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
6907
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6908
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6909
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
6700
6910
|
*
|
|
6701
6911
|
* @param request RemoveClusterNodesRequest
|
|
6702
6912
|
* @return RemoveClusterNodesResponse
|