pulumi-hcloud 1.23.0a1743573250__py3-none-any.whl → 1.23.0a1744264383__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.0a1744264383.dist-info}/METADATA +1 -1
- pulumi_hcloud-1.23.0a1744264383.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.0a1744264383.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744264383.dist-info}/top_level.txt +0 -0
pulumi_hcloud/load_balancer.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
|
@@ -21,23 +22,23 @@ __all__ = ['LoadBalancerArgs', 'LoadBalancer']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class LoadBalancerArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
load_balancer_type: pulumi.Input[str],
|
25
|
+
load_balancer_type: pulumi.Input[builtins.str],
|
25
26
|
algorithm: Optional[pulumi.Input['LoadBalancerAlgorithmArgs']] = None,
|
26
|
-
delete_protection: Optional[pulumi.Input[bool]] = None,
|
27
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
-
location: Optional[pulumi.Input[str]] = None,
|
29
|
-
name: Optional[pulumi.Input[str]] = None,
|
30
|
-
network_zone: Optional[pulumi.Input[str]] = None,
|
27
|
+
delete_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
28
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
29
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
31
|
+
network_zone: Optional[pulumi.Input[builtins.str]] = None,
|
31
32
|
targets: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerTargetArgs']]]] = None):
|
32
33
|
"""
|
33
34
|
The set of arguments for constructing a LoadBalancer resource.
|
34
|
-
:param pulumi.Input[str] load_balancer_type: Type of the Load Balancer.
|
35
|
+
:param pulumi.Input[builtins.str] load_balancer_type: Type of the Load Balancer.
|
35
36
|
:param pulumi.Input['LoadBalancerAlgorithmArgs'] algorithm: Configuration of the algorithm the Load Balancer use.
|
36
|
-
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
37
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
38
|
-
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
39
|
-
:param pulumi.Input[str] name: Name of the Load Balancer.
|
40
|
-
:param pulumi.Input[str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
37
|
+
:param pulumi.Input[builtins.bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined labels (key-value pairs) should be created with.
|
39
|
+
:param pulumi.Input[builtins.str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
40
|
+
:param pulumi.Input[builtins.str] name: Name of the Load Balancer.
|
41
|
+
:param pulumi.Input[builtins.str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
41
42
|
"""
|
42
43
|
pulumi.set(__self__, "load_balancer_type", load_balancer_type)
|
43
44
|
if algorithm is not None:
|
@@ -60,14 +61,14 @@ class LoadBalancerArgs:
|
|
60
61
|
|
61
62
|
@property
|
62
63
|
@pulumi.getter(name="loadBalancerType")
|
63
|
-
def load_balancer_type(self) -> pulumi.Input[str]:
|
64
|
+
def load_balancer_type(self) -> pulumi.Input[builtins.str]:
|
64
65
|
"""
|
65
66
|
Type of the Load Balancer.
|
66
67
|
"""
|
67
68
|
return pulumi.get(self, "load_balancer_type")
|
68
69
|
|
69
70
|
@load_balancer_type.setter
|
70
|
-
def load_balancer_type(self, value: pulumi.Input[str]):
|
71
|
+
def load_balancer_type(self, value: pulumi.Input[builtins.str]):
|
71
72
|
pulumi.set(self, "load_balancer_type", value)
|
72
73
|
|
73
74
|
@property
|
@@ -84,62 +85,62 @@ class LoadBalancerArgs:
|
|
84
85
|
|
85
86
|
@property
|
86
87
|
@pulumi.getter(name="deleteProtection")
|
87
|
-
def delete_protection(self) -> Optional[pulumi.Input[bool]]:
|
88
|
+
def delete_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
88
89
|
"""
|
89
90
|
Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
90
91
|
"""
|
91
92
|
return pulumi.get(self, "delete_protection")
|
92
93
|
|
93
94
|
@delete_protection.setter
|
94
|
-
def delete_protection(self, value: Optional[pulumi.Input[bool]]):
|
95
|
+
def delete_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
95
96
|
pulumi.set(self, "delete_protection", value)
|
96
97
|
|
97
98
|
@property
|
98
99
|
@pulumi.getter
|
99
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
100
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
100
101
|
"""
|
101
102
|
User-defined labels (key-value pairs) should be created with.
|
102
103
|
"""
|
103
104
|
return pulumi.get(self, "labels")
|
104
105
|
|
105
106
|
@labels.setter
|
106
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
107
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
107
108
|
pulumi.set(self, "labels", value)
|
108
109
|
|
109
110
|
@property
|
110
111
|
@pulumi.getter
|
111
|
-
def location(self) -> Optional[pulumi.Input[str]]:
|
112
|
+
def location(self) -> Optional[pulumi.Input[builtins.str]]:
|
112
113
|
"""
|
113
114
|
The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
114
115
|
"""
|
115
116
|
return pulumi.get(self, "location")
|
116
117
|
|
117
118
|
@location.setter
|
118
|
-
def location(self, value: Optional[pulumi.Input[str]]):
|
119
|
+
def location(self, value: Optional[pulumi.Input[builtins.str]]):
|
119
120
|
pulumi.set(self, "location", 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 Load Balancer.
|
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="networkZone")
|
135
|
-
def network_zone(self) -> Optional[pulumi.Input[str]]:
|
136
|
+
def network_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
136
137
|
"""
|
137
138
|
The Network Zone of the Load Balancer. Require when no location is set.
|
138
139
|
"""
|
139
140
|
return pulumi.get(self, "network_zone")
|
140
141
|
|
141
142
|
@network_zone.setter
|
142
|
-
def network_zone(self, value: Optional[pulumi.Input[str]]):
|
143
|
+
def network_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
143
144
|
pulumi.set(self, "network_zone", value)
|
144
145
|
|
145
146
|
@property
|
@@ -157,30 +158,30 @@ class LoadBalancerArgs:
|
|
157
158
|
class _LoadBalancerState:
|
158
159
|
def __init__(__self__, *,
|
159
160
|
algorithm: Optional[pulumi.Input['LoadBalancerAlgorithmArgs']] = None,
|
160
|
-
delete_protection: Optional[pulumi.Input[bool]] = None,
|
161
|
-
ipv4: Optional[pulumi.Input[str]] = None,
|
162
|
-
ipv6: Optional[pulumi.Input[str]] = None,
|
163
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
164
|
-
load_balancer_type: Optional[pulumi.Input[str]] = None,
|
165
|
-
location: Optional[pulumi.Input[str]] = None,
|
166
|
-
name: Optional[pulumi.Input[str]] = None,
|
167
|
-
network_id: Optional[pulumi.Input[int]] = None,
|
168
|
-
network_ip: Optional[pulumi.Input[str]] = None,
|
169
|
-
network_zone: Optional[pulumi.Input[str]] = None,
|
161
|
+
delete_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
162
|
+
ipv4: Optional[pulumi.Input[builtins.str]] = None,
|
163
|
+
ipv6: Optional[pulumi.Input[builtins.str]] = None,
|
164
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
165
|
+
load_balancer_type: Optional[pulumi.Input[builtins.str]] = None,
|
166
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
167
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
168
|
+
network_id: Optional[pulumi.Input[builtins.int]] = None,
|
169
|
+
network_ip: Optional[pulumi.Input[builtins.str]] = None,
|
170
|
+
network_zone: Optional[pulumi.Input[builtins.str]] = None,
|
170
171
|
targets: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerTargetArgs']]]] = None):
|
171
172
|
"""
|
172
173
|
Input properties used for looking up and filtering LoadBalancer resources.
|
173
174
|
:param pulumi.Input['LoadBalancerAlgorithmArgs'] algorithm: Configuration of the algorithm the Load Balancer use.
|
174
|
-
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
175
|
-
:param pulumi.Input[str] ipv4: (string) IPv4 Address of the Load Balancer.
|
176
|
-
:param pulumi.Input[str] ipv6: (string) IPv6 Address of the Load Balancer.
|
177
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
178
|
-
:param pulumi.Input[str] load_balancer_type: Type of the Load Balancer.
|
179
|
-
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
180
|
-
:param pulumi.Input[str] name: Name of the Load Balancer.
|
181
|
-
:param pulumi.Input[int] network_id: (int) ID of the first private network that this Load Balancer is connected to.
|
182
|
-
:param pulumi.Input[str] network_ip: (string) IP of the Load Balancer in the first private network that it is connected to.
|
183
|
-
:param pulumi.Input[str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
175
|
+
:param pulumi.Input[builtins.bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
176
|
+
:param pulumi.Input[builtins.str] ipv4: (string) IPv4 Address of the Load Balancer.
|
177
|
+
:param pulumi.Input[builtins.str] ipv6: (string) IPv6 Address of the Load Balancer.
|
178
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined labels (key-value pairs) should be created with.
|
179
|
+
:param pulumi.Input[builtins.str] load_balancer_type: Type of the Load Balancer.
|
180
|
+
:param pulumi.Input[builtins.str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
181
|
+
:param pulumi.Input[builtins.str] name: Name of the Load Balancer.
|
182
|
+
:param pulumi.Input[builtins.int] network_id: (int) ID of the first private network that this Load Balancer is connected to.
|
183
|
+
:param pulumi.Input[builtins.str] network_ip: (string) IP of the Load Balancer in the first private network that it is connected to.
|
184
|
+
:param pulumi.Input[builtins.str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
184
185
|
"""
|
185
186
|
if algorithm is not None:
|
186
187
|
pulumi.set(__self__, "algorithm", algorithm)
|
@@ -224,122 +225,122 @@ class _LoadBalancerState:
|
|
224
225
|
|
225
226
|
@property
|
226
227
|
@pulumi.getter(name="deleteProtection")
|
227
|
-
def delete_protection(self) -> Optional[pulumi.Input[bool]]:
|
228
|
+
def delete_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
228
229
|
"""
|
229
230
|
Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
230
231
|
"""
|
231
232
|
return pulumi.get(self, "delete_protection")
|
232
233
|
|
233
234
|
@delete_protection.setter
|
234
|
-
def delete_protection(self, value: Optional[pulumi.Input[bool]]):
|
235
|
+
def delete_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
235
236
|
pulumi.set(self, "delete_protection", value)
|
236
237
|
|
237
238
|
@property
|
238
239
|
@pulumi.getter
|
239
|
-
def ipv4(self) -> Optional[pulumi.Input[str]]:
|
240
|
+
def ipv4(self) -> Optional[pulumi.Input[builtins.str]]:
|
240
241
|
"""
|
241
242
|
(string) IPv4 Address of the Load Balancer.
|
242
243
|
"""
|
243
244
|
return pulumi.get(self, "ipv4")
|
244
245
|
|
245
246
|
@ipv4.setter
|
246
|
-
def ipv4(self, value: Optional[pulumi.Input[str]]):
|
247
|
+
def ipv4(self, value: Optional[pulumi.Input[builtins.str]]):
|
247
248
|
pulumi.set(self, "ipv4", value)
|
248
249
|
|
249
250
|
@property
|
250
251
|
@pulumi.getter
|
251
|
-
def ipv6(self) -> Optional[pulumi.Input[str]]:
|
252
|
+
def ipv6(self) -> Optional[pulumi.Input[builtins.str]]:
|
252
253
|
"""
|
253
254
|
(string) IPv6 Address of the Load Balancer.
|
254
255
|
"""
|
255
256
|
return pulumi.get(self, "ipv6")
|
256
257
|
|
257
258
|
@ipv6.setter
|
258
|
-
def ipv6(self, value: Optional[pulumi.Input[str]]):
|
259
|
+
def ipv6(self, value: Optional[pulumi.Input[builtins.str]]):
|
259
260
|
pulumi.set(self, "ipv6", value)
|
260
261
|
|
261
262
|
@property
|
262
263
|
@pulumi.getter
|
263
|
-
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
264
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
264
265
|
"""
|
265
266
|
User-defined labels (key-value pairs) should be created with.
|
266
267
|
"""
|
267
268
|
return pulumi.get(self, "labels")
|
268
269
|
|
269
270
|
@labels.setter
|
270
|
-
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
271
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
271
272
|
pulumi.set(self, "labels", value)
|
272
273
|
|
273
274
|
@property
|
274
275
|
@pulumi.getter(name="loadBalancerType")
|
275
|
-
def load_balancer_type(self) -> Optional[pulumi.Input[str]]:
|
276
|
+
def load_balancer_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
276
277
|
"""
|
277
278
|
Type of the Load Balancer.
|
278
279
|
"""
|
279
280
|
return pulumi.get(self, "load_balancer_type")
|
280
281
|
|
281
282
|
@load_balancer_type.setter
|
282
|
-
def load_balancer_type(self, value: Optional[pulumi.Input[str]]):
|
283
|
+
def load_balancer_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
283
284
|
pulumi.set(self, "load_balancer_type", value)
|
284
285
|
|
285
286
|
@property
|
286
287
|
@pulumi.getter
|
287
|
-
def location(self) -> Optional[pulumi.Input[str]]:
|
288
|
+
def location(self) -> Optional[pulumi.Input[builtins.str]]:
|
288
289
|
"""
|
289
290
|
The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
290
291
|
"""
|
291
292
|
return pulumi.get(self, "location")
|
292
293
|
|
293
294
|
@location.setter
|
294
|
-
def location(self, value: Optional[pulumi.Input[str]]):
|
295
|
+
def location(self, value: Optional[pulumi.Input[builtins.str]]):
|
295
296
|
pulumi.set(self, "location", value)
|
296
297
|
|
297
298
|
@property
|
298
299
|
@pulumi.getter
|
299
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
300
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
300
301
|
"""
|
301
302
|
Name of the Load Balancer.
|
302
303
|
"""
|
303
304
|
return pulumi.get(self, "name")
|
304
305
|
|
305
306
|
@name.setter
|
306
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
307
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
307
308
|
pulumi.set(self, "name", value)
|
308
309
|
|
309
310
|
@property
|
310
311
|
@pulumi.getter(name="networkId")
|
311
|
-
def network_id(self) -> Optional[pulumi.Input[int]]:
|
312
|
+
def network_id(self) -> Optional[pulumi.Input[builtins.int]]:
|
312
313
|
"""
|
313
314
|
(int) ID of the first private network that this Load Balancer is connected to.
|
314
315
|
"""
|
315
316
|
return pulumi.get(self, "network_id")
|
316
317
|
|
317
318
|
@network_id.setter
|
318
|
-
def network_id(self, value: Optional[pulumi.Input[int]]):
|
319
|
+
def network_id(self, value: Optional[pulumi.Input[builtins.int]]):
|
319
320
|
pulumi.set(self, "network_id", value)
|
320
321
|
|
321
322
|
@property
|
322
323
|
@pulumi.getter(name="networkIp")
|
323
|
-
def network_ip(self) -> Optional[pulumi.Input[str]]:
|
324
|
+
def network_ip(self) -> Optional[pulumi.Input[builtins.str]]:
|
324
325
|
"""
|
325
326
|
(string) IP of the Load Balancer in the first private network that it is connected to.
|
326
327
|
"""
|
327
328
|
return pulumi.get(self, "network_ip")
|
328
329
|
|
329
330
|
@network_ip.setter
|
330
|
-
def network_ip(self, value: Optional[pulumi.Input[str]]):
|
331
|
+
def network_ip(self, value: Optional[pulumi.Input[builtins.str]]):
|
331
332
|
pulumi.set(self, "network_ip", value)
|
332
333
|
|
333
334
|
@property
|
334
335
|
@pulumi.getter(name="networkZone")
|
335
|
-
def network_zone(self) -> Optional[pulumi.Input[str]]:
|
336
|
+
def network_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
336
337
|
"""
|
337
338
|
The Network Zone of the Load Balancer. Require when no location is set.
|
338
339
|
"""
|
339
340
|
return pulumi.get(self, "network_zone")
|
340
341
|
|
341
342
|
@network_zone.setter
|
342
|
-
def network_zone(self, value: Optional[pulumi.Input[str]]):
|
343
|
+
def network_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
343
344
|
pulumi.set(self, "network_zone", value)
|
344
345
|
|
345
346
|
@property
|
@@ -359,12 +360,12 @@ class LoadBalancer(pulumi.CustomResource):
|
|
359
360
|
resource_name: str,
|
360
361
|
opts: Optional[pulumi.ResourceOptions] = None,
|
361
362
|
algorithm: Optional[pulumi.Input[Union['LoadBalancerAlgorithmArgs', 'LoadBalancerAlgorithmArgsDict']]] = None,
|
362
|
-
delete_protection: Optional[pulumi.Input[bool]] = None,
|
363
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
364
|
-
load_balancer_type: Optional[pulumi.Input[str]] = None,
|
365
|
-
location: Optional[pulumi.Input[str]] = None,
|
366
|
-
name: Optional[pulumi.Input[str]] = None,
|
367
|
-
network_zone: Optional[pulumi.Input[str]] = None,
|
363
|
+
delete_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
364
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
365
|
+
load_balancer_type: Optional[pulumi.Input[builtins.str]] = None,
|
366
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
367
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
368
|
+
network_zone: Optional[pulumi.Input[builtins.str]] = None,
|
368
369
|
targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerTargetArgs', 'LoadBalancerTargetArgsDict']]]]] = None,
|
369
370
|
__props__=None):
|
370
371
|
"""
|
@@ -401,12 +402,12 @@ class LoadBalancer(pulumi.CustomResource):
|
|
401
402
|
:param str resource_name: The name of the resource.
|
402
403
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
403
404
|
:param pulumi.Input[Union['LoadBalancerAlgorithmArgs', 'LoadBalancerAlgorithmArgsDict']] algorithm: Configuration of the algorithm the Load Balancer use.
|
404
|
-
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
405
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
406
|
-
:param pulumi.Input[str] load_balancer_type: Type of the Load Balancer.
|
407
|
-
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
408
|
-
:param pulumi.Input[str] name: Name of the Load Balancer.
|
409
|
-
:param pulumi.Input[str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
405
|
+
:param pulumi.Input[builtins.bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
406
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined labels (key-value pairs) should be created with.
|
407
|
+
:param pulumi.Input[builtins.str] load_balancer_type: Type of the Load Balancer.
|
408
|
+
:param pulumi.Input[builtins.str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
409
|
+
:param pulumi.Input[builtins.str] name: Name of the Load Balancer.
|
410
|
+
:param pulumi.Input[builtins.str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
410
411
|
"""
|
411
412
|
...
|
412
413
|
@overload
|
@@ -461,12 +462,12 @@ class LoadBalancer(pulumi.CustomResource):
|
|
461
462
|
resource_name: str,
|
462
463
|
opts: Optional[pulumi.ResourceOptions] = None,
|
463
464
|
algorithm: Optional[pulumi.Input[Union['LoadBalancerAlgorithmArgs', 'LoadBalancerAlgorithmArgsDict']]] = None,
|
464
|
-
delete_protection: Optional[pulumi.Input[bool]] = None,
|
465
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
466
|
-
load_balancer_type: Optional[pulumi.Input[str]] = None,
|
467
|
-
location: Optional[pulumi.Input[str]] = None,
|
468
|
-
name: Optional[pulumi.Input[str]] = None,
|
469
|
-
network_zone: Optional[pulumi.Input[str]] = None,
|
465
|
+
delete_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
466
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
467
|
+
load_balancer_type: Optional[pulumi.Input[builtins.str]] = None,
|
468
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
469
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
470
|
+
network_zone: Optional[pulumi.Input[builtins.str]] = None,
|
470
471
|
targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerTargetArgs', 'LoadBalancerTargetArgsDict']]]]] = None,
|
471
472
|
__props__=None):
|
472
473
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -502,16 +503,16 @@ class LoadBalancer(pulumi.CustomResource):
|
|
502
503
|
id: pulumi.Input[str],
|
503
504
|
opts: Optional[pulumi.ResourceOptions] = None,
|
504
505
|
algorithm: Optional[pulumi.Input[Union['LoadBalancerAlgorithmArgs', 'LoadBalancerAlgorithmArgsDict']]] = None,
|
505
|
-
delete_protection: Optional[pulumi.Input[bool]] = None,
|
506
|
-
ipv4: Optional[pulumi.Input[str]] = None,
|
507
|
-
ipv6: Optional[pulumi.Input[str]] = None,
|
508
|
-
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
509
|
-
load_balancer_type: Optional[pulumi.Input[str]] = None,
|
510
|
-
location: Optional[pulumi.Input[str]] = None,
|
511
|
-
name: Optional[pulumi.Input[str]] = None,
|
512
|
-
network_id: Optional[pulumi.Input[int]] = None,
|
513
|
-
network_ip: Optional[pulumi.Input[str]] = None,
|
514
|
-
network_zone: Optional[pulumi.Input[str]] = None,
|
506
|
+
delete_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
507
|
+
ipv4: Optional[pulumi.Input[builtins.str]] = None,
|
508
|
+
ipv6: Optional[pulumi.Input[builtins.str]] = None,
|
509
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
510
|
+
load_balancer_type: Optional[pulumi.Input[builtins.str]] = None,
|
511
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
512
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
513
|
+
network_id: Optional[pulumi.Input[builtins.int]] = None,
|
514
|
+
network_ip: Optional[pulumi.Input[builtins.str]] = None,
|
515
|
+
network_zone: Optional[pulumi.Input[builtins.str]] = None,
|
515
516
|
targets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerTargetArgs', 'LoadBalancerTargetArgsDict']]]]] = None) -> 'LoadBalancer':
|
516
517
|
"""
|
517
518
|
Get an existing LoadBalancer resource's state with the given name, id, and optional extra
|
@@ -521,16 +522,16 @@ class LoadBalancer(pulumi.CustomResource):
|
|
521
522
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
522
523
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
523
524
|
:param pulumi.Input[Union['LoadBalancerAlgorithmArgs', 'LoadBalancerAlgorithmArgsDict']] algorithm: Configuration of the algorithm the Load Balancer use.
|
524
|
-
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
525
|
-
:param pulumi.Input[str] ipv4: (string) IPv4 Address of the Load Balancer.
|
526
|
-
:param pulumi.Input[str] ipv6: (string) IPv6 Address of the Load Balancer.
|
527
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
528
|
-
:param pulumi.Input[str] load_balancer_type: Type of the Load Balancer.
|
529
|
-
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
530
|
-
:param pulumi.Input[str] name: Name of the Load Balancer.
|
531
|
-
:param pulumi.Input[int] network_id: (int) ID of the first private network that this Load Balancer is connected to.
|
532
|
-
:param pulumi.Input[str] network_ip: (string) IP of the Load Balancer in the first private network that it is connected to.
|
533
|
-
:param pulumi.Input[str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
525
|
+
:param pulumi.Input[builtins.bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
526
|
+
:param pulumi.Input[builtins.str] ipv4: (string) IPv4 Address of the Load Balancer.
|
527
|
+
:param pulumi.Input[builtins.str] ipv6: (string) IPv6 Address of the Load Balancer.
|
528
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined labels (key-value pairs) should be created with.
|
529
|
+
:param pulumi.Input[builtins.str] load_balancer_type: Type of the Load Balancer.
|
530
|
+
:param pulumi.Input[builtins.str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
531
|
+
:param pulumi.Input[builtins.str] name: Name of the Load Balancer.
|
532
|
+
:param pulumi.Input[builtins.int] network_id: (int) ID of the first private network that this Load Balancer is connected to.
|
533
|
+
:param pulumi.Input[builtins.str] network_ip: (string) IP of the Load Balancer in the first private network that it is connected to.
|
534
|
+
:param pulumi.Input[builtins.str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
534
535
|
"""
|
535
536
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
536
537
|
|
@@ -560,7 +561,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
560
561
|
|
561
562
|
@property
|
562
563
|
@pulumi.getter(name="deleteProtection")
|
563
|
-
def delete_protection(self) -> pulumi.Output[Optional[bool]]:
|
564
|
+
def delete_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
564
565
|
"""
|
565
566
|
Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
566
567
|
"""
|
@@ -568,7 +569,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
568
569
|
|
569
570
|
@property
|
570
571
|
@pulumi.getter
|
571
|
-
def ipv4(self) -> pulumi.Output[str]:
|
572
|
+
def ipv4(self) -> pulumi.Output[builtins.str]:
|
572
573
|
"""
|
573
574
|
(string) IPv4 Address of the Load Balancer.
|
574
575
|
"""
|
@@ -576,7 +577,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
576
577
|
|
577
578
|
@property
|
578
579
|
@pulumi.getter
|
579
|
-
def ipv6(self) -> pulumi.Output[str]:
|
580
|
+
def ipv6(self) -> pulumi.Output[builtins.str]:
|
580
581
|
"""
|
581
582
|
(string) IPv6 Address of the Load Balancer.
|
582
583
|
"""
|
@@ -584,7 +585,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
584
585
|
|
585
586
|
@property
|
586
587
|
@pulumi.getter
|
587
|
-
def labels(self) -> pulumi.Output[Mapping[str, str]]:
|
588
|
+
def labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
588
589
|
"""
|
589
590
|
User-defined labels (key-value pairs) should be created with.
|
590
591
|
"""
|
@@ -592,7 +593,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
592
593
|
|
593
594
|
@property
|
594
595
|
@pulumi.getter(name="loadBalancerType")
|
595
|
-
def load_balancer_type(self) -> pulumi.Output[str]:
|
596
|
+
def load_balancer_type(self) -> pulumi.Output[builtins.str]:
|
596
597
|
"""
|
597
598
|
Type of the Load Balancer.
|
598
599
|
"""
|
@@ -600,7 +601,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
600
601
|
|
601
602
|
@property
|
602
603
|
@pulumi.getter
|
603
|
-
def location(self) -> pulumi.Output[str]:
|
604
|
+
def location(self) -> pulumi.Output[builtins.str]:
|
604
605
|
"""
|
605
606
|
The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
606
607
|
"""
|
@@ -608,7 +609,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
608
609
|
|
609
610
|
@property
|
610
611
|
@pulumi.getter
|
611
|
-
def name(self) -> pulumi.Output[str]:
|
612
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
612
613
|
"""
|
613
614
|
Name of the Load Balancer.
|
614
615
|
"""
|
@@ -616,7 +617,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
616
617
|
|
617
618
|
@property
|
618
619
|
@pulumi.getter(name="networkId")
|
619
|
-
def network_id(self) -> pulumi.Output[int]:
|
620
|
+
def network_id(self) -> pulumi.Output[builtins.int]:
|
620
621
|
"""
|
621
622
|
(int) ID of the first private network that this Load Balancer is connected to.
|
622
623
|
"""
|
@@ -624,7 +625,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
624
625
|
|
625
626
|
@property
|
626
627
|
@pulumi.getter(name="networkIp")
|
627
|
-
def network_ip(self) -> pulumi.Output[str]:
|
628
|
+
def network_ip(self) -> pulumi.Output[builtins.str]:
|
628
629
|
"""
|
629
630
|
(string) IP of the Load Balancer in the first private network that it is connected to.
|
630
631
|
"""
|
@@ -632,7 +633,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
632
633
|
|
633
634
|
@property
|
634
635
|
@pulumi.getter(name="networkZone")
|
635
|
-
def network_zone(self) -> pulumi.Output[str]:
|
636
|
+
def network_zone(self) -> pulumi.Output[builtins.str]:
|
636
637
|
"""
|
637
638
|
The Network Zone of the Load Balancer. Require when no location is set.
|
638
639
|
"""
|