@pulumi/hcloud 1.20.0-alpha.1721973531 → 1.20.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 CHANGED
@@ -35,7 +35,7 @@ import * as outputs from "./types/output";
35
35
  * const node1 = new hcloud.Server("node1", {
36
36
  * name: "node1",
37
37
  * image: "debian-11",
38
- * serverType: "cx11",
38
+ * serverType: "cx22",
39
39
  * firewallIds: [myfirewall.id],
40
40
  * });
41
41
  * ```
package/firewall.js CHANGED
@@ -39,7 +39,7 @@ const utilities = require("./utilities");
39
39
  * const node1 = new hcloud.Server("node1", {
40
40
  * name: "node1",
41
41
  * image: "debian-11",
42
- * serverType: "cx11",
42
+ * serverType: "cx22",
43
43
  * firewallIds: [myfirewall.id],
44
44
  * });
45
45
  * ```
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  *
17
17
  * const testServer = new hcloud.Server("test_server", {
18
18
  * name: "test-server",
19
- * serverType: "cx11",
19
+ * serverType: "cx22",
20
20
  * image: "ubuntu-20.04",
21
21
  * });
22
22
  * const basicFirewall = new hcloud.Firewall("basic_firewall", {name: "basic_firewall"});
@@ -34,7 +34,7 @@ import * as pulumi from "@pulumi/pulumi";
34
34
  *
35
35
  * const testServer = new hcloud.Server("test_server", {
36
36
  * name: "test-server",
37
- * serverType: "cx11",
37
+ * serverType: "cx22",
38
38
  * image: "ubuntu-20.04",
39
39
  * labels: {
40
40
  * "firewall-attachment": "test-server",
@@ -22,7 +22,7 @@ const utilities = require("./utilities");
22
22
  *
23
23
  * const testServer = new hcloud.Server("test_server", {
24
24
  * name: "test-server",
25
- * serverType: "cx11",
25
+ * serverType: "cx22",
26
26
  * image: "ubuntu-20.04",
27
27
  * });
28
28
  * const basicFirewall = new hcloud.Firewall("basic_firewall", {name: "basic_firewall"});
@@ -40,7 +40,7 @@ const utilities = require("./utilities");
40
40
  *
41
41
  * const testServer = new hcloud.Server("test_server", {
42
42
  * name: "test-server",
43
- * serverType: "cx11",
43
+ * serverType: "cx22",
44
44
  * image: "ubuntu-20.04",
45
45
  * labels: {
46
46
  * "firewall-attachment": "test-server",
package/floatingIp.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * const node1 = new hcloud.Server("node1", {
12
12
  * name: "node1",
13
13
  * image: "debian-11",
14
- * serverType: "cx11",
14
+ * serverType: "cx22",
15
15
  * });
16
16
  * const master = new hcloud.FloatingIp("master", {
17
17
  * type: "ipv4",
package/floatingIp.js CHANGED
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * const node1 = new hcloud.Server("node1", {
18
18
  * name: "node1",
19
19
  * image: "debian-11",
20
- * serverType: "cx11",
20
+ * serverType: "cx22",
21
21
  * });
22
22
  * const master = new hcloud.FloatingIp("master", {
23
23
  * type: "ipv4",
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * const node1 = new hcloud.Server("node1", {
12
12
  * name: "node1",
13
13
  * image: "debian-11",
14
- * serverType: "cx11",
14
+ * serverType: "cx22",
15
15
  * datacenter: "fsn1-dc8",
16
16
  * });
17
17
  * const master = new hcloud.FloatingIp("master", {
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * const node1 = new hcloud.Server("node1", {
18
18
  * name: "node1",
19
19
  * image: "debian-11",
20
- * serverType: "cx11",
20
+ * serverType: "cx22",
21
21
  * datacenter: "fsn1-dc8",
22
22
  * });
23
23
  * const master = new hcloud.FloatingIp("master", {
package/getPrimaryIp.d.ts CHANGED
@@ -35,7 +35,7 @@ import * as pulumi from "@pulumi/pulumi";
35
35
  * const serverTest = new hcloud.Server("server_test", {
36
36
  * name: "test-server",
37
37
  * image: "ubuntu-20.04",
38
- * serverType: "cx11",
38
+ * serverType: "cx22",
39
39
  * datacenter: "fsn1-dc14",
40
40
  * labels: {
41
41
  * test: "tessst1",
@@ -160,7 +160,7 @@ export interface GetPrimaryIpResult {
160
160
  * const serverTest = new hcloud.Server("server_test", {
161
161
  * name: "test-server",
162
162
  * image: "ubuntu-20.04",
163
- * serverType: "cx11",
163
+ * serverType: "cx22",
164
164
  * datacenter: "fsn1-dc14",
165
165
  * labels: {
166
166
  * test: "tessst1",
package/getPrimaryIp.js CHANGED
@@ -41,7 +41,7 @@ const utilities = require("./utilities");
41
41
  * const serverTest = new hcloud.Server("server_test", {
42
42
  * name: "test-server",
43
43
  * image: "ubuntu-20.04",
44
- * serverType: "cx11",
44
+ * serverType: "cx22",
45
45
  * datacenter: "fsn1-dc14",
46
46
  * labels: {
47
47
  * test: "tessst1",
@@ -100,7 +100,7 @@ exports.getPrimaryIp = getPrimaryIp;
100
100
  * const serverTest = new hcloud.Server("server_test", {
101
101
  * name: "test-server",
102
102
  * image: "ubuntu-20.04",
103
- * serverType: "cx11",
103
+ * serverType: "cx22",
104
104
  * datacenter: "fsn1-dc14",
105
105
  * labels: {
106
106
  * test: "tessst1",
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as hcloud from "@pulumi/hcloud";
11
11
  *
12
12
  * const ds1 = hcloud.getServerType({
13
- * name: "cx11",
13
+ * name: "cx22",
14
14
  * });
15
15
  * const ds2 = hcloud.getServerType({
16
16
  * id: 1,
@@ -69,7 +69,9 @@ export interface GetServerTypeResult {
69
69
  */
70
70
  readonly id: number;
71
71
  /**
72
- * (int) Free traffic per month in bytes.
72
+ * (int) Free traffic per month in bytes. **Warning**: This field is deprecated and will report `0` after 2024-08-05.
73
+ *
74
+ * @deprecated The field is deprecated and will always report 0 after 2024-08-05.
73
75
  */
74
76
  readonly includedTraffic: number;
75
77
  /**
@@ -101,7 +103,7 @@ export interface GetServerTypeResult {
101
103
  * import * as hcloud from "@pulumi/hcloud";
102
104
  *
103
105
  * const ds1 = hcloud.getServerType({
104
- * name: "cx11",
106
+ * name: "cx22",
105
107
  * });
106
108
  * const ds2 = hcloud.getServerType({
107
109
  * id: 1,
package/getServerType.js CHANGED
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
16
16
  * import * as hcloud from "@pulumi/hcloud";
17
17
  *
18
18
  * const ds1 = hcloud.getServerType({
19
- * name: "cx11",
19
+ * name: "cx22",
20
20
  * });
21
21
  * const ds2 = hcloud.getServerType({
22
22
  * id: 1,
@@ -45,7 +45,7 @@ exports.getServerType = getServerType;
45
45
  * import * as hcloud from "@pulumi/hcloud";
46
46
  *
47
47
  * const ds1 = hcloud.getServerType({
48
- * name: "cx11",
48
+ * name: "cx22",
49
49
  * });
50
50
  * const ds2 = hcloud.getServerType({
51
51
  * id: 1,
@@ -1 +1 @@
1
- {"version":3,"file":"getServerType.js","sourceRoot":"","sources":["../getServerType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA2ED;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getServerType.js","sourceRoot":"","sources":["../getServerType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA6ED;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -34,7 +34,7 @@ export interface GetServerTypesResult {
34
34
  */
35
35
  readonly serverTypeIds?: string[];
36
36
  /**
37
- * (list) List of all server types. See `data.hcloud_type` for schema.
37
+ * (list) List of all server types. See `data.hcloud_server_type` for schema.
38
38
  */
39
39
  readonly serverTypes: outputs.GetServerTypesServerType[];
40
40
  }
package/loadBalancer.d.ts CHANGED
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
12
12
  *
13
13
  * const myServer = new hcloud.Server("my_server", {
14
14
  * name: "server-%d",
15
- * serverType: "cx11",
15
+ * serverType: "cx22",
16
16
  * image: "ubuntu-18.04",
17
17
  * });
18
18
  * const loadBalancer = new hcloud.LoadBalancer("load_balancer", {
package/loadBalancer.js CHANGED
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * const myServer = new hcloud.Server("my_server", {
18
18
  * name: "server-%d",
19
- * serverType: "cx11",
19
+ * serverType: "cx22",
20
20
  * image: "ubuntu-18.04",
21
21
  * });
22
22
  * const loadBalancer = new hcloud.LoadBalancer("load_balancer", {
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  *
11
11
  * const myServer = new hcloud.Server("my_server", {
12
12
  * name: "my-server",
13
- * serverType: "cx11",
13
+ * serverType: "cx22",
14
14
  * image: "ubuntu-18.04",
15
15
  * });
16
16
  * const loadBalancer = new hcloud.LoadBalancer("load_balancer", {
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * const myServer = new hcloud.Server("my_server", {
18
18
  * name: "my-server",
19
- * serverType: "cx11",
19
+ * serverType: "cx22",
20
20
  * image: "ubuntu-18.04",
21
21
  * });
22
22
  * const loadBalancer = new hcloud.LoadBalancer("load_balancer", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/hcloud",
3
- "version": "1.20.0-alpha.1721973531",
3
+ "version": "1.20.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.20.0-alpha.1721973531"
26
+ "version": "1.20.0"
27
27
  }
28
28
  }
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
18
18
  * const node1 = new hcloud.Server("node1", {
19
19
  * name: "node1",
20
20
  * image: "debian-11",
21
- * serverType: "cx11",
21
+ * serverType: "cx22",
22
22
  * placementGroupId: my_placement_group.id,
23
23
  * });
24
24
  * ```
package/placementGroup.js CHANGED
@@ -24,7 +24,7 @@ const utilities = require("./utilities");
24
24
  * const node1 = new hcloud.Server("node1", {
25
25
  * name: "node1",
26
26
  * image: "debian-11",
27
- * serverType: "cx11",
27
+ * serverType: "cx22",
28
28
  * placementGroupId: my_placement_group.id,
29
29
  * });
30
30
  * ```
package/primaryIp.d.ts CHANGED
@@ -25,7 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
25
25
  * const serverTest = new hcloud.Server("server_test", {
26
26
  * name: "test-server",
27
27
  * image: "ubuntu-20.04",
28
- * serverType: "cx11",
28
+ * serverType: "cx22",
29
29
  * datacenter: "fsn1-dc14",
30
30
  * labels: {
31
31
  * test: "tessst1",
package/primaryIp.js CHANGED
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
31
31
  * const serverTest = new hcloud.Server("server_test", {
32
32
  * name: "test-server",
33
33
  * image: "ubuntu-20.04",
34
- * serverType: "cx11",
34
+ * serverType: "cx22",
35
35
  * datacenter: "fsn1-dc14",
36
36
  * labels: {
37
37
  * test: "tessst1",
package/rdns.d.ts CHANGED
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  * const node1 = new hcloud.Server("node1", {
14
14
  * name: "node1",
15
15
  * image: "debian-11",
16
- * serverType: "cx11",
16
+ * serverType: "cx22",
17
17
  * });
18
18
  * const master = new hcloud.Rdns("master", {
19
19
  * serverId: node1.id,
package/rdns.js CHANGED
@@ -19,7 +19,7 @@ const utilities = require("./utilities");
19
19
  * const node1 = new hcloud.Server("node1", {
20
20
  * name: "node1",
21
21
  * image: "debian-11",
22
- * serverType: "cx11",
22
+ * serverType: "cx22",
23
23
  * });
24
24
  * const master = new hcloud.Rdns("master", {
25
25
  * serverId: node1.id,
package/server.d.ts CHANGED
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
16
16
  * const node1 = new hcloud.Server("node1", {
17
17
  * name: "node1",
18
18
  * image: "debian-11",
19
- * serverType: "cx11",
19
+ * serverType: "cx22",
20
20
  * publicNets: [{
21
21
  * ipv4Enabled: true,
22
22
  * ipv6Enabled: true,
@@ -41,7 +41,7 @@ import * as outputs from "./types/output";
41
41
  * const serverTest = new hcloud.Server("server_test", {
42
42
  * name: "test-server",
43
43
  * image: "ubuntu-20.04",
44
- * serverType: "cx11",
44
+ * serverType: "cx22",
45
45
  * datacenter: "fsn1-dc14",
46
46
  * labels: {
47
47
  * test: "tessst1",
@@ -70,7 +70,7 @@ import * as outputs from "./types/output";
70
70
  * });
71
71
  * const server = new hcloud.Server("server", {
72
72
  * name: "server",
73
- * serverType: "cx11",
73
+ * serverType: "cx22",
74
74
  * image: "ubuntu-20.04",
75
75
  * location: "nbg1",
76
76
  * networks: [{
@@ -101,7 +101,7 @@ import * as outputs from "./types/output";
101
101
  * const fromSnapshot = new hcloud.Server("from_snapshot", {
102
102
  * name: "from-snapshot",
103
103
  * image: packerSnapshot.then(packerSnapshot => packerSnapshot.id),
104
- * serverType: "cx11",
104
+ * serverType: "cx22",
105
105
  * publicNets: [{
106
106
  * ipv4Enabled: true,
107
107
  * ipv6Enabled: true,
package/server.js CHANGED
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
20
20
  * const node1 = new hcloud.Server("node1", {
21
21
  * name: "node1",
22
22
  * image: "debian-11",
23
- * serverType: "cx11",
23
+ * serverType: "cx22",
24
24
  * publicNets: [{
25
25
  * ipv4Enabled: true,
26
26
  * ipv6Enabled: true,
@@ -45,7 +45,7 @@ const utilities = require("./utilities");
45
45
  * const serverTest = new hcloud.Server("server_test", {
46
46
  * name: "test-server",
47
47
  * image: "ubuntu-20.04",
48
- * serverType: "cx11",
48
+ * serverType: "cx22",
49
49
  * datacenter: "fsn1-dc14",
50
50
  * labels: {
51
51
  * test: "tessst1",
@@ -74,7 +74,7 @@ const utilities = require("./utilities");
74
74
  * });
75
75
  * const server = new hcloud.Server("server", {
76
76
  * name: "server",
77
- * serverType: "cx11",
77
+ * serverType: "cx22",
78
78
  * image: "ubuntu-20.04",
79
79
  * location: "nbg1",
80
80
  * networks: [{
@@ -105,7 +105,7 @@ const utilities = require("./utilities");
105
105
  * const fromSnapshot = new hcloud.Server("from_snapshot", {
106
106
  * name: "from-snapshot",
107
107
  * image: packerSnapshot.then(packerSnapshot => packerSnapshot.id),
108
- * serverType: "cx11",
108
+ * serverType: "cx22",
109
109
  * publicNets: [{
110
110
  * ipv4Enabled: true,
111
111
  * ipv6Enabled: true,
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * const node1 = new hcloud.Server("node1", {
12
12
  * name: "node1",
13
13
  * image: "debian-11",
14
- * serverType: "cx11",
14
+ * serverType: "cx22",
15
15
  * });
16
16
  * const mynet = new hcloud.Network("mynet", {
17
17
  * name: "my-net",
package/serverNetwork.js CHANGED
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * const node1 = new hcloud.Server("node1", {
18
18
  * name: "node1",
19
19
  * image: "debian-11",
20
- * serverType: "cx11",
20
+ * serverType: "cx22",
21
21
  * });
22
22
  * const mynet = new hcloud.Network("mynet", {
23
23
  * name: "my-net",
package/snapshot.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * const node1 = new hcloud.Server("node1", {
12
12
  * name: "node1",
13
13
  * image: "debian-11",
14
- * serverType: "cx11",
14
+ * serverType: "cx22",
15
15
  * });
16
16
  * const my_snapshot = new hcloud.Snapshot("my-snapshot", {serverId: node1.id});
17
17
  * ```
package/snapshot.js CHANGED
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * const node1 = new hcloud.Server("node1", {
18
18
  * name: "node1",
19
19
  * image: "debian-11",
20
- * serverType: "cx11",
20
+ * serverType: "cx22",
21
21
  * });
22
22
  * const my_snapshot = new hcloud.Snapshot("my-snapshot", {serverId: node1.id});
23
23
  * ```
package/types/output.d.ts CHANGED
@@ -382,6 +382,9 @@ export interface GetServerTypesServerType {
382
382
  description: string;
383
383
  disk: number;
384
384
  id: number;
385
+ /**
386
+ * @deprecated The field is deprecated and will always report 0 after 2024-08-05.
387
+ */
385
388
  includedTraffic: number;
386
389
  isDeprecated: boolean;
387
390
  memory: number;
package/volume.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * const node1 = new hcloud.Server("node1", {
12
12
  * name: "node1",
13
13
  * image: "debian-11",
14
- * serverType: "cx11",
14
+ * serverType: "cx22",
15
15
  * });
16
16
  * const master = new hcloud.Volume("master", {
17
17
  * name: "volume1",
package/volume.js CHANGED
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * const node1 = new hcloud.Server("node1", {
18
18
  * name: "node1",
19
19
  * image: "debian-11",
20
- * serverType: "cx11",
20
+ * serverType: "cx22",
21
21
  * });
22
22
  * const master = new hcloud.Volume("master", {
23
23
  * name: "volume1",
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * const node1 = new hcloud.Server("node1", {
12
12
  * name: "node1",
13
13
  * image: "debian-11",
14
- * serverType: "cx11",
14
+ * serverType: "cx22",
15
15
  * datacenter: "nbg1-dc3",
16
16
  * });
17
17
  * const master = new hcloud.Volume("master", {
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * const node1 = new hcloud.Server("node1", {
18
18
  * name: "node1",
19
19
  * image: "debian-11",
20
- * serverType: "cx11",
20
+ * serverType: "cx22",
21
21
  * datacenter: "nbg1-dc3",
22
22
  * });
23
23
  * const master = new hcloud.Volume("master", {