@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -738,6 +738,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
738
738
|
nodeCidrMask?: string;
|
|
739
739
|
nodeNameMode?: string;
|
|
740
740
|
nodePortRange?: string;
|
|
741
|
+
nodepools?: Nodepool[];
|
|
741
742
|
numOfNodes?: number;
|
|
742
743
|
osType?: string;
|
|
743
744
|
period?: number;
|
|
@@ -828,6 +829,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
828
829
|
nodeCidrMask: 'node_cidr_mask',
|
|
829
830
|
nodeNameMode: 'node_name_mode',
|
|
830
831
|
nodePortRange: 'node_port_range',
|
|
832
|
+
nodepools: 'nodepools',
|
|
831
833
|
numOfNodes: 'num_of_nodes',
|
|
832
834
|
osType: 'os_type',
|
|
833
835
|
period: 'period',
|
|
@@ -921,6 +923,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
921
923
|
nodeCidrMask: 'string',
|
|
922
924
|
nodeNameMode: 'string',
|
|
923
925
|
nodePortRange: 'string',
|
|
926
|
+
nodepools: { 'type': 'array', 'itemType': Nodepool },
|
|
924
927
|
numOfNodes: 'number',
|
|
925
928
|
osType: 'string',
|
|
926
929
|
period: 'number',
|
|
@@ -3488,15 +3491,18 @@ export class DescribeEventsResponse extends $tea.Model {
|
|
|
3488
3491
|
}
|
|
3489
3492
|
|
|
3490
3493
|
export class DescribeExternalAgentRequest extends $tea.Model {
|
|
3494
|
+
agentMode?: string;
|
|
3491
3495
|
privateIpAddress?: string;
|
|
3492
3496
|
static names(): { [key: string]: string } {
|
|
3493
3497
|
return {
|
|
3498
|
+
agentMode: 'AgentMode',
|
|
3494
3499
|
privateIpAddress: 'PrivateIpAddress',
|
|
3495
3500
|
};
|
|
3496
3501
|
}
|
|
3497
3502
|
|
|
3498
3503
|
static types(): { [key: string]: any } {
|
|
3499
3504
|
return {
|
|
3505
|
+
agentMode: 'string',
|
|
3500
3506
|
privateIpAddress: 'string',
|
|
3501
3507
|
};
|
|
3502
3508
|
}
|
|
@@ -7683,8 +7689,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7683
7689
|
spotInstanceRemedy?: boolean;
|
|
7684
7690
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
7685
7691
|
spotStrategy?: string;
|
|
7692
|
+
systemDiskBurstingEnabled?: boolean;
|
|
7686
7693
|
systemDiskCategory?: string;
|
|
7687
7694
|
systemDiskPerformanceLevel?: string;
|
|
7695
|
+
systemDiskProvisionedIops?: number;
|
|
7688
7696
|
systemDiskSize?: number;
|
|
7689
7697
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
7690
7698
|
vswitchIds?: string[];
|
|
@@ -7719,8 +7727,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7719
7727
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
7720
7728
|
spotPriceLimit: 'spot_price_limit',
|
|
7721
7729
|
spotStrategy: 'spot_strategy',
|
|
7730
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
7722
7731
|
systemDiskCategory: 'system_disk_category',
|
|
7723
7732
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
7733
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
7724
7734
|
systemDiskSize: 'system_disk_size',
|
|
7725
7735
|
tags: 'tags',
|
|
7726
7736
|
vswitchIds: 'vswitch_ids',
|
|
@@ -7758,8 +7768,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7758
7768
|
spotInstanceRemedy: 'boolean',
|
|
7759
7769
|
spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
|
|
7760
7770
|
spotStrategy: 'string',
|
|
7771
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
7761
7772
|
systemDiskCategory: 'string',
|
|
7762
7773
|
systemDiskPerformanceLevel: 'string',
|
|
7774
|
+
systemDiskProvisionedIops: 'number',
|
|
7763
7775
|
systemDiskSize: 'number',
|
|
7764
7776
|
tags: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupTags },
|
|
7765
7777
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -11712,6 +11724,10 @@ export default class Client extends OpenApi {
|
|
|
11712
11724
|
body["node_port_range"] = request.nodePortRange;
|
|
11713
11725
|
}
|
|
11714
11726
|
|
|
11727
|
+
if (!Util.isUnset(request.nodepools)) {
|
|
11728
|
+
body["nodepools"] = request.nodepools;
|
|
11729
|
+
}
|
|
11730
|
+
|
|
11715
11731
|
if (!Util.isUnset(request.numOfNodes)) {
|
|
11716
11732
|
body["num_of_nodes"] = request.numOfNodes;
|
|
11717
11733
|
}
|
|
@@ -13381,6 +13397,10 @@ export default class Client extends OpenApi {
|
|
|
13381
13397
|
async describeExternalAgentWithOptions(ClusterId: string, request: DescribeExternalAgentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse> {
|
|
13382
13398
|
Util.validateModel(request);
|
|
13383
13399
|
let query : {[key: string ]: any} = { };
|
|
13400
|
+
if (!Util.isUnset(request.agentMode)) {
|
|
13401
|
+
query["AgentMode"] = request.agentMode;
|
|
13402
|
+
}
|
|
13403
|
+
|
|
13384
13404
|
if (!Util.isUnset(request.privateIpAddress)) {
|
|
13385
13405
|
query["PrivateIpAddress"] = request.privateIpAddress;
|
|
13386
13406
|
}
|