@volcengine/pulumi 0.0.36 → 0.0.37
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/package.json +1 -1
- package/types/input.d.ts +46 -0
- package/types/output.d.ts +158 -4
- package/vke/cluster.d.ts +24 -0
- package/vke/cluster.js +8 -0
- package/vke/cluster.js.map +1 -1
- package/vke/nodePool.d.ts +12 -0
- package/vke/nodePool.js +2 -0
- package/vke/nodePool.js.map +1 -1
package/package.json
CHANGED
package/types/input.d.ts
CHANGED
|
@@ -7741,6 +7741,32 @@ export declare namespace vke {
|
|
|
7741
7741
|
*/
|
|
7742
7742
|
billingType?: pulumi.Input<string>;
|
|
7743
7743
|
}
|
|
7744
|
+
interface ClusterIrsaConfig {
|
|
7745
|
+
/**
|
|
7746
|
+
* The audience of the IRSA.
|
|
7747
|
+
*/
|
|
7748
|
+
audience?: pulumi.Input<string>;
|
|
7749
|
+
/**
|
|
7750
|
+
* Whether to enable IRSA for the cluster.
|
|
7751
|
+
*/
|
|
7752
|
+
enabled?: pulumi.Input<boolean>;
|
|
7753
|
+
/**
|
|
7754
|
+
* The issuer of the IRSA.
|
|
7755
|
+
*/
|
|
7756
|
+
issuer?: pulumi.Input<string>;
|
|
7757
|
+
/**
|
|
7758
|
+
* The JWKS URL of the IRSA.
|
|
7759
|
+
*/
|
|
7760
|
+
jwksUrl?: pulumi.Input<string>;
|
|
7761
|
+
/**
|
|
7762
|
+
* The OIDC trn of the IRSA.
|
|
7763
|
+
*/
|
|
7764
|
+
oidcTrn?: pulumi.Input<string>;
|
|
7765
|
+
/**
|
|
7766
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
7767
|
+
*/
|
|
7768
|
+
openIdConfigUrl?: pulumi.Input<string>;
|
|
7769
|
+
}
|
|
7744
7770
|
interface ClusterLoggingConfig {
|
|
7745
7771
|
/**
|
|
7746
7772
|
* The TLS log item ID of the collection target.
|
|
@@ -8385,6 +8411,26 @@ export declare namespace vke {
|
|
|
8385
8411
|
*/
|
|
8386
8412
|
value?: pulumi.Input<string>;
|
|
8387
8413
|
}
|
|
8414
|
+
interface NodePoolManagement {
|
|
8415
|
+
/**
|
|
8416
|
+
* Whether to enable the management function of the node pool. Default is `false`.
|
|
8417
|
+
*/
|
|
8418
|
+
enabled?: pulumi.Input<boolean>;
|
|
8419
|
+
/**
|
|
8420
|
+
* The Remedy Config of NodePool. This field is valid when the value of `enabled` is `true`.
|
|
8421
|
+
*/
|
|
8422
|
+
remedyConfig?: pulumi.Input<inputs.vke.NodePoolManagementRemedyConfig>;
|
|
8423
|
+
}
|
|
8424
|
+
interface NodePoolManagementRemedyConfig {
|
|
8425
|
+
/**
|
|
8426
|
+
* Whether to enable the remedy function of the node pool. Default is `false`.
|
|
8427
|
+
*/
|
|
8428
|
+
enabled?: pulumi.Input<boolean>;
|
|
8429
|
+
/**
|
|
8430
|
+
* The ID of the remedy policy. This field is valid when the value of `enabled` is `true`.
|
|
8431
|
+
*/
|
|
8432
|
+
id?: pulumi.Input<string>;
|
|
8433
|
+
}
|
|
8388
8434
|
interface NodePoolNodeConfig {
|
|
8389
8435
|
/**
|
|
8390
8436
|
* The AdditionalContainerStorageEnabled of NodeConfig.
|
package/types/output.d.ts
CHANGED
|
@@ -50974,6 +50974,32 @@ export declare namespace vke {
|
|
|
50974
50974
|
*/
|
|
50975
50975
|
billingType?: string;
|
|
50976
50976
|
}
|
|
50977
|
+
interface ClusterIrsaConfig {
|
|
50978
|
+
/**
|
|
50979
|
+
* The audience of the IRSA.
|
|
50980
|
+
*/
|
|
50981
|
+
audience: string;
|
|
50982
|
+
/**
|
|
50983
|
+
* Whether to enable IRSA for the cluster.
|
|
50984
|
+
*/
|
|
50985
|
+
enabled: boolean;
|
|
50986
|
+
/**
|
|
50987
|
+
* The issuer of the IRSA.
|
|
50988
|
+
*/
|
|
50989
|
+
issuer: string;
|
|
50990
|
+
/**
|
|
50991
|
+
* The JWKS URL of the IRSA.
|
|
50992
|
+
*/
|
|
50993
|
+
jwksUrl: string;
|
|
50994
|
+
/**
|
|
50995
|
+
* The OIDC trn of the IRSA.
|
|
50996
|
+
*/
|
|
50997
|
+
oidcTrn: string;
|
|
50998
|
+
/**
|
|
50999
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
51000
|
+
*/
|
|
51001
|
+
openIdConfigUrl: string;
|
|
51002
|
+
}
|
|
50977
51003
|
interface ClusterLoggingConfig {
|
|
50978
51004
|
/**
|
|
50979
51005
|
* The TLS log item ID of the collection target.
|
|
@@ -51081,6 +51107,10 @@ export declare namespace vke {
|
|
|
51081
51107
|
* The ID of the Cluster.
|
|
51082
51108
|
*/
|
|
51083
51109
|
id: string;
|
|
51110
|
+
/**
|
|
51111
|
+
* The IRSA configuration.
|
|
51112
|
+
*/
|
|
51113
|
+
irsaConfigs: outputs.vke.ClustersClusterIrsaConfig[];
|
|
51084
51114
|
/**
|
|
51085
51115
|
* Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vkeKubeconfig instead.
|
|
51086
51116
|
*/
|
|
@@ -51214,6 +51244,32 @@ export declare namespace vke {
|
|
|
51214
51244
|
*/
|
|
51215
51245
|
isp: string;
|
|
51216
51246
|
}
|
|
51247
|
+
interface ClustersClusterIrsaConfig {
|
|
51248
|
+
/**
|
|
51249
|
+
* The audience of the IRSA.
|
|
51250
|
+
*/
|
|
51251
|
+
audience: string;
|
|
51252
|
+
/**
|
|
51253
|
+
* Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
|
|
51254
|
+
*/
|
|
51255
|
+
enabled: boolean;
|
|
51256
|
+
/**
|
|
51257
|
+
* The issuer of the IRSA.
|
|
51258
|
+
*/
|
|
51259
|
+
issuer: string;
|
|
51260
|
+
/**
|
|
51261
|
+
* The JWKS URL of the IRSA.
|
|
51262
|
+
*/
|
|
51263
|
+
jwksUrl: string;
|
|
51264
|
+
/**
|
|
51265
|
+
* The OIDC trn of the IRSA.
|
|
51266
|
+
*/
|
|
51267
|
+
oidcTrn: string;
|
|
51268
|
+
/**
|
|
51269
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
51270
|
+
*/
|
|
51271
|
+
openIdConfigUrl: string;
|
|
51272
|
+
}
|
|
51217
51273
|
interface ClustersClusterLoggingConfig {
|
|
51218
51274
|
/**
|
|
51219
51275
|
* The TLS log item ID of the collection target.
|
|
@@ -51733,6 +51789,10 @@ export declare namespace vke {
|
|
|
51733
51789
|
* The ID of the Cluster.
|
|
51734
51790
|
*/
|
|
51735
51791
|
id: string;
|
|
51792
|
+
/**
|
|
51793
|
+
* The IRSA configuration.
|
|
51794
|
+
*/
|
|
51795
|
+
irsaConfigs: outputs.vke.GetClustersClusterIrsaConfig[];
|
|
51736
51796
|
/**
|
|
51737
51797
|
* Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vkeKubeconfig instead.
|
|
51738
51798
|
*/
|
|
@@ -51866,6 +51926,32 @@ export declare namespace vke {
|
|
|
51866
51926
|
*/
|
|
51867
51927
|
isp: string;
|
|
51868
51928
|
}
|
|
51929
|
+
interface GetClustersClusterIrsaConfig {
|
|
51930
|
+
/**
|
|
51931
|
+
* The audience of the IRSA.
|
|
51932
|
+
*/
|
|
51933
|
+
audience: string;
|
|
51934
|
+
/**
|
|
51935
|
+
* Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.
|
|
51936
|
+
*/
|
|
51937
|
+
enabled: boolean;
|
|
51938
|
+
/**
|
|
51939
|
+
* The issuer of the IRSA.
|
|
51940
|
+
*/
|
|
51941
|
+
issuer: string;
|
|
51942
|
+
/**
|
|
51943
|
+
* The JWKS URL of the IRSA.
|
|
51944
|
+
*/
|
|
51945
|
+
jwksUrl: string;
|
|
51946
|
+
/**
|
|
51947
|
+
* The OIDC trn of the IRSA.
|
|
51948
|
+
*/
|
|
51949
|
+
oidcTrn: string;
|
|
51950
|
+
/**
|
|
51951
|
+
* The OpenID Connect configuration URL of the IRSA.
|
|
51952
|
+
*/
|
|
51953
|
+
openIdConfigUrl: string;
|
|
51954
|
+
}
|
|
51869
51955
|
interface GetClustersClusterLoggingConfig {
|
|
51870
51956
|
/**
|
|
51871
51957
|
* The TLS log item ID of the collection target.
|
|
@@ -52092,7 +52178,7 @@ export declare namespace vke {
|
|
|
52092
52178
|
*/
|
|
52093
52179
|
ecsTags: outputs.vke.GetNodePoolsNodePoolEcsTag[];
|
|
52094
52180
|
/**
|
|
52095
|
-
*
|
|
52181
|
+
* Whether to enable the remedy function of the node pool.
|
|
52096
52182
|
*/
|
|
52097
52183
|
enabled: boolean;
|
|
52098
52184
|
/**
|
|
@@ -52100,7 +52186,7 @@ export declare namespace vke {
|
|
|
52100
52186
|
*/
|
|
52101
52187
|
hpcClusterIds: string[];
|
|
52102
52188
|
/**
|
|
52103
|
-
* The
|
|
52189
|
+
* The ID of the remedy policy.
|
|
52104
52190
|
*/
|
|
52105
52191
|
id: string;
|
|
52106
52192
|
/**
|
|
@@ -52143,6 +52229,10 @@ export declare namespace vke {
|
|
|
52143
52229
|
* The login type of NodeConfig.
|
|
52144
52230
|
*/
|
|
52145
52231
|
loginType: string;
|
|
52232
|
+
/**
|
|
52233
|
+
* The Management Config of NodePool.
|
|
52234
|
+
*/
|
|
52235
|
+
managements: outputs.vke.GetNodePoolsNodePoolManagement[];
|
|
52146
52236
|
/**
|
|
52147
52237
|
* The MaxReplicas of AutoScaling.
|
|
52148
52238
|
*/
|
|
@@ -52278,6 +52368,26 @@ export declare namespace vke {
|
|
|
52278
52368
|
*/
|
|
52279
52369
|
value: string;
|
|
52280
52370
|
}
|
|
52371
|
+
interface GetNodePoolsNodePoolManagement {
|
|
52372
|
+
/**
|
|
52373
|
+
* Whether to enable the remedy function of the node pool.
|
|
52374
|
+
*/
|
|
52375
|
+
enabled: boolean;
|
|
52376
|
+
/**
|
|
52377
|
+
* The Remedy Config of NodePool.
|
|
52378
|
+
*/
|
|
52379
|
+
remedyConfigs: outputs.vke.GetNodePoolsNodePoolManagementRemedyConfig[];
|
|
52380
|
+
}
|
|
52381
|
+
interface GetNodePoolsNodePoolManagementRemedyConfig {
|
|
52382
|
+
/**
|
|
52383
|
+
* Whether to enable the remedy function of the node pool.
|
|
52384
|
+
*/
|
|
52385
|
+
enabled: boolean;
|
|
52386
|
+
/**
|
|
52387
|
+
* The ID of the remedy policy.
|
|
52388
|
+
*/
|
|
52389
|
+
id: string;
|
|
52390
|
+
}
|
|
52281
52391
|
interface GetNodePoolsNodePoolNodeStatistic {
|
|
52282
52392
|
/**
|
|
52283
52393
|
* The CreatingCount of Node.
|
|
@@ -52802,6 +52912,26 @@ export declare namespace vke {
|
|
|
52802
52912
|
*/
|
|
52803
52913
|
value?: string;
|
|
52804
52914
|
}
|
|
52915
|
+
interface NodePoolManagement {
|
|
52916
|
+
/**
|
|
52917
|
+
* Whether to enable the management function of the node pool. Default is `false`.
|
|
52918
|
+
*/
|
|
52919
|
+
enabled?: boolean;
|
|
52920
|
+
/**
|
|
52921
|
+
* The Remedy Config of NodePool. This field is valid when the value of `enabled` is `true`.
|
|
52922
|
+
*/
|
|
52923
|
+
remedyConfig: outputs.vke.NodePoolManagementRemedyConfig;
|
|
52924
|
+
}
|
|
52925
|
+
interface NodePoolManagementRemedyConfig {
|
|
52926
|
+
/**
|
|
52927
|
+
* Whether to enable the remedy function of the node pool. Default is `false`.
|
|
52928
|
+
*/
|
|
52929
|
+
enabled?: boolean;
|
|
52930
|
+
/**
|
|
52931
|
+
* The ID of the remedy policy. This field is valid when the value of `enabled` is `true`.
|
|
52932
|
+
*/
|
|
52933
|
+
id: string;
|
|
52934
|
+
}
|
|
52805
52935
|
interface NodePoolNodeConfig {
|
|
52806
52936
|
/**
|
|
52807
52937
|
* The AdditionalContainerStorageEnabled of NodeConfig.
|
|
@@ -53030,7 +53160,7 @@ export declare namespace vke {
|
|
|
53030
53160
|
*/
|
|
53031
53161
|
ecsTags: outputs.vke.NodePoolsNodePoolEcsTag[];
|
|
53032
53162
|
/**
|
|
53033
|
-
*
|
|
53163
|
+
* Whether to enable the remedy function of the node pool.
|
|
53034
53164
|
*/
|
|
53035
53165
|
enabled: boolean;
|
|
53036
53166
|
/**
|
|
@@ -53038,7 +53168,7 @@ export declare namespace vke {
|
|
|
53038
53168
|
*/
|
|
53039
53169
|
hpcClusterIds: string[];
|
|
53040
53170
|
/**
|
|
53041
|
-
* The
|
|
53171
|
+
* The ID of the remedy policy.
|
|
53042
53172
|
*/
|
|
53043
53173
|
id: string;
|
|
53044
53174
|
/**
|
|
@@ -53081,6 +53211,10 @@ export declare namespace vke {
|
|
|
53081
53211
|
* The login type of NodeConfig.
|
|
53082
53212
|
*/
|
|
53083
53213
|
loginType: string;
|
|
53214
|
+
/**
|
|
53215
|
+
* The Management Config of NodePool.
|
|
53216
|
+
*/
|
|
53217
|
+
managements: outputs.vke.NodePoolsNodePoolManagement[];
|
|
53084
53218
|
/**
|
|
53085
53219
|
* The MaxReplicas of AutoScaling.
|
|
53086
53220
|
*/
|
|
@@ -53216,6 +53350,26 @@ export declare namespace vke {
|
|
|
53216
53350
|
*/
|
|
53217
53351
|
value: string;
|
|
53218
53352
|
}
|
|
53353
|
+
interface NodePoolsNodePoolManagement {
|
|
53354
|
+
/**
|
|
53355
|
+
* Whether to enable the remedy function of the node pool.
|
|
53356
|
+
*/
|
|
53357
|
+
enabled: boolean;
|
|
53358
|
+
/**
|
|
53359
|
+
* The Remedy Config of NodePool.
|
|
53360
|
+
*/
|
|
53361
|
+
remedyConfigs: outputs.vke.NodePoolsNodePoolManagementRemedyConfig[];
|
|
53362
|
+
}
|
|
53363
|
+
interface NodePoolsNodePoolManagementRemedyConfig {
|
|
53364
|
+
/**
|
|
53365
|
+
* Whether to enable the remedy function of the node pool.
|
|
53366
|
+
*/
|
|
53367
|
+
enabled: boolean;
|
|
53368
|
+
/**
|
|
53369
|
+
* The ID of the remedy policy.
|
|
53370
|
+
*/
|
|
53371
|
+
id: string;
|
|
53372
|
+
}
|
|
53219
53373
|
interface NodePoolsNodePoolNodeStatistic {
|
|
53220
53374
|
/**
|
|
53221
53375
|
* The CreatingCount of Node.
|
package/vke/cluster.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import * as outputs from "../types/output";
|
|
|
33
33
|
* description: "created by terraform",
|
|
34
34
|
* projectName: "default",
|
|
35
35
|
* deleteProtectionEnabled: false,
|
|
36
|
+
* irsaEnabled: false,
|
|
36
37
|
* clusterConfig: {
|
|
37
38
|
* subnetIds: [fooSubnet.id],
|
|
38
39
|
* apiServerPublicAccessEnabled: true,
|
|
@@ -64,6 +65,9 @@ import * as outputs from "../types/output";
|
|
|
64
65
|
* // create vke node pool
|
|
65
66
|
* const fooNodePool = new volcengine.vke.NodePool("fooNodePool", {
|
|
66
67
|
* clusterId: fooCluster.id,
|
|
68
|
+
* management: {
|
|
69
|
+
* enabled: false,
|
|
70
|
+
* },
|
|
67
71
|
* autoScaling: {
|
|
68
72
|
* enabled: true,
|
|
69
73
|
* minReplicas: 0,
|
|
@@ -197,6 +201,14 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
197
201
|
* Eip allocation Id.
|
|
198
202
|
*/
|
|
199
203
|
readonly eipAllocationId: pulumi.Output<string>;
|
|
204
|
+
/**
|
|
205
|
+
* The IRSA configuration.
|
|
206
|
+
*/
|
|
207
|
+
readonly irsaConfigs: pulumi.Output<outputs.vke.ClusterIrsaConfig[]>;
|
|
208
|
+
/**
|
|
209
|
+
* Whether to enable IRSA for the cluster. This field is valid only when modifying the cluster.
|
|
210
|
+
*/
|
|
211
|
+
readonly irsaEnabled: pulumi.Output<boolean | undefined>;
|
|
200
212
|
/**
|
|
201
213
|
* Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vkeKubeconfig instead.
|
|
202
214
|
*/
|
|
@@ -266,6 +278,14 @@ export interface ClusterState {
|
|
|
266
278
|
* Eip allocation Id.
|
|
267
279
|
*/
|
|
268
280
|
eipAllocationId?: pulumi.Input<string>;
|
|
281
|
+
/**
|
|
282
|
+
* The IRSA configuration.
|
|
283
|
+
*/
|
|
284
|
+
irsaConfigs?: pulumi.Input<pulumi.Input<inputs.vke.ClusterIrsaConfig>[]>;
|
|
285
|
+
/**
|
|
286
|
+
* Whether to enable IRSA for the cluster. This field is valid only when modifying the cluster.
|
|
287
|
+
*/
|
|
288
|
+
irsaEnabled?: pulumi.Input<boolean>;
|
|
269
289
|
/**
|
|
270
290
|
* Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vkeKubeconfig instead.
|
|
271
291
|
*/
|
|
@@ -323,6 +343,10 @@ export interface ClusterArgs {
|
|
|
323
343
|
* The description of the cluster.
|
|
324
344
|
*/
|
|
325
345
|
description?: pulumi.Input<string>;
|
|
346
|
+
/**
|
|
347
|
+
* Whether to enable IRSA for the cluster. This field is valid only when modifying the cluster.
|
|
348
|
+
*/
|
|
349
|
+
irsaEnabled?: pulumi.Input<boolean>;
|
|
326
350
|
/**
|
|
327
351
|
* The version of Kubernetes specified when creating a VKE cluster (specified to patch version), with an example value of `1.24`. If not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.
|
|
328
352
|
*/
|
package/vke/cluster.js
CHANGED
|
@@ -37,6 +37,7 @@ const utilities = require("../utilities");
|
|
|
37
37
|
* description: "created by terraform",
|
|
38
38
|
* projectName: "default",
|
|
39
39
|
* deleteProtectionEnabled: false,
|
|
40
|
+
* irsaEnabled: false,
|
|
40
41
|
* clusterConfig: {
|
|
41
42
|
* subnetIds: [fooSubnet.id],
|
|
42
43
|
* apiServerPublicAccessEnabled: true,
|
|
@@ -68,6 +69,9 @@ const utilities = require("../utilities");
|
|
|
68
69
|
* // create vke node pool
|
|
69
70
|
* const fooNodePool = new volcengine.vke.NodePool("fooNodePool", {
|
|
70
71
|
* clusterId: fooCluster.id,
|
|
72
|
+
* management: {
|
|
73
|
+
* enabled: false,
|
|
74
|
+
* },
|
|
71
75
|
* autoScaling: {
|
|
72
76
|
* enabled: true,
|
|
73
77
|
* minReplicas: 0,
|
|
@@ -198,6 +202,8 @@ class Cluster extends pulumi.CustomResource {
|
|
|
198
202
|
resourceInputs["deleteProtectionEnabled"] = state ? state.deleteProtectionEnabled : undefined;
|
|
199
203
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
200
204
|
resourceInputs["eipAllocationId"] = state ? state.eipAllocationId : undefined;
|
|
205
|
+
resourceInputs["irsaConfigs"] = state ? state.irsaConfigs : undefined;
|
|
206
|
+
resourceInputs["irsaEnabled"] = state ? state.irsaEnabled : undefined;
|
|
201
207
|
resourceInputs["kubeconfigPrivate"] = state ? state.kubeconfigPrivate : undefined;
|
|
202
208
|
resourceInputs["kubeconfigPublic"] = state ? state.kubeconfigPublic : undefined;
|
|
203
209
|
resourceInputs["kubernetesVersion"] = state ? state.kubernetesVersion : undefined;
|
|
@@ -223,6 +229,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
223
229
|
resourceInputs["clusterConfig"] = args ? args.clusterConfig : undefined;
|
|
224
230
|
resourceInputs["deleteProtectionEnabled"] = args ? args.deleteProtectionEnabled : undefined;
|
|
225
231
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
232
|
+
resourceInputs["irsaEnabled"] = args ? args.irsaEnabled : undefined;
|
|
226
233
|
resourceInputs["kubernetesVersion"] = args ? args.kubernetesVersion : undefined;
|
|
227
234
|
resourceInputs["loggingConfig"] = args ? args.loggingConfig : undefined;
|
|
228
235
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
@@ -231,6 +238,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
231
238
|
resourceInputs["servicesConfig"] = args ? args.servicesConfig : undefined;
|
|
232
239
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
233
240
|
resourceInputs["eipAllocationId"] = undefined /*out*/;
|
|
241
|
+
resourceInputs["irsaConfigs"] = undefined /*out*/;
|
|
234
242
|
resourceInputs["kubeconfigPrivate"] = undefined /*out*/;
|
|
235
243
|
resourceInputs["kubeconfigPublic"] = undefined /*out*/;
|
|
236
244
|
}
|
package/vke/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../vke/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../vke/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmKG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA2ED,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT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AAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAxJL,0BAyJC;AA3IG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
package/vke/nodePool.d.ts
CHANGED
|
@@ -251,6 +251,10 @@ export declare class NodePool extends pulumi.CustomResource {
|
|
|
251
251
|
* The KubernetesConfig of NodeConfig.
|
|
252
252
|
*/
|
|
253
253
|
readonly kubernetesConfig: pulumi.Output<outputs.vke.NodePoolKubernetesConfig>;
|
|
254
|
+
/**
|
|
255
|
+
* The Management Config of NodePool.
|
|
256
|
+
*/
|
|
257
|
+
readonly management: pulumi.Output<outputs.vke.NodePoolManagement>;
|
|
254
258
|
/**
|
|
255
259
|
* The Name of NodePool.
|
|
256
260
|
*/
|
|
@@ -307,6 +311,10 @@ export interface NodePoolState {
|
|
|
307
311
|
* The KubernetesConfig of NodeConfig.
|
|
308
312
|
*/
|
|
309
313
|
kubernetesConfig?: pulumi.Input<inputs.vke.NodePoolKubernetesConfig>;
|
|
314
|
+
/**
|
|
315
|
+
* The Management Config of NodePool.
|
|
316
|
+
*/
|
|
317
|
+
management?: pulumi.Input<inputs.vke.NodePoolManagement>;
|
|
310
318
|
/**
|
|
311
319
|
* The Name of NodePool.
|
|
312
320
|
*/
|
|
@@ -355,6 +363,10 @@ export interface NodePoolArgs {
|
|
|
355
363
|
* The KubernetesConfig of NodeConfig.
|
|
356
364
|
*/
|
|
357
365
|
kubernetesConfig: pulumi.Input<inputs.vke.NodePoolKubernetesConfig>;
|
|
366
|
+
/**
|
|
367
|
+
* The Management Config of NodePool.
|
|
368
|
+
*/
|
|
369
|
+
management?: pulumi.Input<inputs.vke.NodePoolManagement>;
|
|
358
370
|
/**
|
|
359
371
|
* The Name of NodePool.
|
|
360
372
|
*/
|
package/vke/nodePool.js
CHANGED
|
@@ -246,6 +246,7 @@ class NodePool extends pulumi.CustomResource {
|
|
|
246
246
|
resourceInputs["instanceIds"] = state ? state.instanceIds : undefined;
|
|
247
247
|
resourceInputs["keepInstanceName"] = state ? state.keepInstanceName : undefined;
|
|
248
248
|
resourceInputs["kubernetesConfig"] = state ? state.kubernetesConfig : undefined;
|
|
249
|
+
resourceInputs["management"] = state ? state.management : undefined;
|
|
249
250
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
250
251
|
resourceInputs["nodeConfig"] = state ? state.nodeConfig : undefined;
|
|
251
252
|
resourceInputs["nodeStatistics"] = state ? state.nodeStatistics : undefined;
|
|
@@ -265,6 +266,7 @@ class NodePool extends pulumi.CustomResource {
|
|
|
265
266
|
resourceInputs["instanceIds"] = args ? args.instanceIds : undefined;
|
|
266
267
|
resourceInputs["keepInstanceName"] = args ? args.keepInstanceName : undefined;
|
|
267
268
|
resourceInputs["kubernetesConfig"] = args ? args.kubernetesConfig : undefined;
|
|
269
|
+
resourceInputs["management"] = args ? args.management : undefined;
|
|
268
270
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
269
271
|
resourceInputs["nodeConfig"] = args ? args.nodeConfig : undefined;
|
|
270
272
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
package/vke/nodePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodePool.js","sourceRoot":"","sources":["../../vke/nodePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;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