@pulumi/hcloud 1.23.0-alpha.1747375245 → 1.23.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/getImage.d.ts +20 -12
- package/getImage.js +20 -12
- package/getImage.js.map +1 -1
- package/getImages.d.ts +10 -4
- package/getImages.js +10 -4
- package/getImages.js.map +1 -1
- package/getServer.d.ts +14 -0
- package/getServer.js +2 -0
- package/getServer.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +36 -0
- package/types/output.d.ts +25 -0
package/getImage.d.ts
CHANGED
|
@@ -6,17 +6,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
7
|
* import * as hcloud from "@pulumi/hcloud";
|
|
8
8
|
*
|
|
9
|
-
* const
|
|
10
|
-
* id:
|
|
9
|
+
* const byId = hcloud.getImage({
|
|
10
|
+
* id: 114690387,
|
|
11
11
|
* });
|
|
12
|
-
* const
|
|
13
|
-
* name: "
|
|
12
|
+
* const byNameX86 = hcloud.getImage({
|
|
13
|
+
* name: "debian-12",
|
|
14
14
|
* withArchitecture: "x86",
|
|
15
15
|
* });
|
|
16
|
-
* const
|
|
16
|
+
* const byNameArm = hcloud.getImage({
|
|
17
|
+
* name: "debian-12",
|
|
18
|
+
* withArchitecture: "arm",
|
|
19
|
+
* });
|
|
20
|
+
* const byLabel = hcloud.getImage({
|
|
17
21
|
* withSelector: "key=value",
|
|
18
22
|
* });
|
|
19
|
-
* const main = new hcloud.Server("main", {image:
|
|
23
|
+
* const main = new hcloud.Server("main", {image: byName.id});
|
|
20
24
|
* ```
|
|
21
25
|
*/
|
|
22
26
|
export declare function getImage(args?: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult>;
|
|
@@ -121,17 +125,21 @@ export interface GetImageResult {
|
|
|
121
125
|
* import * as pulumi from "@pulumi/pulumi";
|
|
122
126
|
* import * as hcloud from "@pulumi/hcloud";
|
|
123
127
|
*
|
|
124
|
-
* const
|
|
125
|
-
* id:
|
|
128
|
+
* const byId = hcloud.getImage({
|
|
129
|
+
* id: 114690387,
|
|
126
130
|
* });
|
|
127
|
-
* const
|
|
128
|
-
* name: "
|
|
131
|
+
* const byNameX86 = hcloud.getImage({
|
|
132
|
+
* name: "debian-12",
|
|
129
133
|
* withArchitecture: "x86",
|
|
130
134
|
* });
|
|
131
|
-
* const
|
|
135
|
+
* const byNameArm = hcloud.getImage({
|
|
136
|
+
* name: "debian-12",
|
|
137
|
+
* withArchitecture: "arm",
|
|
138
|
+
* });
|
|
139
|
+
* const byLabel = hcloud.getImage({
|
|
132
140
|
* withSelector: "key=value",
|
|
133
141
|
* });
|
|
134
|
-
* const main = new hcloud.Server("main", {image:
|
|
142
|
+
* const main = new hcloud.Server("main", {image: byName.id});
|
|
135
143
|
* ```
|
|
136
144
|
*/
|
|
137
145
|
export declare function getImageOutput(args?: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageResult>;
|
package/getImage.js
CHANGED
|
@@ -12,17 +12,21 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as hcloud from "@pulumi/hcloud";
|
|
14
14
|
*
|
|
15
|
-
* const
|
|
16
|
-
* id:
|
|
15
|
+
* const byId = hcloud.getImage({
|
|
16
|
+
* id: 114690387,
|
|
17
17
|
* });
|
|
18
|
-
* const
|
|
19
|
-
* name: "
|
|
18
|
+
* const byNameX86 = hcloud.getImage({
|
|
19
|
+
* name: "debian-12",
|
|
20
20
|
* withArchitecture: "x86",
|
|
21
21
|
* });
|
|
22
|
-
* const
|
|
22
|
+
* const byNameArm = hcloud.getImage({
|
|
23
|
+
* name: "debian-12",
|
|
24
|
+
* withArchitecture: "arm",
|
|
25
|
+
* });
|
|
26
|
+
* const byLabel = hcloud.getImage({
|
|
23
27
|
* withSelector: "key=value",
|
|
24
28
|
* });
|
|
25
|
-
* const main = new hcloud.Server("main", {image:
|
|
29
|
+
* const main = new hcloud.Server("main", {image: byName.id});
|
|
26
30
|
* ```
|
|
27
31
|
*/
|
|
28
32
|
function getImage(args, opts) {
|
|
@@ -47,17 +51,21 @@ exports.getImage = getImage;
|
|
|
47
51
|
* import * as pulumi from "@pulumi/pulumi";
|
|
48
52
|
* import * as hcloud from "@pulumi/hcloud";
|
|
49
53
|
*
|
|
50
|
-
* const
|
|
51
|
-
* id:
|
|
54
|
+
* const byId = hcloud.getImage({
|
|
55
|
+
* id: 114690387,
|
|
52
56
|
* });
|
|
53
|
-
* const
|
|
54
|
-
* name: "
|
|
57
|
+
* const byNameX86 = hcloud.getImage({
|
|
58
|
+
* name: "debian-12",
|
|
55
59
|
* withArchitecture: "x86",
|
|
56
60
|
* });
|
|
57
|
-
* const
|
|
61
|
+
* const byNameArm = hcloud.getImage({
|
|
62
|
+
* name: "debian-12",
|
|
63
|
+
* withArchitecture: "arm",
|
|
64
|
+
* });
|
|
65
|
+
* const byLabel = hcloud.getImage({
|
|
58
66
|
* withSelector: "key=value",
|
|
59
67
|
* });
|
|
60
|
-
* const main = new hcloud.Server("main", {image:
|
|
68
|
+
* const main = new hcloud.Server("main", {image: byName.id});
|
|
61
69
|
* ```
|
|
62
70
|
*/
|
|
63
71
|
function getImageOutput(args, opts) {
|
package/getImage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getImage.js","sourceRoot":"","sources":["../getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getImage.js","sourceRoot":"","sources":["../getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,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@ -3,16 +3,19 @@ import * as outputs from "./types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* Provides details about multiple Hetzner Cloud Images.
|
|
5
5
|
*
|
|
6
|
+
* When relevant, it is recommended to always provide the image architecture
|
|
7
|
+
* (`withArchitecture`) when fetching images.
|
|
8
|
+
*
|
|
6
9
|
* ## Example Usage
|
|
7
10
|
*
|
|
8
11
|
* ```typescript
|
|
9
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
13
|
* import * as hcloud from "@pulumi/hcloud";
|
|
11
14
|
*
|
|
12
|
-
* const
|
|
15
|
+
* const byArchitecture = hcloud.getImages({
|
|
13
16
|
* withArchitectures: ["x86"],
|
|
14
17
|
* });
|
|
15
|
-
* const
|
|
18
|
+
* const byLabel = hcloud.getImages({
|
|
16
19
|
* withSelector: "key=value",
|
|
17
20
|
* });
|
|
18
21
|
* ```
|
|
@@ -64,16 +67,19 @@ export interface GetImagesResult {
|
|
|
64
67
|
/**
|
|
65
68
|
* Provides details about multiple Hetzner Cloud Images.
|
|
66
69
|
*
|
|
70
|
+
* When relevant, it is recommended to always provide the image architecture
|
|
71
|
+
* (`withArchitecture`) when fetching images.
|
|
72
|
+
*
|
|
67
73
|
* ## Example Usage
|
|
68
74
|
*
|
|
69
75
|
* ```typescript
|
|
70
76
|
* import * as pulumi from "@pulumi/pulumi";
|
|
71
77
|
* import * as hcloud from "@pulumi/hcloud";
|
|
72
78
|
*
|
|
73
|
-
* const
|
|
79
|
+
* const byArchitecture = hcloud.getImages({
|
|
74
80
|
* withArchitectures: ["x86"],
|
|
75
81
|
* });
|
|
76
|
-
* const
|
|
82
|
+
* const byLabel = hcloud.getImages({
|
|
77
83
|
* withSelector: "key=value",
|
|
78
84
|
* });
|
|
79
85
|
* ```
|
package/getImages.js
CHANGED
|
@@ -8,16 +8,19 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides details about multiple Hetzner Cloud Images.
|
|
10
10
|
*
|
|
11
|
+
* When relevant, it is recommended to always provide the image architecture
|
|
12
|
+
* (`withArchitecture`) when fetching images.
|
|
13
|
+
*
|
|
11
14
|
* ## Example Usage
|
|
12
15
|
*
|
|
13
16
|
* ```typescript
|
|
14
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
18
|
* import * as hcloud from "@pulumi/hcloud";
|
|
16
19
|
*
|
|
17
|
-
* const
|
|
20
|
+
* const byArchitecture = hcloud.getImages({
|
|
18
21
|
* withArchitectures: ["x86"],
|
|
19
22
|
* });
|
|
20
|
-
* const
|
|
23
|
+
* const byLabel = hcloud.getImages({
|
|
21
24
|
* withSelector: "key=value",
|
|
22
25
|
* });
|
|
23
26
|
* ```
|
|
@@ -37,16 +40,19 @@ exports.getImages = getImages;
|
|
|
37
40
|
/**
|
|
38
41
|
* Provides details about multiple Hetzner Cloud Images.
|
|
39
42
|
*
|
|
43
|
+
* When relevant, it is recommended to always provide the image architecture
|
|
44
|
+
* (`withArchitecture`) when fetching images.
|
|
45
|
+
*
|
|
40
46
|
* ## Example Usage
|
|
41
47
|
*
|
|
42
48
|
* ```typescript
|
|
43
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
50
|
* import * as hcloud from "@pulumi/hcloud";
|
|
45
51
|
*
|
|
46
|
-
* const
|
|
52
|
+
* const byArchitecture = hcloud.getImages({
|
|
47
53
|
* withArchitectures: ["x86"],
|
|
48
54
|
* });
|
|
49
|
-
* const
|
|
55
|
+
* const byLabel = hcloud.getImages({
|
|
50
56
|
* withSelector: "key=value",
|
|
51
57
|
* });
|
|
52
58
|
* ```
|
package/getImages.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getImages.js","sourceRoot":"","sources":["../getImages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getImages.js","sourceRoot":"","sources":["../getImages.ts"],"names":[],"mappings":";AAAA,w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* as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* ## Example Usage
|
|
4
6
|
*
|
|
@@ -30,6 +32,10 @@ export interface GetServerArgs {
|
|
|
30
32
|
* Name of the server.
|
|
31
33
|
*/
|
|
32
34
|
name?: string;
|
|
35
|
+
/**
|
|
36
|
+
* (map) Private Network the server is attached to.
|
|
37
|
+
*/
|
|
38
|
+
networks?: inputs.GetServerNetwork[];
|
|
33
39
|
/**
|
|
34
40
|
* (Optional, string) Placement Group ID the server is assigned to.
|
|
35
41
|
*/
|
|
@@ -109,6 +115,10 @@ export interface GetServerResult {
|
|
|
109
115
|
* (string) Name of the server.
|
|
110
116
|
*/
|
|
111
117
|
readonly name: string;
|
|
118
|
+
/**
|
|
119
|
+
* (map) Private Network the server is attached to.
|
|
120
|
+
*/
|
|
121
|
+
readonly networks?: outputs.GetServerNetwork[];
|
|
112
122
|
/**
|
|
113
123
|
* (Optional, string) Placement Group ID the server is assigned to.
|
|
114
124
|
*/
|
|
@@ -168,6 +178,10 @@ export interface GetServerOutputArgs {
|
|
|
168
178
|
* Name of the server.
|
|
169
179
|
*/
|
|
170
180
|
name?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* (map) Private Network the server is attached to.
|
|
183
|
+
*/
|
|
184
|
+
networks?: pulumi.Input<pulumi.Input<inputs.GetServerNetworkArgs>[]>;
|
|
171
185
|
/**
|
|
172
186
|
* (Optional, string) Placement Group ID the server is assigned to.
|
|
173
187
|
*/
|
package/getServer.js
CHANGED
|
@@ -29,6 +29,7 @@ function getServer(args, opts) {
|
|
|
29
29
|
return pulumi.runtime.invoke("hcloud:index/getServer:getServer", {
|
|
30
30
|
"id": args.id,
|
|
31
31
|
"name": args.name,
|
|
32
|
+
"networks": args.networks,
|
|
32
33
|
"placementGroupId": args.placementGroupId,
|
|
33
34
|
"selector": args.selector,
|
|
34
35
|
"withSelector": args.withSelector,
|
|
@@ -60,6 +61,7 @@ function getServerOutput(args, opts) {
|
|
|
60
61
|
return pulumi.runtime.invokeOutput("hcloud:index/getServer:getServer", {
|
|
61
62
|
"id": args.id,
|
|
62
63
|
"name": args.name,
|
|
64
|
+
"networks": args.networks,
|
|
63
65
|
"placementGroupId": args.placementGroupId,
|
|
64
66
|
"selector": args.selector,
|
|
65
67
|
"withSelector": args.withSelector,
|
package/getServer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServer.js","sourceRoot":"","sources":["../getServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getServer.js","sourceRoot":"","sources":["../getServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;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;AAgID;;;;;;;;;;;;;;;;;GAiBG;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.23.0
|
|
3
|
+
"version": "1.23.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.23.0
|
|
26
|
+
"version": "1.23.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -115,6 +115,42 @@ export interface GetFirewallRuleArgs {
|
|
|
115
115
|
*/
|
|
116
116
|
sourceIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
117
117
|
}
|
|
118
|
+
export interface GetServerNetwork {
|
|
119
|
+
/**
|
|
120
|
+
* (list) A list of alias IP addresses assigned to the server in the network.
|
|
121
|
+
*/
|
|
122
|
+
aliasIps?: string[];
|
|
123
|
+
/**
|
|
124
|
+
* (string) The server's IP address within the network.
|
|
125
|
+
*/
|
|
126
|
+
ip?: string;
|
|
127
|
+
/**
|
|
128
|
+
* (string) The MAC address associated with the server's private network interface.
|
|
129
|
+
*/
|
|
130
|
+
macAddress?: string;
|
|
131
|
+
/**
|
|
132
|
+
* (int) The unique identifier for the network.
|
|
133
|
+
*/
|
|
134
|
+
networkId?: number;
|
|
135
|
+
}
|
|
136
|
+
export interface GetServerNetworkArgs {
|
|
137
|
+
/**
|
|
138
|
+
* (list) A list of alias IP addresses assigned to the server in the network.
|
|
139
|
+
*/
|
|
140
|
+
aliasIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
141
|
+
/**
|
|
142
|
+
* (string) The server's IP address within the network.
|
|
143
|
+
*/
|
|
144
|
+
ip?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* (string) The MAC address associated with the server's private network interface.
|
|
147
|
+
*/
|
|
148
|
+
macAddress?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* (int) The unique identifier for the network.
|
|
151
|
+
*/
|
|
152
|
+
networkId?: pulumi.Input<number>;
|
|
153
|
+
}
|
|
118
154
|
export interface LoadBalancerAlgorithm {
|
|
119
155
|
/**
|
|
120
156
|
* Type of the Load Balancer Algorithm. `roundRobin` or `leastConnections`
|
package/types/output.d.ts
CHANGED
|
@@ -446,6 +446,24 @@ export interface GetPrimaryIpsPrimaryIp {
|
|
|
446
446
|
name?: string;
|
|
447
447
|
type: string;
|
|
448
448
|
}
|
|
449
|
+
export interface GetServerNetwork {
|
|
450
|
+
/**
|
|
451
|
+
* (list) A list of alias IP addresses assigned to the server in the network.
|
|
452
|
+
*/
|
|
453
|
+
aliasIps: string[];
|
|
454
|
+
/**
|
|
455
|
+
* (string) The server's IP address within the network.
|
|
456
|
+
*/
|
|
457
|
+
ip: string;
|
|
458
|
+
/**
|
|
459
|
+
* (string) The MAC address associated with the server's private network interface.
|
|
460
|
+
*/
|
|
461
|
+
macAddress: string;
|
|
462
|
+
/**
|
|
463
|
+
* (int) The unique identifier for the network.
|
|
464
|
+
*/
|
|
465
|
+
networkId: number;
|
|
466
|
+
}
|
|
449
467
|
export interface GetServerTypesServerType {
|
|
450
468
|
/**
|
|
451
469
|
* Architecture of the cpu for a Server of this type.
|
|
@@ -517,6 +535,7 @@ export interface GetServersServer {
|
|
|
517
535
|
};
|
|
518
536
|
location: string;
|
|
519
537
|
name: string;
|
|
538
|
+
networks?: outputs.GetServersServerNetwork[];
|
|
520
539
|
placementGroupId?: number;
|
|
521
540
|
primaryDiskSize: number;
|
|
522
541
|
rebuildProtection: boolean;
|
|
@@ -524,6 +543,12 @@ export interface GetServersServer {
|
|
|
524
543
|
serverType: string;
|
|
525
544
|
status: string;
|
|
526
545
|
}
|
|
546
|
+
export interface GetServersServerNetwork {
|
|
547
|
+
aliasIps: string[];
|
|
548
|
+
ip: string;
|
|
549
|
+
macAddress: string;
|
|
550
|
+
networkId: number;
|
|
551
|
+
}
|
|
527
552
|
export interface GetSshKeysSshKey {
|
|
528
553
|
/**
|
|
529
554
|
* Fingerprint of the SSH Key.
|