@upcloud/pulumi-upcloud 0.12.2 → 0.14.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/fileStorage.d.ts CHANGED
@@ -25,6 +25,7 @@ import * as outputs from "./types/output";
25
25
  * size: 250,
26
26
  * zone: "fi-hel2",
27
27
  * configuredStatus: "stopped",
28
+ * encrypt: true,
28
29
  * labels: {
29
30
  * environment: "staging",
30
31
  * customer: "example-customer",
@@ -70,6 +71,10 @@ export declare class FileStorage extends pulumi.CustomResource {
70
71
  * The service configured status indicates the service's current intended status. Managed by the customer.
71
72
  */
72
73
  readonly configuredStatus: pulumi.Output<string>;
74
+ /**
75
+ * Sets if the file storage is encrypted at rest. Encryption can only be enabled at creation time and cannot be changed later. Defaults to `false`.
76
+ */
77
+ readonly encrypt: pulumi.Output<boolean>;
73
78
  /**
74
79
  * User defined key-value pairs to classify the file storage.
75
80
  */
@@ -109,6 +114,10 @@ export interface FileStorageState {
109
114
  * The service configured status indicates the service's current intended status. Managed by the customer.
110
115
  */
111
116
  configuredStatus?: pulumi.Input<string>;
117
+ /**
118
+ * Sets if the file storage is encrypted at rest. Encryption can only be enabled at creation time and cannot be changed later. Defaults to `false`.
119
+ */
120
+ encrypt?: pulumi.Input<boolean>;
112
121
  /**
113
122
  * User defined key-value pairs to classify the file storage.
114
123
  */
@@ -140,6 +149,10 @@ export interface FileStorageArgs {
140
149
  * The service configured status indicates the service's current intended status. Managed by the customer.
141
150
  */
142
151
  configuredStatus: pulumi.Input<string>;
152
+ /**
153
+ * Sets if the file storage is encrypted at rest. Encryption can only be enabled at creation time and cannot be changed later. Defaults to `false`.
154
+ */
155
+ encrypt?: pulumi.Input<boolean>;
143
156
  /**
144
157
  * User defined key-value pairs to classify the file storage.
145
158
  */
package/fileStorage.js CHANGED
@@ -29,6 +29,7 @@ const utilities = require("./utilities");
29
29
  * size: 250,
30
30
  * zone: "fi-hel2",
31
31
  * configuredStatus: "stopped",
32
+ * encrypt: true,
32
33
  * labels: {
33
34
  * environment: "staging",
34
35
  * customer: "example-customer",
@@ -83,6 +84,7 @@ class FileStorage extends pulumi.CustomResource {
83
84
  if (opts.id) {
84
85
  const state = argsOrState;
85
86
  resourceInputs["configuredStatus"] = state?.configuredStatus;
87
+ resourceInputs["encrypt"] = state?.encrypt;
86
88
  resourceInputs["labels"] = state?.labels;
87
89
  resourceInputs["name"] = state?.name;
88
90
  resourceInputs["networks"] = state?.networks;
@@ -101,6 +103,7 @@ class FileStorage extends pulumi.CustomResource {
101
103
  throw new Error("Missing required property 'zone'");
102
104
  }
103
105
  resourceInputs["configuredStatus"] = args?.configuredStatus;
106
+ resourceInputs["encrypt"] = args?.encrypt;
104
107
  resourceInputs["labels"] = args?.labels;
105
108
  resourceInputs["name"] = args?.name;
106
109
  resourceInputs["networks"] = args?.networks;
@@ -1 +1 @@
1
- {"version":3,"file":"fileStorage.js","sourceRoot":"","sources":["../fileStorage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;I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UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAlGL,kCAmGC;AArFG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
@@ -3,6 +3,15 @@ import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
5
  * Returns a list of available Managed Object Storage regions.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as upcloud from "@upcloud/pulumi-upcloud";
12
+ *
13
+ * const _this = upcloud.getManagedObjectStorageRegions({});
14
+ * ```
6
15
  */
7
16
  export declare function getManagedObjectStorageRegions(args?: GetManagedObjectStorageRegionsArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedObjectStorageRegionsResult>;
8
17
  /**
@@ -23,6 +32,15 @@ export interface GetManagedObjectStorageRegionsResult {
23
32
  }
24
33
  /**
25
34
  * Returns a list of available Managed Object Storage regions.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as upcloud from "@upcloud/pulumi-upcloud";
41
+ *
42
+ * const _this = upcloud.getManagedObjectStorageRegions({});
43
+ * ```
26
44
  */
27
45
  export declare function getManagedObjectStorageRegionsOutput(args?: GetManagedObjectStorageRegionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedObjectStorageRegionsResult>;
28
46
  /**
@@ -7,6 +7,15 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Returns a list of available Managed Object Storage regions.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as upcloud from "@upcloud/pulumi-upcloud";
16
+ *
17
+ * const _this = upcloud.getManagedObjectStorageRegions({});
18
+ * ```
10
19
  */
11
20
  function getManagedObjectStorageRegions(args, opts) {
12
21
  args = args || {};
@@ -18,6 +27,15 @@ function getManagedObjectStorageRegions(args, opts) {
18
27
  exports.getManagedObjectStorageRegions = getManagedObjectStorageRegions;
19
28
  /**
20
29
  * Returns a list of available Managed Object Storage regions.
30
+ *
31
+ * ## Example Usage
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as upcloud from "@upcloud/pulumi-upcloud";
36
+ *
37
+ * const _this = upcloud.getManagedObjectStorageRegions({});
38
+ * ```
21
39
  */
22
40
  function getManagedObjectStorageRegionsOutput(args, opts) {
23
41
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getManagedObjectStorageRegions.js","sourceRoot":"","sources":["../getManagedObjectStorageRegions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAA2B;IACjH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE;QACxG,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wEAMC;AAmBD;;GAEG;AACH,SAAgB,oCAAoC,CAAC,IAA+C,EAAE,IAAiC;IACnI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6EAA6E,EAAE;QAC9G,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oFAMC"}
1
+ {"version":3,"file":"getManagedObjectStorageRegions.js","sourceRoot":"","sources":["../getManagedObjectStorageRegions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAA2B;IACjH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE;QACxG,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wEAMC;AAmBD;;;;;;;;;;;GAWG;AACH,SAAgB,oCAAoC,CAAC,IAA+C,EAAE,IAAiC;IACnI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6EAA6E,EAAE;QAC9G,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oFAMC"}
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * This resource represents a [Managed Kubernetes](https://upcloud.com/products/managed-kubernetes) cluster.
5
+ * This resource represents a node group in a [Managed Kubernetes](https://upcloud.com/products/managed-kubernetes) cluster. The node groups are used to define the worker nodes of the cluster.
6
6
  *
7
7
  * ## Example Usage
8
8
  *
@@ -117,9 +117,13 @@ export declare class KubernetesNodeGroup extends pulumi.CustomResource {
117
117
  [key: string]: string;
118
118
  }>;
119
119
  /**
120
- * The name of the node group. Needs to be unique within a cluster.
120
+ * The name of the node group. Needs to be unique within a cluster. Either `name` or `namePrefix` must be specified.
121
121
  */
122
122
  readonly name: pulumi.Output<string>;
123
+ /**
124
+ * Like name, but appends a random string to the end to create a unique name beginning with the specified prefix. This enables using `createBeforeDestroy` lifecycle setting. Conflicts with `name`.
125
+ */
126
+ readonly namePrefix: pulumi.Output<string | undefined>;
123
127
  /**
124
128
  * Amount of nodes to provision in the node group.
125
129
  */
@@ -190,9 +194,13 @@ export interface KubernetesNodeGroupState {
190
194
  [key: string]: pulumi.Input<string>;
191
195
  }>;
192
196
  /**
193
- * The name of the node group. Needs to be unique within a cluster.
197
+ * The name of the node group. Needs to be unique within a cluster. Either `name` or `namePrefix` must be specified.
194
198
  */
195
199
  name?: pulumi.Input<string>;
200
+ /**
201
+ * Like name, but appends a random string to the end to create a unique name beginning with the specified prefix. This enables using `createBeforeDestroy` lifecycle setting. Conflicts with `name`.
202
+ */
203
+ namePrefix?: pulumi.Input<string>;
196
204
  /**
197
205
  * Amount of nodes to provision in the node group.
198
206
  */
@@ -255,9 +263,13 @@ export interface KubernetesNodeGroupArgs {
255
263
  [key: string]: pulumi.Input<string>;
256
264
  }>;
257
265
  /**
258
- * The name of the node group. Needs to be unique within a cluster.
266
+ * The name of the node group. Needs to be unique within a cluster. Either `name` or `namePrefix` must be specified.
259
267
  */
260
268
  name?: pulumi.Input<string>;
269
+ /**
270
+ * Like name, but appends a random string to the end to create a unique name beginning with the specified prefix. This enables using `createBeforeDestroy` lifecycle setting. Conflicts with `name`.
271
+ */
272
+ namePrefix?: pulumi.Input<string>;
261
273
  /**
262
274
  * Amount of nodes to provision in the node group.
263
275
  */
@@ -6,7 +6,7 @@ exports.KubernetesNodeGroup = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * This resource represents a [Managed Kubernetes](https://upcloud.com/products/managed-kubernetes) cluster.
9
+ * This resource represents a node group in a [Managed Kubernetes](https://upcloud.com/products/managed-kubernetes) cluster. The node groups are used to define the worker nodes of the cluster.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -108,6 +108,7 @@ class KubernetesNodeGroup extends pulumi.CustomResource {
108
108
  resourceInputs["kubeletArgs"] = state?.kubeletArgs;
109
109
  resourceInputs["labels"] = state?.labels;
110
110
  resourceInputs["name"] = state?.name;
111
+ resourceInputs["namePrefix"] = state?.namePrefix;
111
112
  resourceInputs["nodeCount"] = state?.nodeCount;
112
113
  resourceInputs["plan"] = state?.plan;
113
114
  resourceInputs["sshKeys"] = state?.sshKeys;
@@ -134,6 +135,7 @@ class KubernetesNodeGroup extends pulumi.CustomResource {
134
135
  resourceInputs["kubeletArgs"] = args?.kubeletArgs;
135
136
  resourceInputs["labels"] = args?.labels;
136
137
  resourceInputs["name"] = args?.name;
138
+ resourceInputs["namePrefix"] = args?.namePrefix;
137
139
  resourceInputs["nodeCount"] = args?.nodeCount;
138
140
  resourceInputs["plan"] = args?.plan;
139
141
  resourceInputs["sshKeys"] = args?.sshKeys;
@@ -1 +1 @@
1
- {"version":3,"file":"kubernetesNodeGroup.js","sourceRoot":"","sources":["../kubernetesNodeGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AApJL,kDAqJC;AAvIG,gBAAgB;AACO,gCAAY,GAAG,uDAAuD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upcloud/pulumi-upcloud",
3
- "version": "0.12.2",
3
+ "version": "0.14.1",
4
4
  "description": "A Pulumi package for creating and managing UpCloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,7 +24,7 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "upcloud",
27
- "version": "0.12.2",
27
+ "version": "0.14.1",
28
28
  "server": "github://api.github.com/UpCloudLtd/pulumi-upcloud"
29
29
  }
30
30
  }
package/types/input.d.ts CHANGED
@@ -1650,6 +1650,10 @@ export interface ManagedDatabaseMysqlProperties {
1650
1650
  * The number of seconds to wait for a block to be written to a connection before aborting the write.
1651
1651
  */
1652
1652
  netWriteTimeout?: pulumi.Input<number>;
1653
+ /**
1654
+ * The number of rows per thread in the eventsStatementsHistory table. Changing this parameter will lead to a restart of the MySQL service.
1655
+ */
1656
+ performanceSchemaEventsStatementsHistorySize?: pulumi.Input<number>;
1653
1657
  /**
1654
1658
  * Public Access. Allow access to the service from the public Internet.
1655
1659
  */
@@ -1658,6 +1662,10 @@ export interface ManagedDatabaseMysqlProperties {
1658
1662
  * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
1659
1663
  */
1660
1664
  publicAccessPrometheus?: pulumi.Input<boolean>;
1665
+ /**
1666
+ * The maximum amount of space in bytes to use for all relay logs while replicating from an external migration source. When the limit is reached, the replication I/O thread stops fetching relay log events until the SQL thread has caught up. Raise this to give a large migration a bigger relay-log budget; ensure the service disk is sized accordingly. The setting applies only on the node replicating from the external source; standby nodes always use the Aiven-managed default (the smaller of 5 GiB and 30% of the service disk), which is also used when this option is left unset. Changing this parameter will lead to a restart of the MySQL service.
1667
+ */
1668
+ relayLogSpaceLimit?: pulumi.Input<number>;
1661
1669
  /**
1662
1670
  * Service logging. Store logs for the service so that they are available in the HTTP API and console.
1663
1671
  */
@@ -1852,10 +1860,6 @@ export interface ManagedDatabaseOpensearchProperties {
1852
1860
  * Watermark settings.
1853
1861
  */
1854
1862
  diskWatermarks?: pulumi.Input<inputs.ManagedDatabaseOpensearchPropertiesDiskWatermarks>;
1855
- /**
1856
- * Elasticsearch version.
1857
- */
1858
- elasticsearchVersion?: pulumi.Input<string>;
1859
1863
  /**
1860
1864
  * Sender name placeholder to be used in Opensearch Dashboards and Opensearch keystore. This should be identical to the Sender name defined in Opensearch dashboards.
1861
1865
  */
@@ -3624,6 +3628,10 @@ export interface ServerLogin {
3624
3628
  * A list of ssh keys to access the server
3625
3629
  */
3626
3630
  keys?: pulumi.Input<pulumi.Input<string>[]>;
3631
+ /**
3632
+ * The generated one-time password for the server
3633
+ */
3634
+ password?: pulumi.Input<string>;
3627
3635
  /**
3628
3636
  * The delivery method for the server's root password (one of `none`, `email` or `sms`)
3629
3637
  */
package/types/output.d.ts CHANGED
@@ -1454,6 +1454,10 @@ export interface ManagedDatabaseMysqlProperties {
1454
1454
  * The number of seconds to wait for a block to be written to a connection before aborting the write.
1455
1455
  */
1456
1456
  netWriteTimeout: number;
1457
+ /**
1458
+ * The number of rows per thread in the eventsStatementsHistory table. Changing this parameter will lead to a restart of the MySQL service.
1459
+ */
1460
+ performanceSchemaEventsStatementsHistorySize: number;
1457
1461
  /**
1458
1462
  * Public Access. Allow access to the service from the public Internet.
1459
1463
  */
@@ -1462,6 +1466,10 @@ export interface ManagedDatabaseMysqlProperties {
1462
1466
  * Prometheus Public Access. Allow access to Prometheus metrics from the public Internet.
1463
1467
  */
1464
1468
  publicAccessPrometheus: boolean;
1469
+ /**
1470
+ * The maximum amount of space in bytes to use for all relay logs while replicating from an external migration source. When the limit is reached, the replication I/O thread stops fetching relay log events until the SQL thread has caught up. Raise this to give a large migration a bigger relay-log budget; ensure the service disk is sized accordingly. The setting applies only on the node replicating from the external source; standby nodes always use the Aiven-managed default (the smaller of 5 GiB and 30% of the service disk), which is also used when this option is left unset. Changing this parameter will lead to a restart of the MySQL service.
1471
+ */
1472
+ relayLogSpaceLimit: number;
1465
1473
  /**
1466
1474
  * Service logging. Store logs for the service so that they are available in the HTTP API and console.
1467
1475
  */
@@ -1656,10 +1664,6 @@ export interface ManagedDatabaseOpensearchProperties {
1656
1664
  * Watermark settings.
1657
1665
  */
1658
1666
  diskWatermarks?: outputs.ManagedDatabaseOpensearchPropertiesDiskWatermarks;
1659
- /**
1660
- * Elasticsearch version.
1661
- */
1662
- elasticsearchVersion: string;
1663
1667
  /**
1664
1668
  * Sender name placeholder to be used in Opensearch Dashboards and Opensearch keystore. This should be identical to the Sender name defined in Opensearch dashboards.
1665
1669
  */
@@ -3428,6 +3432,10 @@ export interface ServerLogin {
3428
3432
  * A list of ssh keys to access the server
3429
3433
  */
3430
3434
  keys?: string[];
3435
+ /**
3436
+ * The generated one-time password for the server
3437
+ */
3438
+ password: string;
3431
3439
  /**
3432
3440
  * The delivery method for the server's root password (one of `none`, `email` or `sms`)
3433
3441
  */