@pulumi/hcloud 1.9.0 → 1.10.0-alpha.1658288492
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 +2 -2
- package/package.json.dev +2 -2
- package/primaryIp.d.ts +3 -0
- package/primaryIp.js.map +1 -1
- package/server.d.ts +56 -9
- package/server.js +34 -0
- package/server.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.
|
|
3
|
+
"version": "v1.10.0-alpha.1658288492+990748b3",
|
|
4
4
|
"description": "A Pulumi package for creating and managing hcloud cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.10.0-alpha.1658288492+990748b3"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "v1.
|
|
3
|
+
"version": "v1.10.0-alpha.1658288492+990748b3",
|
|
4
4
|
"description": "A Pulumi package for creating and managing hcloud cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource hcloud v1.10.0-alpha.1658288492+990748b3"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/primaryIp.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ export declare class PrimaryIp extends pulumi.CustomResource {
|
|
|
68
68
|
readonly assigneeType: pulumi.Output<string>;
|
|
69
69
|
/**
|
|
70
70
|
* Whether auto delete is enabled.
|
|
71
|
+
* `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
71
72
|
*/
|
|
72
73
|
readonly autoDelete: pulumi.Output<boolean>;
|
|
73
74
|
readonly datacenter: pulumi.Output<string>;
|
|
@@ -117,6 +118,7 @@ export interface PrimaryIpState {
|
|
|
117
118
|
assigneeType?: pulumi.Input<string>;
|
|
118
119
|
/**
|
|
119
120
|
* Whether auto delete is enabled.
|
|
121
|
+
* `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
120
122
|
*/
|
|
121
123
|
autoDelete?: pulumi.Input<boolean>;
|
|
122
124
|
datacenter?: pulumi.Input<string>;
|
|
@@ -158,6 +160,7 @@ export interface PrimaryIpArgs {
|
|
|
158
160
|
assigneeType: pulumi.Input<string>;
|
|
159
161
|
/**
|
|
160
162
|
* Whether auto delete is enabled.
|
|
163
|
+
* `Important note:`It is recommended to set `autoDelete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
161
164
|
*/
|
|
162
165
|
autoDelete: pulumi.Input<boolean>;
|
|
163
166
|
datacenter?: pulumi.Input<string>;
|
package/primaryIp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primaryIp.js","sourceRoot":"","sources":["../primaryIp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;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OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAgHC;AAlGG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
|
package/server.d.ts
CHANGED
|
@@ -30,6 +30,38 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
30
30
|
* dependsOn: [network_subnet],
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
33
|
+
* ## Primary IPs
|
|
34
|
+
*
|
|
35
|
+
* When creating a server without linking at least one ´primary_ip´, it automatically creates & assigns two (ipv4 & ipv6).
|
|
36
|
+
* With the publicNet block, you can enable or link primary ips. If you don't define this block, two primary ips (ipv4, ipv6) will be created and assigned to the server automatically.
|
|
37
|
+
*
|
|
38
|
+
* ### Examples
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
43
|
+
*
|
|
44
|
+
* // Assign existing ipv4 only
|
|
45
|
+
* const serverTestServer = new hcloud.Server("serverTestServer", {publicNets: [{
|
|
46
|
+
* ipv4Enabled: true,
|
|
47
|
+
* ipv4: hcloud_primary_ip.primary_ip_1.id,
|
|
48
|
+
* ipv6Enabled: false,
|
|
49
|
+
* }]});
|
|
50
|
+
* //...
|
|
51
|
+
* // Link a managed ipv4 but autogenerate ipv6
|
|
52
|
+
* const serverTestIndex_serverServer = new hcloud.Server("serverTestIndex/serverServer", {publicNets: [{
|
|
53
|
+
* ipv4Enabled: true,
|
|
54
|
+
* ipv4: hcloud_primary_ip.primary_ip_1.id,
|
|
55
|
+
* ipv6Enabled: false,
|
|
56
|
+
* }]});
|
|
57
|
+
* //...
|
|
58
|
+
* // Assign & create auto-generated ipv4 & ipv6
|
|
59
|
+
* const serverTestHcloudIndex_serverServer = new hcloud.Server("serverTestHcloudIndex/serverServer", {publicNets: [{
|
|
60
|
+
* ipv4Enabled: true,
|
|
61
|
+
* ipv6Enabled: true,
|
|
62
|
+
* }]});
|
|
63
|
+
* //...
|
|
64
|
+
* ```
|
|
33
65
|
*
|
|
34
66
|
* ## Import
|
|
35
67
|
*
|
|
@@ -55,6 +87,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
55
87
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
88
|
*/
|
|
57
89
|
static isInstance(obj: any): obj is Server;
|
|
90
|
+
/**
|
|
91
|
+
* Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible.
|
|
92
|
+
*/
|
|
93
|
+
readonly allowDeprecatedImages: pulumi.Output<boolean | undefined>;
|
|
58
94
|
/**
|
|
59
95
|
* (string) The backup window of the server, if enabled.
|
|
60
96
|
*
|
|
@@ -78,10 +114,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
78
114
|
*/
|
|
79
115
|
readonly firewallIds: pulumi.Output<number[]>;
|
|
80
116
|
/**
|
|
81
|
-
*
|
|
117
|
+
* Ignores any updates
|
|
82
118
|
* to the `firewallIds` argument which were received from the server.
|
|
83
119
|
* This should not be used in normal cases. See the documentation of the
|
|
84
|
-
* `hcloud.FirewallAttachment`
|
|
120
|
+
* `hcloud.FirewallAttachment` resource for a reason to use this
|
|
85
121
|
* argument.
|
|
86
122
|
*/
|
|
87
123
|
readonly ignoreRemoteFirewallIds: pulumi.Output<boolean | undefined>;
|
|
@@ -132,7 +168,8 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
132
168
|
*/
|
|
133
169
|
readonly placementGroupId: pulumi.Output<number | undefined>;
|
|
134
170
|
/**
|
|
135
|
-
* In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples)
|
|
171
|
+
* In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples).
|
|
172
|
+
* If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated.
|
|
136
173
|
*/
|
|
137
174
|
readonly publicNets: pulumi.Output<outputs.ServerPublicNet[] | undefined>;
|
|
138
175
|
/**
|
|
@@ -172,6 +209,10 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
172
209
|
* Input properties used for looking up and filtering Server resources.
|
|
173
210
|
*/
|
|
174
211
|
export interface ServerState {
|
|
212
|
+
/**
|
|
213
|
+
* Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible.
|
|
214
|
+
*/
|
|
215
|
+
allowDeprecatedImages?: pulumi.Input<boolean>;
|
|
175
216
|
/**
|
|
176
217
|
* (string) The backup window of the server, if enabled.
|
|
177
218
|
*
|
|
@@ -195,10 +236,10 @@ export interface ServerState {
|
|
|
195
236
|
*/
|
|
196
237
|
firewallIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
197
238
|
/**
|
|
198
|
-
*
|
|
239
|
+
* Ignores any updates
|
|
199
240
|
* to the `firewallIds` argument which were received from the server.
|
|
200
241
|
* This should not be used in normal cases. See the documentation of the
|
|
201
|
-
* `hcloud.FirewallAttachment`
|
|
242
|
+
* `hcloud.FirewallAttachment` resource for a reason to use this
|
|
202
243
|
* argument.
|
|
203
244
|
*/
|
|
204
245
|
ignoreRemoteFirewallIds?: pulumi.Input<boolean>;
|
|
@@ -249,7 +290,8 @@ export interface ServerState {
|
|
|
249
290
|
*/
|
|
250
291
|
placementGroupId?: pulumi.Input<number>;
|
|
251
292
|
/**
|
|
252
|
-
* In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples)
|
|
293
|
+
* In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples).
|
|
294
|
+
* If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated.
|
|
253
295
|
*/
|
|
254
296
|
publicNets?: pulumi.Input<pulumi.Input<inputs.ServerPublicNet>[]>;
|
|
255
297
|
/**
|
|
@@ -281,6 +323,10 @@ export interface ServerState {
|
|
|
281
323
|
* The set of arguments for constructing a Server resource.
|
|
282
324
|
*/
|
|
283
325
|
export interface ServerArgs {
|
|
326
|
+
/**
|
|
327
|
+
* Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible.
|
|
328
|
+
*/
|
|
329
|
+
allowDeprecatedImages?: pulumi.Input<boolean>;
|
|
284
330
|
/**
|
|
285
331
|
* Enable or disable backups.
|
|
286
332
|
*/
|
|
@@ -298,10 +344,10 @@ export interface ServerArgs {
|
|
|
298
344
|
*/
|
|
299
345
|
firewallIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
300
346
|
/**
|
|
301
|
-
*
|
|
347
|
+
* Ignores any updates
|
|
302
348
|
* to the `firewallIds` argument which were received from the server.
|
|
303
349
|
* This should not be used in normal cases. See the documentation of the
|
|
304
|
-
* `hcloud.FirewallAttachment`
|
|
350
|
+
* `hcloud.FirewallAttachment` resource for a reason to use this
|
|
305
351
|
* argument.
|
|
306
352
|
*/
|
|
307
353
|
ignoreRemoteFirewallIds?: pulumi.Input<boolean>;
|
|
@@ -340,7 +386,8 @@ export interface ServerArgs {
|
|
|
340
386
|
*/
|
|
341
387
|
placementGroupId?: pulumi.Input<number>;
|
|
342
388
|
/**
|
|
343
|
-
* In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples)
|
|
389
|
+
* In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples).
|
|
390
|
+
* If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated.
|
|
344
391
|
*/
|
|
345
392
|
publicNets?: pulumi.Input<pulumi.Input<inputs.ServerPublicNet>[]>;
|
|
346
393
|
/**
|
package/server.js
CHANGED
|
@@ -35,6 +35,38 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* dependsOn: [network_subnet],
|
|
36
36
|
* });
|
|
37
37
|
* ```
|
|
38
|
+
* ## Primary IPs
|
|
39
|
+
*
|
|
40
|
+
* When creating a server without linking at least one ´primary_ip´, it automatically creates & assigns two (ipv4 & ipv6).
|
|
41
|
+
* With the publicNet block, you can enable or link primary ips. If you don't define this block, two primary ips (ipv4, ipv6) will be created and assigned to the server automatically.
|
|
42
|
+
*
|
|
43
|
+
* ### Examples
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as hcloud from "@pulumi/hcloud";
|
|
48
|
+
*
|
|
49
|
+
* // Assign existing ipv4 only
|
|
50
|
+
* const serverTestServer = new hcloud.Server("serverTestServer", {publicNets: [{
|
|
51
|
+
* ipv4Enabled: true,
|
|
52
|
+
* ipv4: hcloud_primary_ip.primary_ip_1.id,
|
|
53
|
+
* ipv6Enabled: false,
|
|
54
|
+
* }]});
|
|
55
|
+
* //...
|
|
56
|
+
* // Link a managed ipv4 but autogenerate ipv6
|
|
57
|
+
* const serverTestIndex_serverServer = new hcloud.Server("serverTestIndex/serverServer", {publicNets: [{
|
|
58
|
+
* ipv4Enabled: true,
|
|
59
|
+
* ipv4: hcloud_primary_ip.primary_ip_1.id,
|
|
60
|
+
* ipv6Enabled: false,
|
|
61
|
+
* }]});
|
|
62
|
+
* //...
|
|
63
|
+
* // Assign & create auto-generated ipv4 & ipv6
|
|
64
|
+
* const serverTestHcloudIndex_serverServer = new hcloud.Server("serverTestHcloudIndex/serverServer", {publicNets: [{
|
|
65
|
+
* ipv4Enabled: true,
|
|
66
|
+
* ipv6Enabled: true,
|
|
67
|
+
* }]});
|
|
68
|
+
* //...
|
|
69
|
+
* ```
|
|
38
70
|
*
|
|
39
71
|
* ## Import
|
|
40
72
|
*
|
|
@@ -50,6 +82,7 @@ class Server extends pulumi.CustomResource {
|
|
|
50
82
|
opts = opts || {};
|
|
51
83
|
if (opts.id) {
|
|
52
84
|
const state = argsOrState;
|
|
85
|
+
resourceInputs["allowDeprecatedImages"] = state ? state.allowDeprecatedImages : undefined;
|
|
53
86
|
resourceInputs["backupWindow"] = state ? state.backupWindow : undefined;
|
|
54
87
|
resourceInputs["backups"] = state ? state.backups : undefined;
|
|
55
88
|
resourceInputs["datacenter"] = state ? state.datacenter : undefined;
|
|
@@ -80,6 +113,7 @@ class Server extends pulumi.CustomResource {
|
|
|
80
113
|
if ((!args || args.serverType === undefined) && !opts.urn) {
|
|
81
114
|
throw new Error("Missing required property 'serverType'");
|
|
82
115
|
}
|
|
116
|
+
resourceInputs["allowDeprecatedImages"] = args ? args.allowDeprecatedImages : undefined;
|
|
83
117
|
resourceInputs["backups"] = args ? args.backups : undefined;
|
|
84
118
|
resourceInputs["datacenter"] = args ? args.datacenter : undefined;
|
|
85
119
|
resourceInputs["deleteProtection"] = args ? args.deleteProtection : undefined;
|
package/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAgJ7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc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