@alicloud/cs20151215 5.0.0 → 6.1.0
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 +39 -0
- package/dist/models/CreateClusterNodePoolRequest.js +54 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +39 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +54 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +39 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +54 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +79 -209
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js +130 -86
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.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 +76 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js +98 -0
- package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -0
- 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 +20 -7
- package/dist/models/model.js +91 -65
- 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 +72 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +72 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +72 -0
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +183 -278
- package/src/models/ListOperationPlansForRegionRequest.ts +45 -0
- package/src/models/ListOperationPlansForRegionResponse.ts +40 -0
- package/src/models/ListOperationPlansForRegionResponseBody.ts +120 -0
- package/src/models/Nodepool.ts +72 -0
- package/src/models/model.ts +20 -7
package/src/client.ts
CHANGED
|
@@ -1292,6 +1292,10 @@ export default class Client extends OpenApi {
|
|
|
1292
1292
|
body["max_nodes"] = request.maxNodes;
|
|
1293
1293
|
}
|
|
1294
1294
|
|
|
1295
|
+
if (!$dara.isNull(request.nodeComponents)) {
|
|
1296
|
+
body["node_components"] = request.nodeComponents;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1295
1299
|
if (!$dara.isNull(request.nodeConfig)) {
|
|
1296
1300
|
body["node_config"] = request.nodeConfig;
|
|
1297
1301
|
}
|
|
@@ -4936,6 +4940,59 @@ export default class Client extends OpenApi {
|
|
|
4936
4940
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
4937
4941
|
}
|
|
4938
4942
|
|
|
4943
|
+
/**
|
|
4944
|
+
* 获取单个地域的自动运维执行计划列表
|
|
4945
|
+
*
|
|
4946
|
+
* @param request - ListOperationPlansForRegionRequest
|
|
4947
|
+
* @param headers - map
|
|
4948
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4949
|
+
* @returns ListOperationPlansForRegionResponse
|
|
4950
|
+
*/
|
|
4951
|
+
async listOperationPlansForRegionWithOptions(regionId: string, request: $_model.ListOperationPlansForRegionRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOperationPlansForRegionResponse> {
|
|
4952
|
+
request.validate();
|
|
4953
|
+
let query : {[key: string ]: any} = { };
|
|
4954
|
+
if (!$dara.isNull(request.clusterId)) {
|
|
4955
|
+
query["cluster_id"] = request.clusterId;
|
|
4956
|
+
}
|
|
4957
|
+
|
|
4958
|
+
if (!$dara.isNull(request.state)) {
|
|
4959
|
+
query["state"] = request.state;
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4962
|
+
if (!$dara.isNull(request.type)) {
|
|
4963
|
+
query["type"] = request.type;
|
|
4964
|
+
}
|
|
4965
|
+
|
|
4966
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4967
|
+
headers: headers,
|
|
4968
|
+
query: OpenApiUtil.query(query),
|
|
4969
|
+
});
|
|
4970
|
+
let params = new $OpenApiUtil.Params({
|
|
4971
|
+
action: "ListOperationPlansForRegion",
|
|
4972
|
+
version: "2015-12-15",
|
|
4973
|
+
protocol: "HTTPS",
|
|
4974
|
+
pathname: `/regions/${$dara.URL.percentEncode(regionId)}/operation/plans`,
|
|
4975
|
+
method: "GET",
|
|
4976
|
+
authType: "AK",
|
|
4977
|
+
style: "ROA",
|
|
4978
|
+
reqBodyType: "json",
|
|
4979
|
+
bodyType: "json",
|
|
4980
|
+
});
|
|
4981
|
+
return $dara.cast<$_model.ListOperationPlansForRegionResponse>(await this.callApi(params, req, runtime), new $_model.ListOperationPlansForRegionResponse({}));
|
|
4982
|
+
}
|
|
4983
|
+
|
|
4984
|
+
/**
|
|
4985
|
+
* 获取单个地域的自动运维执行计划列表
|
|
4986
|
+
*
|
|
4987
|
+
* @param request - ListOperationPlansForRegionRequest
|
|
4988
|
+
* @returns ListOperationPlansForRegionResponse
|
|
4989
|
+
*/
|
|
4990
|
+
async listOperationPlansForRegion(regionId: string, request: $_model.ListOperationPlansForRegionRequest): Promise<$_model.ListOperationPlansForRegionResponse> {
|
|
4991
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4992
|
+
let headers : {[key: string ]: string} = { };
|
|
4993
|
+
return await this.listOperationPlansForRegionWithOptions(regionId, request, headers, runtime);
|
|
4994
|
+
}
|
|
4995
|
+
|
|
4939
4996
|
/**
|
|
4940
4997
|
* Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
4941
4998
|
*
|
|
@@ -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
|
|
@@ -1748,6 +1814,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1748
1814
|
* @deprecated
|
|
1749
1815
|
*/
|
|
1750
1816
|
maxNodes?: number;
|
|
1817
|
+
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1751
1818
|
/**
|
|
1752
1819
|
* @remarks
|
|
1753
1820
|
* The node configurations.
|
|
@@ -1781,6 +1848,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1781
1848
|
kubernetesConfig: 'kubernetes_config',
|
|
1782
1849
|
management: 'management',
|
|
1783
1850
|
maxNodes: 'max_nodes',
|
|
1851
|
+
nodeComponents: 'node_components',
|
|
1784
1852
|
nodeConfig: 'node_config',
|
|
1785
1853
|
nodepoolInfo: 'nodepool_info',
|
|
1786
1854
|
scalingGroup: 'scaling_group',
|
|
@@ -1801,6 +1869,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1801
1869
|
kubernetesConfig: CreateClusterNodePoolRequestKubernetesConfig,
|
|
1802
1870
|
management: CreateClusterNodePoolRequestManagement,
|
|
1803
1871
|
maxNodes: 'number',
|
|
1872
|
+
nodeComponents: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestNodeComponents },
|
|
1804
1873
|
nodeConfig: CreateClusterNodePoolRequestNodeConfig,
|
|
1805
1874
|
nodepoolInfo: CreateClusterNodePoolRequestNodepoolInfo,
|
|
1806
1875
|
scalingGroup: CreateClusterNodePoolRequestScalingGroup,
|
|
@@ -1827,6 +1896,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1827
1896
|
if(this.management && typeof (this.management as any).validate === 'function') {
|
|
1828
1897
|
(this.management as any).validate();
|
|
1829
1898
|
}
|
|
1899
|
+
if(Array.isArray(this.nodeComponents)) {
|
|
1900
|
+
$dara.Model.validateArray(this.nodeComponents);
|
|
1901
|
+
}
|
|
1830
1902
|
if(this.nodeConfig && typeof (this.nodeConfig as any).validate === 'function') {
|
|
1831
1903
|
(this.nodeConfig as any).validate();
|
|
1832
1904
|
}
|
|
@@ -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 } {
|
|
@@ -1707,6 +1773,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1707
1773
|
* 10
|
|
1708
1774
|
*/
|
|
1709
1775
|
maxNodes?: number;
|
|
1776
|
+
nodeComponents?: DescribeClusterNodePoolDetailResponseBodyNodeComponents[];
|
|
1710
1777
|
/**
|
|
1711
1778
|
* @remarks
|
|
1712
1779
|
* The node configurations.
|
|
@@ -1743,6 +1810,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1743
1810
|
kubernetesConfig: 'kubernetes_config',
|
|
1744
1811
|
management: 'management',
|
|
1745
1812
|
maxNodes: 'max_nodes',
|
|
1813
|
+
nodeComponents: 'node_components',
|
|
1746
1814
|
nodeConfig: 'node_config',
|
|
1747
1815
|
nodepoolInfo: 'nodepool_info',
|
|
1748
1816
|
scalingGroup: 'scaling_group',
|
|
@@ -1762,6 +1830,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1762
1830
|
kubernetesConfig: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig,
|
|
1763
1831
|
management: DescribeClusterNodePoolDetailResponseBodyManagement,
|
|
1764
1832
|
maxNodes: 'number',
|
|
1833
|
+
nodeComponents: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyNodeComponents },
|
|
1765
1834
|
nodeConfig: DescribeClusterNodePoolDetailResponseBodyNodeConfig,
|
|
1766
1835
|
nodepoolInfo: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo,
|
|
1767
1836
|
scalingGroup: DescribeClusterNodePoolDetailResponseBodyScalingGroup,
|
|
@@ -1786,6 +1855,9 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1786
1855
|
if(this.management && typeof (this.management as any).validate === 'function') {
|
|
1787
1856
|
(this.management as any).validate();
|
|
1788
1857
|
}
|
|
1858
|
+
if(Array.isArray(this.nodeComponents)) {
|
|
1859
|
+
$dara.Model.validateArray(this.nodeComponents);
|
|
1860
|
+
}
|
|
1789
1861
|
if(this.nodeConfig && typeof (this.nodeConfig as any).validate === 'function') {
|
|
1790
1862
|
(this.nodeConfig as any).validate();
|
|
1791
1863
|
}
|
|
@@ -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 } {
|
|
@@ -1736,6 +1802,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1736
1802
|
* 10
|
|
1737
1803
|
*/
|
|
1738
1804
|
maxNodes?: number;
|
|
1805
|
+
nodeComponents?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents[];
|
|
1739
1806
|
/**
|
|
1740
1807
|
* @remarks
|
|
1741
1808
|
* The configurations of nodes.
|
|
@@ -1770,6 +1837,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1770
1837
|
kubernetesConfig: 'kubernetes_config',
|
|
1771
1838
|
management: 'management',
|
|
1772
1839
|
maxNodes: 'max_nodes',
|
|
1840
|
+
nodeComponents: 'node_components',
|
|
1773
1841
|
nodeConfig: 'node_config',
|
|
1774
1842
|
nodepoolInfo: 'nodepool_info',
|
|
1775
1843
|
scalingGroup: 'scaling_group',
|
|
@@ -1787,6 +1855,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1787
1855
|
kubernetesConfig: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig,
|
|
1788
1856
|
management: DescribeClusterNodePoolsResponseBodyNodepoolsManagement,
|
|
1789
1857
|
maxNodes: 'number',
|
|
1858
|
+
nodeComponents: { 'type': 'array', 'itemType': DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents },
|
|
1790
1859
|
nodeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig,
|
|
1791
1860
|
nodepoolInfo: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo,
|
|
1792
1861
|
scalingGroup: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup,
|
|
@@ -1811,6 +1880,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1811
1880
|
if(this.management && typeof (this.management as any).validate === 'function') {
|
|
1812
1881
|
(this.management as any).validate();
|
|
1813
1882
|
}
|
|
1883
|
+
if(Array.isArray(this.nodeComponents)) {
|
|
1884
|
+
$dara.Model.validateArray(this.nodeComponents);
|
|
1885
|
+
}
|
|
1814
1886
|
if(this.nodeConfig && typeof (this.nodeConfig as any).validate === 'function') {
|
|
1815
1887
|
(this.nodeConfig as any).validate();
|
|
1816
1888
|
}
|