@pulumi/hcloud 1.18.0-alpha.1711518574 → 1.18.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/getSshKey.d.ts +15 -1
- package/getSshKey.js +2 -0
- package/getSshKey.js.map +1 -1
- package/getSshKeys.d.ts +3 -4
- package/getSshKeys.js +1 -0
- package/getSshKeys.js.map +1 -1
- package/loadBalancer.d.ts +6 -5
- package/loadBalancer.js +6 -5
- package/loadBalancer.js.map +1 -1
- package/loadBalancerNetwork.d.ts +2 -0
- package/loadBalancerNetwork.js +2 -0
- package/loadBalancerNetwork.js.map +1 -1
- package/package.json +1 -1
- package/sshKey.d.ts +3 -3
- package/types/input.d.ts +4 -4
- package/types/output.d.ts +20 -5
package/getSshKey.d.ts
CHANGED
|
@@ -40,10 +40,17 @@ export interface GetSshKeyArgs {
|
|
|
40
40
|
* ID of the SSH Key.
|
|
41
41
|
*/
|
|
42
42
|
id?: number;
|
|
43
|
+
labels?: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
43
46
|
/**
|
|
44
47
|
* Name of the SSH Key.
|
|
45
48
|
*/
|
|
46
49
|
name?: string;
|
|
50
|
+
/**
|
|
51
|
+
* (string) Public Key of the SSH Key.
|
|
52
|
+
*/
|
|
53
|
+
publicKey?: string;
|
|
47
54
|
/**
|
|
48
55
|
* @deprecated Please use the withSelector property instead.
|
|
49
56
|
*/
|
|
@@ -66,7 +73,7 @@ export interface GetSshKeyResult {
|
|
|
66
73
|
*/
|
|
67
74
|
readonly id: number;
|
|
68
75
|
readonly labels: {
|
|
69
|
-
[key: string]:
|
|
76
|
+
[key: string]: string;
|
|
70
77
|
};
|
|
71
78
|
/**
|
|
72
79
|
* (string) Name of the SSH Key.
|
|
@@ -123,10 +130,17 @@ export interface GetSshKeyOutputArgs {
|
|
|
123
130
|
* ID of the SSH Key.
|
|
124
131
|
*/
|
|
125
132
|
id?: pulumi.Input<number>;
|
|
133
|
+
labels?: pulumi.Input<{
|
|
134
|
+
[key: string]: pulumi.Input<string>;
|
|
135
|
+
}>;
|
|
126
136
|
/**
|
|
127
137
|
* Name of the SSH Key.
|
|
128
138
|
*/
|
|
129
139
|
name?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* (string) Public Key of the SSH Key.
|
|
142
|
+
*/
|
|
143
|
+
publicKey?: pulumi.Input<string>;
|
|
130
144
|
/**
|
|
131
145
|
* @deprecated Please use the withSelector property instead.
|
|
132
146
|
*/
|
package/getSshKey.js
CHANGED
|
@@ -39,7 +39,9 @@ function getSshKey(args, opts) {
|
|
|
39
39
|
return pulumi.runtime.invoke("hcloud:index/getSshKey:getSshKey", {
|
|
40
40
|
"fingerprint": args.fingerprint,
|
|
41
41
|
"id": args.id,
|
|
42
|
+
"labels": args.labels,
|
|
42
43
|
"name": args.name,
|
|
44
|
+
"publicKey": args.publicKey,
|
|
43
45
|
"selector": args.selector,
|
|
44
46
|
"withSelector": args.withSelector,
|
|
45
47
|
}, opts);
|
package/getSshKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSshKey.js","sourceRoot":"","sources":["../getSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,kCAAkC,EAAE;QAC7D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getSshKey.js","sourceRoot":"","sources":["../getSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,kCAAkC,EAAE;QAC7D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,8BAaC;AA4DD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/getSshKeys.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare function getSshKeys(args?: GetSshKeysArgs, opts?: pulumi.InvokeOp
|
|
|
21
21
|
* A collection of arguments for invoking getSshKeys.
|
|
22
22
|
*/
|
|
23
23
|
export interface GetSshKeysArgs {
|
|
24
|
+
id?: string;
|
|
24
25
|
/**
|
|
25
26
|
* [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
26
27
|
*/
|
|
@@ -30,10 +31,7 @@ export interface GetSshKeysArgs {
|
|
|
30
31
|
* A collection of values returned by getSshKeys.
|
|
31
32
|
*/
|
|
32
33
|
export interface GetSshKeysResult {
|
|
33
|
-
|
|
34
|
-
* The provider-assigned unique ID for this managed resource.
|
|
35
|
-
*/
|
|
36
|
-
readonly id: string;
|
|
34
|
+
readonly id?: string;
|
|
37
35
|
/**
|
|
38
36
|
* (list) List of all matches SSH keys. See `data.hcloud_ssh_key` for schema.
|
|
39
37
|
*/
|
|
@@ -61,6 +59,7 @@ export declare function getSshKeysOutput(args?: GetSshKeysOutputArgs, opts?: pul
|
|
|
61
59
|
* A collection of arguments for invoking getSshKeys.
|
|
62
60
|
*/
|
|
63
61
|
export interface GetSshKeysOutputArgs {
|
|
62
|
+
id?: pulumi.Input<string>;
|
|
64
63
|
/**
|
|
65
64
|
* [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
66
65
|
*/
|
package/getSshKeys.js
CHANGED
|
@@ -25,6 +25,7 @@ function getSshKeys(args, opts) {
|
|
|
25
25
|
args = args || {};
|
|
26
26
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
27
|
return pulumi.runtime.invoke("hcloud:index/getSshKeys:getSshKeys", {
|
|
28
|
+
"id": args.id,
|
|
28
29
|
"withSelector": args.withSelector,
|
|
29
30
|
}, opts);
|
|
30
31
|
}
|
package/getSshKeys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSshKeys.js","sourceRoot":"","sources":["../getSshKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,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,oCAAoC,EAAE;QAC/D,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getSshKeys.js","sourceRoot":"","sources":["../getSshKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,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,oCAAoC,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAwBD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/loadBalancer.d.ts
CHANGED
|
@@ -11,17 +11,18 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as hcloud from "@pulumi/hcloud";
|
|
13
13
|
*
|
|
14
|
-
* const
|
|
14
|
+
* const myServer = new hcloud.Server("myServer", {
|
|
15
15
|
* serverType: "cx11",
|
|
16
16
|
* image: "ubuntu-18.04",
|
|
17
17
|
* });
|
|
18
18
|
* const loadBalancer = new hcloud.LoadBalancer("loadBalancer", {
|
|
19
19
|
* loadBalancerType: "lb11",
|
|
20
20
|
* location: "nbg1",
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
21
|
+
* });
|
|
22
|
+
* const loadBalancerTarget = new hcloud.LoadBalancerTarget("loadBalancerTarget", {
|
|
23
|
+
* type: "server",
|
|
24
|
+
* loadBalancerId: loadBalancer.id,
|
|
25
|
+
* serverId: myServer.id,
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
27
28
|
* <!--End PulumiCodeChooser -->
|
package/loadBalancer.js
CHANGED
|
@@ -15,17 +15,18 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as hcloud from "@pulumi/hcloud";
|
|
17
17
|
*
|
|
18
|
-
* const
|
|
18
|
+
* const myServer = new hcloud.Server("myServer", {
|
|
19
19
|
* serverType: "cx11",
|
|
20
20
|
* image: "ubuntu-18.04",
|
|
21
21
|
* });
|
|
22
22
|
* const loadBalancer = new hcloud.LoadBalancer("loadBalancer", {
|
|
23
23
|
* loadBalancerType: "lb11",
|
|
24
24
|
* location: "nbg1",
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
25
|
+
* });
|
|
26
|
+
* const loadBalancerTarget = new hcloud.LoadBalancerTarget("loadBalancerTarget", {
|
|
27
|
+
* type: "server",
|
|
28
|
+
* loadBalancerId: loadBalancer.id,
|
|
29
|
+
* serverId: myServer.id,
|
|
29
30
|
* });
|
|
30
31
|
* ```
|
|
31
32
|
* <!--End PulumiCodeChooser -->
|
package/loadBalancer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadBalancer.js","sourceRoot":"","sources":["../loadBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"loadBalancer.js","sourceRoot":"","sources":["../loadBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2DD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC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AAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1HL,oCA2HC;AA7GG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
package/loadBalancerNetwork.d.ts
CHANGED
package/loadBalancerNetwork.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadBalancerNetwork.js","sourceRoot":"","sources":["../loadBalancerNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"loadBalancerNetwork.js","sourceRoot":"","sources":["../loadBalancerNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA4CD,YAAY,IAA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IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA7FL,kDA8FC;AAhFG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/package.json
CHANGED
package/sshKey.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export declare class SshKey extends pulumi.CustomResource {
|
|
|
47
47
|
* User-defined labels (key-value pairs) should be created with.
|
|
48
48
|
*/
|
|
49
49
|
readonly labels: pulumi.Output<{
|
|
50
|
-
[key: string]:
|
|
50
|
+
[key: string]: string;
|
|
51
51
|
} | undefined>;
|
|
52
52
|
/**
|
|
53
53
|
* Name of the SSH key.
|
|
@@ -78,7 +78,7 @@ export interface SshKeyState {
|
|
|
78
78
|
* User-defined labels (key-value pairs) should be created with.
|
|
79
79
|
*/
|
|
80
80
|
labels?: pulumi.Input<{
|
|
81
|
-
[key: string]:
|
|
81
|
+
[key: string]: pulumi.Input<string>;
|
|
82
82
|
}>;
|
|
83
83
|
/**
|
|
84
84
|
* Name of the SSH key.
|
|
@@ -97,7 +97,7 @@ export interface SshKeyArgs {
|
|
|
97
97
|
* User-defined labels (key-value pairs) should be created with.
|
|
98
98
|
*/
|
|
99
99
|
labels?: pulumi.Input<{
|
|
100
|
-
[key: string]:
|
|
100
|
+
[key: string]: pulumi.Input<string>;
|
|
101
101
|
}>;
|
|
102
102
|
/**
|
|
103
103
|
* Name of the SSH key.
|
package/types/input.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface FirewallRule {
|
|
|
18
18
|
*/
|
|
19
19
|
description?: pulumi.Input<string>;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction`
|
|
22
22
|
* is `out`)
|
|
23
23
|
*/
|
|
24
24
|
destinationIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -28,8 +28,7 @@ export interface FirewallRule {
|
|
|
28
28
|
direction: pulumi.Input<string>;
|
|
29
29
|
/**
|
|
30
30
|
* Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`. You can use `any`
|
|
31
|
-
* to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and
|
|
32
|
-
* 85.
|
|
31
|
+
* to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and 85.
|
|
33
32
|
*/
|
|
34
33
|
port?: pulumi.Input<string>;
|
|
35
34
|
/**
|
|
@@ -37,7 +36,8 @@ export interface FirewallRule {
|
|
|
37
36
|
*/
|
|
38
37
|
protocol: pulumi.Input<string>;
|
|
39
38
|
/**
|
|
40
|
-
* List of CIDRs that are allowed within this Firewall Rule
|
|
39
|
+
* List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction`
|
|
40
|
+
* is `in`)
|
|
41
41
|
*/
|
|
42
42
|
sourceIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
43
43
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface FirewallRule {
|
|
|
17
17
|
*/
|
|
18
18
|
description?: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction`
|
|
21
21
|
* is `out`)
|
|
22
22
|
*/
|
|
23
23
|
destinationIps?: string[];
|
|
@@ -27,8 +27,7 @@ export interface FirewallRule {
|
|
|
27
27
|
direction: string;
|
|
28
28
|
/**
|
|
29
29
|
* Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`. You can use `any`
|
|
30
|
-
* to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and
|
|
31
|
-
* 85.
|
|
30
|
+
* to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and 85.
|
|
32
31
|
*/
|
|
33
32
|
port?: string;
|
|
34
33
|
/**
|
|
@@ -36,7 +35,8 @@ export interface FirewallRule {
|
|
|
36
35
|
*/
|
|
37
36
|
protocol: string;
|
|
38
37
|
/**
|
|
39
|
-
* List of CIDRs that are allowed within this Firewall Rule
|
|
38
|
+
* List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction`
|
|
39
|
+
* is `in`)
|
|
40
40
|
*/
|
|
41
41
|
sourceIps?: string[];
|
|
42
42
|
}
|
|
@@ -414,12 +414,27 @@ export interface GetServersServer {
|
|
|
414
414
|
status: string;
|
|
415
415
|
}
|
|
416
416
|
export interface GetSshKeysSshKey {
|
|
417
|
+
/**
|
|
418
|
+
* Fingerprint of the SSH key.
|
|
419
|
+
*/
|
|
417
420
|
fingerprint: string;
|
|
421
|
+
/**
|
|
422
|
+
* ID of the SSH key.
|
|
423
|
+
*/
|
|
418
424
|
id: number;
|
|
425
|
+
/**
|
|
426
|
+
* User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
|
427
|
+
*/
|
|
419
428
|
labels: {
|
|
420
|
-
[key: string]:
|
|
429
|
+
[key: string]: string;
|
|
421
430
|
};
|
|
431
|
+
/**
|
|
432
|
+
* Name of the SSH key.
|
|
433
|
+
*/
|
|
422
434
|
name: string;
|
|
435
|
+
/**
|
|
436
|
+
* Public key of the SSH key pair.
|
|
437
|
+
*/
|
|
423
438
|
publicKey: string;
|
|
424
439
|
}
|
|
425
440
|
export interface GetVolumesVolume {
|