@pulumi/hcloud 1.43.0 → 1.43.1-alpha.1791908365

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.
@@ -27,7 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
27
27
  * for (let range = 0; range < counter; range++) {
28
28
  * main.push(new hcloud.FloatingIpAssignment(`main-${range}`, {
29
29
  * floatingIpId: ip1.then(ip1 => ip1.id),
30
- * serverId: Number(mainHcloudServer.id),
30
+ * serverId: mainHcloudServer.id,
31
31
  * }));
32
32
  * }
33
33
  * ```
@@ -138,7 +138,7 @@ export interface GetFloatingIpResult {
138
138
  * for (let range = 0; range < counter; range++) {
139
139
  * main.push(new hcloud.FloatingIpAssignment(`main-${range}`, {
140
140
  * floatingIpId: ip1.then(ip1 => ip1.id),
141
- * serverId: Number(mainHcloudServer.id),
141
+ * serverId: mainHcloudServer.id,
142
142
  * }));
143
143
  * }
144
144
  * ```
package/getFloatingIp.js CHANGED
@@ -56,7 +56,7 @@ const utilities = __importStar(require("./utilities"));
56
56
  * for (let range = 0; range < counter; range++) {
57
57
  * main.push(new hcloud.FloatingIpAssignment(`main-${range}`, {
58
58
  * floatingIpId: ip1.then(ip1 => ip1.id),
59
- * serverId: Number(mainHcloudServer.id),
59
+ * serverId: mainHcloudServer.id,
60
60
  * }));
61
61
  * }
62
62
  * ```
@@ -101,7 +101,7 @@ exports.getFloatingIp = getFloatingIp;
101
101
  * for (let range = 0; range < counter; range++) {
102
102
  * main.push(new hcloud.FloatingIpAssignment(`main-${range}`, {
103
103
  * floatingIpId: ip1.then(ip1 => ip1.id),
104
- * serverId: Number(mainHcloudServer.id),
104
+ * serverId: mainHcloudServer.id,
105
105
  * }));
106
106
  * }
107
107
  * ```
@@ -13,14 +13,14 @@ import * as outputs from "./types/output";
13
13
  * import * as std from "@pulumi/std";
14
14
  *
15
15
  * const byType = hcloud.getNetworkMembers({
16
- * networkId: Number(example.id),
16
+ * networkId: example.id,
17
17
  * withTypes: [
18
18
  * "load_balancer",
19
19
  * "server",
20
20
  * ],
21
21
  * });
22
22
  * const byStatus = hcloud.getNetworkMembers({
23
- * networkId: Number(example.id),
23
+ * networkId: example.id,
24
24
  * withStatuses: [
25
25
  * "ok",
26
26
  * "attaching",
@@ -30,11 +30,11 @@ import * as outputs from "./types/output";
30
30
  * ],
31
31
  * });
32
32
  * const bySubnet = hcloud.getNetworkMembers({
33
- * networkId: Number(example.id),
33
+ * networkId: example.id,
34
34
  * withSubnets: ["10.0.1.0/24"],
35
35
  * });
36
36
  * const all = hcloud.getNetworkMembers({
37
- * networkId: Number(example.id),
37
+ * networkId: example.id,
38
38
  * });
39
39
  * // A list of all IPs in the network
40
40
  * const networkIps = Promise.all([all, std.concat({
@@ -104,14 +104,14 @@ export interface GetNetworkMembersResult {
104
104
  * import * as std from "@pulumi/std";
105
105
  *
106
106
  * const byType = hcloud.getNetworkMembers({
107
- * networkId: Number(example.id),
107
+ * networkId: example.id,
108
108
  * withTypes: [
109
109
  * "load_balancer",
110
110
  * "server",
111
111
  * ],
112
112
  * });
113
113
  * const byStatus = hcloud.getNetworkMembers({
114
- * networkId: Number(example.id),
114
+ * networkId: example.id,
115
115
  * withStatuses: [
116
116
  * "ok",
117
117
  * "attaching",
@@ -121,11 +121,11 @@ export interface GetNetworkMembersResult {
121
121
  * ],
122
122
  * });
123
123
  * const bySubnet = hcloud.getNetworkMembers({
124
- * networkId: Number(example.id),
124
+ * networkId: example.id,
125
125
  * withSubnets: ["10.0.1.0/24"],
126
126
  * });
127
127
  * const all = hcloud.getNetworkMembers({
128
- * networkId: Number(example.id),
128
+ * networkId: example.id,
129
129
  * });
130
130
  * // A list of all IPs in the network
131
131
  * const networkIps = Promise.all([all, std.concat({
@@ -41,14 +41,14 @@ const utilities = __importStar(require("./utilities"));
41
41
  * import * as std from "@pulumi/std";
42
42
  *
43
43
  * const byType = hcloud.getNetworkMembers({
44
- * networkId: Number(example.id),
44
+ * networkId: example.id,
45
45
  * withTypes: [
46
46
  * "load_balancer",
47
47
  * "server",
48
48
  * ],
49
49
  * });
50
50
  * const byStatus = hcloud.getNetworkMembers({
51
- * networkId: Number(example.id),
51
+ * networkId: example.id,
52
52
  * withStatuses: [
53
53
  * "ok",
54
54
  * "attaching",
@@ -58,11 +58,11 @@ const utilities = __importStar(require("./utilities"));
58
58
  * ],
59
59
  * });
60
60
  * const bySubnet = hcloud.getNetworkMembers({
61
- * networkId: Number(example.id),
61
+ * networkId: example.id,
62
62
  * withSubnets: ["10.0.1.0/24"],
63
63
  * });
64
64
  * const all = hcloud.getNetworkMembers({
65
- * networkId: Number(example.id),
65
+ * networkId: example.id,
66
66
  * });
67
67
  * // A list of all IPs in the network
68
68
  * const networkIps = Promise.all([all, std.concat({
@@ -98,14 +98,14 @@ exports.getNetworkMembers = getNetworkMembers;
98
98
  * import * as std from "@pulumi/std";
99
99
  *
100
100
  * const byType = hcloud.getNetworkMembers({
101
- * networkId: Number(example.id),
101
+ * networkId: example.id,
102
102
  * withTypes: [
103
103
  * "load_balancer",
104
104
  * "server",
105
105
  * ],
106
106
  * });
107
107
  * const byStatus = hcloud.getNetworkMembers({
108
- * networkId: Number(example.id),
108
+ * networkId: example.id,
109
109
  * withStatuses: [
110
110
  * "ok",
111
111
  * "attaching",
@@ -115,11 +115,11 @@ exports.getNetworkMembers = getNetworkMembers;
115
115
  * ],
116
116
  * });
117
117
  * const bySubnet = hcloud.getNetworkMembers({
118
- * networkId: Number(example.id),
118
+ * networkId: example.id,
119
119
  * withSubnets: ["10.0.1.0/24"],
120
120
  * });
121
121
  * const all = hcloud.getNetworkMembers({
122
- * networkId: Number(example.id),
122
+ * networkId: example.id,
123
123
  * });
124
124
  * // A list of all IPs in the network
125
125
  * const networkIps = Promise.all([all, std.concat({
package/getPrimaryIp.d.ts CHANGED
@@ -38,7 +38,7 @@ import * as pulumi from "@pulumi/pulumi";
38
38
  * test: "tessst1",
39
39
  * },
40
40
  * publicNets: [{
41
- * ipv4: Number(ip1HcloudPrimaryIp.id),
41
+ * ipv4: ip1HcloudPrimaryIp.id,
42
42
  * }],
43
43
  * });
44
44
  * ```
@@ -165,7 +165,7 @@ export interface GetPrimaryIpResult {
165
165
  * test: "tessst1",
166
166
  * },
167
167
  * publicNets: [{
168
- * ipv4: Number(ip1HcloudPrimaryIp.id),
168
+ * ipv4: ip1HcloudPrimaryIp.id,
169
169
  * }],
170
170
  * });
171
171
  * ```
package/getPrimaryIp.js CHANGED
@@ -67,7 +67,7 @@ const utilities = __importStar(require("./utilities"));
67
67
  * test: "tessst1",
68
68
  * },
69
69
  * publicNets: [{
70
- * ipv4: Number(ip1HcloudPrimaryIp.id),
70
+ * ipv4: ip1HcloudPrimaryIp.id,
71
71
  * }],
72
72
  * });
73
73
  * ```
@@ -122,7 +122,7 @@ exports.getPrimaryIp = getPrimaryIp;
122
122
  * test: "tessst1",
123
123
  * },
124
124
  * publicNets: [{
125
- * ipv4: Number(ip1HcloudPrimaryIp.id),
125
+ * ipv4: ip1HcloudPrimaryIp.id,
126
126
  * }],
127
127
  * });
128
128
  * ```
@@ -14,10 +14,10 @@ import * as outputs from "./types/output";
14
14
  * const config = new pulumi.Config();
15
15
  * const storageBoxId = config.requireObject<any>("storageBoxId");
16
16
  * const all = hcloud.getStorageBoxSnapshots({
17
- * storageBoxId: Number(storageBoxId),
17
+ * storageBoxId: storageBoxId,
18
18
  * });
19
19
  * const byLabelSelector = hcloud.getStorageBoxSnapshots({
20
- * storageBoxId: Number(storageBoxId),
20
+ * storageBoxId: storageBoxId,
21
21
  * withSelector: "env=production",
22
22
  * });
23
23
  * ```
@@ -64,10 +64,10 @@ export interface GetStorageBoxSnapshotsResult {
64
64
  * const config = new pulumi.Config();
65
65
  * const storageBoxId = config.requireObject<any>("storageBoxId");
66
66
  * const all = hcloud.getStorageBoxSnapshots({
67
- * storageBoxId: Number(storageBoxId),
67
+ * storageBoxId: storageBoxId,
68
68
  * });
69
69
  * const byLabelSelector = hcloud.getStorageBoxSnapshots({
70
- * storageBoxId: Number(storageBoxId),
70
+ * storageBoxId: storageBoxId,
71
71
  * withSelector: "env=production",
72
72
  * });
73
73
  * ```
@@ -42,10 +42,10 @@ const utilities = __importStar(require("./utilities"));
42
42
  * const config = new pulumi.Config();
43
43
  * const storageBoxId = config.requireObject<any>("storageBoxId");
44
44
  * const all = hcloud.getStorageBoxSnapshots({
45
- * storageBoxId: Number(storageBoxId),
45
+ * storageBoxId: storageBoxId,
46
46
  * });
47
47
  * const byLabelSelector = hcloud.getStorageBoxSnapshots({
48
- * storageBoxId: Number(storageBoxId),
48
+ * storageBoxId: storageBoxId,
49
49
  * withSelector: "env=production",
50
50
  * });
51
51
  * ```
@@ -72,10 +72,10 @@ exports.getStorageBoxSnapshots = getStorageBoxSnapshots;
72
72
  * const config = new pulumi.Config();
73
73
  * const storageBoxId = config.requireObject<any>("storageBoxId");
74
74
  * const all = hcloud.getStorageBoxSnapshots({
75
- * storageBoxId: Number(storageBoxId),
75
+ * storageBoxId: storageBoxId,
76
76
  * });
77
77
  * const byLabelSelector = hcloud.getStorageBoxSnapshots({
78
- * storageBoxId: Number(storageBoxId),
78
+ * storageBoxId: storageBoxId,
79
79
  * withSelector: "env=production",
80
80
  * });
81
81
  * ```
@@ -14,19 +14,19 @@ import * as outputs from "./types/output";
14
14
  * const config = new pulumi.Config();
15
15
  * const storageBoxId = config.requireObject<any>("storageBoxId");
16
16
  * const byId = hcloud.getStorageBoxSubaccount({
17
- * storageBoxId: Number(storageBoxId),
17
+ * storageBoxId: storageBoxId,
18
18
  * id: 2,
19
19
  * });
20
20
  * const byName = hcloud.getStorageBoxSubaccount({
21
- * storageBoxId: Number(storageBoxId),
21
+ * storageBoxId: storageBoxId,
22
22
  * name: "badger",
23
23
  * });
24
24
  * const byUsername = hcloud.getStorageBoxSubaccount({
25
- * storageBoxId: Number(storageBoxId),
25
+ * storageBoxId: storageBoxId,
26
26
  * username: "u507137-sub1",
27
27
  * });
28
28
  * const byLabelSelector = hcloud.getStorageBoxSubaccount({
29
- * storageBoxId: Number(storageBoxId),
29
+ * storageBoxId: storageBoxId,
30
30
  * withSelector: "team=billing",
31
31
  * });
32
32
  * ```
@@ -118,19 +118,19 @@ export interface GetStorageBoxSubaccountResult {
118
118
  * const config = new pulumi.Config();
119
119
  * const storageBoxId = config.requireObject<any>("storageBoxId");
120
120
  * const byId = hcloud.getStorageBoxSubaccount({
121
- * storageBoxId: Number(storageBoxId),
121
+ * storageBoxId: storageBoxId,
122
122
  * id: 2,
123
123
  * });
124
124
  * const byName = hcloud.getStorageBoxSubaccount({
125
- * storageBoxId: Number(storageBoxId),
125
+ * storageBoxId: storageBoxId,
126
126
  * name: "badger",
127
127
  * });
128
128
  * const byUsername = hcloud.getStorageBoxSubaccount({
129
- * storageBoxId: Number(storageBoxId),
129
+ * storageBoxId: storageBoxId,
130
130
  * username: "u507137-sub1",
131
131
  * });
132
132
  * const byLabelSelector = hcloud.getStorageBoxSubaccount({
133
- * storageBoxId: Number(storageBoxId),
133
+ * storageBoxId: storageBoxId,
134
134
  * withSelector: "team=billing",
135
135
  * });
136
136
  * ```
@@ -42,19 +42,19 @@ const utilities = __importStar(require("./utilities"));
42
42
  * const config = new pulumi.Config();
43
43
  * const storageBoxId = config.requireObject<any>("storageBoxId");
44
44
  * const byId = hcloud.getStorageBoxSubaccount({
45
- * storageBoxId: Number(storageBoxId),
45
+ * storageBoxId: storageBoxId,
46
46
  * id: 2,
47
47
  * });
48
48
  * const byName = hcloud.getStorageBoxSubaccount({
49
- * storageBoxId: Number(storageBoxId),
49
+ * storageBoxId: storageBoxId,
50
50
  * name: "badger",
51
51
  * });
52
52
  * const byUsername = hcloud.getStorageBoxSubaccount({
53
- * storageBoxId: Number(storageBoxId),
53
+ * storageBoxId: storageBoxId,
54
54
  * username: "u507137-sub1",
55
55
  * });
56
56
  * const byLabelSelector = hcloud.getStorageBoxSubaccount({
57
- * storageBoxId: Number(storageBoxId),
57
+ * storageBoxId: storageBoxId,
58
58
  * withSelector: "team=billing",
59
59
  * });
60
60
  * ```
@@ -84,19 +84,19 @@ exports.getStorageBoxSubaccount = getStorageBoxSubaccount;
84
84
  * const config = new pulumi.Config();
85
85
  * const storageBoxId = config.requireObject<any>("storageBoxId");
86
86
  * const byId = hcloud.getStorageBoxSubaccount({
87
- * storageBoxId: Number(storageBoxId),
87
+ * storageBoxId: storageBoxId,
88
88
  * id: 2,
89
89
  * });
90
90
  * const byName = hcloud.getStorageBoxSubaccount({
91
- * storageBoxId: Number(storageBoxId),
91
+ * storageBoxId: storageBoxId,
92
92
  * name: "badger",
93
93
  * });
94
94
  * const byUsername = hcloud.getStorageBoxSubaccount({
95
- * storageBoxId: Number(storageBoxId),
95
+ * storageBoxId: storageBoxId,
96
96
  * username: "u507137-sub1",
97
97
  * });
98
98
  * const byLabelSelector = hcloud.getStorageBoxSubaccount({
99
- * storageBoxId: Number(storageBoxId),
99
+ * storageBoxId: storageBoxId,
100
100
  * withSelector: "team=billing",
101
101
  * });
102
102
  * ```
@@ -14,10 +14,10 @@ import * as outputs from "./types/output";
14
14
  * const config = new pulumi.Config();
15
15
  * const storageBoxId = config.requireObject<any>("storageBoxId");
16
16
  * const all = hcloud.getStorageBoxSubaccounts({
17
- * storageBoxId: Number(storageBoxId),
17
+ * storageBoxId: storageBoxId,
18
18
  * });
19
19
  * const byLabelSelector = hcloud.getStorageBoxSubaccounts({
20
- * storageBoxId: Number(storageBoxId),
20
+ * storageBoxId: storageBoxId,
21
21
  * withSelector: "team=billing",
22
22
  * });
23
23
  * ```
@@ -64,10 +64,10 @@ export interface GetStorageBoxSubaccountsResult {
64
64
  * const config = new pulumi.Config();
65
65
  * const storageBoxId = config.requireObject<any>("storageBoxId");
66
66
  * const all = hcloud.getStorageBoxSubaccounts({
67
- * storageBoxId: Number(storageBoxId),
67
+ * storageBoxId: storageBoxId,
68
68
  * });
69
69
  * const byLabelSelector = hcloud.getStorageBoxSubaccounts({
70
- * storageBoxId: Number(storageBoxId),
70
+ * storageBoxId: storageBoxId,
71
71
  * withSelector: "team=billing",
72
72
  * });
73
73
  * ```
@@ -42,10 +42,10 @@ const utilities = __importStar(require("./utilities"));
42
42
  * const config = new pulumi.Config();
43
43
  * const storageBoxId = config.requireObject<any>("storageBoxId");
44
44
  * const all = hcloud.getStorageBoxSubaccounts({
45
- * storageBoxId: Number(storageBoxId),
45
+ * storageBoxId: storageBoxId,
46
46
  * });
47
47
  * const byLabelSelector = hcloud.getStorageBoxSubaccounts({
48
- * storageBoxId: Number(storageBoxId),
48
+ * storageBoxId: storageBoxId,
49
49
  * withSelector: "team=billing",
50
50
  * });
51
51
  * ```
@@ -72,10 +72,10 @@ exports.getStorageBoxSubaccounts = getStorageBoxSubaccounts;
72
72
  * const config = new pulumi.Config();
73
73
  * const storageBoxId = config.requireObject<any>("storageBoxId");
74
74
  * const all = hcloud.getStorageBoxSubaccounts({
75
- * storageBoxId: Number(storageBoxId),
75
+ * storageBoxId: storageBoxId,
76
76
  * });
77
77
  * const byLabelSelector = hcloud.getStorageBoxSubaccounts({
78
- * storageBoxId: Number(storageBoxId),
78
+ * storageBoxId: storageBoxId,
79
79
  * withSelector: "team=billing",
80
80
  * });
81
81
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/hcloud",
3
- "version": "1.43.0",
3
+ "version": "1.43.1-alpha.1791908365",
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.43.0"
26
+ "version": "1.43.1-alpha.1791908365"
27
27
  }
28
28
  }