@alicloud/cs20151215 3.0.22 → 3.0.24
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 +4 -0
- package/dist/client.js +14 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +20 -0
package/dist/client.d.ts
CHANGED
|
@@ -432,6 +432,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
432
432
|
nodeCidrMask?: string;
|
|
433
433
|
nodeNameMode?: string;
|
|
434
434
|
nodePortRange?: string;
|
|
435
|
+
nodepools?: Nodepool[];
|
|
435
436
|
numOfNodes?: number;
|
|
436
437
|
osType?: string;
|
|
437
438
|
period?: number;
|
|
@@ -1970,6 +1971,7 @@ export declare class DescribeEventsResponse extends $tea.Model {
|
|
|
1970
1971
|
});
|
|
1971
1972
|
}
|
|
1972
1973
|
export declare class DescribeExternalAgentRequest extends $tea.Model {
|
|
1974
|
+
agentMode?: string;
|
|
1973
1975
|
privateIpAddress?: string;
|
|
1974
1976
|
static names(): {
|
|
1975
1977
|
[key: string]: string;
|
|
@@ -4415,8 +4417,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
4415
4417
|
spotInstanceRemedy?: boolean;
|
|
4416
4418
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
4417
4419
|
spotStrategy?: string;
|
|
4420
|
+
systemDiskBurstingEnabled?: boolean;
|
|
4418
4421
|
systemDiskCategory?: string;
|
|
4419
4422
|
systemDiskPerformanceLevel?: string;
|
|
4423
|
+
systemDiskProvisionedIops?: number;
|
|
4420
4424
|
systemDiskSize?: number;
|
|
4421
4425
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
4422
4426
|
vswitchIds?: string[];
|
package/dist/client.js
CHANGED
|
@@ -607,6 +607,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
607
607
|
nodeCidrMask: 'node_cidr_mask',
|
|
608
608
|
nodeNameMode: 'node_name_mode',
|
|
609
609
|
nodePortRange: 'node_port_range',
|
|
610
|
+
nodepools: 'nodepools',
|
|
610
611
|
numOfNodes: 'num_of_nodes',
|
|
611
612
|
osType: 'os_type',
|
|
612
613
|
period: 'period',
|
|
@@ -699,6 +700,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
699
700
|
nodeCidrMask: 'string',
|
|
700
701
|
nodeNameMode: 'string',
|
|
701
702
|
nodePortRange: 'string',
|
|
703
|
+
nodepools: { 'type': 'array', 'itemType': Nodepool },
|
|
702
704
|
numOfNodes: 'number',
|
|
703
705
|
osType: 'string',
|
|
704
706
|
period: 'number',
|
|
@@ -2751,11 +2753,13 @@ class DescribeExternalAgentRequest extends $tea.Model {
|
|
|
2751
2753
|
}
|
|
2752
2754
|
static names() {
|
|
2753
2755
|
return {
|
|
2756
|
+
agentMode: 'AgentMode',
|
|
2754
2757
|
privateIpAddress: 'PrivateIpAddress',
|
|
2755
2758
|
};
|
|
2756
2759
|
}
|
|
2757
2760
|
static types() {
|
|
2758
2761
|
return {
|
|
2762
|
+
agentMode: 'string',
|
|
2759
2763
|
privateIpAddress: 'string',
|
|
2760
2764
|
};
|
|
2761
2765
|
}
|
|
@@ -6084,8 +6088,10 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6084
6088
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
6085
6089
|
spotPriceLimit: 'spot_price_limit',
|
|
6086
6090
|
spotStrategy: 'spot_strategy',
|
|
6091
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
6087
6092
|
systemDiskCategory: 'system_disk_category',
|
|
6088
6093
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
6094
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
6089
6095
|
systemDiskSize: 'system_disk_size',
|
|
6090
6096
|
tags: 'tags',
|
|
6091
6097
|
vswitchIds: 'vswitch_ids',
|
|
@@ -6122,8 +6128,10 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6122
6128
|
spotInstanceRemedy: 'boolean',
|
|
6123
6129
|
spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
|
|
6124
6130
|
spotStrategy: 'string',
|
|
6131
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
6125
6132
|
systemDiskCategory: 'string',
|
|
6126
6133
|
systemDiskPerformanceLevel: 'string',
|
|
6134
|
+
systemDiskProvisionedIops: 'number',
|
|
6127
6135
|
systemDiskSize: 'number',
|
|
6128
6136
|
tags: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupTags },
|
|
6129
6137
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -9183,6 +9191,9 @@ class Client extends openapi_client_1.default {
|
|
|
9183
9191
|
if (!tea_util_1.default.isUnset(request.nodePortRange)) {
|
|
9184
9192
|
body["node_port_range"] = request.nodePortRange;
|
|
9185
9193
|
}
|
|
9194
|
+
if (!tea_util_1.default.isUnset(request.nodepools)) {
|
|
9195
|
+
body["nodepools"] = request.nodepools;
|
|
9196
|
+
}
|
|
9186
9197
|
if (!tea_util_1.default.isUnset(request.numOfNodes)) {
|
|
9187
9198
|
body["num_of_nodes"] = request.numOfNodes;
|
|
9188
9199
|
}
|
|
@@ -10644,6 +10655,9 @@ class Client extends openapi_client_1.default {
|
|
|
10644
10655
|
async describeExternalAgentWithOptions(ClusterId, request, headers, runtime) {
|
|
10645
10656
|
tea_util_1.default.validateModel(request);
|
|
10646
10657
|
let query = {};
|
|
10658
|
+
if (!tea_util_1.default.isUnset(request.agentMode)) {
|
|
10659
|
+
query["AgentMode"] = request.agentMode;
|
|
10660
|
+
}
|
|
10647
10661
|
if (!tea_util_1.default.isUnset(request.privateIpAddress)) {
|
|
10648
10662
|
query["PrivateIpAddress"] = request.privateIpAddress;
|
|
10649
10663
|
}
|