@pulumi/hcloud 1.21.0 → 1.21.1

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.
Files changed (77) hide show
  1. package/firewall.d.ts +1 -1
  2. package/firewall.js +1 -1
  3. package/floatingIp.d.ts +1 -1
  4. package/floatingIp.js +1 -1
  5. package/floatingIpAssignment.d.ts +1 -1
  6. package/floatingIpAssignment.js +1 -1
  7. package/getDatacenter.d.ts +24 -22
  8. package/getDatacenter.js +12 -10
  9. package/getDatacenter.js.map +1 -1
  10. package/getDatacenters.d.ts +13 -65
  11. package/getDatacenters.js +8 -18
  12. package/getDatacenters.js.map +1 -1
  13. package/getLoadBalancerType.d.ts +25 -23
  14. package/getLoadBalancerType.js +14 -12
  15. package/getLoadBalancerType.js.map +1 -1
  16. package/getLoadBalancerTypes.d.ts +2 -2
  17. package/getLocation.d.ts +26 -24
  18. package/getLocation.js +12 -10
  19. package/getLocation.js.map +1 -1
  20. package/getLocations.d.ts +10 -62
  21. package/getLocations.js +6 -16
  22. package/getLocations.js.map +1 -1
  23. package/getServerType.d.ts +42 -40
  24. package/getServerType.js +20 -10
  25. package/getServerType.js.map +1 -1
  26. package/getServerTypes.d.ts +26 -44
  27. package/getServerTypes.js +22 -16
  28. package/getServerTypes.js.map +1 -1
  29. package/getSshKey.d.ts +39 -41
  30. package/getSshKey.js +18 -22
  31. package/getSshKey.js.map +1 -1
  32. package/getSshKeys.d.ts +19 -10
  33. package/getSshKeys.js +6 -6
  34. package/getSshKeys.js.map +1 -1
  35. package/index.d.ts +3 -3
  36. package/loadBalancer.d.ts +1 -1
  37. package/loadBalancer.js +1 -1
  38. package/loadBalancerNetwork.d.ts +1 -1
  39. package/loadBalancerNetwork.js +1 -1
  40. package/loadBalancerService.d.ts +1 -1
  41. package/loadBalancerService.js +1 -1
  42. package/loadBalancerTarget.d.ts +3 -3
  43. package/loadBalancerTarget.js +3 -3
  44. package/managedCertificate.d.ts +20 -3
  45. package/managedCertificate.js +20 -3
  46. package/managedCertificate.js.map +1 -1
  47. package/network.d.ts +1 -1
  48. package/network.js +1 -1
  49. package/networkRoute.d.ts +1 -1
  50. package/networkRoute.js +1 -1
  51. package/networkSubnet.d.ts +1 -1
  52. package/networkSubnet.js +1 -1
  53. package/package.json +2 -2
  54. package/placementGroup.d.ts +1 -1
  55. package/placementGroup.js +1 -1
  56. package/primaryIp.d.ts +1 -1
  57. package/primaryIp.js +1 -1
  58. package/rdns.d.ts +4 -0
  59. package/rdns.js +4 -0
  60. package/rdns.js.map +1 -1
  61. package/server.d.ts +1 -1
  62. package/server.js +1 -1
  63. package/serverNetwork.d.ts +1 -1
  64. package/serverNetwork.js +1 -1
  65. package/snapshot.d.ts +1 -1
  66. package/snapshot.js +1 -1
  67. package/sshKey.d.ts +16 -19
  68. package/sshKey.js +5 -8
  69. package/sshKey.js.map +1 -1
  70. package/types/output.d.ts +103 -4
  71. package/uploadedCertificate.d.ts +28 -3
  72. package/uploadedCertificate.js +28 -3
  73. package/uploadedCertificate.js.map +1 -1
  74. package/volume.d.ts +1 -1
  75. package/volume.js +1 -1
  76. package/volumeAttachment.d.ts +1 -1
  77. package/volumeAttachment.js +1 -1
package/network.d.ts CHANGED
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
19
19
  * Networks can be imported using its `id`:
20
20
  *
21
21
  * ```sh
22
- * $ pulumi import hcloud:index/network:Network myip id
22
+ * $ pulumi import hcloud:index/network:Network example "$NETWORK_ID"
23
23
  * ```
24
24
  */
25
25
  export declare class Network extends pulumi.CustomResource {
package/network.js CHANGED
@@ -25,7 +25,7 @@ const utilities = require("./utilities");
25
25
  * Networks can be imported using its `id`:
26
26
  *
27
27
  * ```sh
28
- * $ pulumi import hcloud:index/network:Network myip id
28
+ * $ pulumi import hcloud:index/network:Network example "$NETWORK_ID"
29
29
  * ```
30
30
  */
31
31
  class Network extends pulumi.CustomResource {
package/networkRoute.d.ts CHANGED
@@ -26,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
26
26
  * `<network-id>-<destination>`
27
27
  *
28
28
  * ```sh
29
- * $ pulumi import hcloud:index/networkRoute:NetworkRoute myroute 123-10.0.0.0/16
29
+ * $ pulumi import hcloud:index/networkRoute:NetworkRoute example "$NETWORK_ID-$DESTINATION"
30
30
  * ```
31
31
  */
32
32
  export declare class NetworkRoute extends pulumi.CustomResource {
package/networkRoute.js CHANGED
@@ -32,7 +32,7 @@ const utilities = require("./utilities");
32
32
  * `<network-id>-<destination>`
33
33
  *
34
34
  * ```sh
35
- * $ pulumi import hcloud:index/networkRoute:NetworkRoute myroute 123-10.0.0.0/16
35
+ * $ pulumi import hcloud:index/networkRoute:NetworkRoute example "$NETWORK_ID-$DESTINATION"
36
36
  * ```
37
37
  */
38
38
  class NetworkRoute extends pulumi.CustomResource {
@@ -27,7 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
27
27
  * `<network-id>-<ip_range>`
28
28
  *
29
29
  * ```sh
30
- * $ pulumi import hcloud:index/networkSubnet:NetworkSubnet mysubnet 123-10.0.0.0/24
30
+ * $ pulumi import hcloud:index/networkSubnet:NetworkSubnet example "$NETWORK_ID-$IP_RANGE"
31
31
  * ```
32
32
  */
33
33
  export declare class NetworkSubnet extends pulumi.CustomResource {
package/networkSubnet.js CHANGED
@@ -33,7 +33,7 @@ const utilities = require("./utilities");
33
33
  * `<network-id>-<ip_range>`
34
34
  *
35
35
  * ```sh
36
- * $ pulumi import hcloud:index/networkSubnet:NetworkSubnet mysubnet 123-10.0.0.0/24
36
+ * $ pulumi import hcloud:index/networkSubnet:NetworkSubnet example "$NETWORK_ID-$IP_RANGE"
37
37
  * ```
38
38
  */
39
39
  class NetworkSubnet extends pulumi.CustomResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/hcloud",
3
- "version": "1.21.0",
3
+ "version": "1.21.1",
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.21.0"
26
+ "version": "1.21.1"
27
27
  }
28
28
  }
@@ -28,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  * Placement Groups can be imported using its `id`:
29
29
  *
30
30
  * ```sh
31
- * $ pulumi import hcloud:index/placementGroup:PlacementGroup my-placement-group id
31
+ * $ pulumi import hcloud:index/placementGroup:PlacementGroup example "$PLACEMENT_GROUP_ID"
32
32
  * ```
33
33
  */
34
34
  export declare class PlacementGroup extends pulumi.CustomResource {
package/placementGroup.js CHANGED
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
34
34
  * Placement Groups can be imported using its `id`:
35
35
  *
36
36
  * ```sh
37
- * $ pulumi import hcloud:index/placementGroup:PlacementGroup my-placement-group id
37
+ * $ pulumi import hcloud:index/placementGroup:PlacementGroup example "$PLACEMENT_GROUP_ID"
38
38
  * ```
39
39
  */
40
40
  class PlacementGroup extends pulumi.CustomResource {
package/primaryIp.d.ts CHANGED
@@ -41,7 +41,7 @@ import * as pulumi from "@pulumi/pulumi";
41
41
  * Primary IPs can be imported using its `id`:
42
42
  *
43
43
  * ```sh
44
- * $ pulumi import hcloud:index/primaryIp:PrimaryIp myip id
44
+ * $ pulumi import hcloud:index/primaryIp:PrimaryIp example "$PRIMARY_IP_ID"
45
45
  * ```
46
46
  */
47
47
  export declare class PrimaryIp extends pulumi.CustomResource {
package/primaryIp.js CHANGED
@@ -47,7 +47,7 @@ const utilities = require("./utilities");
47
47
  * Primary IPs can be imported using its `id`:
48
48
  *
49
49
  * ```sh
50
- * $ pulumi import hcloud:index/primaryIp:PrimaryIp myip id
50
+ * $ pulumi import hcloud:index/primaryIp:PrimaryIp example "$PRIMARY_IP_ID"
51
51
  * ```
52
52
  */
53
53
  class PrimaryIp extends pulumi.CustomResource {
package/rdns.d.ts CHANGED
@@ -80,6 +80,10 @@ import * as pulumi from "@pulumi/pulumi";
80
80
  *
81
81
  * `<prefix (s for server/ f for floating ip / l for load balancer)>-<server, floating ip or load balancer ID>-<IP address>`
82
82
  *
83
+ * ```sh
84
+ * $ pulumi import hcloud:index/rdns:Rdns example "$PREFIX-$ID-$IP"
85
+ * ```
86
+ *
83
87
  * import reverse dns entry on server with id 123, ip 192.168.100.1
84
88
  *
85
89
  * ```sh
package/rdns.js CHANGED
@@ -86,6 +86,10 @@ const utilities = require("./utilities");
86
86
  *
87
87
  * `<prefix (s for server/ f for floating ip / l for load balancer)>-<server, floating ip or load balancer ID>-<IP address>`
88
88
  *
89
+ * ```sh
90
+ * $ pulumi import hcloud:index/rdns:Rdns example "$PREFIX-$ID-$IP"
91
+ * ```
92
+ *
89
93
  * import reverse dns entry on server with id 123, ip 192.168.100.1
90
94
  *
91
95
  * ```sh
package/rdns.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"rdns.js","sourceRoot":"","sources":["../rdns.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwGG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,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ACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAzFL,oBA0FC;AA5EG,gBAAgB;AACO,iBAAY,GAAG,wBAAwB,CAAC"}
package/server.d.ts CHANGED
@@ -122,7 +122,7 @@ import * as outputs from "./types/output";
122
122
  * Servers can be imported using the server `id`:
123
123
  *
124
124
  * ```sh
125
- * $ pulumi import hcloud:index/server:Server myserver id
125
+ * $ pulumi import hcloud:index/server:Server example "$SERVER_ID"
126
126
  * ```
127
127
  */
128
128
  export declare class Server extends pulumi.CustomResource {
package/server.js CHANGED
@@ -126,7 +126,7 @@ const utilities = require("./utilities");
126
126
  * Servers can be imported using the server `id`:
127
127
  *
128
128
  * ```sh
129
- * $ pulumi import hcloud:index/server:Server myserver id
129
+ * $ pulumi import hcloud:index/server:Server example "$SERVER_ID"
130
130
  * ```
131
131
  */
132
132
  class Server extends pulumi.CustomResource {
@@ -37,7 +37,7 @@ import * as pulumi from "@pulumi/pulumi";
37
37
  * `<server-id>-<network-id>`
38
38
  *
39
39
  * ```sh
40
- * $ pulumi import hcloud:index/serverNetwork:ServerNetwork myservernetwork 123-654
40
+ * $ pulumi import hcloud:index/serverNetwork:ServerNetwork example "$SERVER_ID-$NETWORK_ID"
41
41
  * ```
42
42
  */
43
43
  export declare class ServerNetwork extends pulumi.CustomResource {
package/serverNetwork.js CHANGED
@@ -43,7 +43,7 @@ const utilities = require("./utilities");
43
43
  * `<server-id>-<network-id>`
44
44
  *
45
45
  * ```sh
46
- * $ pulumi import hcloud:index/serverNetwork:ServerNetwork myservernetwork 123-654
46
+ * $ pulumi import hcloud:index/serverNetwork:ServerNetwork example "$SERVER_ID-$NETWORK_ID"
47
47
  * ```
48
48
  */
49
49
  class ServerNetwork extends pulumi.CustomResource {
package/snapshot.d.ts CHANGED
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * Snapshots can be imported using its image `id`:
22
22
  *
23
23
  * ```sh
24
- * $ pulumi import hcloud:index/snapshot:Snapshot myimage id
24
+ * $ pulumi import hcloud:index/snapshot:Snapshot example "$IMAGE_ID"
25
25
  * ```
26
26
  */
27
27
  export declare class Snapshot extends pulumi.CustomResource {
package/snapshot.js CHANGED
@@ -27,7 +27,7 @@ const utilities = require("./utilities");
27
27
  * Snapshots can be imported using its image `id`:
28
28
  *
29
29
  * ```sh
30
- * $ pulumi import hcloud:index/snapshot:Snapshot myimage id
30
+ * $ pulumi import hcloud:index/snapshot:Snapshot example "$IMAGE_ID"
31
31
  * ```
32
32
  */
33
33
  class Snapshot extends pulumi.CustomResource {
package/sshKey.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Provides a Hetzner Cloud SSH key resource to manage SSH keys for server access.
3
+ * Provides a Hetzner Cloud SSH Key resource to manage SSH Keys for server access.
4
4
  *
5
5
  * ## Example Usage
6
6
  *
@@ -9,21 +9,18 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as hcloud from "@pulumi/hcloud";
10
10
  * import * as std from "@pulumi/std";
11
11
  *
12
- * // Create a new SSH key
13
- * const _default = new hcloud.SshKey("default", {
14
- * name: "Terraform Example",
12
+ * const main = new hcloud.SshKey("main", {
13
+ * name: "my-ssh-key",
15
14
  * publicKey: std.file({
16
- * input: "~/.ssh/id_rsa.pub",
15
+ * input: "~/.ssh/id_ed25519.pub",
17
16
  * }).then(invoke => invoke.result),
18
17
  * });
19
18
  * ```
20
19
  *
21
20
  * ## Import
22
21
  *
23
- * SSH keys can be imported using the SSH key `id`:
24
- *
25
22
  * ```sh
26
- * $ pulumi import hcloud:index/sshKey:SshKey mykey id
23
+ * $ pulumi import hcloud:index/sshKey:SshKey example "$SSH_KEY_ID"
27
24
  * ```
28
25
  */
29
26
  export declare class SshKey extends pulumi.CustomResource {
@@ -43,21 +40,21 @@ export declare class SshKey extends pulumi.CustomResource {
43
40
  */
44
41
  static isInstance(obj: any): obj is SshKey;
45
42
  /**
46
- * (string) The fingerprint of the SSH key
43
+ * Fingerprint of the SSH public key.
47
44
  */
48
45
  readonly fingerprint: pulumi.Output<string>;
49
46
  /**
50
- * User-defined labels (key-value pairs) should be created with.
47
+ * User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
51
48
  */
52
49
  readonly labels: pulumi.Output<{
53
50
  [key: string]: string;
54
51
  }>;
55
52
  /**
56
- * Name of the SSH key.
53
+ * Name of the SSH Key.
57
54
  */
58
55
  readonly name: pulumi.Output<string>;
59
56
  /**
60
- * The public key. If this is a file, it can be read using the file interpolation function
57
+ * Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
61
58
  */
62
59
  readonly publicKey: pulumi.Output<string>;
63
60
  /**
@@ -74,21 +71,21 @@ export declare class SshKey extends pulumi.CustomResource {
74
71
  */
75
72
  export interface SshKeyState {
76
73
  /**
77
- * (string) The fingerprint of the SSH key
74
+ * Fingerprint of the SSH public key.
78
75
  */
79
76
  fingerprint?: pulumi.Input<string>;
80
77
  /**
81
- * User-defined labels (key-value pairs) should be created with.
78
+ * User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
82
79
  */
83
80
  labels?: pulumi.Input<{
84
81
  [key: string]: pulumi.Input<string>;
85
82
  }>;
86
83
  /**
87
- * Name of the SSH key.
84
+ * Name of the SSH Key.
88
85
  */
89
86
  name?: pulumi.Input<string>;
90
87
  /**
91
- * The public key. If this is a file, it can be read using the file interpolation function
88
+ * Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
92
89
  */
93
90
  publicKey?: pulumi.Input<string>;
94
91
  }
@@ -97,17 +94,17 @@ export interface SshKeyState {
97
94
  */
98
95
  export interface SshKeyArgs {
99
96
  /**
100
- * User-defined labels (key-value pairs) should be created with.
97
+ * User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
101
98
  */
102
99
  labels?: pulumi.Input<{
103
100
  [key: string]: pulumi.Input<string>;
104
101
  }>;
105
102
  /**
106
- * Name of the SSH key.
103
+ * Name of the SSH Key.
107
104
  */
108
105
  name?: pulumi.Input<string>;
109
106
  /**
110
- * The public key. If this is a file, it can be read using the file interpolation function
107
+ * Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
111
108
  */
112
109
  publicKey: pulumi.Input<string>;
113
110
  }
package/sshKey.js CHANGED
@@ -6,7 +6,7 @@ exports.SshKey = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Provides a Hetzner Cloud SSH key resource to manage SSH keys for server access.
9
+ * Provides a Hetzner Cloud SSH Key resource to manage SSH Keys for server access.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -15,21 +15,18 @@ const utilities = require("./utilities");
15
15
  * import * as hcloud from "@pulumi/hcloud";
16
16
  * import * as std from "@pulumi/std";
17
17
  *
18
- * // Create a new SSH key
19
- * const _default = new hcloud.SshKey("default", {
20
- * name: "Terraform Example",
18
+ * const main = new hcloud.SshKey("main", {
19
+ * name: "my-ssh-key",
21
20
  * publicKey: std.file({
22
- * input: "~/.ssh/id_rsa.pub",
21
+ * input: "~/.ssh/id_ed25519.pub",
23
22
  * }).then(invoke => invoke.result),
24
23
  * });
25
24
  * ```
26
25
  *
27
26
  * ## Import
28
27
  *
29
- * SSH keys can be imported using the SSH key `id`:
30
- *
31
28
  * ```sh
32
- * $ pulumi import hcloud:index/sshKey:SshKey mykey id
29
+ * $ pulumi import hcloud:index/sshKey:SshKey example "$SSH_KEY_ID"
33
30
  * ```
34
31
  */
35
32
  class SshKey extends pulumi.CustomResource {
package/sshKey.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sshKey.js","sourceRoot":"","sources":["../sshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;G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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;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;;AA1EL,wBA2EC;AA7DG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
package/types/output.d.ts CHANGED
@@ -55,13 +55,31 @@ export interface GetCertificatesCertificate {
55
55
  type: string;
56
56
  }
57
57
  export interface GetDatacentersDatacenter {
58
+ /**
59
+ * List of currently available Server Types in the Datacenter.
60
+ */
58
61
  availableServerTypeIds: number[];
62
+ /**
63
+ * Description of the Datacenter.
64
+ */
59
65
  description: string;
66
+ /**
67
+ * ID of the Datacenter.
68
+ */
60
69
  id: number;
70
+ /**
71
+ * Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
72
+ */
61
73
  location: {
62
74
  [key: string]: string;
63
75
  };
76
+ /**
77
+ * Name of the Datacenter.
78
+ */
64
79
  name: string;
80
+ /**
81
+ * List of supported Server Types in the Datacenter.
82
+ */
65
83
  supportedServerTypeIds: number[];
66
84
  }
67
85
  export interface GetFirewallApplyTo {
@@ -272,12 +290,33 @@ export interface GetLoadBalancerTarget {
272
290
  type: string;
273
291
  }
274
292
  export interface GetLoadBalancerTypesLoadBalancerType {
293
+ /**
294
+ * Description of the Load Balancer Type.
295
+ */
275
296
  description: string;
297
+ /**
298
+ * ID of the Load Balancer Type.
299
+ */
276
300
  id: number;
301
+ /**
302
+ * Maximum number of certificates that can be assigned for the Load Balancer of this type.
303
+ */
277
304
  maxAssignedCertificates: number;
305
+ /**
306
+ * Maximum number of simultaneous open connections for the Load Balancer of this type.
307
+ */
278
308
  maxConnections: number;
309
+ /**
310
+ * Maximum number of services for the Load Balancer of this type.
311
+ */
279
312
  maxServices: number;
313
+ /**
314
+ * Maximum number of targets for the Load Balancer of this type.
315
+ */
280
316
  maxTargets: number;
317
+ /**
318
+ * Name of the Load Balancer Type.
319
+ */
281
320
  name: string;
282
321
  }
283
322
  export interface GetLoadBalancersLoadBalancer {
@@ -337,13 +376,37 @@ export interface GetLoadBalancersLoadBalancerTarget {
337
376
  type: string;
338
377
  }
339
378
  export interface GetLocationsLocation {
379
+ /**
380
+ * Name of the closest city to the Location. City name and optionally state in short form.
381
+ */
340
382
  city: string;
383
+ /**
384
+ * Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
385
+ */
341
386
  country: string;
387
+ /**
388
+ * Description of the Location.
389
+ */
342
390
  description: string;
391
+ /**
392
+ * ID of the Location.
393
+ */
343
394
  id: number;
395
+ /**
396
+ * Latitude of the city closest to the Location.
397
+ */
344
398
  latitude: number;
399
+ /**
400
+ * Longitude of the city closest to the Location.
401
+ */
345
402
  longitude: number;
403
+ /**
404
+ * Name of the Location.
405
+ */
346
406
  name: string;
407
+ /**
408
+ * Name of the Network Zone this Location resides in.
409
+ */
347
410
  networkZone: string;
348
411
  }
349
412
  export interface GetNetworksNetwork {
@@ -384,21 +447,57 @@ export interface GetPrimaryIpsPrimaryIp {
384
447
  type: string;
385
448
  }
386
449
  export interface GetServerTypesServerType {
450
+ /**
451
+ * Architecture of the cpu for a Server of this type.
452
+ */
387
453
  architecture: string;
454
+ /**
455
+ * Number of cpu cores for a Server of this type.
456
+ */
388
457
  cores: number;
458
+ /**
459
+ * Type of cpu for a Server of this type.
460
+ */
389
461
  cpuType: string;
462
+ /**
463
+ * Date of the Server Type deprecation announcement.
464
+ */
390
465
  deprecationAnnounced: string;
466
+ /**
467
+ * Description of the Server Type.
468
+ */
391
469
  description: string;
470
+ /**
471
+ * Disk size in GB for a Server of this type.
472
+ */
392
473
  disk: number;
474
+ /**
475
+ * ID of the Server Type.
476
+ */
393
477
  id: number;
394
478
  /**
395
479
  * @deprecated The field is deprecated and will always report 0 after 2024-08-05.
396
480
  */
397
481
  includedTraffic: number;
482
+ /**
483
+ * Whether the Server Type is deprecated.
484
+ */
398
485
  isDeprecated: boolean;
486
+ /**
487
+ * Memory in GB for a Server of this type.
488
+ */
399
489
  memory: number;
490
+ /**
491
+ * Name of the Server Type.
492
+ */
400
493
  name: string;
494
+ /**
495
+ * Type of boot drive for a Server of this type.
496
+ */
401
497
  storageType: string;
498
+ /**
499
+ * Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
500
+ */
402
501
  unavailableAfter: string;
403
502
  }
404
503
  export interface GetServersServer {
@@ -427,11 +526,11 @@ export interface GetServersServer {
427
526
  }
428
527
  export interface GetSshKeysSshKey {
429
528
  /**
430
- * Fingerprint of the SSH key.
529
+ * Fingerprint of the SSH Key.
431
530
  */
432
531
  fingerprint: string;
433
532
  /**
434
- * ID of the SSH key.
533
+ * ID of the SSH Key.
435
534
  */
436
535
  id: number;
437
536
  /**
@@ -441,11 +540,11 @@ export interface GetSshKeysSshKey {
441
540
  [key: string]: string;
442
541
  };
443
542
  /**
444
- * Name of the SSH key.
543
+ * Name of the SSH Key.
445
544
  */
446
545
  name: string;
447
546
  /**
448
- * Public key of the SSH key pair.
547
+ * Public key of the SSH Key pair.
449
548
  */
450
549
  publicKey: string;
451
550
  }
@@ -2,14 +2,39 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Upload a TLS certificate to Hetzner Cloud.
4
4
  *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as hcloud from "@pulumi/hcloud";
10
+ *
11
+ * const sampleCertificate = new hcloud.UploadedCertificate("sample_certificate", {
12
+ * name: "test-certificate-%d",
13
+ * privateKey: `-----BEGIN RSA PRIVATE KEY-----
14
+ * MIIEpQIBAAKCAQEAorPccsHibgGLJIub5Sb1yvDvARifoKzg7MIhyAYLnJkGn9B1
15
+ * ...
16
+ * AHcjLFCNvobInLHTTmCoAxYBmEv2eakas0+n4g/LM2Ukaw1Bz+3VrVo=
17
+ * -----END RSA PRIVATE KEY-----
18
+ * `,
19
+ * certificate: `-----BEGIN CERTIFICATE-----
20
+ * MIIDMDCCAhigAwIBAgIIJgROscP8RRUwDQYJKoZIhvcNAQELBQAwIDEeMBwGA1UE
21
+ * ...
22
+ * TKS8gQ==
23
+ * -----END CERTIFICATE-----
24
+ * `,
25
+ * labels: {
26
+ * label_1: "value_1",
27
+ * label_2: "value_2",
28
+ * },
29
+ * });
30
+ * ```
31
+ *
5
32
  * ## Import
6
33
  *
7
34
  * Uploaded certificates can be imported using their `id`:
8
35
  *
9
- * hcl
10
- *
11
36
  * ```sh
12
- * $ pulumi import hcloud:index/uploadedCertificate:UploadedCertificate sample_certificate id
37
+ * $ pulumi import hcloud:index/uploadedCertificate:UploadedCertificate example "$CERTIFICATE_ID"
13
38
  * ```
14
39
  */
15
40
  export declare class UploadedCertificate extends pulumi.CustomResource {
@@ -8,14 +8,39 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * Upload a TLS certificate to Hetzner Cloud.
10
10
  *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as hcloud from "@pulumi/hcloud";
16
+ *
17
+ * const sampleCertificate = new hcloud.UploadedCertificate("sample_certificate", {
18
+ * name: "test-certificate-%d",
19
+ * privateKey: `-----BEGIN RSA PRIVATE KEY-----
20
+ * MIIEpQIBAAKCAQEAorPccsHibgGLJIub5Sb1yvDvARifoKzg7MIhyAYLnJkGn9B1
21
+ * ...
22
+ * AHcjLFCNvobInLHTTmCoAxYBmEv2eakas0+n4g/LM2Ukaw1Bz+3VrVo=
23
+ * -----END RSA PRIVATE KEY-----
24
+ * `,
25
+ * certificate: `-----BEGIN CERTIFICATE-----
26
+ * MIIDMDCCAhigAwIBAgIIJgROscP8RRUwDQYJKoZIhvcNAQELBQAwIDEeMBwGA1UE
27
+ * ...
28
+ * TKS8gQ==
29
+ * -----END CERTIFICATE-----
30
+ * `,
31
+ * labels: {
32
+ * label_1: "value_1",
33
+ * label_2: "value_2",
34
+ * },
35
+ * });
36
+ * ```
37
+ *
11
38
  * ## Import
12
39
  *
13
40
  * Uploaded certificates can be imported using their `id`:
14
41
  *
15
- * hcl
16
- *
17
42
  * ```sh
18
- * $ pulumi import hcloud:index/uploadedCertificate:UploadedCertificate sample_certificate id
43
+ * $ pulumi import hcloud:index/uploadedCertificate:UploadedCertificate example "$CERTIFICATE_ID"
19
44
  * ```
20
45
  */
21
46
  class UploadedCertificate extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"uploadedCertificate.js","sourceRoot":"","sources":["../uploadedCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;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;IAiDD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAA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