@pulumi/hcloud 1.27.0-alpha.1762409340 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/firewall.d.ts +2 -2
- package/firewall.js +2 -2
- package/firewallAttachment.d.ts +14 -6
- package/firewallAttachment.js +14 -6
- package/firewallAttachment.js.map +1 -1
- package/floatingIp.d.ts +2 -2
- package/floatingIp.js +2 -2
- package/floatingIpAssignment.d.ts +2 -2
- package/floatingIpAssignment.js +2 -2
- package/getPrimaryIp.d.ts +4 -4
- package/getPrimaryIp.js +4 -4
- package/getServerType.d.ts +2 -2
- package/getServerType.js +2 -2
- package/loadBalancer.d.ts +2 -2
- package/loadBalancer.js +2 -2
- package/loadBalancerTarget.d.ts +2 -2
- package/loadBalancerTarget.js +2 -2
- package/package.json +2 -2
- package/placementGroup.d.ts +2 -2
- package/placementGroup.js +2 -2
- package/primaryIp.d.ts +2 -2
- package/primaryIp.js +2 -2
- package/rdns.d.ts +2 -2
- package/rdns.js +2 -2
- package/server.d.ts +7 -7
- package/server.js +7 -7
- package/serverNetwork.d.ts +2 -2
- package/serverNetwork.js +2 -2
- package/snapshot.d.ts +2 -2
- package/snapshot.js +2 -2
- package/types/input.d.ts +1 -1
- package/volume.d.ts +2 -2
- package/volume.js +2 -2
- package/volumeAttachment.d.ts +2 -2
- package/volumeAttachment.js +2 -2
- package/zone.d.ts +1 -1
- package/zone.js +1 -1
- package/zoneRrset.d.ts +0 -33
- package/zoneRrset.js +0 -33
- package/zoneRrset.js.map +1 -1
package/firewall.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ import * as outputs from "./types/output";
|
|
|
34
34
|
* });
|
|
35
35
|
* const node1 = new hcloud.Server("node1", {
|
|
36
36
|
* name: "node1",
|
|
37
|
-
* image: "debian-
|
|
38
|
-
* serverType: "
|
|
37
|
+
* image: "debian-12",
|
|
38
|
+
* serverType: "cx23",
|
|
39
39
|
* firewallIds: [myfirewall.id],
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
package/firewall.js
CHANGED
|
@@ -38,8 +38,8 @@ const utilities = require("./utilities");
|
|
|
38
38
|
* });
|
|
39
39
|
* const node1 = new hcloud.Server("node1", {
|
|
40
40
|
* name: "node1",
|
|
41
|
-
* image: "debian-
|
|
42
|
-
* serverType: "
|
|
41
|
+
* image: "debian-12",
|
|
42
|
+
* serverType: "cx23",
|
|
43
43
|
* firewallIds: [myfirewall.id],
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
package/firewallAttachment.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* const testServer = new hcloud.Server("test_server", {
|
|
18
18
|
* name: "test-server",
|
|
19
|
-
* serverType: "
|
|
20
|
-
* image: "ubuntu-
|
|
19
|
+
* serverType: "cx23",
|
|
20
|
+
* image: "ubuntu-24.04",
|
|
21
21
|
* });
|
|
22
22
|
* const basicFirewall = new hcloud.Firewall("basic_firewall", {name: "basic_firewall"});
|
|
23
23
|
* const fwRef = new hcloud.FirewallAttachment("fw_ref", {
|
|
@@ -34,8 +34,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
34
34
|
*
|
|
35
35
|
* const testServer = new hcloud.Server("test_server", {
|
|
36
36
|
* name: "test-server",
|
|
37
|
-
* serverType: "
|
|
38
|
-
* image: "ubuntu-
|
|
37
|
+
* serverType: "cx23",
|
|
38
|
+
* image: "ubuntu-24.04",
|
|
39
39
|
* labels: {
|
|
40
40
|
* "firewall-attachment": "test-server",
|
|
41
41
|
* },
|
|
@@ -69,8 +69,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
69
69
|
* const denyAll = new hcloud.Firewall("deny_all", {name: "deny_all"});
|
|
70
70
|
* const testServer = new hcloud.Server("test_server", {
|
|
71
71
|
* name: "test-server",
|
|
72
|
-
* serverType: "
|
|
73
|
-
* image: "ubuntu-
|
|
72
|
+
* serverType: "cx23",
|
|
73
|
+
* image: "ubuntu-24.04",
|
|
74
74
|
* ignoreRemoteFirewallIds: true,
|
|
75
75
|
* firewallIds: [denyAll.id],
|
|
76
76
|
* });
|
|
@@ -99,6 +99,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
99
99
|
* serverIds: [testServer.id],
|
|
100
100
|
* });
|
|
101
101
|
* ```
|
|
102
|
+
*
|
|
103
|
+
* ## Import
|
|
104
|
+
*
|
|
105
|
+
* Firewall Attachments can be imported using the `id` of the firewall:
|
|
106
|
+
*
|
|
107
|
+
* ```sh
|
|
108
|
+
* $ pulumi import hcloud:index/firewallAttachment:FirewallAttachment example "$FIREWALL_ID"
|
|
109
|
+
* ```
|
|
102
110
|
*/
|
|
103
111
|
export declare class FirewallAttachment extends pulumi.CustomResource {
|
|
104
112
|
/**
|
package/firewallAttachment.js
CHANGED
|
@@ -22,8 +22,8 @@ const utilities = require("./utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* const testServer = new hcloud.Server("test_server", {
|
|
24
24
|
* name: "test-server",
|
|
25
|
-
* serverType: "
|
|
26
|
-
* image: "ubuntu-
|
|
25
|
+
* serverType: "cx23",
|
|
26
|
+
* image: "ubuntu-24.04",
|
|
27
27
|
* });
|
|
28
28
|
* const basicFirewall = new hcloud.Firewall("basic_firewall", {name: "basic_firewall"});
|
|
29
29
|
* const fwRef = new hcloud.FirewallAttachment("fw_ref", {
|
|
@@ -40,8 +40,8 @@ const utilities = require("./utilities");
|
|
|
40
40
|
*
|
|
41
41
|
* const testServer = new hcloud.Server("test_server", {
|
|
42
42
|
* name: "test-server",
|
|
43
|
-
* serverType: "
|
|
44
|
-
* image: "ubuntu-
|
|
43
|
+
* serverType: "cx23",
|
|
44
|
+
* image: "ubuntu-24.04",
|
|
45
45
|
* labels: {
|
|
46
46
|
* "firewall-attachment": "test-server",
|
|
47
47
|
* },
|
|
@@ -75,8 +75,8 @@ const utilities = require("./utilities");
|
|
|
75
75
|
* const denyAll = new hcloud.Firewall("deny_all", {name: "deny_all"});
|
|
76
76
|
* const testServer = new hcloud.Server("test_server", {
|
|
77
77
|
* name: "test-server",
|
|
78
|
-
* serverType: "
|
|
79
|
-
* image: "ubuntu-
|
|
78
|
+
* serverType: "cx23",
|
|
79
|
+
* image: "ubuntu-24.04",
|
|
80
80
|
* ignoreRemoteFirewallIds: true,
|
|
81
81
|
* firewallIds: [denyAll.id],
|
|
82
82
|
* });
|
|
@@ -105,6 +105,14 @@ const utilities = require("./utilities");
|
|
|
105
105
|
* serverIds: [testServer.id],
|
|
106
106
|
* });
|
|
107
107
|
* ```
|
|
108
|
+
*
|
|
109
|
+
* ## Import
|
|
110
|
+
*
|
|
111
|
+
* Firewall Attachments can be imported using the `id` of the firewall:
|
|
112
|
+
*
|
|
113
|
+
* ```sh
|
|
114
|
+
* $ pulumi import hcloud:index/firewallAttachment:FirewallAttachment example "$FIREWALL_ID"
|
|
115
|
+
* ```
|
|
108
116
|
*/
|
|
109
117
|
class FirewallAttachment extends pulumi.CustomResource {
|
|
110
118
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firewallAttachment.js","sourceRoot":"","sources":["../firewallAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"firewallAttachment.js","sourceRoot":"","sources":["../firewallAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4GG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7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EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvEL,gDAwEC;AA1DG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/floatingIp.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const node1 = new hcloud.Server("node1", {
|
|
12
12
|
* name: "node1",
|
|
13
|
-
* image: "debian-
|
|
14
|
-
* serverType: "
|
|
13
|
+
* image: "debian-12",
|
|
14
|
+
* serverType: "cx23",
|
|
15
15
|
* });
|
|
16
16
|
* const master = new hcloud.FloatingIp("master", {
|
|
17
17
|
* type: "ipv4",
|
package/floatingIp.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const node1 = new hcloud.Server("node1", {
|
|
18
18
|
* name: "node1",
|
|
19
|
-
* image: "debian-
|
|
20
|
-
* serverType: "
|
|
19
|
+
* image: "debian-12",
|
|
20
|
+
* serverType: "cx23",
|
|
21
21
|
* });
|
|
22
22
|
* const master = new hcloud.FloatingIp("master", {
|
|
23
23
|
* type: "ipv4",
|
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const node1 = new hcloud.Server("node1", {
|
|
12
12
|
* name: "node1",
|
|
13
|
-
* image: "debian-
|
|
14
|
-
* serverType: "
|
|
13
|
+
* image: "debian-12",
|
|
14
|
+
* serverType: "cx23",
|
|
15
15
|
* datacenter: "fsn1-dc8",
|
|
16
16
|
* });
|
|
17
17
|
* const master = new hcloud.FloatingIp("master", {
|
package/floatingIpAssignment.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const node1 = new hcloud.Server("node1", {
|
|
18
18
|
* name: "node1",
|
|
19
|
-
* image: "debian-
|
|
20
|
-
* serverType: "
|
|
19
|
+
* image: "debian-12",
|
|
20
|
+
* serverType: "cx23",
|
|
21
21
|
* datacenter: "fsn1-dc8",
|
|
22
22
|
* });
|
|
23
23
|
* const master = new hcloud.FloatingIp("master", {
|
package/getPrimaryIp.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
34
34
|
* // Link a server to an existing primary IP
|
|
35
35
|
* const serverTest = new hcloud.Server("server_test", {
|
|
36
36
|
* name: "test-server",
|
|
37
|
-
* image: "ubuntu-
|
|
38
|
-
* serverType: "
|
|
37
|
+
* image: "ubuntu-24.04",
|
|
38
|
+
* serverType: "cx23",
|
|
39
39
|
* datacenter: "fsn1-dc14",
|
|
40
40
|
* labels: {
|
|
41
41
|
* test: "tessst1",
|
|
@@ -159,8 +159,8 @@ export interface GetPrimaryIpResult {
|
|
|
159
159
|
* // Link a server to an existing primary IP
|
|
160
160
|
* const serverTest = new hcloud.Server("server_test", {
|
|
161
161
|
* name: "test-server",
|
|
162
|
-
* image: "ubuntu-
|
|
163
|
-
* serverType: "
|
|
162
|
+
* image: "ubuntu-24.04",
|
|
163
|
+
* serverType: "cx23",
|
|
164
164
|
* datacenter: "fsn1-dc14",
|
|
165
165
|
* labels: {
|
|
166
166
|
* test: "tessst1",
|
package/getPrimaryIp.js
CHANGED
|
@@ -40,8 +40,8 @@ const utilities = require("./utilities");
|
|
|
40
40
|
* // Link a server to an existing primary IP
|
|
41
41
|
* const serverTest = new hcloud.Server("server_test", {
|
|
42
42
|
* name: "test-server",
|
|
43
|
-
* image: "ubuntu-
|
|
44
|
-
* serverType: "
|
|
43
|
+
* image: "ubuntu-24.04",
|
|
44
|
+
* serverType: "cx23",
|
|
45
45
|
* datacenter: "fsn1-dc14",
|
|
46
46
|
* labels: {
|
|
47
47
|
* test: "tessst1",
|
|
@@ -99,8 +99,8 @@ exports.getPrimaryIp = getPrimaryIp;
|
|
|
99
99
|
* // Link a server to an existing primary IP
|
|
100
100
|
* const serverTest = new hcloud.Server("server_test", {
|
|
101
101
|
* name: "test-server",
|
|
102
|
-
* image: "ubuntu-
|
|
103
|
-
* serverType: "
|
|
102
|
+
* image: "ubuntu-24.04",
|
|
103
|
+
* serverType: "cx23",
|
|
104
104
|
* datacenter: "fsn1-dc14",
|
|
105
105
|
* labels: {
|
|
106
106
|
* test: "tessst1",
|
package/getServerType.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* id: 22,
|
|
16
16
|
* });
|
|
17
17
|
* const byName = hcloud.getServerType({
|
|
18
|
-
* name: "
|
|
18
|
+
* name: "cx23",
|
|
19
19
|
* });
|
|
20
20
|
* const main = new hcloud.Server("main", {
|
|
21
21
|
* name: "my-server",
|
|
@@ -125,7 +125,7 @@ export interface GetServerTypeResult {
|
|
|
125
125
|
* id: 22,
|
|
126
126
|
* });
|
|
127
127
|
* const byName = hcloud.getServerType({
|
|
128
|
-
* name: "
|
|
128
|
+
* name: "cx23",
|
|
129
129
|
* });
|
|
130
130
|
* const main = new hcloud.Server("main", {
|
|
131
131
|
* name: "my-server",
|
package/getServerType.js
CHANGED
|
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* id: 22,
|
|
21
21
|
* });
|
|
22
22
|
* const byName = hcloud.getServerType({
|
|
23
|
-
* name: "
|
|
23
|
+
* name: "cx23",
|
|
24
24
|
* });
|
|
25
25
|
* const main = new hcloud.Server("main", {
|
|
26
26
|
* name: "my-server",
|
|
@@ -54,7 +54,7 @@ exports.getServerType = getServerType;
|
|
|
54
54
|
* id: 22,
|
|
55
55
|
* });
|
|
56
56
|
* const byName = hcloud.getServerType({
|
|
57
|
-
* name: "
|
|
57
|
+
* name: "cx23",
|
|
58
58
|
* });
|
|
59
59
|
* const main = new hcloud.Server("main", {
|
|
60
60
|
* name: "my-server",
|
package/loadBalancer.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* const myServer = new hcloud.Server("my_server", {
|
|
14
14
|
* name: "server-%d",
|
|
15
|
-
* serverType: "
|
|
16
|
-
* image: "ubuntu-
|
|
15
|
+
* serverType: "cx23",
|
|
16
|
+
* image: "ubuntu-24.04",
|
|
17
17
|
* });
|
|
18
18
|
* const loadBalancer = new hcloud.LoadBalancer("load_balancer", {
|
|
19
19
|
* name: "my-load-balancer",
|
package/loadBalancer.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const myServer = new hcloud.Server("my_server", {
|
|
18
18
|
* name: "server-%d",
|
|
19
|
-
* serverType: "
|
|
20
|
-
* image: "ubuntu-
|
|
19
|
+
* serverType: "cx23",
|
|
20
|
+
* image: "ubuntu-24.04",
|
|
21
21
|
* });
|
|
22
22
|
* const loadBalancer = new hcloud.LoadBalancer("load_balancer", {
|
|
23
23
|
* name: "my-load-balancer",
|
package/loadBalancerTarget.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const myServer = new hcloud.Server("my_server", {
|
|
12
12
|
* name: "my-server",
|
|
13
|
-
* serverType: "
|
|
14
|
-
* image: "ubuntu-
|
|
13
|
+
* serverType: "cx23",
|
|
14
|
+
* image: "ubuntu-24.04",
|
|
15
15
|
* });
|
|
16
16
|
* const loadBalancer = new hcloud.LoadBalancer("load_balancer", {
|
|
17
17
|
* name: "my-load-balancer",
|
package/loadBalancerTarget.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const myServer = new hcloud.Server("my_server", {
|
|
18
18
|
* name: "my-server",
|
|
19
|
-
* serverType: "
|
|
20
|
-
* image: "ubuntu-
|
|
19
|
+
* serverType: "cx23",
|
|
20
|
+
* image: "ubuntu-24.04",
|
|
21
21
|
* });
|
|
22
22
|
* const loadBalancer = new hcloud.LoadBalancer("load_balancer", {
|
|
23
23
|
* name: "my-load-balancer",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "1.27.0
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing hcloud cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "hcloud",
|
|
26
|
-
"version": "1.27.0
|
|
26
|
+
"version": "1.27.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/placementGroup.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* });
|
|
18
18
|
* const node1 = new hcloud.Server("node1", {
|
|
19
19
|
* name: "node1",
|
|
20
|
-
* image: "debian-
|
|
21
|
-
* serverType: "
|
|
20
|
+
* image: "debian-12",
|
|
21
|
+
* serverType: "cx23",
|
|
22
22
|
* placementGroupId: my_placement_group.id,
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
package/placementGroup.js
CHANGED
|
@@ -23,8 +23,8 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* });
|
|
24
24
|
* const node1 = new hcloud.Server("node1", {
|
|
25
25
|
* name: "node1",
|
|
26
|
-
* image: "debian-
|
|
27
|
-
* serverType: "
|
|
26
|
+
* image: "debian-12",
|
|
27
|
+
* serverType: "cx23",
|
|
28
28
|
* placementGroupId: my_placement_group.id,
|
|
29
29
|
* });
|
|
30
30
|
* ```
|
package/primaryIp.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* // Link a server to a primary IP
|
|
25
25
|
* const serverTest = new hcloud.Server("server_test", {
|
|
26
26
|
* name: "test-server",
|
|
27
|
-
* image: "ubuntu-
|
|
28
|
-
* serverType: "
|
|
27
|
+
* image: "ubuntu-24.04",
|
|
28
|
+
* serverType: "cx23",
|
|
29
29
|
* datacenter: "fsn1-dc14",
|
|
30
30
|
* labels: {
|
|
31
31
|
* test: "tessst1",
|
package/primaryIp.js
CHANGED
|
@@ -30,8 +30,8 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* // Link a server to a primary IP
|
|
31
31
|
* const serverTest = new hcloud.Server("server_test", {
|
|
32
32
|
* name: "test-server",
|
|
33
|
-
* image: "ubuntu-
|
|
34
|
-
* serverType: "
|
|
33
|
+
* image: "ubuntu-24.04",
|
|
34
|
+
* serverType: "cx23",
|
|
35
35
|
* datacenter: "fsn1-dc14",
|
|
36
36
|
* labels: {
|
|
37
37
|
* test: "tessst1",
|
package/rdns.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const node1 = new hcloud.Server("node1", {
|
|
14
14
|
* name: "node1",
|
|
15
|
-
* image: "debian-
|
|
16
|
-
* serverType: "
|
|
15
|
+
* image: "debian-12",
|
|
16
|
+
* serverType: "cx23",
|
|
17
17
|
* });
|
|
18
18
|
* const master = new hcloud.Rdns("master", {
|
|
19
19
|
* serverId: node1.id,
|
package/rdns.js
CHANGED
|
@@ -18,8 +18,8 @@ const utilities = require("./utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const node1 = new hcloud.Server("node1", {
|
|
20
20
|
* name: "node1",
|
|
21
|
-
* image: "debian-
|
|
22
|
-
* serverType: "
|
|
21
|
+
* image: "debian-12",
|
|
22
|
+
* serverType: "cx23",
|
|
23
23
|
* });
|
|
24
24
|
* const master = new hcloud.Rdns("master", {
|
|
25
25
|
* serverId: node1.id,
|
package/server.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* // Create a new server running debian
|
|
16
16
|
* const node1 = new hcloud.Server("node1", {
|
|
17
17
|
* name: "node1",
|
|
18
|
-
* image: "debian-
|
|
19
|
-
* serverType: "
|
|
18
|
+
* image: "debian-12",
|
|
19
|
+
* serverType: "cx23",
|
|
20
20
|
* publicNets: [{
|
|
21
21
|
* ipv4Enabled: true,
|
|
22
22
|
* ipv6Enabled: true,
|
|
@@ -41,8 +41,8 @@ import * as outputs from "./types/output";
|
|
|
41
41
|
* });
|
|
42
42
|
* const serverTest = new hcloud.Server("server_test", {
|
|
43
43
|
* name: "test-server",
|
|
44
|
-
* image: "ubuntu-
|
|
45
|
-
* serverType: "
|
|
44
|
+
* image: "ubuntu-24.04",
|
|
45
|
+
* serverType: "cx23",
|
|
46
46
|
* datacenter: "fsn1-dc14",
|
|
47
47
|
* labels: {
|
|
48
48
|
* test: "tessst1",
|
|
@@ -73,8 +73,8 @@ import * as outputs from "./types/output";
|
|
|
73
73
|
* });
|
|
74
74
|
* const server = new hcloud.Server("server", {
|
|
75
75
|
* name: "server",
|
|
76
|
-
* serverType: "
|
|
77
|
-
* image: "ubuntu-
|
|
76
|
+
* serverType: "cx23",
|
|
77
|
+
* image: "ubuntu-24.04",
|
|
78
78
|
* location: "nbg1",
|
|
79
79
|
* networks: [{
|
|
80
80
|
* networkId: network.id,
|
|
@@ -104,7 +104,7 @@ import * as outputs from "./types/output";
|
|
|
104
104
|
* const fromSnapshot = new hcloud.Server("from_snapshot", {
|
|
105
105
|
* name: "from-snapshot",
|
|
106
106
|
* image: packerSnapshot.then(packerSnapshot => packerSnapshot.id),
|
|
107
|
-
* serverType: "
|
|
107
|
+
* serverType: "cx23",
|
|
108
108
|
* publicNets: [{
|
|
109
109
|
* ipv4Enabled: true,
|
|
110
110
|
* ipv6Enabled: true,
|
package/server.js
CHANGED
|
@@ -19,8 +19,8 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* // Create a new server running debian
|
|
20
20
|
* const node1 = new hcloud.Server("node1", {
|
|
21
21
|
* name: "node1",
|
|
22
|
-
* image: "debian-
|
|
23
|
-
* serverType: "
|
|
22
|
+
* image: "debian-12",
|
|
23
|
+
* serverType: "cx23",
|
|
24
24
|
* publicNets: [{
|
|
25
25
|
* ipv4Enabled: true,
|
|
26
26
|
* ipv6Enabled: true,
|
|
@@ -45,8 +45,8 @@ const utilities = require("./utilities");
|
|
|
45
45
|
* });
|
|
46
46
|
* const serverTest = new hcloud.Server("server_test", {
|
|
47
47
|
* name: "test-server",
|
|
48
|
-
* image: "ubuntu-
|
|
49
|
-
* serverType: "
|
|
48
|
+
* image: "ubuntu-24.04",
|
|
49
|
+
* serverType: "cx23",
|
|
50
50
|
* datacenter: "fsn1-dc14",
|
|
51
51
|
* labels: {
|
|
52
52
|
* test: "tessst1",
|
|
@@ -77,8 +77,8 @@ const utilities = require("./utilities");
|
|
|
77
77
|
* });
|
|
78
78
|
* const server = new hcloud.Server("server", {
|
|
79
79
|
* name: "server",
|
|
80
|
-
* serverType: "
|
|
81
|
-
* image: "ubuntu-
|
|
80
|
+
* serverType: "cx23",
|
|
81
|
+
* image: "ubuntu-24.04",
|
|
82
82
|
* location: "nbg1",
|
|
83
83
|
* networks: [{
|
|
84
84
|
* networkId: network.id,
|
|
@@ -108,7 +108,7 @@ const utilities = require("./utilities");
|
|
|
108
108
|
* const fromSnapshot = new hcloud.Server("from_snapshot", {
|
|
109
109
|
* name: "from-snapshot",
|
|
110
110
|
* image: packerSnapshot.then(packerSnapshot => packerSnapshot.id),
|
|
111
|
-
* serverType: "
|
|
111
|
+
* serverType: "cx23",
|
|
112
112
|
* publicNets: [{
|
|
113
113
|
* ipv4Enabled: true,
|
|
114
114
|
* ipv6Enabled: true,
|
package/serverNetwork.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const node1 = new hcloud.Server("node1", {
|
|
12
12
|
* name: "node1",
|
|
13
|
-
* image: "debian-
|
|
14
|
-
* serverType: "
|
|
13
|
+
* image: "debian-12",
|
|
14
|
+
* serverType: "cx23",
|
|
15
15
|
* });
|
|
16
16
|
* const mynet = new hcloud.Network("mynet", {
|
|
17
17
|
* name: "my-net",
|
package/serverNetwork.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const node1 = new hcloud.Server("node1", {
|
|
18
18
|
* name: "node1",
|
|
19
|
-
* image: "debian-
|
|
20
|
-
* serverType: "
|
|
19
|
+
* image: "debian-12",
|
|
20
|
+
* serverType: "cx23",
|
|
21
21
|
* });
|
|
22
22
|
* const mynet = new hcloud.Network("mynet", {
|
|
23
23
|
* name: "my-net",
|
package/snapshot.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const node1 = new hcloud.Server("node1", {
|
|
12
12
|
* name: "node1",
|
|
13
|
-
* image: "debian-
|
|
14
|
-
* serverType: "
|
|
13
|
+
* image: "debian-12",
|
|
14
|
+
* serverType: "cx23",
|
|
15
15
|
* });
|
|
16
16
|
* const my_snapshot = new hcloud.Snapshot("my-snapshot", {serverId: node1.id});
|
|
17
17
|
* ```
|
package/snapshot.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const node1 = new hcloud.Server("node1", {
|
|
18
18
|
* name: "node1",
|
|
19
|
-
* image: "debian-
|
|
20
|
-
* serverType: "
|
|
19
|
+
* image: "debian-12",
|
|
20
|
+
* serverType: "cx23",
|
|
21
21
|
* });
|
|
22
22
|
* const my_snapshot = new hcloud.Snapshot("my-snapshot", {serverId: node1.id});
|
|
23
23
|
* ```
|
package/types/input.d.ts
CHANGED
|
@@ -177,7 +177,7 @@ export interface LoadBalancerServiceHealthCheck {
|
|
|
177
177
|
/**
|
|
178
178
|
* Number of tries a health check will be performed until a target will be listed as `unhealthy`.
|
|
179
179
|
*/
|
|
180
|
-
retries
|
|
180
|
+
retries: pulumi.Input<number>;
|
|
181
181
|
/**
|
|
182
182
|
* Timeout when a health check try will be canceled if there is no response, in seconds.
|
|
183
183
|
*/
|
package/volume.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const node1 = new hcloud.Server("node1", {
|
|
12
12
|
* name: "node1",
|
|
13
|
-
* image: "debian-
|
|
14
|
-
* serverType: "
|
|
13
|
+
* image: "debian-12",
|
|
14
|
+
* serverType: "cx23",
|
|
15
15
|
* });
|
|
16
16
|
* const master = new hcloud.Volume("master", {
|
|
17
17
|
* name: "volume1",
|
package/volume.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const node1 = new hcloud.Server("node1", {
|
|
18
18
|
* name: "node1",
|
|
19
|
-
* image: "debian-
|
|
20
|
-
* serverType: "
|
|
19
|
+
* image: "debian-12",
|
|
20
|
+
* serverType: "cx23",
|
|
21
21
|
* });
|
|
22
22
|
* const master = new hcloud.Volume("master", {
|
|
23
23
|
* name: "volume1",
|
package/volumeAttachment.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const node1 = new hcloud.Server("node1", {
|
|
12
12
|
* name: "node1",
|
|
13
|
-
* image: "debian-
|
|
14
|
-
* serverType: "
|
|
13
|
+
* image: "debian-12",
|
|
14
|
+
* serverType: "cx23",
|
|
15
15
|
* datacenter: "nbg1-dc3",
|
|
16
16
|
* });
|
|
17
17
|
* const master = new hcloud.Volume("master", {
|
package/volumeAttachment.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const node1 = new hcloud.Server("node1", {
|
|
18
18
|
* name: "node1",
|
|
19
|
-
* image: "debian-
|
|
20
|
-
* serverType: "
|
|
19
|
+
* image: "debian-12",
|
|
20
|
+
* serverType: "cx23",
|
|
21
21
|
* datacenter: "nbg1-dc3",
|
|
22
22
|
* });
|
|
23
23
|
* const master = new hcloud.Volume("master", {
|
package/zone.d.ts
CHANGED
package/zone.js
CHANGED
package/zoneRrset.d.ts
CHANGED
|
@@ -2,41 +2,8 @@ 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
|
-
* Provides a Hetzner Cloud Zone Resource Record Set (RRSet) resource.
|
|
6
|
-
*
|
|
7
|
-
* This can be used to create, modify, and delete Zone RRSets.
|
|
8
|
-
*
|
|
9
|
-
* See the [Zone RRSets API documentation](https://docs.hetzner.cloud/reference/cloud#zone-rrsets) for more details.
|
|
10
|
-
*
|
|
11
|
-
* **Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
|
|
12
|
-
* See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
|
|
13
|
-
*
|
|
14
5
|
* ## Example Usage
|
|
15
6
|
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as hcloud from "@pulumi/hcloud";
|
|
19
|
-
*
|
|
20
|
-
* const example = new hcloud.Zone("example", {
|
|
21
|
-
* name: "example.com",
|
|
22
|
-
* mode: "primary",
|
|
23
|
-
* });
|
|
24
|
-
* const exampleZoneRrset = new hcloud.ZoneRrset("example", {
|
|
25
|
-
* zone: example.name,
|
|
26
|
-
* name: "www",
|
|
27
|
-
* type: "A",
|
|
28
|
-
* ttl: 10800,
|
|
29
|
-
* labels: {
|
|
30
|
-
* key: "value",
|
|
31
|
-
* },
|
|
32
|
-
* records: [{
|
|
33
|
-
* value: "201.78.10.45",
|
|
34
|
-
* comment: "web server 1",
|
|
35
|
-
* }],
|
|
36
|
-
* changeProtection: false,
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
7
|
* ## Import
|
|
41
8
|
*
|
|
42
9
|
* In Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:
|
package/zoneRrset.js
CHANGED
|
@@ -6,41 +6,8 @@ exports.ZoneRrset = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Hetzner Cloud Zone Resource Record Set (RRSet) resource.
|
|
10
|
-
*
|
|
11
|
-
* This can be used to create, modify, and delete Zone RRSets.
|
|
12
|
-
*
|
|
13
|
-
* See the [Zone RRSets API documentation](https://docs.hetzner.cloud/reference/cloud#zone-rrsets) for more details.
|
|
14
|
-
*
|
|
15
|
-
* **Experimental:** DNS API is in beta, breaking changes may occur within minor releases.
|
|
16
|
-
* See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
|
|
17
|
-
*
|
|
18
9
|
* ## Example Usage
|
|
19
10
|
*
|
|
20
|
-
* ```typescript
|
|
21
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
-
* import * as hcloud from "@pulumi/hcloud";
|
|
23
|
-
*
|
|
24
|
-
* const example = new hcloud.Zone("example", {
|
|
25
|
-
* name: "example.com",
|
|
26
|
-
* mode: "primary",
|
|
27
|
-
* });
|
|
28
|
-
* const exampleZoneRrset = new hcloud.ZoneRrset("example", {
|
|
29
|
-
* zone: example.name,
|
|
30
|
-
* name: "www",
|
|
31
|
-
* type: "A",
|
|
32
|
-
* ttl: 10800,
|
|
33
|
-
* labels: {
|
|
34
|
-
* key: "value",
|
|
35
|
-
* },
|
|
36
|
-
* records: [{
|
|
37
|
-
* value: "201.78.10.45",
|
|
38
|
-
* comment: "web server 1",
|
|
39
|
-
* }],
|
|
40
|
-
* changeProtection: false,
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
11
|
* ## Import
|
|
45
12
|
*
|
|
46
13
|
* In Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:
|
package/zoneRrset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoneRrset.js","sourceRoot":"","sources":["../zoneRrset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"zoneRrset.js","sourceRoot":"","sources":["../zoneRrset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAuCD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OA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