pulumi-hcloud 1.23.0a1743573250__py3-none-any.whl → 1.23.0a1744183178__py3-none-any.whl
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.
- pulumi_hcloud/__init__.py +1 -0
- pulumi_hcloud/_inputs.py +213 -212
- pulumi_hcloud/certificate.py +71 -70
- pulumi_hcloud/config/__init__.py +1 -0
- pulumi_hcloud/config/__init__.pyi +1 -0
- pulumi_hcloud/config/vars.py +1 -0
- pulumi_hcloud/firewall.py +29 -28
- pulumi_hcloud/firewall_attachment.py +43 -42
- pulumi_hcloud/floating_ip.py +113 -112
- pulumi_hcloud/floating_ip_assignment.py +29 -28
- pulumi_hcloud/get_certificate.py +24 -23
- pulumi_hcloud/get_certificates.py +7 -6
- pulumi_hcloud/get_datacenter.py +15 -14
- pulumi_hcloud/get_datacenters.py +5 -4
- pulumi_hcloud/get_firewall.py +26 -25
- pulumi_hcloud/get_firewalls.py +12 -11
- pulumi_hcloud/get_floating_ip.py +31 -30
- pulumi_hcloud/get_floating_ips.py +7 -6
- pulumi_hcloud/get_image.py +48 -47
- pulumi_hcloud/get_images.py +27 -26
- pulumi_hcloud/get_load_balancer.py +25 -24
- pulumi_hcloud/get_load_balancer_type.py +16 -15
- pulumi_hcloud/get_load_balancer_types.py +2 -1
- pulumi_hcloud/get_load_balancers.py +7 -6
- pulumi_hcloud/get_location.py +17 -16
- pulumi_hcloud/get_locations.py +5 -4
- pulumi_hcloud/get_network.py +29 -28
- pulumi_hcloud/get_networks.py +7 -6
- pulumi_hcloud/get_placement_group.py +32 -31
- pulumi_hcloud/get_placement_groups.py +12 -11
- pulumi_hcloud/get_primary_ip.py +33 -32
- pulumi_hcloud/get_primary_ips.py +7 -6
- pulumi_hcloud/get_server.py +46 -45
- pulumi_hcloud/get_server_type.py +22 -21
- pulumi_hcloud/get_server_types.py +5 -4
- pulumi_hcloud/get_servers.py +12 -11
- pulumi_hcloud/get_ssh_key.py +28 -27
- pulumi_hcloud/get_ssh_keys.py +11 -10
- pulumi_hcloud/get_volume.py +38 -37
- pulumi_hcloud/get_volumes.py +12 -11
- pulumi_hcloud/load_balancer.py +113 -112
- pulumi_hcloud/load_balancer_network.py +71 -70
- pulumi_hcloud/load_balancer_service.py +71 -70
- pulumi_hcloud/load_balancer_target.py +85 -84
- pulumi_hcloud/managed_certificate.py +83 -82
- pulumi_hcloud/network.py +71 -70
- pulumi_hcloud/network_route.py +43 -42
- pulumi_hcloud/network_subnet.py +76 -75
- pulumi_hcloud/outputs.py +574 -573
- pulumi_hcloud/placement_group.py +48 -47
- pulumi_hcloud/primary_ip.py +127 -126
- pulumi_hcloud/provider.py +33 -32
- pulumi_hcloud/pulumi-plugin.json +1 -1
- pulumi_hcloud/rdns.py +85 -84
- pulumi_hcloud/server.py +305 -304
- pulumi_hcloud/server_network.py +76 -75
- pulumi_hcloud/snapshot.py +43 -42
- pulumi_hcloud/ssh_key.py +50 -49
- pulumi_hcloud/uploaded_certificate.py +97 -96
- pulumi_hcloud/volume.py +120 -119
- pulumi_hcloud/volume_attachment.py +43 -42
- {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/METADATA +1 -1
- pulumi_hcloud-1.23.0a1744183178.dist-info/RECORD +67 -0
- pulumi_hcloud-1.23.0a1743573250.dist-info/RECORD +0 -67
- {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/top_level.txt +0 -0
pulumi_hcloud/ssh_key.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -19,14 +20,14 @@ __all__ = ['SshKeyArgs', 'SshKey']
|
|
19
20
|
@pulumi.input_type
|
20
21
|
class SshKeyArgs:
|
21
22
|
def __init__(__self__, *,
|
22
|
-
public_key: pulumi.Input[str],
|
23
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
24
|
-
name: Optional[pulumi.Input[str]] = None):
|
23
|
+
public_key: pulumi.Input[builtins.str],
|
24
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
25
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
25
26
|
"""
|
26
27
|
The set of arguments for constructing a SshKey resource.
|
27
|
-
:param pulumi.Input[str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
28
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
29
|
-
:param pulumi.Input[str] name: Name of the SSH Key.
|
28
|
+
:param pulumi.Input[builtins.str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
29
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
30
|
+
:param pulumi.Input[builtins.str] name: Name of the SSH Key.
|
30
31
|
"""
|
31
32
|
pulumi.set(__self__, "public_key", public_key)
|
32
33
|
if labels is not None:
|
@@ -36,54 +37,54 @@ class SshKeyArgs:
|
|
36
37
|
|
37
38
|
@property
|
38
39
|
@pulumi.getter(name="publicKey")
|
39
|
-
def public_key(self) -> pulumi.Input[str]:
|
40
|
+
def public_key(self) -> pulumi.Input[builtins.str]:
|
40
41
|
"""
|
41
42
|
Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
42
43
|
"""
|
43
44
|
return pulumi.get(self, "public_key")
|
44
45
|
|
45
46
|
@public_key.setter
|
46
|
-
def public_key(self, value: pulumi.Input[str]):
|
47
|
+
def public_key(self, value: pulumi.Input[builtins.str]):
|
47
48
|
pulumi.set(self, "public_key", value)
|
48
49
|
|
49
50
|
@property
|
50
51
|
@pulumi.getter
|
51
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
52
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
52
53
|
"""
|
53
54
|
User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
54
55
|
"""
|
55
56
|
return pulumi.get(self, "labels")
|
56
57
|
|
57
58
|
@labels.setter
|
58
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
59
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
59
60
|
pulumi.set(self, "labels", value)
|
60
61
|
|
61
62
|
@property
|
62
63
|
@pulumi.getter
|
63
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
64
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
64
65
|
"""
|
65
66
|
Name of the SSH Key.
|
66
67
|
"""
|
67
68
|
return pulumi.get(self, "name")
|
68
69
|
|
69
70
|
@name.setter
|
70
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
71
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
71
72
|
pulumi.set(self, "name", value)
|
72
73
|
|
73
74
|
|
74
75
|
@pulumi.input_type
|
75
76
|
class _SshKeyState:
|
76
77
|
def __init__(__self__, *,
|
77
|
-
fingerprint: Optional[pulumi.Input[str]] = None,
|
78
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
79
|
-
name: Optional[pulumi.Input[str]] = None,
|
80
|
-
public_key: Optional[pulumi.Input[str]] = None):
|
78
|
+
fingerprint: Optional[pulumi.Input[builtins.str]] = None,
|
79
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
80
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
81
|
+
public_key: Optional[pulumi.Input[builtins.str]] = None):
|
81
82
|
"""
|
82
83
|
Input properties used for looking up and filtering SshKey resources.
|
83
|
-
:param pulumi.Input[str] fingerprint: Fingerprint of the SSH public key.
|
84
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
85
|
-
:param pulumi.Input[str] name: Name of the SSH Key.
|
86
|
-
:param pulumi.Input[str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
84
|
+
:param pulumi.Input[builtins.str] fingerprint: Fingerprint of the SSH public key.
|
85
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
86
|
+
:param pulumi.Input[builtins.str] name: Name of the SSH Key.
|
87
|
+
:param pulumi.Input[builtins.str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
87
88
|
"""
|
88
89
|
if fingerprint is not None:
|
89
90
|
pulumi.set(__self__, "fingerprint", fingerprint)
|
@@ -96,50 +97,50 @@ class _SshKeyState:
|
|
96
97
|
|
97
98
|
@property
|
98
99
|
@pulumi.getter
|
99
|
-
def fingerprint(self) -> Optional[pulumi.Input[str]]:
|
100
|
+
def fingerprint(self) -> Optional[pulumi.Input[builtins.str]]:
|
100
101
|
"""
|
101
102
|
Fingerprint of the SSH public key.
|
102
103
|
"""
|
103
104
|
return pulumi.get(self, "fingerprint")
|
104
105
|
|
105
106
|
@fingerprint.setter
|
106
|
-
def fingerprint(self, value: Optional[pulumi.Input[str]]):
|
107
|
+
def fingerprint(self, value: Optional[pulumi.Input[builtins.str]]):
|
107
108
|
pulumi.set(self, "fingerprint", value)
|
108
109
|
|
109
110
|
@property
|
110
111
|
@pulumi.getter
|
111
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
112
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
112
113
|
"""
|
113
114
|
User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
114
115
|
"""
|
115
116
|
return pulumi.get(self, "labels")
|
116
117
|
|
117
118
|
@labels.setter
|
118
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
119
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
119
120
|
pulumi.set(self, "labels", value)
|
120
121
|
|
121
122
|
@property
|
122
123
|
@pulumi.getter
|
123
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
124
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
124
125
|
"""
|
125
126
|
Name of the SSH Key.
|
126
127
|
"""
|
127
128
|
return pulumi.get(self, "name")
|
128
129
|
|
129
130
|
@name.setter
|
130
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
131
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
131
132
|
pulumi.set(self, "name", value)
|
132
133
|
|
133
134
|
@property
|
134
135
|
@pulumi.getter(name="publicKey")
|
135
|
-
def public_key(self) -> Optional[pulumi.Input[str]]:
|
136
|
+
def public_key(self) -> Optional[pulumi.Input[builtins.str]]:
|
136
137
|
"""
|
137
138
|
Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
138
139
|
"""
|
139
140
|
return pulumi.get(self, "public_key")
|
140
141
|
|
141
142
|
@public_key.setter
|
142
|
-
def public_key(self, value: Optional[pulumi.Input[str]]):
|
143
|
+
def public_key(self, value: Optional[pulumi.Input[builtins.str]]):
|
143
144
|
pulumi.set(self, "public_key", value)
|
144
145
|
|
145
146
|
|
@@ -148,9 +149,9 @@ class SshKey(pulumi.CustomResource):
|
|
148
149
|
def __init__(__self__,
|
149
150
|
resource_name: str,
|
150
151
|
opts: Optional[pulumi.ResourceOptions] = None,
|
151
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
152
|
-
name: Optional[pulumi.Input[str]] = None,
|
153
|
-
public_key: Optional[pulumi.Input[str]] = None,
|
152
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
153
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
154
|
+
public_key: Optional[pulumi.Input[builtins.str]] = None,
|
154
155
|
__props__=None):
|
155
156
|
"""
|
156
157
|
Provides a Hetzner Cloud SSH Key resource to manage SSH Keys for server access.
|
@@ -175,9 +176,9 @@ class SshKey(pulumi.CustomResource):
|
|
175
176
|
|
176
177
|
:param str resource_name: The name of the resource.
|
177
178
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
178
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
179
|
-
:param pulumi.Input[str] name: Name of the SSH Key.
|
180
|
-
:param pulumi.Input[str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
179
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
180
|
+
:param pulumi.Input[builtins.str] name: Name of the SSH Key.
|
181
|
+
:param pulumi.Input[builtins.str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
181
182
|
"""
|
182
183
|
...
|
183
184
|
@overload
|
@@ -221,9 +222,9 @@ class SshKey(pulumi.CustomResource):
|
|
221
222
|
def _internal_init(__self__,
|
222
223
|
resource_name: str,
|
223
224
|
opts: Optional[pulumi.ResourceOptions] = None,
|
224
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
225
|
-
name: Optional[pulumi.Input[str]] = None,
|
226
|
-
public_key: Optional[pulumi.Input[str]] = None,
|
225
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
226
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
227
|
+
public_key: Optional[pulumi.Input[builtins.str]] = None,
|
227
228
|
__props__=None):
|
228
229
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
229
230
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -249,10 +250,10 @@ class SshKey(pulumi.CustomResource):
|
|
249
250
|
def get(resource_name: str,
|
250
251
|
id: pulumi.Input[str],
|
251
252
|
opts: Optional[pulumi.ResourceOptions] = None,
|
252
|
-
fingerprint: Optional[pulumi.Input[str]] = None,
|
253
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
254
|
-
name: Optional[pulumi.Input[str]] = None,
|
255
|
-
public_key: Optional[pulumi.Input[str]] = None) -> 'SshKey':
|
253
|
+
fingerprint: Optional[pulumi.Input[builtins.str]] = None,
|
254
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
255
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
256
|
+
public_key: Optional[pulumi.Input[builtins.str]] = None) -> 'SshKey':
|
256
257
|
"""
|
257
258
|
Get an existing SshKey resource's state with the given name, id, and optional extra
|
258
259
|
properties used to qualify the lookup.
|
@@ -260,10 +261,10 @@ class SshKey(pulumi.CustomResource):
|
|
260
261
|
:param str resource_name: The unique name of the resulting resource.
|
261
262
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
262
263
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
263
|
-
:param pulumi.Input[str] fingerprint: Fingerprint of the SSH public key.
|
264
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
265
|
-
:param pulumi.Input[str] name: Name of the SSH Key.
|
266
|
-
:param pulumi.Input[str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
264
|
+
:param pulumi.Input[builtins.str] fingerprint: Fingerprint of the SSH public key.
|
265
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
266
|
+
:param pulumi.Input[builtins.str] name: Name of the SSH Key.
|
267
|
+
:param pulumi.Input[builtins.str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
267
268
|
"""
|
268
269
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
269
270
|
|
@@ -277,7 +278,7 @@ class SshKey(pulumi.CustomResource):
|
|
277
278
|
|
278
279
|
@property
|
279
280
|
@pulumi.getter
|
280
|
-
def fingerprint(self) -> pulumi.Output[str]:
|
281
|
+
def fingerprint(self) -> pulumi.Output[builtins.str]:
|
281
282
|
"""
|
282
283
|
Fingerprint of the SSH public key.
|
283
284
|
"""
|
@@ -285,7 +286,7 @@ class SshKey(pulumi.CustomResource):
|
|
285
286
|
|
286
287
|
@property
|
287
288
|
@pulumi.getter
|
288
|
-
def labels(self) -> pulumi.Output[Mapping[str, str]]:
|
289
|
+
def labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
289
290
|
"""
|
290
291
|
User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
291
292
|
"""
|
@@ -293,7 +294,7 @@ class SshKey(pulumi.CustomResource):
|
|
293
294
|
|
294
295
|
@property
|
295
296
|
@pulumi.getter
|
296
|
-
def name(self) -> pulumi.Output[str]:
|
297
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
297
298
|
"""
|
298
299
|
Name of the SSH Key.
|
299
300
|
"""
|
@@ -301,7 +302,7 @@ class SshKey(pulumi.CustomResource):
|
|
301
302
|
|
302
303
|
@property
|
303
304
|
@pulumi.getter(name="publicKey")
|
304
|
-
def public_key(self) -> pulumi.Output[str]:
|
305
|
+
def public_key(self) -> pulumi.Output[builtins.str]:
|
305
306
|
"""
|
306
307
|
Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
307
308
|
"""
|