@upcloud/pulumi-upcloud 0.5.0 → 0.6.0-alpha.1756908457
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/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +2 -4
- package/config/vars.js +1 -1
- package/config/vars.js.map +1 -1
- package/floatingIpAddress.d.ts +3 -6
- package/floatingIpAddress.js +11 -11
- package/floatingIpAddress.js.map +1 -1
- package/gateway.d.ts +5 -10
- package/gateway.js +24 -24
- package/gateway.js.map +1 -1
- package/gatewayConnection.d.ts +2 -4
- package/gatewayConnection.js +15 -15
- package/gatewayConnection.js.map +1 -1
- package/gatewayConnectionTunnel.js +20 -20
- package/gatewayConnectionTunnel.js.map +1 -1
- package/getHosts.d.ts +2 -2
- package/getHosts.js +3 -3
- package/getHosts.js.map +1 -1
- package/getIpAddresses.d.ts +2 -2
- package/getIpAddresses.js +3 -3
- package/getIpAddresses.js.map +1 -1
- package/getKubernetesCluster.d.ts +0 -2
- package/getKubernetesCluster.js +1 -3
- package/getKubernetesCluster.js.map +1 -1
- package/getLoadBalancerDnsChallengeDomain.d.ts +2 -2
- package/getLoadBalancerDnsChallengeDomain.js +3 -3
- package/getLoadBalancerDnsChallengeDomain.js.map +1 -1
- package/getManagedDatabaseMysqlSessions.d.ts +0 -2
- package/getManagedDatabaseMysqlSessions.js +1 -3
- package/getManagedDatabaseMysqlSessions.js.map +1 -1
- package/getManagedDatabaseOpensearchIndices.d.ts +0 -2
- package/getManagedDatabaseOpensearchIndices.js +1 -3
- package/getManagedDatabaseOpensearchIndices.js.map +1 -1
- package/getManagedDatabasePostgresqlSessions.d.ts +0 -2
- package/getManagedDatabasePostgresqlSessions.js +1 -3
- package/getManagedDatabasePostgresqlSessions.js.map +1 -1
- package/getManagedDatabaseRedisSessions.d.ts +0 -2
- package/getManagedDatabaseRedisSessions.js +1 -3
- package/getManagedDatabaseRedisSessions.js.map +1 -1
- package/getManagedDatabaseValkeySessions.d.ts +0 -2
- package/getManagedDatabaseValkeySessions.js +1 -3
- package/getManagedDatabaseValkeySessions.js.map +1 -1
- package/getManagedObjectStoragePolicies.js +1 -1
- package/getManagedObjectStoragePolicies.js.map +1 -1
- package/getManagedObjectStorageRegions.js +1 -1
- package/getManagedObjectStorageRegions.js.map +1 -1
- package/getNetworks.js +1 -1
- package/getNetworks.js.map +1 -1
- package/getStorage.d.ts +0 -2
- package/getStorage.js +1 -3
- package/getStorage.js.map +1 -1
- package/getTags.js +1 -1
- package/getTags.js.map +1 -1
- package/getZone.js +1 -1
- package/getZone.js.map +1 -1
- package/getZones.js +1 -1
- package/getZones.js.map +1 -1
- package/index.d.ts +1 -3
- package/index.js +19 -5
- package/index.js.map +1 -1
- package/kubernetesCluster.d.ts +18 -27
- package/kubernetesCluster.js +28 -28
- package/kubernetesCluster.js.map +1 -1
- package/kubernetesNodeGroup.d.ts +42 -30
- package/kubernetesNodeGroup.js +57 -33
- package/kubernetesNodeGroup.js.map +1 -1
- package/loadbalancer.d.ts +6 -18
- package/loadbalancer.js +28 -28
- package/loadbalancer.js.map +1 -1
- package/loadbalancerBackend.js +13 -13
- package/loadbalancerBackend.js.map +1 -1
- package/loadbalancerBackendTlsConfig.js +10 -10
- package/loadbalancerBackendTlsConfig.js.map +1 -1
- package/loadbalancerDynamicBackendMember.js +19 -19
- package/loadbalancerDynamicBackendMember.js.map +1 -1
- package/loadbalancerDynamicCertificateBundle.js +13 -13
- package/loadbalancerDynamicCertificateBundle.js.map +1 -1
- package/loadbalancerFrontend.d.ts +12 -18
- package/loadbalancerFrontend.js +22 -22
- package/loadbalancerFrontend.js.map +1 -1
- package/loadbalancerFrontendRule.js +16 -16
- package/loadbalancerFrontendRule.js.map +1 -1
- package/loadbalancerFrontendTlsConfig.js +10 -10
- package/loadbalancerFrontendTlsConfig.js.map +1 -1
- package/loadbalancerManualCertificateBundle.js +15 -15
- package/loadbalancerManualCertificateBundle.js.map +1 -1
- package/loadbalancerResolver.d.ts +3 -6
- package/loadbalancerResolver.js +25 -25
- package/loadbalancerResolver.js.map +1 -1
- package/loadbalancerStaticBackendMember.js +19 -19
- package/loadbalancerStaticBackendMember.js.map +1 -1
- package/managedDatabaseLogicalDatabase.js +11 -11
- package/managedDatabaseLogicalDatabase.js.map +1 -1
- package/managedDatabaseMysql.d.ts +3 -6
- package/managedDatabaseMysql.js +37 -37
- package/managedDatabaseMysql.js.map +1 -1
- package/managedDatabaseOpensearch.d.ts +9 -18
- package/managedDatabaseOpensearch.js +41 -41
- package/managedDatabaseOpensearch.js.map +1 -1
- package/managedDatabasePostgresql.d.ts +3 -6
- package/managedDatabasePostgresql.js +38 -38
- package/managedDatabasePostgresql.js.map +1 -1
- package/managedDatabaseRedis.d.ts +3 -6
- package/managedDatabaseRedis.js +37 -37
- package/managedDatabaseRedis.js.map +1 -1
- package/managedDatabaseUser.js +21 -21
- package/managedDatabaseUser.js.map +1 -1
- package/managedDatabaseValkey.d.ts +3 -6
- package/managedDatabaseValkey.js +37 -37
- package/managedDatabaseValkey.js.map +1 -1
- package/managedObjectStorage.d.ts +3 -9
- package/managedObjectStorage.js +18 -18
- package/managedObjectStorage.js.map +1 -1
- package/managedObjectStorageBucket.js +9 -9
- package/managedObjectStorageBucket.js.map +1 -1
- package/managedObjectStorageCustomDomain.d.ts +3 -7
- package/managedObjectStorageCustomDomain.js +10 -11
- package/managedObjectStorageCustomDomain.js.map +1 -1
- package/managedObjectStoragePolicy.d.ts +3 -6
- package/managedObjectStoragePolicy.js +18 -18
- package/managedObjectStoragePolicy.js.map +1 -1
- package/managedObjectStorageUser.d.ts +3 -9
- package/managedObjectStorageUser.js +10 -10
- package/managedObjectStorageUser.js.map +1 -1
- package/managedObjectStorageUserAccessKey.js +15 -15
- package/managedObjectStorageUserAccessKey.js.map +1 -1
- package/managedObjectStorageUserPolicy.js +10 -10
- package/managedObjectStorageUserPolicy.js.map +1 -1
- package/network.js +15 -15
- package/network.js.map +1 -1
- package/networkPeering.js +14 -14
- package/networkPeering.js.map +1 -1
- package/objectStorage.d.ts +40 -37
- package/objectStorage.js +24 -27
- package/objectStorage.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +17 -6
- package/provider.js +16 -8
- package/provider.js.map +1 -1
- package/router.d.ts +2 -4
- package/router.js +11 -11
- package/router.js.map +1 -1
- package/server.d.ts +27 -45
- package/server.js +50 -50
- package/server.js.map +1 -1
- package/serverFirewallRules.d.ts +24 -15
- package/serverFirewallRules.js +7 -7
- package/serverFirewallRules.js.map +1 -1
- package/serverGroup.d.ts +45 -36
- package/serverGroup.js +13 -13
- package/serverGroup.js.map +1 -1
- package/storage.d.ts +11 -22
- package/storage.js +29 -29
- package/storage.js.map +1 -1
- package/storageBackup.d.ts +2 -4
- package/storageBackup.js +17 -17
- package/storageBackup.js.map +1 -1
- package/storageTemplate.d.ts +2 -4
- package/storageTemplate.js +16 -16
- package/storageTemplate.js.map +1 -1
- package/tag.js +8 -8
- package/tag.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/utilities.d.ts +0 -4
- package/utilities.js +20 -30
- package/utilities.js.map +1 -1
package/kubernetesCluster.d.ts
CHANGED
|
@@ -73,9 +73,7 @@ export declare class KubernetesCluster extends pulumi.CustomResource {
|
|
|
73
73
|
*/
|
|
74
74
|
static isInstance(obj: any): obj is KubernetesCluster;
|
|
75
75
|
/**
|
|
76
|
-
* IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any
|
|
77
|
-
* source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node
|
|
78
|
-
* groups or exposed Kubernetes services.
|
|
76
|
+
* IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node groups or exposed Kubernetes services.
|
|
79
77
|
*/
|
|
80
78
|
readonly controlPlaneIpFilters: pulumi.Output<string[]>;
|
|
81
79
|
/**
|
|
@@ -117,18 +115,17 @@ export declare class KubernetesCluster extends pulumi.CustomResource {
|
|
|
117
115
|
*/
|
|
118
116
|
readonly storageEncryption: pulumi.Output<string | undefined>;
|
|
119
117
|
/**
|
|
120
|
-
* The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.
|
|
121
|
-
* When using `manual` strategy, you must replace the existing node-groups to update them.
|
|
118
|
+
* The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default. When using `manual` strategy, you must replace the existing node-groups to update them.
|
|
122
119
|
*/
|
|
123
120
|
readonly upgradeStrategyType: pulumi.Output<string | undefined>;
|
|
124
121
|
/**
|
|
125
|
-
* Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
|
|
126
|
-
*
|
|
122
|
+
* Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
|
|
123
|
+
*
|
|
124
|
+
* Note that when changing the cluster version, `upgradeStrategy` will be taken into account.
|
|
127
125
|
*/
|
|
128
126
|
readonly version: pulumi.Output<string>;
|
|
129
127
|
/**
|
|
130
|
-
* Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone
|
|
131
|
-
* list`.
|
|
128
|
+
* Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
|
|
132
129
|
*/
|
|
133
130
|
readonly zone: pulumi.Output<string>;
|
|
134
131
|
/**
|
|
@@ -145,9 +142,7 @@ export declare class KubernetesCluster extends pulumi.CustomResource {
|
|
|
145
142
|
*/
|
|
146
143
|
export interface KubernetesClusterState {
|
|
147
144
|
/**
|
|
148
|
-
* IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any
|
|
149
|
-
* source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node
|
|
150
|
-
* groups or exposed Kubernetes services.
|
|
145
|
+
* IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node groups or exposed Kubernetes services.
|
|
151
146
|
*/
|
|
152
147
|
controlPlaneIpFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
153
148
|
/**
|
|
@@ -189,18 +184,17 @@ export interface KubernetesClusterState {
|
|
|
189
184
|
*/
|
|
190
185
|
storageEncryption?: pulumi.Input<string>;
|
|
191
186
|
/**
|
|
192
|
-
* The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.
|
|
193
|
-
* When using `manual` strategy, you must replace the existing node-groups to update them.
|
|
187
|
+
* The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default. When using `manual` strategy, you must replace the existing node-groups to update them.
|
|
194
188
|
*/
|
|
195
189
|
upgradeStrategyType?: pulumi.Input<string>;
|
|
196
190
|
/**
|
|
197
|
-
* Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
|
|
198
|
-
*
|
|
191
|
+
* Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
|
|
192
|
+
*
|
|
193
|
+
* Note that when changing the cluster version, `upgradeStrategy` will be taken into account.
|
|
199
194
|
*/
|
|
200
195
|
version?: pulumi.Input<string>;
|
|
201
196
|
/**
|
|
202
|
-
* Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone
|
|
203
|
-
* list`.
|
|
197
|
+
* Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
|
|
204
198
|
*/
|
|
205
199
|
zone?: pulumi.Input<string>;
|
|
206
200
|
}
|
|
@@ -209,9 +203,7 @@ export interface KubernetesClusterState {
|
|
|
209
203
|
*/
|
|
210
204
|
export interface KubernetesClusterArgs {
|
|
211
205
|
/**
|
|
212
|
-
* IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any
|
|
213
|
-
* source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node
|
|
214
|
-
* groups or exposed Kubernetes services.
|
|
206
|
+
* IP addresses or IP ranges in CIDR format which are allowed to access the cluster control plane. To allow access from any source, use `["0.0.0.0/0"]`. To deny access from all sources, use `[]`. Values set here do not restrict access to node groups or exposed Kubernetes services.
|
|
215
207
|
*/
|
|
216
208
|
controlPlaneIpFilters: pulumi.Input<pulumi.Input<string>[]>;
|
|
217
209
|
/**
|
|
@@ -241,18 +233,17 @@ export interface KubernetesClusterArgs {
|
|
|
241
233
|
*/
|
|
242
234
|
storageEncryption?: pulumi.Input<string>;
|
|
243
235
|
/**
|
|
244
|
-
* The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default.
|
|
245
|
-
* When using `manual` strategy, you must replace the existing node-groups to update them.
|
|
236
|
+
* The upgrade strategy to use when changing the cluster `version`. If not set, `manual` strategy will be used by default. When using `manual` strategy, you must replace the existing node-groups to update them.
|
|
246
237
|
*/
|
|
247
238
|
upgradeStrategyType?: pulumi.Input<string>;
|
|
248
239
|
/**
|
|
249
|
-
* Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
|
|
250
|
-
*
|
|
240
|
+
* Kubernetes version ID, e.g. `1.31`. You can list available version IDs with `upctl kubernetes versions`.
|
|
241
|
+
*
|
|
242
|
+
* Note that when changing the cluster version, `upgradeStrategy` will be taken into account.
|
|
251
243
|
*/
|
|
252
244
|
version?: pulumi.Input<string>;
|
|
253
245
|
/**
|
|
254
|
-
* Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone
|
|
255
|
-
* list`.
|
|
246
|
+
* Zone in which the Kubernetes cluster will be hosted, e.g. `de-fra1`. You can list available zones with `upctl zone list`.
|
|
256
247
|
*/
|
|
257
248
|
zone: pulumi.Input<string>;
|
|
258
249
|
}
|
package/kubernetesCluster.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.KubernetesCluster = void 0;
|
|
@@ -73,7 +73,7 @@ class KubernetesCluster extends pulumi.CustomResource {
|
|
|
73
73
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
74
74
|
*/
|
|
75
75
|
static get(name, id, state, opts) {
|
|
76
|
-
return new KubernetesCluster(name, state,
|
|
76
|
+
return new KubernetesCluster(name, state, { ...opts, id: id });
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
79
|
* Returns true if the given object is an instance of KubernetesCluster. This is designed to work even
|
|
@@ -90,41 +90,41 @@ class KubernetesCluster extends pulumi.CustomResource {
|
|
|
90
90
|
opts = opts || {};
|
|
91
91
|
if (opts.id) {
|
|
92
92
|
const state = argsOrState;
|
|
93
|
-
resourceInputs["controlPlaneIpFilters"] = state
|
|
94
|
-
resourceInputs["labels"] = state
|
|
95
|
-
resourceInputs["name"] = state
|
|
96
|
-
resourceInputs["network"] = state
|
|
97
|
-
resourceInputs["networkCidr"] = state
|
|
98
|
-
resourceInputs["nodeGroups"] = state
|
|
99
|
-
resourceInputs["plan"] = state
|
|
100
|
-
resourceInputs["privateNodeGroups"] = state
|
|
101
|
-
resourceInputs["state"] = state
|
|
102
|
-
resourceInputs["storageEncryption"] = state
|
|
103
|
-
resourceInputs["upgradeStrategyType"] = state
|
|
104
|
-
resourceInputs["version"] = state
|
|
105
|
-
resourceInputs["zone"] = state
|
|
93
|
+
resourceInputs["controlPlaneIpFilters"] = state?.controlPlaneIpFilters;
|
|
94
|
+
resourceInputs["labels"] = state?.labels;
|
|
95
|
+
resourceInputs["name"] = state?.name;
|
|
96
|
+
resourceInputs["network"] = state?.network;
|
|
97
|
+
resourceInputs["networkCidr"] = state?.networkCidr;
|
|
98
|
+
resourceInputs["nodeGroups"] = state?.nodeGroups;
|
|
99
|
+
resourceInputs["plan"] = state?.plan;
|
|
100
|
+
resourceInputs["privateNodeGroups"] = state?.privateNodeGroups;
|
|
101
|
+
resourceInputs["state"] = state?.state;
|
|
102
|
+
resourceInputs["storageEncryption"] = state?.storageEncryption;
|
|
103
|
+
resourceInputs["upgradeStrategyType"] = state?.upgradeStrategyType;
|
|
104
|
+
resourceInputs["version"] = state?.version;
|
|
105
|
+
resourceInputs["zone"] = state?.zone;
|
|
106
106
|
}
|
|
107
107
|
else {
|
|
108
108
|
const args = argsOrState;
|
|
109
|
-
if (
|
|
109
|
+
if (args?.controlPlaneIpFilters === undefined && !opts.urn) {
|
|
110
110
|
throw new Error("Missing required property 'controlPlaneIpFilters'");
|
|
111
111
|
}
|
|
112
|
-
if (
|
|
112
|
+
if (args?.network === undefined && !opts.urn) {
|
|
113
113
|
throw new Error("Missing required property 'network'");
|
|
114
114
|
}
|
|
115
|
-
if (
|
|
115
|
+
if (args?.zone === undefined && !opts.urn) {
|
|
116
116
|
throw new Error("Missing required property 'zone'");
|
|
117
117
|
}
|
|
118
|
-
resourceInputs["controlPlaneIpFilters"] = args
|
|
119
|
-
resourceInputs["labels"] = args
|
|
120
|
-
resourceInputs["name"] = args
|
|
121
|
-
resourceInputs["network"] = args
|
|
122
|
-
resourceInputs["plan"] = args
|
|
123
|
-
resourceInputs["privateNodeGroups"] = args
|
|
124
|
-
resourceInputs["storageEncryption"] = args
|
|
125
|
-
resourceInputs["upgradeStrategyType"] = args
|
|
126
|
-
resourceInputs["version"] = args
|
|
127
|
-
resourceInputs["zone"] = args
|
|
118
|
+
resourceInputs["controlPlaneIpFilters"] = args?.controlPlaneIpFilters;
|
|
119
|
+
resourceInputs["labels"] = args?.labels;
|
|
120
|
+
resourceInputs["name"] = args?.name;
|
|
121
|
+
resourceInputs["network"] = args?.network;
|
|
122
|
+
resourceInputs["plan"] = args?.plan;
|
|
123
|
+
resourceInputs["privateNodeGroups"] = args?.privateNodeGroups;
|
|
124
|
+
resourceInputs["storageEncryption"] = args?.storageEncryption;
|
|
125
|
+
resourceInputs["upgradeStrategyType"] = args?.upgradeStrategyType;
|
|
126
|
+
resourceInputs["version"] = args?.version;
|
|
127
|
+
resourceInputs["zone"] = args?.zone;
|
|
128
128
|
resourceInputs["networkCidr"] = undefined /*out*/;
|
|
129
129
|
resourceInputs["nodeGroups"] = undefined /*out*/;
|
|
130
130
|
resourceInputs["state"] = undefined /*out*/;
|
package/kubernetesCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kubernetesCluster.js","sourceRoot":"","sources":["../kubernetesCluster.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"kubernetesCluster.js","sourceRoot":"","sources":["../kubernetesCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAiED,YA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L,8CAyIC;AA3HG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
package/kubernetesNodeGroup.d.ts
CHANGED
|
@@ -42,6 +42,30 @@ import * as outputs from "./types/output";
|
|
|
42
42
|
* value: "taintValue",
|
|
43
43
|
* }],
|
|
44
44
|
* });
|
|
45
|
+
* // Create a Kubernetes cluster node group with a GPU plan, with a custom storage size
|
|
46
|
+
* const groupGpu = new upcloud.KubernetesNodeGroup("group_gpu", {
|
|
47
|
+
* cluster: upcloudKubernetesCluster.example.id,
|
|
48
|
+
* nodeCount: 2,
|
|
49
|
+
* name: "gpu-workers",
|
|
50
|
+
* plan: "GPU-8xCPU-64GB-1xL40S",
|
|
51
|
+
* gpuPlan: {
|
|
52
|
+
* storageSize: 250,
|
|
53
|
+
* },
|
|
54
|
+
* labels: {
|
|
55
|
+
* gpu: "NVIDIA-L40S",
|
|
56
|
+
* },
|
|
57
|
+
* });
|
|
58
|
+
* // Create a Kubernetes cluster node group with a Cloud Native plan, with a custom storage size and tier
|
|
59
|
+
* const groupCloudNative = new upcloud.KubernetesNodeGroup("group_cloud_native", {
|
|
60
|
+
* cluster: upcloudKubernetesCluster.example.id,
|
|
61
|
+
* nodeCount: 4,
|
|
62
|
+
* name: "cloud-native-workers",
|
|
63
|
+
* plan: "CLOUDNATIVE-4xCPU-8GB",
|
|
64
|
+
* cloudNativePlan: {
|
|
65
|
+
* storageSize: 100,
|
|
66
|
+
* storageTier: "standard",
|
|
67
|
+
* },
|
|
68
|
+
* });
|
|
45
69
|
* ```
|
|
46
70
|
*/
|
|
47
71
|
export declare class KubernetesNodeGroup extends pulumi.CustomResource {
|
|
@@ -61,8 +85,7 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
|
|
|
61
85
|
*/
|
|
62
86
|
static isInstance(obj: any): obj is KubernetesNodeGroup;
|
|
63
87
|
/**
|
|
64
|
-
* If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is
|
|
65
|
-
* considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
|
|
88
|
+
* If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
|
|
66
89
|
*/
|
|
67
90
|
readonly antiAffinity: pulumi.Output<boolean>;
|
|
68
91
|
/**
|
|
@@ -82,10 +105,9 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
|
|
|
82
105
|
*/
|
|
83
106
|
readonly gpuPlan: pulumi.Output<outputs.KubernetesNodeGroupGpuPlan | undefined>;
|
|
84
107
|
/**
|
|
85
|
-
* Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will
|
|
86
|
-
*
|
|
87
|
-
* CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful
|
|
88
|
-
* when adding kubelet args.
|
|
108
|
+
* Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will prefix the arguments with `--` when preparing kubelet call.
|
|
109
|
+
*
|
|
110
|
+
* Note that these arguments will be passed directly to kubelet CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful when adding kubelet args.
|
|
89
111
|
*/
|
|
90
112
|
readonly kubeletArgs: pulumi.Output<outputs.KubernetesNodeGroupKubeletArg[] | undefined>;
|
|
91
113
|
/**
|
|
@@ -107,13 +129,11 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
|
|
|
107
129
|
*/
|
|
108
130
|
readonly plan: pulumi.Output<string>;
|
|
109
131
|
/**
|
|
110
|
-
* You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to
|
|
111
|
-
* connect to the nodes via SSH once they are running.
|
|
132
|
+
* You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to connect to the nodes via SSH once they are running.
|
|
112
133
|
*/
|
|
113
134
|
readonly sshKeys: pulumi.Output<string[]>;
|
|
114
135
|
/**
|
|
115
|
-
* The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption
|
|
116
|
-
* strategy will be used, if applicable.
|
|
136
|
+
* The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption strategy will be used, if applicable.
|
|
117
137
|
*/
|
|
118
138
|
readonly storageEncryption: pulumi.Output<string>;
|
|
119
139
|
/**
|
|
@@ -138,8 +158,7 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
|
|
|
138
158
|
*/
|
|
139
159
|
export interface KubernetesNodeGroupState {
|
|
140
160
|
/**
|
|
141
|
-
* If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is
|
|
142
|
-
* considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
|
|
161
|
+
* If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
|
|
143
162
|
*/
|
|
144
163
|
antiAffinity?: pulumi.Input<boolean>;
|
|
145
164
|
/**
|
|
@@ -159,10 +178,9 @@ export interface KubernetesNodeGroupState {
|
|
|
159
178
|
*/
|
|
160
179
|
gpuPlan?: pulumi.Input<inputs.KubernetesNodeGroupGpuPlan>;
|
|
161
180
|
/**
|
|
162
|
-
* Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will
|
|
163
|
-
*
|
|
164
|
-
* CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful
|
|
165
|
-
* when adding kubelet args.
|
|
181
|
+
* Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will prefix the arguments with `--` when preparing kubelet call.
|
|
182
|
+
*
|
|
183
|
+
* Note that these arguments will be passed directly to kubelet CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful when adding kubelet args.
|
|
166
184
|
*/
|
|
167
185
|
kubeletArgs?: pulumi.Input<pulumi.Input<inputs.KubernetesNodeGroupKubeletArg>[]>;
|
|
168
186
|
/**
|
|
@@ -184,13 +202,11 @@ export interface KubernetesNodeGroupState {
|
|
|
184
202
|
*/
|
|
185
203
|
plan?: pulumi.Input<string>;
|
|
186
204
|
/**
|
|
187
|
-
* You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to
|
|
188
|
-
* connect to the nodes via SSH once they are running.
|
|
205
|
+
* You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to connect to the nodes via SSH once they are running.
|
|
189
206
|
*/
|
|
190
207
|
sshKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
191
208
|
/**
|
|
192
|
-
* The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption
|
|
193
|
-
* strategy will be used, if applicable.
|
|
209
|
+
* The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption strategy will be used, if applicable.
|
|
194
210
|
*/
|
|
195
211
|
storageEncryption?: pulumi.Input<string>;
|
|
196
212
|
/**
|
|
@@ -207,8 +223,7 @@ export interface KubernetesNodeGroupState {
|
|
|
207
223
|
*/
|
|
208
224
|
export interface KubernetesNodeGroupArgs {
|
|
209
225
|
/**
|
|
210
|
-
* If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is
|
|
211
|
-
* considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
|
|
226
|
+
* If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is considered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.
|
|
212
227
|
*/
|
|
213
228
|
antiAffinity?: pulumi.Input<boolean>;
|
|
214
229
|
/**
|
|
@@ -228,10 +243,9 @@ export interface KubernetesNodeGroupArgs {
|
|
|
228
243
|
*/
|
|
229
244
|
gpuPlan?: pulumi.Input<inputs.KubernetesNodeGroupGpuPlan>;
|
|
230
245
|
/**
|
|
231
|
-
* Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will
|
|
232
|
-
*
|
|
233
|
-
* CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful
|
|
234
|
-
* when adding kubelet args.
|
|
246
|
+
* Additional arguments for kubelet for the nodes in this group. Configure the arguments without leading `--`. The API will prefix the arguments with `--` when preparing kubelet call.
|
|
247
|
+
*
|
|
248
|
+
* Note that these arguments will be passed directly to kubelet CLI on each worker node without any validation. Passing invalid arguments can break your whole cluster. Be extra careful when adding kubelet args.
|
|
235
249
|
*/
|
|
236
250
|
kubeletArgs?: pulumi.Input<pulumi.Input<inputs.KubernetesNodeGroupKubeletArg>[]>;
|
|
237
251
|
/**
|
|
@@ -253,13 +267,11 @@ export interface KubernetesNodeGroupArgs {
|
|
|
253
267
|
*/
|
|
254
268
|
plan: pulumi.Input<string>;
|
|
255
269
|
/**
|
|
256
|
-
* You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to
|
|
257
|
-
* connect to the nodes via SSH once they are running.
|
|
270
|
+
* You can optionally select SSH keys to be added as authorized keys to the nodes in this node group. This allows you to connect to the nodes via SSH once they are running.
|
|
258
271
|
*/
|
|
259
272
|
sshKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
260
273
|
/**
|
|
261
|
-
* The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption
|
|
262
|
-
* strategy will be used, if applicable.
|
|
274
|
+
* The storage encryption strategy to use for the nodes in this group. If not set, the cluster's storage encryption strategy will be used, if applicable.
|
|
263
275
|
*/
|
|
264
276
|
storageEncryption?: pulumi.Input<string>;
|
|
265
277
|
/**
|
package/kubernetesNodeGroup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.KubernetesNodeGroup = void 0;
|
|
@@ -46,6 +46,30 @@ const utilities = require("./utilities");
|
|
|
46
46
|
* value: "taintValue",
|
|
47
47
|
* }],
|
|
48
48
|
* });
|
|
49
|
+
* // Create a Kubernetes cluster node group with a GPU plan, with a custom storage size
|
|
50
|
+
* const groupGpu = new upcloud.KubernetesNodeGroup("group_gpu", {
|
|
51
|
+
* cluster: upcloudKubernetesCluster.example.id,
|
|
52
|
+
* nodeCount: 2,
|
|
53
|
+
* name: "gpu-workers",
|
|
54
|
+
* plan: "GPU-8xCPU-64GB-1xL40S",
|
|
55
|
+
* gpuPlan: {
|
|
56
|
+
* storageSize: 250,
|
|
57
|
+
* },
|
|
58
|
+
* labels: {
|
|
59
|
+
* gpu: "NVIDIA-L40S",
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
62
|
+
* // Create a Kubernetes cluster node group with a Cloud Native plan, with a custom storage size and tier
|
|
63
|
+
* const groupCloudNative = new upcloud.KubernetesNodeGroup("group_cloud_native", {
|
|
64
|
+
* cluster: upcloudKubernetesCluster.example.id,
|
|
65
|
+
* nodeCount: 4,
|
|
66
|
+
* name: "cloud-native-workers",
|
|
67
|
+
* plan: "CLOUDNATIVE-4xCPU-8GB",
|
|
68
|
+
* cloudNativePlan: {
|
|
69
|
+
* storageSize: 100,
|
|
70
|
+
* storageTier: "standard",
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
49
73
|
* ```
|
|
50
74
|
*/
|
|
51
75
|
class KubernetesNodeGroup extends pulumi.CustomResource {
|
|
@@ -59,7 +83,7 @@ class KubernetesNodeGroup extends pulumi.CustomResource {
|
|
|
59
83
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
84
|
*/
|
|
61
85
|
static get(name, id, state, opts) {
|
|
62
|
-
return new KubernetesNodeGroup(name, state,
|
|
86
|
+
return new KubernetesNodeGroup(name, state, { ...opts, id: id });
|
|
63
87
|
}
|
|
64
88
|
/**
|
|
65
89
|
* Returns true if the given object is an instance of KubernetesNodeGroup. This is designed to work even
|
|
@@ -76,46 +100,46 @@ class KubernetesNodeGroup extends pulumi.CustomResource {
|
|
|
76
100
|
opts = opts || {};
|
|
77
101
|
if (opts.id) {
|
|
78
102
|
const state = argsOrState;
|
|
79
|
-
resourceInputs["antiAffinity"] = state
|
|
80
|
-
resourceInputs["cloudNativePlan"] = state
|
|
81
|
-
resourceInputs["cluster"] = state
|
|
82
|
-
resourceInputs["customPlan"] = state
|
|
83
|
-
resourceInputs["gpuPlan"] = state
|
|
84
|
-
resourceInputs["kubeletArgs"] = state
|
|
85
|
-
resourceInputs["labels"] = state
|
|
86
|
-
resourceInputs["name"] = state
|
|
87
|
-
resourceInputs["nodeCount"] = state
|
|
88
|
-
resourceInputs["plan"] = state
|
|
89
|
-
resourceInputs["sshKeys"] = state
|
|
90
|
-
resourceInputs["storageEncryption"] = state
|
|
91
|
-
resourceInputs["taints"] = state
|
|
92
|
-
resourceInputs["utilityNetworkAccess"] = state
|
|
103
|
+
resourceInputs["antiAffinity"] = state?.antiAffinity;
|
|
104
|
+
resourceInputs["cloudNativePlan"] = state?.cloudNativePlan;
|
|
105
|
+
resourceInputs["cluster"] = state?.cluster;
|
|
106
|
+
resourceInputs["customPlan"] = state?.customPlan;
|
|
107
|
+
resourceInputs["gpuPlan"] = state?.gpuPlan;
|
|
108
|
+
resourceInputs["kubeletArgs"] = state?.kubeletArgs;
|
|
109
|
+
resourceInputs["labels"] = state?.labels;
|
|
110
|
+
resourceInputs["name"] = state?.name;
|
|
111
|
+
resourceInputs["nodeCount"] = state?.nodeCount;
|
|
112
|
+
resourceInputs["plan"] = state?.plan;
|
|
113
|
+
resourceInputs["sshKeys"] = state?.sshKeys;
|
|
114
|
+
resourceInputs["storageEncryption"] = state?.storageEncryption;
|
|
115
|
+
resourceInputs["taints"] = state?.taints;
|
|
116
|
+
resourceInputs["utilityNetworkAccess"] = state?.utilityNetworkAccess;
|
|
93
117
|
}
|
|
94
118
|
else {
|
|
95
119
|
const args = argsOrState;
|
|
96
|
-
if (
|
|
120
|
+
if (args?.cluster === undefined && !opts.urn) {
|
|
97
121
|
throw new Error("Missing required property 'cluster'");
|
|
98
122
|
}
|
|
99
|
-
if (
|
|
123
|
+
if (args?.nodeCount === undefined && !opts.urn) {
|
|
100
124
|
throw new Error("Missing required property 'nodeCount'");
|
|
101
125
|
}
|
|
102
|
-
if (
|
|
126
|
+
if (args?.plan === undefined && !opts.urn) {
|
|
103
127
|
throw new Error("Missing required property 'plan'");
|
|
104
128
|
}
|
|
105
|
-
resourceInputs["antiAffinity"] = args
|
|
106
|
-
resourceInputs["cloudNativePlan"] = args
|
|
107
|
-
resourceInputs["cluster"] = args
|
|
108
|
-
resourceInputs["customPlan"] = args
|
|
109
|
-
resourceInputs["gpuPlan"] = args
|
|
110
|
-
resourceInputs["kubeletArgs"] = args
|
|
111
|
-
resourceInputs["labels"] = args
|
|
112
|
-
resourceInputs["name"] = args
|
|
113
|
-
resourceInputs["nodeCount"] = args
|
|
114
|
-
resourceInputs["plan"] = args
|
|
115
|
-
resourceInputs["sshKeys"] = args
|
|
116
|
-
resourceInputs["storageEncryption"] = args
|
|
117
|
-
resourceInputs["taints"] = args
|
|
118
|
-
resourceInputs["utilityNetworkAccess"] = args
|
|
129
|
+
resourceInputs["antiAffinity"] = args?.antiAffinity;
|
|
130
|
+
resourceInputs["cloudNativePlan"] = args?.cloudNativePlan;
|
|
131
|
+
resourceInputs["cluster"] = args?.cluster;
|
|
132
|
+
resourceInputs["customPlan"] = args?.customPlan;
|
|
133
|
+
resourceInputs["gpuPlan"] = args?.gpuPlan;
|
|
134
|
+
resourceInputs["kubeletArgs"] = args?.kubeletArgs;
|
|
135
|
+
resourceInputs["labels"] = args?.labels;
|
|
136
|
+
resourceInputs["name"] = args?.name;
|
|
137
|
+
resourceInputs["nodeCount"] = args?.nodeCount;
|
|
138
|
+
resourceInputs["plan"] = args?.plan;
|
|
139
|
+
resourceInputs["sshKeys"] = args?.sshKeys;
|
|
140
|
+
resourceInputs["storageEncryption"] = args?.storageEncryption;
|
|
141
|
+
resourceInputs["taints"] = args?.taints;
|
|
142
|
+
resourceInputs["utilityNetworkAccess"] = args?.utilityNetworkAccess;
|
|
119
143
|
}
|
|
120
144
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
121
145
|
super(KubernetesNodeGroup.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kubernetesNodeGroup.js","sourceRoot":"","sources":["../kubernetesNodeGroup.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"kubernetesNodeGroup.js","sourceRoot":"","sources":["../kubernetesNodeGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAqED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,C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ustomResource {
|
|
|
83
83
|
[key: string]: string;
|
|
84
84
|
}>;
|
|
85
85
|
/**
|
|
86
|
-
* The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day.
|
|
87
|
-
* Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
|
|
86
|
+
* The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day. Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
|
|
88
87
|
*/
|
|
89
88
|
readonly maintenanceDow: pulumi.Output<string>;
|
|
90
89
|
/**
|
|
91
|
-
* The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this
|
|
92
|
-
* period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime
|
|
93
|
-
* of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC
|
|
94
|
-
* HH:MM:SSZ, for example `20:01:01Z`.
|
|
90
|
+
* The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example `20:01:01Z`.
|
|
95
91
|
*/
|
|
96
92
|
readonly maintenanceTime: pulumi.Output<string>;
|
|
97
93
|
/**
|
|
@@ -166,15 +162,11 @@ export interface LoadbalancerState {
|
|
|
166
162
|
[key: string]: pulumi.Input<string>;
|
|
167
163
|
}>;
|
|
168
164
|
/**
|
|
169
|
-
* The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day.
|
|
170
|
-
* Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
|
|
165
|
+
* The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day. Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
|
|
171
166
|
*/
|
|
172
167
|
maintenanceDow?: pulumi.Input<string>;
|
|
173
168
|
/**
|
|
174
|
-
* The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this
|
|
175
|
-
* period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime
|
|
176
|
-
* of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC
|
|
177
|
-
* HH:MM:SSZ, for example `20:01:01Z`.
|
|
169
|
+
* The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example `20:01:01Z`.
|
|
178
170
|
*/
|
|
179
171
|
maintenanceTime?: pulumi.Input<string>;
|
|
180
172
|
/**
|
|
@@ -227,15 +219,11 @@ export interface LoadbalancerArgs {
|
|
|
227
219
|
[key: string]: pulumi.Input<string>;
|
|
228
220
|
}>;
|
|
229
221
|
/**
|
|
230
|
-
* The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day.
|
|
231
|
-
* Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
|
|
222
|
+
* The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day. Valid values `monday|tuesday|wednesday|thursday|friday|saturday|sunday`.
|
|
232
223
|
*/
|
|
233
224
|
maintenanceDow?: pulumi.Input<string>;
|
|
234
225
|
/**
|
|
235
|
-
* The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this
|
|
236
|
-
* period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime
|
|
237
|
-
* of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC
|
|
238
|
-
* HH:MM:SSZ, for example `20:01:01Z`.
|
|
226
|
+
* The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example `20:01:01Z`.
|
|
239
227
|
*/
|
|
240
228
|
maintenanceTime?: pulumi.Input<string>;
|
|
241
229
|
/**
|