pulumi-hcloud 1.21.0a1728106797__py3-none-any.whl → 1.21.0a1728637430__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/_inputs.py +234 -0
- pulumi_hcloud/_utilities.py +1 -1
- pulumi_hcloud/certificate.py +5 -0
- pulumi_hcloud/config/__init__.pyi +5 -0
- pulumi_hcloud/config/vars.py +5 -0
- pulumi_hcloud/firewall.py +5 -0
- pulumi_hcloud/firewall_attachment.py +5 -0
- pulumi_hcloud/floating_ip.py +5 -0
- pulumi_hcloud/floating_ip_assignment.py +5 -0
- pulumi_hcloud/get_certificate.py +23 -4
- pulumi_hcloud/get_certificates.py +13 -4
- pulumi_hcloud/get_datacenter.py +17 -4
- pulumi_hcloud/get_datacenters.py +18 -4
- pulumi_hcloud/get_firewall.py +23 -4
- pulumi_hcloud/get_firewalls.py +15 -4
- pulumi_hcloud/get_floating_ip.py +26 -4
- pulumi_hcloud/get_floating_ips.py +13 -4
- pulumi_hcloud/get_image.py +34 -4
- pulumi_hcloud/get_images.py +21 -4
- pulumi_hcloud/get_load_balancer.py +27 -4
- pulumi_hcloud/get_load_balancers.py +13 -4
- pulumi_hcloud/get_location.py +19 -4
- pulumi_hcloud/get_locations.py +18 -4
- pulumi_hcloud/get_network.py +23 -4
- pulumi_hcloud/get_networks.py +13 -4
- pulumi_hcloud/get_placement_group.py +22 -4
- pulumi_hcloud/get_placement_groups.py +15 -4
- pulumi_hcloud/get_primary_ip.py +26 -4
- pulumi_hcloud/get_primary_ips.py +13 -4
- pulumi_hcloud/get_server.py +38 -4
- pulumi_hcloud/get_server_type.py +26 -4
- pulumi_hcloud/get_server_types.py +15 -4
- pulumi_hcloud/get_servers.py +15 -4
- pulumi_hcloud/get_ssh_key.py +23 -4
- pulumi_hcloud/get_ssh_keys.py +14 -4
- pulumi_hcloud/get_volume.py +27 -4
- pulumi_hcloud/get_volumes.py +15 -4
- pulumi_hcloud/load_balancer.py +5 -0
- pulumi_hcloud/load_balancer_network.py +5 -0
- pulumi_hcloud/load_balancer_service.py +5 -0
- pulumi_hcloud/load_balancer_target.py +5 -0
- pulumi_hcloud/managed_certificate.py +5 -0
- pulumi_hcloud/network.py +5 -0
- pulumi_hcloud/network_route.py +5 -0
- pulumi_hcloud/network_subnet.py +5 -0
- pulumi_hcloud/outputs.py +5 -0
- pulumi_hcloud/placement_group.py +5 -0
- pulumi_hcloud/primary_ip.py +5 -0
- pulumi_hcloud/provider.py +5 -0
- pulumi_hcloud/pulumi-plugin.json +1 -1
- pulumi_hcloud/rdns.py +5 -0
- pulumi_hcloud/server.py +5 -0
- pulumi_hcloud/server_network.py +5 -0
- pulumi_hcloud/snapshot.py +5 -0
- pulumi_hcloud/ssh_key.py +5 -0
- pulumi_hcloud/uploaded_certificate.py +5 -0
- pulumi_hcloud/volume.py +5 -0
- pulumi_hcloud/volume_attachment.py +5 -0
- {pulumi_hcloud-1.21.0a1728106797.dist-info → pulumi_hcloud-1.21.0a1728637430.dist-info}/METADATA +3 -2
- pulumi_hcloud-1.21.0a1728637430.dist-info/RECORD +65 -0
- pulumi_hcloud-1.21.0a1728106797.dist-info/RECORD +0 -65
- {pulumi_hcloud-1.21.0a1728106797.dist-info → pulumi_hcloud-1.21.0a1728637430.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.21.0a1728106797.dist-info → pulumi_hcloud-1.21.0a1728637430.dist-info}/top_level.txt +0 -0
pulumi_hcloud/get_firewalls.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -105,9 +110,6 @@ def get_firewalls(most_recent: Optional[bool] = None,
|
|
|
105
110
|
id=pulumi.get(__ret__, 'id'),
|
|
106
111
|
most_recent=pulumi.get(__ret__, 'most_recent'),
|
|
107
112
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
@_utilities.lift_output_func(get_firewalls)
|
|
111
113
|
def get_firewalls_output(most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
112
114
|
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
|
113
115
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallsResult]:
|
|
@@ -127,4 +129,13 @@ def get_firewalls_output(most_recent: Optional[pulumi.Input[Optional[bool]]] = N
|
|
|
127
129
|
:param bool most_recent: Sorts list by date.
|
|
128
130
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
129
131
|
"""
|
|
130
|
-
|
|
132
|
+
__args__ = dict()
|
|
133
|
+
__args__['mostRecent'] = most_recent
|
|
134
|
+
__args__['withSelector'] = with_selector
|
|
135
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getFirewalls:getFirewalls', __args__, opts=opts, typ=GetFirewallsResult)
|
|
137
|
+
return __ret__.apply(lambda __response__: GetFirewallsResult(
|
|
138
|
+
firewalls=pulumi.get(__response__, 'firewalls'),
|
|
139
|
+
id=pulumi.get(__response__, 'id'),
|
|
140
|
+
most_recent=pulumi.get(__response__, 'most_recent'),
|
|
141
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
pulumi_hcloud/get_floating_ip.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -230,9 +235,6 @@ def get_floating_ip(id: Optional[int] = None,
|
|
|
230
235
|
server_id=pulumi.get(__ret__, 'server_id'),
|
|
231
236
|
type=pulumi.get(__ret__, 'type'),
|
|
232
237
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
@_utilities.lift_output_func(get_floating_ip)
|
|
236
238
|
def get_floating_ip_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
237
239
|
ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
238
240
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -270,4 +272,24 @@ def get_floating_ip_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
|
270
272
|
:param str name: Name of the Floating IP.
|
|
271
273
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
272
274
|
"""
|
|
273
|
-
|
|
275
|
+
__args__ = dict()
|
|
276
|
+
__args__['id'] = id
|
|
277
|
+
__args__['ipAddress'] = ip_address
|
|
278
|
+
__args__['name'] = name
|
|
279
|
+
__args__['selector'] = selector
|
|
280
|
+
__args__['withSelector'] = with_selector
|
|
281
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
282
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getFloatingIp:getFloatingIp', __args__, opts=opts, typ=GetFloatingIpResult)
|
|
283
|
+
return __ret__.apply(lambda __response__: GetFloatingIpResult(
|
|
284
|
+
delete_protection=pulumi.get(__response__, 'delete_protection'),
|
|
285
|
+
description=pulumi.get(__response__, 'description'),
|
|
286
|
+
home_location=pulumi.get(__response__, 'home_location'),
|
|
287
|
+
id=pulumi.get(__response__, 'id'),
|
|
288
|
+
ip_address=pulumi.get(__response__, 'ip_address'),
|
|
289
|
+
ip_network=pulumi.get(__response__, 'ip_network'),
|
|
290
|
+
labels=pulumi.get(__response__, 'labels'),
|
|
291
|
+
name=pulumi.get(__response__, 'name'),
|
|
292
|
+
selector=pulumi.get(__response__, 'selector'),
|
|
293
|
+
server_id=pulumi.get(__response__, 'server_id'),
|
|
294
|
+
type=pulumi.get(__response__, 'type'),
|
|
295
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -92,9 +97,6 @@ def get_floating_ips(with_selector: Optional[str] = None,
|
|
|
92
97
|
floating_ips=pulumi.get(__ret__, 'floating_ips'),
|
|
93
98
|
id=pulumi.get(__ret__, 'id'),
|
|
94
99
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
@_utilities.lift_output_func(get_floating_ips)
|
|
98
100
|
def get_floating_ips_output(with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
|
99
101
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFloatingIpsResult]:
|
|
100
102
|
"""
|
|
@@ -112,4 +114,11 @@ def get_floating_ips_output(with_selector: Optional[pulumi.Input[Optional[str]]]
|
|
|
112
114
|
|
|
113
115
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
114
116
|
"""
|
|
115
|
-
|
|
117
|
+
__args__ = dict()
|
|
118
|
+
__args__['withSelector'] = with_selector
|
|
119
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
120
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getFloatingIps:getFloatingIps', __args__, opts=opts, typ=GetFloatingIpsResult)
|
|
121
|
+
return __ret__.apply(lambda __response__: GetFloatingIpsResult(
|
|
122
|
+
floating_ips=pulumi.get(__response__, 'floating_ips'),
|
|
123
|
+
id=pulumi.get(__response__, 'id'),
|
|
124
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
pulumi_hcloud/get_image.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -278,9 +283,6 @@ def get_image(id: Optional[int] = None,
|
|
|
278
283
|
with_architecture=pulumi.get(__ret__, 'with_architecture'),
|
|
279
284
|
with_selector=pulumi.get(__ret__, 'with_selector'),
|
|
280
285
|
with_statuses=pulumi.get(__ret__, 'with_statuses'))
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
@_utilities.lift_output_func(get_image)
|
|
284
286
|
def get_image_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
285
287
|
include_deprecated: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
286
288
|
most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
@@ -313,4 +315,32 @@ def get_image_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
|
313
315
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
314
316
|
:param Sequence[str] with_statuses: Select only images with the specified status, could contain `creating` or `available`.
|
|
315
317
|
"""
|
|
316
|
-
|
|
318
|
+
__args__ = dict()
|
|
319
|
+
__args__['id'] = id
|
|
320
|
+
__args__['includeDeprecated'] = include_deprecated
|
|
321
|
+
__args__['mostRecent'] = most_recent
|
|
322
|
+
__args__['name'] = name
|
|
323
|
+
__args__['selector'] = selector
|
|
324
|
+
__args__['withArchitecture'] = with_architecture
|
|
325
|
+
__args__['withSelector'] = with_selector
|
|
326
|
+
__args__['withStatuses'] = with_statuses
|
|
327
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
328
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getImage:getImage', __args__, opts=opts, typ=GetImageResult)
|
|
329
|
+
return __ret__.apply(lambda __response__: GetImageResult(
|
|
330
|
+
architecture=pulumi.get(__response__, 'architecture'),
|
|
331
|
+
created=pulumi.get(__response__, 'created'),
|
|
332
|
+
deprecated=pulumi.get(__response__, 'deprecated'),
|
|
333
|
+
description=pulumi.get(__response__, 'description'),
|
|
334
|
+
id=pulumi.get(__response__, 'id'),
|
|
335
|
+
include_deprecated=pulumi.get(__response__, 'include_deprecated'),
|
|
336
|
+
labels=pulumi.get(__response__, 'labels'),
|
|
337
|
+
most_recent=pulumi.get(__response__, 'most_recent'),
|
|
338
|
+
name=pulumi.get(__response__, 'name'),
|
|
339
|
+
os_flavor=pulumi.get(__response__, 'os_flavor'),
|
|
340
|
+
os_version=pulumi.get(__response__, 'os_version'),
|
|
341
|
+
rapid_deploy=pulumi.get(__response__, 'rapid_deploy'),
|
|
342
|
+
selector=pulumi.get(__response__, 'selector'),
|
|
343
|
+
type=pulumi.get(__response__, 'type'),
|
|
344
|
+
with_architecture=pulumi.get(__response__, 'with_architecture'),
|
|
345
|
+
with_selector=pulumi.get(__response__, 'with_selector'),
|
|
346
|
+
with_statuses=pulumi.get(__response__, 'with_statuses')))
|
pulumi_hcloud/get_images.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -145,9 +150,6 @@ def get_images(include_deprecated: Optional[bool] = None,
|
|
|
145
150
|
with_architectures=pulumi.get(__ret__, 'with_architectures'),
|
|
146
151
|
with_selector=pulumi.get(__ret__, 'with_selector'),
|
|
147
152
|
with_statuses=pulumi.get(__ret__, 'with_statuses'))
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
@_utilities.lift_output_func(get_images)
|
|
151
153
|
def get_images_output(include_deprecated: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
152
154
|
most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
153
155
|
with_architectures: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
@@ -174,4 +176,19 @@ def get_images_output(include_deprecated: Optional[pulumi.Input[Optional[bool]]]
|
|
|
174
176
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
175
177
|
:param Sequence[str] with_statuses: List only images with the specified status, could contain `creating` or `available`.
|
|
176
178
|
"""
|
|
177
|
-
|
|
179
|
+
__args__ = dict()
|
|
180
|
+
__args__['includeDeprecated'] = include_deprecated
|
|
181
|
+
__args__['mostRecent'] = most_recent
|
|
182
|
+
__args__['withArchitectures'] = with_architectures
|
|
183
|
+
__args__['withSelector'] = with_selector
|
|
184
|
+
__args__['withStatuses'] = with_statuses
|
|
185
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
186
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getImages:getImages', __args__, opts=opts, typ=GetImagesResult)
|
|
187
|
+
return __ret__.apply(lambda __response__: GetImagesResult(
|
|
188
|
+
id=pulumi.get(__response__, 'id'),
|
|
189
|
+
images=pulumi.get(__response__, 'images'),
|
|
190
|
+
include_deprecated=pulumi.get(__response__, 'include_deprecated'),
|
|
191
|
+
most_recent=pulumi.get(__response__, 'most_recent'),
|
|
192
|
+
with_architectures=pulumi.get(__response__, 'with_architectures'),
|
|
193
|
+
with_selector=pulumi.get(__response__, 'with_selector'),
|
|
194
|
+
with_statuses=pulumi.get(__response__, 'with_statuses')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -253,9 +258,6 @@ def get_load_balancer(id: Optional[int] = None,
|
|
|
253
258
|
services=pulumi.get(__ret__, 'services'),
|
|
254
259
|
targets=pulumi.get(__ret__, 'targets'),
|
|
255
260
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
@_utilities.lift_output_func(get_load_balancer)
|
|
259
261
|
def get_load_balancer_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
260
262
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
261
263
|
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -279,4 +281,25 @@ def get_load_balancer_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
|
279
281
|
:param str name: Name of the Load Balancer.
|
|
280
282
|
:param str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
|
|
281
283
|
"""
|
|
282
|
-
|
|
284
|
+
__args__ = dict()
|
|
285
|
+
__args__['id'] = id
|
|
286
|
+
__args__['name'] = name
|
|
287
|
+
__args__['withSelector'] = with_selector
|
|
288
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
289
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getLoadBalancer:getLoadBalancer', __args__, opts=opts, typ=GetLoadBalancerResult)
|
|
290
|
+
return __ret__.apply(lambda __response__: GetLoadBalancerResult(
|
|
291
|
+
algorithms=pulumi.get(__response__, 'algorithms'),
|
|
292
|
+
delete_protection=pulumi.get(__response__, 'delete_protection'),
|
|
293
|
+
id=pulumi.get(__response__, 'id'),
|
|
294
|
+
ipv4=pulumi.get(__response__, 'ipv4'),
|
|
295
|
+
ipv6=pulumi.get(__response__, 'ipv6'),
|
|
296
|
+
labels=pulumi.get(__response__, 'labels'),
|
|
297
|
+
load_balancer_type=pulumi.get(__response__, 'load_balancer_type'),
|
|
298
|
+
location=pulumi.get(__response__, 'location'),
|
|
299
|
+
name=pulumi.get(__response__, 'name'),
|
|
300
|
+
network_id=pulumi.get(__response__, 'network_id'),
|
|
301
|
+
network_ip=pulumi.get(__response__, 'network_ip'),
|
|
302
|
+
network_zone=pulumi.get(__response__, 'network_zone'),
|
|
303
|
+
services=pulumi.get(__response__, 'services'),
|
|
304
|
+
targets=pulumi.get(__response__, 'targets'),
|
|
305
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -93,9 +98,6 @@ def get_load_balancers(with_selector: Optional[str] = None,
|
|
|
93
98
|
id=pulumi.get(__ret__, 'id'),
|
|
94
99
|
load_balancers=pulumi.get(__ret__, 'load_balancers'),
|
|
95
100
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
@_utilities.lift_output_func(get_load_balancers)
|
|
99
101
|
def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
|
100
102
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancersResult]:
|
|
101
103
|
"""
|
|
@@ -114,4 +116,11 @@ def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[str]
|
|
|
114
116
|
|
|
115
117
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
116
118
|
"""
|
|
117
|
-
|
|
119
|
+
__args__ = dict()
|
|
120
|
+
__args__['withSelector'] = with_selector
|
|
121
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getLoadBalancers:getLoadBalancers', __args__, opts=opts, typ=GetLoadBalancersResult)
|
|
123
|
+
return __ret__.apply(lambda __response__: GetLoadBalancersResult(
|
|
124
|
+
id=pulumi.get(__response__, 'id'),
|
|
125
|
+
load_balancers=pulumi.get(__response__, 'load_balancers'),
|
|
126
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
pulumi_hcloud/get_location.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -164,9 +169,6 @@ def get_location(id: Optional[int] = None,
|
|
|
164
169
|
longitude=pulumi.get(__ret__, 'longitude'),
|
|
165
170
|
name=pulumi.get(__ret__, 'name'),
|
|
166
171
|
network_zone=pulumi.get(__ret__, 'network_zone'))
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
@_utilities.lift_output_func(get_location)
|
|
170
172
|
def get_location_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
171
173
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
172
174
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationResult]:
|
|
@@ -188,4 +190,17 @@ def get_location_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
|
188
190
|
:param int id: ID of the location.
|
|
189
191
|
:param str name: Name of the location.
|
|
190
192
|
"""
|
|
191
|
-
|
|
193
|
+
__args__ = dict()
|
|
194
|
+
__args__['id'] = id
|
|
195
|
+
__args__['name'] = name
|
|
196
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
197
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getLocation:getLocation', __args__, opts=opts, typ=GetLocationResult)
|
|
198
|
+
return __ret__.apply(lambda __response__: GetLocationResult(
|
|
199
|
+
city=pulumi.get(__response__, 'city'),
|
|
200
|
+
country=pulumi.get(__response__, 'country'),
|
|
201
|
+
description=pulumi.get(__response__, 'description'),
|
|
202
|
+
id=pulumi.get(__response__, 'id'),
|
|
203
|
+
latitude=pulumi.get(__response__, 'latitude'),
|
|
204
|
+
longitude=pulumi.get(__response__, 'longitude'),
|
|
205
|
+
name=pulumi.get(__response__, 'name'),
|
|
206
|
+
network_zone=pulumi.get(__response__, 'network_zone')))
|
pulumi_hcloud/get_locations.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -121,9 +126,6 @@ def get_locations(descriptions: Optional[Sequence[str]] = None,
|
|
|
121
126
|
location_ids=pulumi.get(__ret__, 'location_ids'),
|
|
122
127
|
locations=pulumi.get(__ret__, 'locations'),
|
|
123
128
|
names=pulumi.get(__ret__, 'names'))
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
@_utilities.lift_output_func(get_locations)
|
|
127
129
|
def get_locations_output(descriptions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
128
130
|
id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
129
131
|
location_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
@@ -138,4 +140,16 @@ def get_locations_output(descriptions: Optional[pulumi.Input[Optional[Sequence[s
|
|
|
138
140
|
:param Sequence[str] location_ids: (list) List of unique location identifiers. **Deprecated**: Use `locations` attribute instead.
|
|
139
141
|
:param Sequence[str] names: (list) List of location names. **Deprecated**: Use `locations` attribute instead.
|
|
140
142
|
"""
|
|
141
|
-
|
|
143
|
+
__args__ = dict()
|
|
144
|
+
__args__['descriptions'] = descriptions
|
|
145
|
+
__args__['id'] = id
|
|
146
|
+
__args__['locationIds'] = location_ids
|
|
147
|
+
__args__['names'] = names
|
|
148
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
149
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getLocations:getLocations', __args__, opts=opts, typ=GetLocationsResult)
|
|
150
|
+
return __ret__.apply(lambda __response__: GetLocationsResult(
|
|
151
|
+
descriptions=pulumi.get(__response__, 'descriptions'),
|
|
152
|
+
id=pulumi.get(__response__, 'id'),
|
|
153
|
+
location_ids=pulumi.get(__response__, 'location_ids'),
|
|
154
|
+
locations=pulumi.get(__response__, 'locations'),
|
|
155
|
+
names=pulumi.get(__response__, 'names')))
|
pulumi_hcloud/get_network.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -164,9 +169,6 @@ def get_network(id: Optional[int] = None,
|
|
|
164
169
|
most_recent=pulumi.get(__ret__, 'most_recent'),
|
|
165
170
|
name=pulumi.get(__ret__, 'name'),
|
|
166
171
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
@_utilities.lift_output_func(get_network)
|
|
170
172
|
def get_network_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
171
173
|
ip_range: Optional[pulumi.Input[Optional[str]]] = None,
|
|
172
174
|
labels: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
@@ -192,4 +194,21 @@ def get_network_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
|
192
194
|
:param str name: Name of the Network.
|
|
193
195
|
:param str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
|
|
194
196
|
"""
|
|
195
|
-
|
|
197
|
+
__args__ = dict()
|
|
198
|
+
__args__['id'] = id
|
|
199
|
+
__args__['ipRange'] = ip_range
|
|
200
|
+
__args__['labels'] = labels
|
|
201
|
+
__args__['mostRecent'] = most_recent
|
|
202
|
+
__args__['name'] = name
|
|
203
|
+
__args__['withSelector'] = with_selector
|
|
204
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
205
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getNetwork:getNetwork', __args__, opts=opts, typ=GetNetworkResult)
|
|
206
|
+
return __ret__.apply(lambda __response__: GetNetworkResult(
|
|
207
|
+
delete_protection=pulumi.get(__response__, 'delete_protection'),
|
|
208
|
+
expose_routes_to_vswitch=pulumi.get(__response__, 'expose_routes_to_vswitch'),
|
|
209
|
+
id=pulumi.get(__response__, 'id'),
|
|
210
|
+
ip_range=pulumi.get(__response__, 'ip_range'),
|
|
211
|
+
labels=pulumi.get(__response__, 'labels'),
|
|
212
|
+
most_recent=pulumi.get(__response__, 'most_recent'),
|
|
213
|
+
name=pulumi.get(__response__, 'name'),
|
|
214
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
pulumi_hcloud/get_networks.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -93,9 +98,6 @@ def get_networks(with_selector: Optional[str] = None,
|
|
|
93
98
|
id=pulumi.get(__ret__, 'id'),
|
|
94
99
|
networks=pulumi.get(__ret__, 'networks'),
|
|
95
100
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
@_utilities.lift_output_func(get_networks)
|
|
99
101
|
def get_networks_output(with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
|
100
102
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworksResult]:
|
|
101
103
|
"""
|
|
@@ -114,4 +116,11 @@ def get_networks_output(with_selector: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
114
116
|
|
|
115
117
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
116
118
|
"""
|
|
117
|
-
|
|
119
|
+
__args__ = dict()
|
|
120
|
+
__args__['withSelector'] = with_selector
|
|
121
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getNetworks:getNetworks', __args__, opts=opts, typ=GetNetworksResult)
|
|
123
|
+
return __ret__.apply(lambda __response__: GetNetworksResult(
|
|
124
|
+
id=pulumi.get(__response__, 'id'),
|
|
125
|
+
networks=pulumi.get(__response__, 'networks'),
|
|
126
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -151,9 +156,6 @@ def get_placement_group(id: Optional[int] = None,
|
|
|
151
156
|
servers=pulumi.get(__ret__, 'servers'),
|
|
152
157
|
type=pulumi.get(__ret__, 'type'),
|
|
153
158
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
@_utilities.lift_output_func(get_placement_group)
|
|
157
159
|
def get_placement_group_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
158
160
|
labels: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
159
161
|
most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
@@ -180,4 +182,20 @@ def get_placement_group_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
|
180
182
|
:param str type: (string) Type of the Placement Group.
|
|
181
183
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
182
184
|
"""
|
|
183
|
-
|
|
185
|
+
__args__ = dict()
|
|
186
|
+
__args__['id'] = id
|
|
187
|
+
__args__['labels'] = labels
|
|
188
|
+
__args__['mostRecent'] = most_recent
|
|
189
|
+
__args__['name'] = name
|
|
190
|
+
__args__['type'] = type
|
|
191
|
+
__args__['withSelector'] = with_selector
|
|
192
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getPlacementGroup:getPlacementGroup', __args__, opts=opts, typ=GetPlacementGroupResult)
|
|
194
|
+
return __ret__.apply(lambda __response__: GetPlacementGroupResult(
|
|
195
|
+
id=pulumi.get(__response__, 'id'),
|
|
196
|
+
labels=pulumi.get(__response__, 'labels'),
|
|
197
|
+
most_recent=pulumi.get(__response__, 'most_recent'),
|
|
198
|
+
name=pulumi.get(__response__, 'name'),
|
|
199
|
+
servers=pulumi.get(__response__, 'servers'),
|
|
200
|
+
type=pulumi.get(__response__, 'type'),
|
|
201
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -106,9 +111,6 @@ def get_placement_groups(most_recent: Optional[bool] = None,
|
|
|
106
111
|
most_recent=pulumi.get(__ret__, 'most_recent'),
|
|
107
112
|
placement_groups=pulumi.get(__ret__, 'placement_groups'),
|
|
108
113
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
@_utilities.lift_output_func(get_placement_groups)
|
|
112
114
|
def get_placement_groups_output(most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
113
115
|
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
|
114
116
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlacementGroupsResult]:
|
|
@@ -129,4 +131,13 @@ def get_placement_groups_output(most_recent: Optional[pulumi.Input[Optional[bool
|
|
|
129
131
|
:param bool most_recent: Sorts list by date.
|
|
130
132
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
131
133
|
"""
|
|
132
|
-
|
|
134
|
+
__args__ = dict()
|
|
135
|
+
__args__['mostRecent'] = most_recent
|
|
136
|
+
__args__['withSelector'] = with_selector
|
|
137
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
138
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getPlacementGroups:getPlacementGroups', __args__, opts=opts, typ=GetPlacementGroupsResult)
|
|
139
|
+
return __ret__.apply(lambda __response__: GetPlacementGroupsResult(
|
|
140
|
+
id=pulumi.get(__response__, 'id'),
|
|
141
|
+
most_recent=pulumi.get(__response__, 'most_recent'),
|
|
142
|
+
placement_groups=pulumi.get(__response__, 'placement_groups'),
|
|
143
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|
pulumi_hcloud/get_primary_ip.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -248,9 +253,6 @@ def get_primary_ip(assignee_id: Optional[int] = None,
|
|
|
248
253
|
name=pulumi.get(__ret__, 'name'),
|
|
249
254
|
type=pulumi.get(__ret__, 'type'),
|
|
250
255
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
@_utilities.lift_output_func(get_primary_ip)
|
|
254
256
|
def get_primary_ip_output(assignee_id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
255
257
|
id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
256
258
|
ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -304,4 +306,24 @@ def get_primary_ip_output(assignee_id: Optional[pulumi.Input[Optional[int]]] = N
|
|
|
304
306
|
:param str name: Name of the Primary IP.
|
|
305
307
|
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
|
306
308
|
"""
|
|
307
|
-
|
|
309
|
+
__args__ = dict()
|
|
310
|
+
__args__['assigneeId'] = assignee_id
|
|
311
|
+
__args__['id'] = id
|
|
312
|
+
__args__['ipAddress'] = ip_address
|
|
313
|
+
__args__['name'] = name
|
|
314
|
+
__args__['withSelector'] = with_selector
|
|
315
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
316
|
+
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getPrimaryIp:getPrimaryIp', __args__, opts=opts, typ=GetPrimaryIpResult)
|
|
317
|
+
return __ret__.apply(lambda __response__: GetPrimaryIpResult(
|
|
318
|
+
assignee_id=pulumi.get(__response__, 'assignee_id'),
|
|
319
|
+
assignee_type=pulumi.get(__response__, 'assignee_type'),
|
|
320
|
+
auto_delete=pulumi.get(__response__, 'auto_delete'),
|
|
321
|
+
datacenter=pulumi.get(__response__, 'datacenter'),
|
|
322
|
+
delete_protection=pulumi.get(__response__, 'delete_protection'),
|
|
323
|
+
id=pulumi.get(__response__, 'id'),
|
|
324
|
+
ip_address=pulumi.get(__response__, 'ip_address'),
|
|
325
|
+
ip_network=pulumi.get(__response__, 'ip_network'),
|
|
326
|
+
labels=pulumi.get(__response__, 'labels'),
|
|
327
|
+
name=pulumi.get(__response__, 'name'),
|
|
328
|
+
type=pulumi.get(__response__, 'type'),
|
|
329
|
+
with_selector=pulumi.get(__response__, 'with_selector')))
|