@alicloud/cs20151215 6.0.0 → 6.1.1
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 +18 -0
- package/dist/client.js +51 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ContainerdConfig.d.ts +5 -0
- package/dist/models/ContainerdConfig.js +10 -0
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +40 -0
- package/dist/models/CreateClusterNodePoolRequest.js +56 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +58 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +88 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +40 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +56 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ListOperationPlansForRegionRequest.d.ts +28 -0
- package/dist/models/ListOperationPlansForRegionRequest.js +62 -0
- package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -0
- package/dist/models/ListOperationPlansForRegionResponse.d.ts +19 -0
- package/dist/models/ListOperationPlansForRegionResponse.js +69 -0
- package/dist/models/ListOperationPlansForRegionResponse.js.map +1 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +91 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js +124 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -0
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +1 -0
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +39 -0
- package/dist/models/Nodepool.js +54 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +14 -0
- package/dist/models/model.js +82 -54
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +57 -0
- package/src/models/ContainerdConfig.ts +15 -0
- package/src/models/CreateClusterNodePoolRequest.ts +75 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +116 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +75 -0
- package/src/models/ListOperationPlansForRegionRequest.ts +45 -0
- package/src/models/ListOperationPlansForRegionResponse.ts +40 -0
- package/src/models/ListOperationPlansForRegionResponseBody.ts +152 -0
- package/src/models/ModifyClusterNodePoolRequest.ts +3 -0
- package/src/models/Nodepool.ts +72 -0
- package/src/models/model.ts +14 -0
|
@@ -3,18 +3,33 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ContainerdConfig extends $dara.Model {
|
|
6
|
+
ignoreImageDefinedVolume?: boolean;
|
|
6
7
|
insecureRegistries?: string[];
|
|
8
|
+
limitCore?: number;
|
|
9
|
+
limitMemLock?: number;
|
|
10
|
+
limitNoFile?: number;
|
|
11
|
+
maxConcurrentDownloads?: number;
|
|
7
12
|
registryMirrors?: string[];
|
|
8
13
|
static names(): { [key: string]: string } {
|
|
9
14
|
return {
|
|
15
|
+
ignoreImageDefinedVolume: 'ignoreImageDefinedVolume',
|
|
10
16
|
insecureRegistries: 'insecureRegistries',
|
|
17
|
+
limitCore: 'limitCore',
|
|
18
|
+
limitMemLock: 'limitMemLock',
|
|
19
|
+
limitNoFile: 'limitNoFile',
|
|
20
|
+
maxConcurrentDownloads: 'maxConcurrentDownloads',
|
|
11
21
|
registryMirrors: 'registryMirrors',
|
|
12
22
|
};
|
|
13
23
|
}
|
|
14
24
|
|
|
15
25
|
static types(): { [key: string]: any } {
|
|
16
26
|
return {
|
|
27
|
+
ignoreImageDefinedVolume: 'boolean',
|
|
17
28
|
insecureRegistries: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
limitCore: 'number',
|
|
30
|
+
limitMemLock: 'number',
|
|
31
|
+
limitNoFile: 'number',
|
|
32
|
+
maxConcurrentDownloads: 'number',
|
|
18
33
|
registryMirrors: { 'type': 'array', 'itemType': 'string' },
|
|
19
34
|
};
|
|
20
35
|
}
|
|
@@ -764,6 +764,72 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
766
|
|
|
767
|
+
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
768
|
+
customConfig?: { [key: string]: string };
|
|
769
|
+
static names(): { [key: string]: string } {
|
|
770
|
+
return {
|
|
771
|
+
customConfig: 'custom_config',
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
static types(): { [key: string]: any } {
|
|
776
|
+
return {
|
|
777
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
778
|
+
};
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
validate() {
|
|
782
|
+
if(this.customConfig) {
|
|
783
|
+
$dara.Model.validateMap(this.customConfig);
|
|
784
|
+
}
|
|
785
|
+
super.validate();
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
constructor(map?: { [key: string]: any }) {
|
|
789
|
+
super(map);
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
|
|
794
|
+
config?: CreateClusterNodePoolRequestNodeComponentsConfig;
|
|
795
|
+
/**
|
|
796
|
+
* @example
|
|
797
|
+
* kubelet
|
|
798
|
+
*/
|
|
799
|
+
name?: string;
|
|
800
|
+
/**
|
|
801
|
+
* @example
|
|
802
|
+
* 1.33.3-aliyun.1
|
|
803
|
+
*/
|
|
804
|
+
version?: string;
|
|
805
|
+
static names(): { [key: string]: string } {
|
|
806
|
+
return {
|
|
807
|
+
config: 'config',
|
|
808
|
+
name: 'name',
|
|
809
|
+
version: 'version',
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
static types(): { [key: string]: any } {
|
|
814
|
+
return {
|
|
815
|
+
config: CreateClusterNodePoolRequestNodeComponentsConfig,
|
|
816
|
+
name: 'string',
|
|
817
|
+
version: 'string',
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
validate() {
|
|
822
|
+
if(this.config && typeof (this.config as any).validate === 'function') {
|
|
823
|
+
(this.config as any).validate();
|
|
824
|
+
}
|
|
825
|
+
super.validate();
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
constructor(map?: { [key: string]: any }) {
|
|
829
|
+
super(map);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
767
833
|
export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
|
|
768
834
|
/**
|
|
769
835
|
* @remarks
|
|
@@ -1467,6 +1533,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1467
1533
|
* 120
|
|
1468
1534
|
*/
|
|
1469
1535
|
systemDiskSize?: number;
|
|
1536
|
+
systemDiskSnapshotPolicyId?: string;
|
|
1470
1537
|
/**
|
|
1471
1538
|
* @remarks
|
|
1472
1539
|
* The tags that you want to add only to ECS instances.
|
|
@@ -1531,6 +1598,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1531
1598
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
1532
1599
|
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
1533
1600
|
systemDiskSize: 'system_disk_size',
|
|
1601
|
+
systemDiskSnapshotPolicyId: 'system_disk_snapshot_policy_id',
|
|
1534
1602
|
tags: 'tags',
|
|
1535
1603
|
vswitchIds: 'vswitch_ids',
|
|
1536
1604
|
};
|
|
@@ -1584,6 +1652,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1584
1652
|
systemDiskPerformanceLevel: 'string',
|
|
1585
1653
|
systemDiskProvisionedIops: 'number',
|
|
1586
1654
|
systemDiskSize: 'number',
|
|
1655
|
+
systemDiskSnapshotPolicyId: 'string',
|
|
1587
1656
|
tags: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupTags },
|
|
1588
1657
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
1589
1658
|
};
|
|
@@ -1748,6 +1817,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1748
1817
|
* @deprecated
|
|
1749
1818
|
*/
|
|
1750
1819
|
maxNodes?: number;
|
|
1820
|
+
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1751
1821
|
/**
|
|
1752
1822
|
* @remarks
|
|
1753
1823
|
* The node configurations.
|
|
@@ -1781,6 +1851,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1781
1851
|
kubernetesConfig: 'kubernetes_config',
|
|
1782
1852
|
management: 'management',
|
|
1783
1853
|
maxNodes: 'max_nodes',
|
|
1854
|
+
nodeComponents: 'node_components',
|
|
1784
1855
|
nodeConfig: 'node_config',
|
|
1785
1856
|
nodepoolInfo: 'nodepool_info',
|
|
1786
1857
|
scalingGroup: 'scaling_group',
|
|
@@ -1801,6 +1872,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1801
1872
|
kubernetesConfig: CreateClusterNodePoolRequestKubernetesConfig,
|
|
1802
1873
|
management: CreateClusterNodePoolRequestManagement,
|
|
1803
1874
|
maxNodes: 'number',
|
|
1875
|
+
nodeComponents: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestNodeComponents },
|
|
1804
1876
|
nodeConfig: CreateClusterNodePoolRequestNodeConfig,
|
|
1805
1877
|
nodepoolInfo: CreateClusterNodePoolRequestNodepoolInfo,
|
|
1806
1878
|
scalingGroup: CreateClusterNodePoolRequestScalingGroup,
|
|
@@ -1827,6 +1899,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1827
1899
|
if(this.management && typeof (this.management as any).validate === 'function') {
|
|
1828
1900
|
(this.management as any).validate();
|
|
1829
1901
|
}
|
|
1902
|
+
if(Array.isArray(this.nodeComponents)) {
|
|
1903
|
+
$dara.Model.validateArray(this.nodeComponents);
|
|
1904
|
+
}
|
|
1830
1905
|
if(this.nodeConfig && typeof (this.nodeConfig as any).validate === 'function') {
|
|
1831
1906
|
(this.nodeConfig as any).validate();
|
|
1832
1907
|
}
|
|
@@ -621,6 +621,72 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
+
export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig extends $dara.Model {
|
|
625
|
+
customConfig?: { [key: string]: string };
|
|
626
|
+
static names(): { [key: string]: string } {
|
|
627
|
+
return {
|
|
628
|
+
customConfig: 'custom_config',
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
static types(): { [key: string]: any } {
|
|
633
|
+
return {
|
|
634
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
validate() {
|
|
639
|
+
if(this.customConfig) {
|
|
640
|
+
$dara.Model.validateMap(this.customConfig);
|
|
641
|
+
}
|
|
642
|
+
super.validate();
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
constructor(map?: { [key: string]: any }) {
|
|
646
|
+
super(map);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $dara.Model {
|
|
651
|
+
config?: DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig;
|
|
652
|
+
/**
|
|
653
|
+
* @example
|
|
654
|
+
* kubelet
|
|
655
|
+
*/
|
|
656
|
+
name?: string;
|
|
657
|
+
/**
|
|
658
|
+
* @example
|
|
659
|
+
* 1.33.3-aliyun.1
|
|
660
|
+
*/
|
|
661
|
+
version?: string;
|
|
662
|
+
static names(): { [key: string]: string } {
|
|
663
|
+
return {
|
|
664
|
+
config: 'config',
|
|
665
|
+
name: 'name',
|
|
666
|
+
version: 'version',
|
|
667
|
+
};
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
static types(): { [key: string]: any } {
|
|
671
|
+
return {
|
|
672
|
+
config: DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig,
|
|
673
|
+
name: 'string',
|
|
674
|
+
version: 'string',
|
|
675
|
+
};
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
validate() {
|
|
679
|
+
if(this.config && typeof (this.config as any).validate === 'function') {
|
|
680
|
+
(this.config as any).validate();
|
|
681
|
+
}
|
|
682
|
+
super.validate();
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
constructor(map?: { [key: string]: any }) {
|
|
686
|
+
super(map);
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
|
|
624
690
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig extends $dara.Model {
|
|
625
691
|
hugepage?: Hugepage;
|
|
626
692
|
static names(): { [key: string]: string } {
|
|
@@ -1331,6 +1397,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1331
1397
|
* 120
|
|
1332
1398
|
*/
|
|
1333
1399
|
systemDiskSize?: number;
|
|
1400
|
+
systemDiskSnapshotPolicyId?: string;
|
|
1334
1401
|
/**
|
|
1335
1402
|
* @remarks
|
|
1336
1403
|
* The labels that you want to add only to ECS instances.
|
|
@@ -1395,6 +1462,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1395
1462
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
1396
1463
|
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
1397
1464
|
systemDiskSize: 'system_disk_size',
|
|
1465
|
+
systemDiskSnapshotPolicyId: 'system_disk_snapshot_policy_id',
|
|
1398
1466
|
tags: 'tags',
|
|
1399
1467
|
vswitchIds: 'vswitch_ids',
|
|
1400
1468
|
};
|
|
@@ -1450,6 +1518,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1450
1518
|
systemDiskPerformanceLevel: 'string',
|
|
1451
1519
|
systemDiskProvisionedIops: 'number',
|
|
1452
1520
|
systemDiskSize: 'number',
|
|
1521
|
+
systemDiskSnapshotPolicyId: 'string',
|
|
1453
1522
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
1454
1523
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
1455
1524
|
};
|
|
@@ -1500,7 +1569,43 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1500
1569
|
}
|
|
1501
1570
|
}
|
|
1502
1571
|
|
|
1572
|
+
export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $dara.Model {
|
|
1573
|
+
lastTransitionTime?: string;
|
|
1574
|
+
message?: string;
|
|
1575
|
+
reason?: string;
|
|
1576
|
+
status?: string;
|
|
1577
|
+
type?: string;
|
|
1578
|
+
static names(): { [key: string]: string } {
|
|
1579
|
+
return {
|
|
1580
|
+
lastTransitionTime: 'last_transition_time',
|
|
1581
|
+
message: 'message',
|
|
1582
|
+
reason: 'reason',
|
|
1583
|
+
status: 'status',
|
|
1584
|
+
type: 'type',
|
|
1585
|
+
};
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
static types(): { [key: string]: any } {
|
|
1589
|
+
return {
|
|
1590
|
+
lastTransitionTime: 'string',
|
|
1591
|
+
message: 'string',
|
|
1592
|
+
reason: 'string',
|
|
1593
|
+
status: 'string',
|
|
1594
|
+
type: 'string',
|
|
1595
|
+
};
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
validate() {
|
|
1599
|
+
super.validate();
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
constructor(map?: { [key: string]: any }) {
|
|
1603
|
+
super(map);
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1503
1607
|
export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model {
|
|
1608
|
+
conditions?: DescribeClusterNodePoolDetailResponseBodyStatusConditions[];
|
|
1504
1609
|
/**
|
|
1505
1610
|
* @remarks
|
|
1506
1611
|
* The number of failed nodes.
|
|
@@ -1573,6 +1678,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1573
1678
|
totalNodes?: number;
|
|
1574
1679
|
static names(): { [key: string]: string } {
|
|
1575
1680
|
return {
|
|
1681
|
+
conditions: 'conditions',
|
|
1576
1682
|
failedNodes: 'failed_nodes',
|
|
1577
1683
|
healthyNodes: 'healthy_nodes',
|
|
1578
1684
|
initialNodes: 'initial_nodes',
|
|
@@ -1586,6 +1692,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1586
1692
|
|
|
1587
1693
|
static types(): { [key: string]: any } {
|
|
1588
1694
|
return {
|
|
1695
|
+
conditions: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyStatusConditions },
|
|
1589
1696
|
failedNodes: 'number',
|
|
1590
1697
|
healthyNodes: 'number',
|
|
1591
1698
|
initialNodes: 'number',
|
|
@@ -1598,6 +1705,9 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1598
1705
|
}
|
|
1599
1706
|
|
|
1600
1707
|
validate() {
|
|
1708
|
+
if(Array.isArray(this.conditions)) {
|
|
1709
|
+
$dara.Model.validateArray(this.conditions);
|
|
1710
|
+
}
|
|
1601
1711
|
super.validate();
|
|
1602
1712
|
}
|
|
1603
1713
|
|
|
@@ -1707,6 +1817,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1707
1817
|
* 10
|
|
1708
1818
|
*/
|
|
1709
1819
|
maxNodes?: number;
|
|
1820
|
+
nodeComponents?: DescribeClusterNodePoolDetailResponseBodyNodeComponents[];
|
|
1710
1821
|
/**
|
|
1711
1822
|
* @remarks
|
|
1712
1823
|
* The node configurations.
|
|
@@ -1743,6 +1854,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1743
1854
|
kubernetesConfig: 'kubernetes_config',
|
|
1744
1855
|
management: 'management',
|
|
1745
1856
|
maxNodes: 'max_nodes',
|
|
1857
|
+
nodeComponents: 'node_components',
|
|
1746
1858
|
nodeConfig: 'node_config',
|
|
1747
1859
|
nodepoolInfo: 'nodepool_info',
|
|
1748
1860
|
scalingGroup: 'scaling_group',
|
|
@@ -1762,6 +1874,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1762
1874
|
kubernetesConfig: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig,
|
|
1763
1875
|
management: DescribeClusterNodePoolDetailResponseBodyManagement,
|
|
1764
1876
|
maxNodes: 'number',
|
|
1877
|
+
nodeComponents: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyNodeComponents },
|
|
1765
1878
|
nodeConfig: DescribeClusterNodePoolDetailResponseBodyNodeConfig,
|
|
1766
1879
|
nodepoolInfo: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo,
|
|
1767
1880
|
scalingGroup: DescribeClusterNodePoolDetailResponseBodyScalingGroup,
|
|
@@ -1786,6 +1899,9 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1786
1899
|
if(this.management && typeof (this.management as any).validate === 'function') {
|
|
1787
1900
|
(this.management as any).validate();
|
|
1788
1901
|
}
|
|
1902
|
+
if(Array.isArray(this.nodeComponents)) {
|
|
1903
|
+
$dara.Model.validateArray(this.nodeComponents);
|
|
1904
|
+
}
|
|
1789
1905
|
if(this.nodeConfig && typeof (this.nodeConfig as any).validate === 'function') {
|
|
1790
1906
|
(this.nodeConfig as any).validate();
|
|
1791
1907
|
}
|
|
@@ -657,6 +657,72 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
+
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
661
|
+
customConfig?: { [key: string]: string };
|
|
662
|
+
static names(): { [key: string]: string } {
|
|
663
|
+
return {
|
|
664
|
+
customConfig: 'custom_config',
|
|
665
|
+
};
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
static types(): { [key: string]: any } {
|
|
669
|
+
return {
|
|
670
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
validate() {
|
|
675
|
+
if(this.customConfig) {
|
|
676
|
+
$dara.Model.validateMap(this.customConfig);
|
|
677
|
+
}
|
|
678
|
+
super.validate();
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
constructor(map?: { [key: string]: any }) {
|
|
682
|
+
super(map);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends $dara.Model {
|
|
687
|
+
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
688
|
+
/**
|
|
689
|
+
* @example
|
|
690
|
+
* kubelet
|
|
691
|
+
*/
|
|
692
|
+
name?: string;
|
|
693
|
+
/**
|
|
694
|
+
* @example
|
|
695
|
+
* 1.33.3-aliyun.1
|
|
696
|
+
*/
|
|
697
|
+
version?: string;
|
|
698
|
+
static names(): { [key: string]: string } {
|
|
699
|
+
return {
|
|
700
|
+
config: 'config',
|
|
701
|
+
name: 'name',
|
|
702
|
+
version: 'version',
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
static types(): { [key: string]: any } {
|
|
707
|
+
return {
|
|
708
|
+
config: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig,
|
|
709
|
+
name: 'string',
|
|
710
|
+
version: 'string',
|
|
711
|
+
};
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
validate() {
|
|
715
|
+
if(this.config && typeof (this.config as any).validate === 'function') {
|
|
716
|
+
(this.config as any).validate();
|
|
717
|
+
}
|
|
718
|
+
super.validate();
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
constructor(map?: { [key: string]: any }) {
|
|
722
|
+
super(map);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
660
726
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig extends $dara.Model {
|
|
661
727
|
hugepage?: Hugepage;
|
|
662
728
|
static names(): { [key: string]: string } {
|
|
@@ -1394,6 +1460,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1394
1460
|
* 120
|
|
1395
1461
|
*/
|
|
1396
1462
|
systemDiskSize?: number;
|
|
1463
|
+
systemDiskSnapshotPolicyId?: string;
|
|
1397
1464
|
/**
|
|
1398
1465
|
* @remarks
|
|
1399
1466
|
* The label to be added to the ECS instances.
|
|
@@ -1453,6 +1520,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1453
1520
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
1454
1521
|
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
1455
1522
|
systemDiskSize: 'system_disk_size',
|
|
1523
|
+
systemDiskSnapshotPolicyId: 'system_disk_snapshot_policy_id',
|
|
1456
1524
|
tags: 'tags',
|
|
1457
1525
|
vswitchIds: 'vswitch_ids',
|
|
1458
1526
|
};
|
|
@@ -1507,6 +1575,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1507
1575
|
systemDiskPerformanceLevel: 'string',
|
|
1508
1576
|
systemDiskProvisionedIops: 'number',
|
|
1509
1577
|
systemDiskSize: 'number',
|
|
1578
|
+
systemDiskSnapshotPolicyId: 'string',
|
|
1510
1579
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
1511
1580
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
1512
1581
|
};
|
|
@@ -1736,6 +1805,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1736
1805
|
* 10
|
|
1737
1806
|
*/
|
|
1738
1807
|
maxNodes?: number;
|
|
1808
|
+
nodeComponents?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents[];
|
|
1739
1809
|
/**
|
|
1740
1810
|
* @remarks
|
|
1741
1811
|
* The configurations of nodes.
|
|
@@ -1770,6 +1840,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1770
1840
|
kubernetesConfig: 'kubernetes_config',
|
|
1771
1841
|
management: 'management',
|
|
1772
1842
|
maxNodes: 'max_nodes',
|
|
1843
|
+
nodeComponents: 'node_components',
|
|
1773
1844
|
nodeConfig: 'node_config',
|
|
1774
1845
|
nodepoolInfo: 'nodepool_info',
|
|
1775
1846
|
scalingGroup: 'scaling_group',
|
|
@@ -1787,6 +1858,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1787
1858
|
kubernetesConfig: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig,
|
|
1788
1859
|
management: DescribeClusterNodePoolsResponseBodyNodepoolsManagement,
|
|
1789
1860
|
maxNodes: 'number',
|
|
1861
|
+
nodeComponents: { 'type': 'array', 'itemType': DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents },
|
|
1790
1862
|
nodeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig,
|
|
1791
1863
|
nodepoolInfo: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo,
|
|
1792
1864
|
scalingGroup: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup,
|
|
@@ -1811,6 +1883,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1811
1883
|
if(this.management && typeof (this.management as any).validate === 'function') {
|
|
1812
1884
|
(this.management as any).validate();
|
|
1813
1885
|
}
|
|
1886
|
+
if(Array.isArray(this.nodeComponents)) {
|
|
1887
|
+
$dara.Model.validateArray(this.nodeComponents);
|
|
1888
|
+
}
|
|
1814
1889
|
if(this.nodeConfig && typeof (this.nodeConfig as any).validate === 'function') {
|
|
1815
1890
|
(this.nodeConfig as any).validate();
|
|
1816
1891
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListOperationPlansForRegionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* c02b3e03be10643e8a644a843ffcb****
|
|
9
|
+
*/
|
|
10
|
+
clusterId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* Scheduled
|
|
14
|
+
*/
|
|
15
|
+
state?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* CLUSTER_UPGRADE_MASTER
|
|
19
|
+
*/
|
|
20
|
+
type?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
clusterId: 'cluster_id',
|
|
24
|
+
state: 'state',
|
|
25
|
+
type: 'type',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
clusterId: 'string',
|
|
32
|
+
state: 'string',
|
|
33
|
+
type: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListOperationPlansForRegionResponseBody } from "./ListOperationPlansForRegionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListOperationPlansForRegionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListOperationPlansForRegionResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListOperationPlansForRegionResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|