@pulumi/hcloud 1.40.0-alpha.1784875787 → 1.40.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/getDatacenters.d.ts +0 -18
- package/getDatacenters.d.ts.map +1 -1
- package/getDatacenters.js +0 -18
- package/getDatacenters.js.map +1 -1
- package/getPrimaryIp.d.ts +26 -49
- package/getPrimaryIp.d.ts.map +1 -1
- package/getPrimaryIp.js +8 -34
- package/getPrimaryIp.js.map +1 -1
- package/getPrimaryIps.d.ts +37 -6
- package/getPrimaryIps.d.ts.map +1 -1
- package/getPrimaryIps.js +24 -2
- package/getPrimaryIps.js.map +1 -1
- package/getServer.d.ts +7 -9
- package/getServer.d.ts.map +1 -1
- package/getServer.js +6 -8
- package/getServer.js.map +1 -1
- package/package.json +2 -2
- package/primaryIp.d.ts +6 -10
- package/primaryIp.d.ts.map +1 -1
- package/primaryIp.js +3 -7
- package/primaryIp.js.map +1 -1
- package/server.d.ts +9 -13
- package/server.d.ts.map +1 -1
- package/server.js +3 -7
- package/server.js.map +1 -1
- package/types/output.d.ts +2 -2
package/getDatacenters.d.ts
CHANGED
|
@@ -17,15 +17,6 @@ import * as outputs from "./types/output";
|
|
|
17
17
|
* import * as hcloud from "@pulumi/hcloud";
|
|
18
18
|
*
|
|
19
19
|
* const all = hcloud.getDatacenters({});
|
|
20
|
-
* const workers: hcloud.Server[] = [];
|
|
21
|
-
* for (let range = 0; range < 5; range++) {
|
|
22
|
-
* workers.push(new hcloud.Server(`workers-${range}`, {
|
|
23
|
-
* name: `node${range}`,
|
|
24
|
-
* image: "debian-12",
|
|
25
|
-
* serverType: "cx23",
|
|
26
|
-
* datacenter: all.then(all => all.datacenters)[range].name,
|
|
27
|
-
* }));
|
|
28
|
-
* }
|
|
29
20
|
* ```
|
|
30
21
|
*/
|
|
31
22
|
export declare function getDatacenters(opts?: pulumi.InvokeOptions): Promise<GetDatacentersResult>;
|
|
@@ -68,15 +59,6 @@ export interface GetDatacentersResult {
|
|
|
68
59
|
* import * as hcloud from "@pulumi/hcloud";
|
|
69
60
|
*
|
|
70
61
|
* const all = hcloud.getDatacenters({});
|
|
71
|
-
* const workers: hcloud.Server[] = [];
|
|
72
|
-
* for (let range = 0; range < 5; range++) {
|
|
73
|
-
* workers.push(new hcloud.Server(`workers-${range}`, {
|
|
74
|
-
* name: `node${range}`,
|
|
75
|
-
* image: "debian-12",
|
|
76
|
-
* serverType: "cx23",
|
|
77
|
-
* datacenter: all.then(all => all.datacenters)[range].name,
|
|
78
|
-
* }));
|
|
79
|
-
* }
|
|
80
62
|
* ```
|
|
81
63
|
*/
|
|
82
64
|
export declare function getDatacentersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatacentersResult>;
|
package/getDatacenters.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatacenters.d.ts","sourceRoot":"","sources":["../getDatacenters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getDatacenters.d.ts","sourceRoot":"","sources":["../getDatacenters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAIzF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,wBAAwB,EAAE,CAAC;IACzD;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;CAC5B;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAI3G"}
|
package/getDatacenters.js
CHANGED
|
@@ -45,15 +45,6 @@ const utilities = __importStar(require("./utilities"));
|
|
|
45
45
|
* import * as hcloud from "@pulumi/hcloud";
|
|
46
46
|
*
|
|
47
47
|
* const all = hcloud.getDatacenters({});
|
|
48
|
-
* const workers: hcloud.Server[] = [];
|
|
49
|
-
* for (let range = 0; range < 5; range++) {
|
|
50
|
-
* workers.push(new hcloud.Server(`workers-${range}`, {
|
|
51
|
-
* name: `node${range}`,
|
|
52
|
-
* image: "debian-12",
|
|
53
|
-
* serverType: "cx23",
|
|
54
|
-
* datacenter: all.then(all => all.datacenters)[range].name,
|
|
55
|
-
* }));
|
|
56
|
-
* }
|
|
57
48
|
* ```
|
|
58
49
|
*/
|
|
59
50
|
function getDatacenters(opts) {
|
|
@@ -78,15 +69,6 @@ exports.getDatacenters = getDatacenters;
|
|
|
78
69
|
* import * as hcloud from "@pulumi/hcloud";
|
|
79
70
|
*
|
|
80
71
|
* const all = hcloud.getDatacenters({});
|
|
81
|
-
* const workers: hcloud.Server[] = [];
|
|
82
|
-
* for (let range = 0; range < 5; range++) {
|
|
83
|
-
* workers.push(new hcloud.Server(`workers-${range}`, {
|
|
84
|
-
* name: `node${range}`,
|
|
85
|
-
* image: "debian-12",
|
|
86
|
-
* serverType: "cx23",
|
|
87
|
-
* datacenter: all.then(all => all.datacenters)[range].name,
|
|
88
|
-
* }));
|
|
89
|
-
* }
|
|
90
72
|
* ```
|
|
91
73
|
*/
|
|
92
74
|
function getDatacentersOutput(opts) {
|
package/getDatacenters.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatacenters.js","sourceRoot":"","sources":["../getDatacenters.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDatacenters.js","sourceRoot":"","sources":["../getDatacenters.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAwBD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
|
package/getPrimaryIp.d.ts
CHANGED
|
@@ -2,32 +2,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides details about a Hetzner Cloud Primary IP.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* Side note:
|
|
8
|
-
*
|
|
9
|
-
* If a server is getting created, it has to have a primary ip. If a server is getting created without defining primary ips, two of them (one ipv4 and one ipv6) getting created & attached.
|
|
10
|
-
* Currently, Primary IPs can be only attached to servers.
|
|
5
|
+
* See the [Primary IPs API documentation](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips) for more details.
|
|
11
6
|
*
|
|
12
7
|
* ## Deprecations
|
|
13
8
|
*
|
|
14
9
|
* ### `datacenter` attribute
|
|
15
10
|
*
|
|
16
|
-
* The `datacenter` attribute is
|
|
17
|
-
*
|
|
18
|
-
* See our the [API changelog](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) for more details.
|
|
11
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
19
12
|
*
|
|
20
|
-
*
|
|
13
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
14
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
21
15
|
*
|
|
22
16
|
* ## Example Usage
|
|
23
17
|
*
|
|
24
|
-
* # Data Source: hcloud.PrimaryIp
|
|
25
|
-
*
|
|
26
|
-
* Provides details about a Hetzner Cloud Primary IP.
|
|
27
|
-
* This resource can be useful when you need to determine a Primary IP ID based on the IP address.
|
|
28
|
-
*
|
|
29
|
-
* ### Additional Examples
|
|
30
|
-
*
|
|
31
18
|
* ```typescript
|
|
32
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
20
|
* import * as hcloud from "@pulumi/hcloud";
|
|
@@ -74,7 +61,7 @@ export interface GetPrimaryIpArgs {
|
|
|
74
61
|
*/
|
|
75
62
|
name?: string;
|
|
76
63
|
/**
|
|
77
|
-
* [Label
|
|
64
|
+
* Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
|
78
65
|
*/
|
|
79
66
|
withSelector?: string;
|
|
80
67
|
}
|
|
@@ -83,88 +70,78 @@ export interface GetPrimaryIpArgs {
|
|
|
83
70
|
*/
|
|
84
71
|
export interface GetPrimaryIpResult {
|
|
85
72
|
/**
|
|
86
|
-
*
|
|
73
|
+
* ID of the resource the Primary IP is assigned to.
|
|
87
74
|
*/
|
|
88
75
|
readonly assigneeId: number;
|
|
89
76
|
/**
|
|
90
|
-
*
|
|
77
|
+
* Type of the resource the Primary IP is assigned to.
|
|
91
78
|
*/
|
|
92
79
|
readonly assigneeType: string;
|
|
93
80
|
/**
|
|
94
|
-
*
|
|
81
|
+
* Whether auto delete is enabled.
|
|
95
82
|
*/
|
|
96
83
|
readonly autoDelete: boolean;
|
|
97
84
|
/**
|
|
98
|
-
*
|
|
85
|
+
* Name of the Datacenter of the Primary IP.
|
|
99
86
|
*
|
|
100
|
-
* @deprecated The datacenter attribute is
|
|
87
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
101
88
|
*/
|
|
102
89
|
readonly datacenter: string;
|
|
103
90
|
/**
|
|
104
|
-
*
|
|
91
|
+
* Whether delete protection is enabled.
|
|
105
92
|
*/
|
|
106
93
|
readonly deleteProtection: boolean;
|
|
107
94
|
/**
|
|
108
|
-
*
|
|
95
|
+
* ID of the Primary IP.
|
|
109
96
|
*/
|
|
110
97
|
readonly id?: number;
|
|
111
98
|
/**
|
|
112
|
-
*
|
|
99
|
+
* IP address of the Primary IP.
|
|
113
100
|
*/
|
|
114
101
|
readonly ipAddress?: string;
|
|
115
102
|
/**
|
|
116
|
-
*
|
|
103
|
+
* IP network of the Primary IP for IPv6 addresses. Only set if `type` is `ipv6`.
|
|
117
104
|
*/
|
|
118
105
|
readonly ipNetwork: string;
|
|
119
106
|
/**
|
|
120
|
-
*
|
|
107
|
+
* User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
|
121
108
|
*/
|
|
122
109
|
readonly labels: {
|
|
123
110
|
[key: string]: string;
|
|
124
111
|
};
|
|
125
112
|
/**
|
|
126
|
-
*
|
|
113
|
+
* Name of the Location of the Primary IP.
|
|
127
114
|
*/
|
|
128
115
|
readonly location: string;
|
|
129
116
|
/**
|
|
130
|
-
*
|
|
117
|
+
* Name of the Primary IP.
|
|
131
118
|
*/
|
|
132
119
|
readonly name?: string;
|
|
133
120
|
/**
|
|
134
|
-
*
|
|
121
|
+
* Type of the Primary IP (`ipv4` or `ipv6`).
|
|
135
122
|
*/
|
|
136
123
|
readonly type: string;
|
|
124
|
+
/**
|
|
125
|
+
* Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
|
126
|
+
*/
|
|
137
127
|
readonly withSelector?: string;
|
|
138
128
|
}
|
|
139
129
|
/**
|
|
140
130
|
* Provides details about a Hetzner Cloud Primary IP.
|
|
141
131
|
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* Side note:
|
|
145
|
-
*
|
|
146
|
-
* If a server is getting created, it has to have a primary ip. If a server is getting created without defining primary ips, two of them (one ipv4 and one ipv6) getting created & attached.
|
|
147
|
-
* Currently, Primary IPs can be only attached to servers.
|
|
132
|
+
* See the [Primary IPs API documentation](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips) for more details.
|
|
148
133
|
*
|
|
149
134
|
* ## Deprecations
|
|
150
135
|
*
|
|
151
136
|
* ### `datacenter` attribute
|
|
152
137
|
*
|
|
153
|
-
* The `datacenter` attribute is
|
|
154
|
-
*
|
|
155
|
-
* See our the [API changelog](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) for more details.
|
|
138
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
156
139
|
*
|
|
157
|
-
*
|
|
140
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
141
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
158
142
|
*
|
|
159
143
|
* ## Example Usage
|
|
160
144
|
*
|
|
161
|
-
* # Data Source: hcloud.PrimaryIp
|
|
162
|
-
*
|
|
163
|
-
* Provides details about a Hetzner Cloud Primary IP.
|
|
164
|
-
* This resource can be useful when you need to determine a Primary IP ID based on the IP address.
|
|
165
|
-
*
|
|
166
|
-
* ### Additional Examples
|
|
167
|
-
*
|
|
168
145
|
* ```typescript
|
|
169
146
|
* import * as pulumi from "@pulumi/pulumi";
|
|
170
147
|
* import * as hcloud from "@pulumi/hcloud";
|
|
@@ -211,7 +188,7 @@ export interface GetPrimaryIpOutputArgs {
|
|
|
211
188
|
*/
|
|
212
189
|
name?: pulumi.Input<string | undefined>;
|
|
213
190
|
/**
|
|
214
|
-
* [Label
|
|
191
|
+
* Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
|
215
192
|
*/
|
|
216
193
|
withSelector?: pulumi.Input<string | undefined>;
|
|
217
194
|
}
|
package/getPrimaryIp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrimaryIp.d.ts","sourceRoot":"","sources":["../getPrimaryIp.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"getPrimaryIp.d.ts","sourceRoot":"","sources":["../getPrimaryIp.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAS9G;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,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SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD"}
|
package/getPrimaryIp.js
CHANGED
|
@@ -31,32 +31,19 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* Provides details about a Hetzner Cloud Primary IP.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* Side note:
|
|
37
|
-
*
|
|
38
|
-
* If a server is getting created, it has to have a primary ip. If a server is getting created without defining primary ips, two of them (one ipv4 and one ipv6) getting created & attached.
|
|
39
|
-
* Currently, Primary IPs can be only attached to servers.
|
|
34
|
+
* See the [Primary IPs API documentation](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips) for more details.
|
|
40
35
|
*
|
|
41
36
|
* ## Deprecations
|
|
42
37
|
*
|
|
43
38
|
* ### `datacenter` attribute
|
|
44
39
|
*
|
|
45
|
-
* The `datacenter` attribute is
|
|
40
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
46
41
|
*
|
|
47
|
-
* See our
|
|
48
|
-
*
|
|
49
|
-
* > Please upgrade to `v1.58.0+` of the provider to avoid issues once the Hetzner Cloud API no longer returns the `datacenter` attribute.
|
|
42
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
43
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
50
44
|
*
|
|
51
45
|
* ## Example Usage
|
|
52
46
|
*
|
|
53
|
-
* # Data Source: hcloud.PrimaryIp
|
|
54
|
-
*
|
|
55
|
-
* Provides details about a Hetzner Cloud Primary IP.
|
|
56
|
-
* This resource can be useful when you need to determine a Primary IP ID based on the IP address.
|
|
57
|
-
*
|
|
58
|
-
* ### Additional Examples
|
|
59
|
-
*
|
|
60
47
|
* ```typescript
|
|
61
48
|
* import * as pulumi from "@pulumi/pulumi";
|
|
62
49
|
* import * as hcloud from "@pulumi/hcloud";
|
|
@@ -99,32 +86,19 @@ exports.getPrimaryIp = getPrimaryIp;
|
|
|
99
86
|
/**
|
|
100
87
|
* Provides details about a Hetzner Cloud Primary IP.
|
|
101
88
|
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
* Side note:
|
|
105
|
-
*
|
|
106
|
-
* If a server is getting created, it has to have a primary ip. If a server is getting created without defining primary ips, two of them (one ipv4 and one ipv6) getting created & attached.
|
|
107
|
-
* Currently, Primary IPs can be only attached to servers.
|
|
89
|
+
* See the [Primary IPs API documentation](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips) for more details.
|
|
108
90
|
*
|
|
109
91
|
* ## Deprecations
|
|
110
92
|
*
|
|
111
93
|
* ### `datacenter` attribute
|
|
112
94
|
*
|
|
113
|
-
* The `datacenter` attribute is
|
|
95
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
114
96
|
*
|
|
115
|
-
* See our
|
|
116
|
-
*
|
|
117
|
-
* > Please upgrade to `v1.58.0+` of the provider to avoid issues once the Hetzner Cloud API no longer returns the `datacenter` attribute.
|
|
97
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
98
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
118
99
|
*
|
|
119
100
|
* ## Example Usage
|
|
120
101
|
*
|
|
121
|
-
* # Data Source: hcloud.PrimaryIp
|
|
122
|
-
*
|
|
123
|
-
* Provides details about a Hetzner Cloud Primary IP.
|
|
124
|
-
* This resource can be useful when you need to determine a Primary IP ID based on the IP address.
|
|
125
|
-
*
|
|
126
|
-
* ### Additional Examples
|
|
127
|
-
*
|
|
128
102
|
* ```typescript
|
|
129
103
|
* import * as pulumi from "@pulumi/pulumi";
|
|
130
104
|
* import * as hcloud from "@pulumi/hcloud";
|
package/getPrimaryIp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrimaryIp.js","sourceRoot":"","sources":["../getPrimaryIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPrimaryIp.js","sourceRoot":"","sources":["../getPrimaryIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AAmFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,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,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gDASC"}
|
package/getPrimaryIps.d.ts
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* Provides
|
|
4
|
+
* Provides a list of Hetzner Cloud Primary IPs.
|
|
5
|
+
*
|
|
6
|
+
* See the [Primary IPs API documentation](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips) for more details.
|
|
7
|
+
*
|
|
8
|
+
* ## Deprecations
|
|
9
|
+
*
|
|
10
|
+
* ### `datacenter` attribute
|
|
11
|
+
*
|
|
12
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
13
|
+
*
|
|
14
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
15
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
5
16
|
*
|
|
6
17
|
* ## Example Usage
|
|
7
18
|
*
|
|
@@ -19,9 +30,12 @@ export declare function getPrimaryIps(args?: GetPrimaryIpsArgs, opts?: pulumi.In
|
|
|
19
30
|
* A collection of arguments for invoking getPrimaryIps.
|
|
20
31
|
*/
|
|
21
32
|
export interface GetPrimaryIpsArgs {
|
|
33
|
+
/**
|
|
34
|
+
* The ID of this resource.
|
|
35
|
+
*/
|
|
22
36
|
id?: string;
|
|
23
37
|
/**
|
|
24
|
-
* [Label
|
|
38
|
+
* Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
|
25
39
|
*/
|
|
26
40
|
withSelector?: string;
|
|
27
41
|
}
|
|
@@ -29,15 +43,29 @@ export interface GetPrimaryIpsArgs {
|
|
|
29
43
|
* A collection of values returned by getPrimaryIps.
|
|
30
44
|
*/
|
|
31
45
|
export interface GetPrimaryIpsResult {
|
|
32
|
-
readonly id: string;
|
|
33
46
|
/**
|
|
34
|
-
*
|
|
47
|
+
* The ID of this resource.
|
|
35
48
|
*/
|
|
49
|
+
readonly id: string;
|
|
36
50
|
readonly primaryIps: outputs.GetPrimaryIpsPrimaryIp[];
|
|
51
|
+
/**
|
|
52
|
+
* Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
|
53
|
+
*/
|
|
37
54
|
readonly withSelector?: string;
|
|
38
55
|
}
|
|
39
56
|
/**
|
|
40
|
-
* Provides
|
|
57
|
+
* Provides a list of Hetzner Cloud Primary IPs.
|
|
58
|
+
*
|
|
59
|
+
* See the [Primary IPs API documentation](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips) for more details.
|
|
60
|
+
*
|
|
61
|
+
* ## Deprecations
|
|
62
|
+
*
|
|
63
|
+
* ### `datacenter` attribute
|
|
64
|
+
*
|
|
65
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
66
|
+
*
|
|
67
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
68
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
41
69
|
*
|
|
42
70
|
* ## Example Usage
|
|
43
71
|
*
|
|
@@ -55,9 +83,12 @@ export declare function getPrimaryIpsOutput(args?: GetPrimaryIpsOutputArgs, opts
|
|
|
55
83
|
* A collection of arguments for invoking getPrimaryIps.
|
|
56
84
|
*/
|
|
57
85
|
export interface GetPrimaryIpsOutputArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The ID of this resource.
|
|
88
|
+
*/
|
|
58
89
|
id?: pulumi.Input<string | undefined>;
|
|
59
90
|
/**
|
|
60
|
-
* [Label
|
|
91
|
+
* Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
|
61
92
|
*/
|
|
62
93
|
withSelector?: pulumi.Input<string | undefined>;
|
|
63
94
|
}
|
package/getPrimaryIps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrimaryIps.d.ts","sourceRoot":"","sources":["../getPrimaryIps.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getPrimaryIps.d.ts","sourceRoot":"","sources":["../getPrimaryIps.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAOjH;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,sBAAsB,EAAE,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAClC;AACD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAOzI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD"}
|
package/getPrimaryIps.js
CHANGED
|
@@ -29,7 +29,18 @@ exports.getPrimaryIpsOutput = exports.getPrimaryIps = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* Provides
|
|
32
|
+
* Provides a list of Hetzner Cloud Primary IPs.
|
|
33
|
+
*
|
|
34
|
+
* See the [Primary IPs API documentation](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips) for more details.
|
|
35
|
+
*
|
|
36
|
+
* ## Deprecations
|
|
37
|
+
*
|
|
38
|
+
* ### `datacenter` attribute
|
|
39
|
+
*
|
|
40
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
41
|
+
*
|
|
42
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
43
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
33
44
|
*
|
|
34
45
|
* ## Example Usage
|
|
35
46
|
*
|
|
@@ -52,7 +63,18 @@ function getPrimaryIps(args, opts) {
|
|
|
52
63
|
}
|
|
53
64
|
exports.getPrimaryIps = getPrimaryIps;
|
|
54
65
|
/**
|
|
55
|
-
* Provides
|
|
66
|
+
* Provides a list of Hetzner Cloud Primary IPs.
|
|
67
|
+
*
|
|
68
|
+
* See the [Primary IPs API documentation](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips) for more details.
|
|
69
|
+
*
|
|
70
|
+
* ## Deprecations
|
|
71
|
+
*
|
|
72
|
+
* ### `datacenter` attribute
|
|
73
|
+
*
|
|
74
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
75
|
+
*
|
|
76
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
77
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
56
78
|
*
|
|
57
79
|
* ## Example Usage
|
|
58
80
|
*
|
package/getPrimaryIps.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrimaryIps.js","sourceRoot":"","sources":["../getPrimaryIps.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPrimaryIps.js","sourceRoot":"","sources":["../getPrimaryIps.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,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,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC"}
|
package/getServer.d.ts
CHANGED
|
@@ -9,11 +9,10 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
*
|
|
10
10
|
* ### `datacenter` attribute
|
|
11
11
|
*
|
|
12
|
-
* The `datacenter` attribute is
|
|
12
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
13
13
|
*
|
|
14
|
-
* See our
|
|
15
|
-
*
|
|
16
|
-
* > Please upgrade to `v1.58.0+` of the provider to avoid issues once the Hetzner Cloud API no longer returns the `datacenter` attribute.
|
|
14
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
15
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
17
16
|
*
|
|
18
17
|
* ## Example Usage
|
|
19
18
|
*
|
|
@@ -81,7 +80,7 @@ export interface GetServerResult {
|
|
|
81
80
|
/**
|
|
82
81
|
* (string, deprecated) The datacenter name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
83
82
|
*
|
|
84
|
-
* @deprecated The datacenter attribute is
|
|
83
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
85
84
|
*/
|
|
86
85
|
readonly datacenter: string;
|
|
87
86
|
/**
|
|
@@ -170,11 +169,10 @@ export interface GetServerResult {
|
|
|
170
169
|
*
|
|
171
170
|
* ### `datacenter` attribute
|
|
172
171
|
*
|
|
173
|
-
* The `datacenter` attribute is
|
|
174
|
-
*
|
|
175
|
-
* See our the [API changelog](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) for more details.
|
|
172
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
176
173
|
*
|
|
177
|
-
*
|
|
174
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
175
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
178
176
|
*
|
|
179
177
|
* ## Example Usage
|
|
180
178
|
*
|
package/getServer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServer.d.ts","sourceRoot":"","sources":["../getServer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getServer.d.ts","sourceRoot":"","sources":["../getServer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,SAAS,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa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AC,CAAC;IACjF;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACnE"}
|
package/getServer.js
CHANGED
|
@@ -36,11 +36,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
36
36
|
*
|
|
37
37
|
* ### `datacenter` attribute
|
|
38
38
|
*
|
|
39
|
-
* The `datacenter` attribute is
|
|
39
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
40
40
|
*
|
|
41
|
-
* See our
|
|
42
|
-
*
|
|
43
|
-
* > Please upgrade to `v1.58.0+` of the provider to avoid issues once the Hetzner Cloud API no longer returns the `datacenter` attribute.
|
|
41
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
42
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
44
43
|
*
|
|
45
44
|
* ## Example Usage
|
|
46
45
|
*
|
|
@@ -81,11 +80,10 @@ exports.getServer = getServer;
|
|
|
81
80
|
*
|
|
82
81
|
* ### `datacenter` attribute
|
|
83
82
|
*
|
|
84
|
-
* The `datacenter` attribute is
|
|
85
|
-
*
|
|
86
|
-
* See our the [API changelog](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) for more details.
|
|
83
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
87
84
|
*
|
|
88
|
-
*
|
|
85
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
86
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
89
87
|
*
|
|
90
88
|
* ## Example Usage
|
|
91
89
|
*
|
package/getServer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServer.js","sourceRoot":"","sources":["../getServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getServer.js","sourceRoot":"","sources":["../getServer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8BAYC;AAkID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,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,kCAAkC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0CAYC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/hcloud",
|
|
3
|
-
"version": "1.40.0
|
|
3
|
+
"version": "1.40.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.40.0
|
|
26
|
+
"version": "1.40.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/primaryIp.d.ts
CHANGED
|
@@ -8,14 +8,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* ### `datacenter` attribute
|
|
10
10
|
*
|
|
11
|
-
* The `datacenter` attribute is
|
|
11
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
12
12
|
*
|
|
13
|
-
* See our
|
|
14
|
-
*
|
|
15
|
-
* > Please upgrade to `v1.58.0+` of the provider to avoid issues once the Hetzner Cloud API no longer accepts
|
|
16
|
-
* and returns the `datacenter` attribute. This version of the provider remains backward compatible by preserving
|
|
17
|
-
* the `datacenter` value in the state and by extracting the `location` name from the `datacenter` attribute when
|
|
18
|
-
* communicating with the API.
|
|
13
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
14
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
19
15
|
*
|
|
20
16
|
* ## Example Usage
|
|
21
17
|
*
|
|
@@ -83,7 +79,7 @@ export declare class PrimaryIp extends pulumi.CustomResource {
|
|
|
83
79
|
/**
|
|
84
80
|
* Name of the Datacenter for the Primary IP. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
85
81
|
*
|
|
86
|
-
* @deprecated The datacenter attribute is
|
|
82
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
87
83
|
*/
|
|
88
84
|
readonly datacenter: pulumi.Output<string>;
|
|
89
85
|
/**
|
|
@@ -144,7 +140,7 @@ export interface PrimaryIpState {
|
|
|
144
140
|
/**
|
|
145
141
|
* Name of the Datacenter for the Primary IP. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
146
142
|
*
|
|
147
|
-
* @deprecated The datacenter attribute is
|
|
143
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
148
144
|
*/
|
|
149
145
|
datacenter?: pulumi.Input<string | undefined>;
|
|
150
146
|
/**
|
|
@@ -197,7 +193,7 @@ export interface PrimaryIpArgs {
|
|
|
197
193
|
/**
|
|
198
194
|
* Name of the Datacenter for the Primary IP. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
199
195
|
*
|
|
200
|
-
* @deprecated The datacenter attribute is
|
|
196
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
201
197
|
*/
|
|
202
198
|
datacenter?: pulumi.Input<string | undefined>;
|
|
203
199
|
/**
|
package/primaryIp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primaryIp.d.ts","sourceRoot":"","sources":["../primaryIp.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"primaryIp.d.ts","sourceRoot":"","sources":["../primaryIp.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,qBAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,SAAS;IAOpI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS;IAOpD;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3D;;;;OAIG;IACH,S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K,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/primaryIp.js
CHANGED
|
@@ -37,14 +37,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
37
37
|
*
|
|
38
38
|
* ### `datacenter` attribute
|
|
39
39
|
*
|
|
40
|
-
* The `datacenter` attribute is
|
|
40
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
41
41
|
*
|
|
42
|
-
* See our
|
|
43
|
-
*
|
|
44
|
-
* > Please upgrade to `v1.58.0+` of the provider to avoid issues once the Hetzner Cloud API no longer accepts
|
|
45
|
-
* and returns the `datacenter` attribute. This version of the provider remains backward compatible by preserving
|
|
46
|
-
* the `datacenter` value in the state and by extracting the `location` name from the `datacenter` attribute when
|
|
47
|
-
* communicating with the API.
|
|
42
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
43
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
48
44
|
*
|
|
49
45
|
* ## Example Usage
|
|
50
46
|
*
|
package/primaryIp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primaryIp.js","sourceRoot":"","sources":["../primaryIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAy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CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAtHL,8BAuHC"}
|
package/server.d.ts
CHANGED
|
@@ -8,14 +8,10 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ### `datacenter` attribute
|
|
10
10
|
*
|
|
11
|
-
* The `datacenter` attribute is
|
|
11
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
12
12
|
*
|
|
13
|
-
* See our
|
|
14
|
-
*
|
|
15
|
-
* > Please upgrade to `v1.58.0+` of the provider to avoid issues once the Hetzner Cloud API no longer accepts
|
|
16
|
-
* and returns the `datacenter` attribute. This version of the provider remains backward compatible by preserving
|
|
17
|
-
* the `datacenter` value in the state and by extracting the `location` name from the `datacenter` attribute when
|
|
18
|
-
* communicating with the API.
|
|
13
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
14
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
19
15
|
*
|
|
20
16
|
* ## Example Usage
|
|
21
17
|
*
|
|
@@ -171,7 +167,7 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
171
167
|
/**
|
|
172
168
|
* The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
173
169
|
*
|
|
174
|
-
* @deprecated The datacenter attribute is
|
|
170
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
175
171
|
*/
|
|
176
172
|
readonly datacenter: pulumi.Output<string>;
|
|
177
173
|
/**
|
|
@@ -270,7 +266,7 @@ export declare class Server extends pulumi.CustomResource {
|
|
|
270
266
|
*/
|
|
271
267
|
readonly status: pulumi.Output<string>;
|
|
272
268
|
/**
|
|
273
|
-
* Cloud-Init user data to use during server creation
|
|
269
|
+
* Cloud-Init user data to use during server creation. This field is limited to 32KiB.
|
|
274
270
|
*/
|
|
275
271
|
readonly userData: pulumi.Output<string | undefined>;
|
|
276
272
|
/**
|
|
@@ -305,7 +301,7 @@ export interface ServerState {
|
|
|
305
301
|
/**
|
|
306
302
|
* The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
307
303
|
*
|
|
308
|
-
* @deprecated The datacenter attribute is
|
|
304
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
309
305
|
*/
|
|
310
306
|
datacenter?: pulumi.Input<string | undefined>;
|
|
311
307
|
/**
|
|
@@ -404,7 +400,7 @@ export interface ServerState {
|
|
|
404
400
|
*/
|
|
405
401
|
status?: pulumi.Input<string | undefined>;
|
|
406
402
|
/**
|
|
407
|
-
* Cloud-Init user data to use during server creation
|
|
403
|
+
* Cloud-Init user data to use during server creation. This field is limited to 32KiB.
|
|
408
404
|
*/
|
|
409
405
|
userData?: pulumi.Input<string | undefined>;
|
|
410
406
|
}
|
|
@@ -425,7 +421,7 @@ export interface ServerArgs {
|
|
|
425
421
|
/**
|
|
426
422
|
* The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
427
423
|
*
|
|
428
|
-
* @deprecated The datacenter attribute is
|
|
424
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
429
425
|
*/
|
|
430
426
|
datacenter?: pulumi.Input<string | undefined>;
|
|
431
427
|
/**
|
|
@@ -504,7 +500,7 @@ export interface ServerArgs {
|
|
|
504
500
|
*/
|
|
505
501
|
sshKeys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
506
502
|
/**
|
|
507
|
-
* Cloud-Init user data to use during server creation
|
|
503
|
+
* Cloud-Init user data to use during server creation. This field is limited to 32KiB.
|
|
508
504
|
*/
|
|
509
505
|
userData?: pulumi.Input<string | undefined>;
|
|
510
506
|
}
|
package/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkIG;AACH,qBAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM;IAO9H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GA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AAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/C"}
|
package/server.js
CHANGED
|
@@ -35,14 +35,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
35
35
|
*
|
|
36
36
|
* ### `datacenter` attribute
|
|
37
37
|
*
|
|
38
|
-
* The `datacenter` attribute is
|
|
38
|
+
* The `datacenter` attribute is marked for removal since `v1.67.0`, you must use the `location` attribute instead.
|
|
39
39
|
*
|
|
40
|
-
* See our
|
|
41
|
-
*
|
|
42
|
-
* > Please upgrade to `v1.58.0+` of the provider to avoid issues once the Hetzner Cloud API no longer accepts
|
|
43
|
-
* and returns the `datacenter` attribute. This version of the provider remains backward compatible by preserving
|
|
44
|
-
* the `datacenter` value in the state and by extracting the `location` name from the `datacenter` attribute when
|
|
45
|
-
* communicating with the API.
|
|
40
|
+
* See our [deprecation](https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters) and
|
|
41
|
+
* [removal](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters) changelog for more details.
|
|
46
42
|
*
|
|
47
43
|
* ## Example Usage
|
|
48
44
|
*
|
package/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../server.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA/NL,wBAgOC"}
|
package/types/output.d.ts
CHANGED
|
@@ -482,7 +482,7 @@ export interface GetPrimaryIpsPrimaryIp {
|
|
|
482
482
|
/**
|
|
483
483
|
* Name of the Datacenter of the Primary IP.
|
|
484
484
|
*
|
|
485
|
-
* @deprecated The datacenter attribute is
|
|
485
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
486
486
|
*/
|
|
487
487
|
datacenter: string;
|
|
488
488
|
/**
|
|
@@ -670,7 +670,7 @@ export interface GetServersServer {
|
|
|
670
670
|
backupWindow: string;
|
|
671
671
|
backups: boolean;
|
|
672
672
|
/**
|
|
673
|
-
* @deprecated The datacenter attribute is
|
|
673
|
+
* @deprecated The datacenter attribute is marked for removal, you must use the location attribute instead. See https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters.
|
|
674
674
|
*/
|
|
675
675
|
datacenter: string;
|
|
676
676
|
deleteProtection: boolean;
|