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.
Files changed (66) hide show
  1. pulumi_hcloud/__init__.py +1 -0
  2. pulumi_hcloud/_inputs.py +213 -212
  3. pulumi_hcloud/certificate.py +71 -70
  4. pulumi_hcloud/config/__init__.py +1 -0
  5. pulumi_hcloud/config/__init__.pyi +1 -0
  6. pulumi_hcloud/config/vars.py +1 -0
  7. pulumi_hcloud/firewall.py +29 -28
  8. pulumi_hcloud/firewall_attachment.py +43 -42
  9. pulumi_hcloud/floating_ip.py +113 -112
  10. pulumi_hcloud/floating_ip_assignment.py +29 -28
  11. pulumi_hcloud/get_certificate.py +24 -23
  12. pulumi_hcloud/get_certificates.py +7 -6
  13. pulumi_hcloud/get_datacenter.py +15 -14
  14. pulumi_hcloud/get_datacenters.py +5 -4
  15. pulumi_hcloud/get_firewall.py +26 -25
  16. pulumi_hcloud/get_firewalls.py +12 -11
  17. pulumi_hcloud/get_floating_ip.py +31 -30
  18. pulumi_hcloud/get_floating_ips.py +7 -6
  19. pulumi_hcloud/get_image.py +48 -47
  20. pulumi_hcloud/get_images.py +27 -26
  21. pulumi_hcloud/get_load_balancer.py +25 -24
  22. pulumi_hcloud/get_load_balancer_type.py +16 -15
  23. pulumi_hcloud/get_load_balancer_types.py +2 -1
  24. pulumi_hcloud/get_load_balancers.py +7 -6
  25. pulumi_hcloud/get_location.py +17 -16
  26. pulumi_hcloud/get_locations.py +5 -4
  27. pulumi_hcloud/get_network.py +29 -28
  28. pulumi_hcloud/get_networks.py +7 -6
  29. pulumi_hcloud/get_placement_group.py +32 -31
  30. pulumi_hcloud/get_placement_groups.py +12 -11
  31. pulumi_hcloud/get_primary_ip.py +33 -32
  32. pulumi_hcloud/get_primary_ips.py +7 -6
  33. pulumi_hcloud/get_server.py +46 -45
  34. pulumi_hcloud/get_server_type.py +22 -21
  35. pulumi_hcloud/get_server_types.py +5 -4
  36. pulumi_hcloud/get_servers.py +12 -11
  37. pulumi_hcloud/get_ssh_key.py +28 -27
  38. pulumi_hcloud/get_ssh_keys.py +11 -10
  39. pulumi_hcloud/get_volume.py +38 -37
  40. pulumi_hcloud/get_volumes.py +12 -11
  41. pulumi_hcloud/load_balancer.py +113 -112
  42. pulumi_hcloud/load_balancer_network.py +71 -70
  43. pulumi_hcloud/load_balancer_service.py +71 -70
  44. pulumi_hcloud/load_balancer_target.py +85 -84
  45. pulumi_hcloud/managed_certificate.py +83 -82
  46. pulumi_hcloud/network.py +71 -70
  47. pulumi_hcloud/network_route.py +43 -42
  48. pulumi_hcloud/network_subnet.py +76 -75
  49. pulumi_hcloud/outputs.py +574 -573
  50. pulumi_hcloud/placement_group.py +48 -47
  51. pulumi_hcloud/primary_ip.py +127 -126
  52. pulumi_hcloud/provider.py +33 -32
  53. pulumi_hcloud/pulumi-plugin.json +1 -1
  54. pulumi_hcloud/rdns.py +85 -84
  55. pulumi_hcloud/server.py +305 -304
  56. pulumi_hcloud/server_network.py +76 -75
  57. pulumi_hcloud/snapshot.py +43 -42
  58. pulumi_hcloud/ssh_key.py +50 -49
  59. pulumi_hcloud/uploaded_certificate.py +97 -96
  60. pulumi_hcloud/volume.py +120 -119
  61. pulumi_hcloud/volume_attachment.py +43 -42
  62. {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744264383.dist-info}/METADATA +1 -1
  63. pulumi_hcloud-1.23.0a1744264383.dist-info/RECORD +67 -0
  64. pulumi_hcloud-1.23.0a1743573250.dist-info/RECORD +0 -67
  65. {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744264383.dist-info}/WHEEL +0 -0
  66. {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744264383.dist-info}/top_level.txt +0 -0
@@ -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,20 +20,20 @@ __all__ = ['LoadBalancerNetworkArgs', 'LoadBalancerNetwork']
19
20
  @pulumi.input_type
20
21
  class LoadBalancerNetworkArgs:
21
22
  def __init__(__self__, *,
22
- load_balancer_id: pulumi.Input[int],
23
- enable_public_interface: Optional[pulumi.Input[bool]] = None,
24
- ip: Optional[pulumi.Input[str]] = None,
25
- network_id: Optional[pulumi.Input[int]] = None,
26
- subnet_id: Optional[pulumi.Input[str]] = None):
23
+ load_balancer_id: pulumi.Input[builtins.int],
24
+ enable_public_interface: Optional[pulumi.Input[builtins.bool]] = None,
25
+ ip: Optional[pulumi.Input[builtins.str]] = None,
26
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
27
+ subnet_id: Optional[pulumi.Input[builtins.str]] = None):
27
28
  """
28
29
  The set of arguments for constructing a LoadBalancerNetwork resource.
29
- :param pulumi.Input[int] load_balancer_id: ID of the Load Balancer.
30
- :param pulumi.Input[bool] enable_public_interface: Enable or disable the
30
+ :param pulumi.Input[builtins.int] load_balancer_id: ID of the Load Balancer.
31
+ :param pulumi.Input[builtins.bool] enable_public_interface: Enable or disable the
31
32
  Load Balancers public interface. Default: `true`
32
- :param pulumi.Input[str] ip: IP to request to be assigned to this Load
33
+ :param pulumi.Input[builtins.str] ip: IP to request to be assigned to this Load
33
34
  Balancer. If you do not provide this then you will be auto assigned an
34
35
  IP address.
35
- :param pulumi.Input[int] network_id: ID of the network which should be added
36
+ :param pulumi.Input[builtins.int] network_id: ID of the network which should be added
36
37
  to the Load Balancer. Required if `subnet_id` is not set. Successful
37
38
  creation of the resource depends on the existence of a subnet in the
38
39
  Hetzner Cloud Backend. Using `network_id` will not create an explicit
@@ -40,7 +41,7 @@ class LoadBalancerNetworkArgs:
40
41
  `depends_on` may need to be used. Alternatively the `subnet_id`
41
42
  property can be used, which will create an explicit dependency between
42
43
  `LoadBalancerNetwork` and the existence of a subnet.
43
- :param pulumi.Input[str] subnet_id: ID of the sub-network which should be
44
+ :param pulumi.Input[builtins.str] subnet_id: ID of the sub-network which should be
44
45
  added to the Load Balancer. Required if `network_id` is not set.
45
46
  _Note_: if the `ip` property is missing, the Load Balancer is
46
47
  currently added to the last created subnet.
@@ -57,19 +58,19 @@ class LoadBalancerNetworkArgs:
57
58
 
58
59
  @property
59
60
  @pulumi.getter(name="loadBalancerId")
60
- def load_balancer_id(self) -> pulumi.Input[int]:
61
+ def load_balancer_id(self) -> pulumi.Input[builtins.int]:
61
62
  """
62
63
  ID of the Load Balancer.
63
64
  """
64
65
  return pulumi.get(self, "load_balancer_id")
65
66
 
66
67
  @load_balancer_id.setter
67
- def load_balancer_id(self, value: pulumi.Input[int]):
68
+ def load_balancer_id(self, value: pulumi.Input[builtins.int]):
68
69
  pulumi.set(self, "load_balancer_id", value)
69
70
 
70
71
  @property
71
72
  @pulumi.getter(name="enablePublicInterface")
72
- def enable_public_interface(self) -> Optional[pulumi.Input[bool]]:
73
+ def enable_public_interface(self) -> Optional[pulumi.Input[builtins.bool]]:
73
74
  """
74
75
  Enable or disable the
75
76
  Load Balancers public interface. Default: `true`
@@ -77,12 +78,12 @@ class LoadBalancerNetworkArgs:
77
78
  return pulumi.get(self, "enable_public_interface")
78
79
 
79
80
  @enable_public_interface.setter
80
- def enable_public_interface(self, value: Optional[pulumi.Input[bool]]):
81
+ def enable_public_interface(self, value: Optional[pulumi.Input[builtins.bool]]):
81
82
  pulumi.set(self, "enable_public_interface", value)
82
83
 
83
84
  @property
84
85
  @pulumi.getter
85
- def ip(self) -> Optional[pulumi.Input[str]]:
86
+ def ip(self) -> Optional[pulumi.Input[builtins.str]]:
86
87
  """
87
88
  IP to request to be assigned to this Load
88
89
  Balancer. If you do not provide this then you will be auto assigned an
@@ -91,12 +92,12 @@ class LoadBalancerNetworkArgs:
91
92
  return pulumi.get(self, "ip")
92
93
 
93
94
  @ip.setter
94
- def ip(self, value: Optional[pulumi.Input[str]]):
95
+ def ip(self, value: Optional[pulumi.Input[builtins.str]]):
95
96
  pulumi.set(self, "ip", value)
96
97
 
97
98
  @property
98
99
  @pulumi.getter(name="networkId")
99
- def network_id(self) -> Optional[pulumi.Input[int]]:
100
+ def network_id(self) -> Optional[pulumi.Input[builtins.int]]:
100
101
  """
101
102
  ID of the network which should be added
102
103
  to the Load Balancer. Required if `subnet_id` is not set. Successful
@@ -110,12 +111,12 @@ class LoadBalancerNetworkArgs:
110
111
  return pulumi.get(self, "network_id")
111
112
 
112
113
  @network_id.setter
113
- def network_id(self, value: Optional[pulumi.Input[int]]):
114
+ def network_id(self, value: Optional[pulumi.Input[builtins.int]]):
114
115
  pulumi.set(self, "network_id", value)
115
116
 
116
117
  @property
117
118
  @pulumi.getter(name="subnetId")
118
- def subnet_id(self) -> Optional[pulumi.Input[str]]:
119
+ def subnet_id(self) -> Optional[pulumi.Input[builtins.str]]:
119
120
  """
120
121
  ID of the sub-network which should be
121
122
  added to the Load Balancer. Required if `network_id` is not set.
@@ -125,27 +126,27 @@ class LoadBalancerNetworkArgs:
125
126
  return pulumi.get(self, "subnet_id")
126
127
 
127
128
  @subnet_id.setter
128
- def subnet_id(self, value: Optional[pulumi.Input[str]]):
129
+ def subnet_id(self, value: Optional[pulumi.Input[builtins.str]]):
129
130
  pulumi.set(self, "subnet_id", value)
130
131
 
131
132
 
132
133
  @pulumi.input_type
133
134
  class _LoadBalancerNetworkState:
134
135
  def __init__(__self__, *,
135
- enable_public_interface: Optional[pulumi.Input[bool]] = None,
136
- ip: Optional[pulumi.Input[str]] = None,
137
- load_balancer_id: Optional[pulumi.Input[int]] = None,
138
- network_id: Optional[pulumi.Input[int]] = None,
139
- subnet_id: Optional[pulumi.Input[str]] = None):
136
+ enable_public_interface: Optional[pulumi.Input[builtins.bool]] = None,
137
+ ip: Optional[pulumi.Input[builtins.str]] = None,
138
+ load_balancer_id: Optional[pulumi.Input[builtins.int]] = None,
139
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
140
+ subnet_id: Optional[pulumi.Input[builtins.str]] = None):
140
141
  """
141
142
  Input properties used for looking up and filtering LoadBalancerNetwork resources.
142
- :param pulumi.Input[bool] enable_public_interface: Enable or disable the
143
+ :param pulumi.Input[builtins.bool] enable_public_interface: Enable or disable the
143
144
  Load Balancers public interface. Default: `true`
144
- :param pulumi.Input[str] ip: IP to request to be assigned to this Load
145
+ :param pulumi.Input[builtins.str] ip: IP to request to be assigned to this Load
145
146
  Balancer. If you do not provide this then you will be auto assigned an
146
147
  IP address.
147
- :param pulumi.Input[int] load_balancer_id: ID of the Load Balancer.
148
- :param pulumi.Input[int] network_id: ID of the network which should be added
148
+ :param pulumi.Input[builtins.int] load_balancer_id: ID of the Load Balancer.
149
+ :param pulumi.Input[builtins.int] network_id: ID of the network which should be added
149
150
  to the Load Balancer. Required if `subnet_id` is not set. Successful
150
151
  creation of the resource depends on the existence of a subnet in the
151
152
  Hetzner Cloud Backend. Using `network_id` will not create an explicit
@@ -153,7 +154,7 @@ class _LoadBalancerNetworkState:
153
154
  `depends_on` may need to be used. Alternatively the `subnet_id`
154
155
  property can be used, which will create an explicit dependency between
155
156
  `LoadBalancerNetwork` and the existence of a subnet.
156
- :param pulumi.Input[str] subnet_id: ID of the sub-network which should be
157
+ :param pulumi.Input[builtins.str] subnet_id: ID of the sub-network which should be
157
158
  added to the Load Balancer. Required if `network_id` is not set.
158
159
  _Note_: if the `ip` property is missing, the Load Balancer is
159
160
  currently added to the last created subnet.
@@ -171,7 +172,7 @@ class _LoadBalancerNetworkState:
171
172
 
172
173
  @property
173
174
  @pulumi.getter(name="enablePublicInterface")
174
- def enable_public_interface(self) -> Optional[pulumi.Input[bool]]:
175
+ def enable_public_interface(self) -> Optional[pulumi.Input[builtins.bool]]:
175
176
  """
176
177
  Enable or disable the
177
178
  Load Balancers public interface. Default: `true`
@@ -179,12 +180,12 @@ class _LoadBalancerNetworkState:
179
180
  return pulumi.get(self, "enable_public_interface")
180
181
 
181
182
  @enable_public_interface.setter
182
- def enable_public_interface(self, value: Optional[pulumi.Input[bool]]):
183
+ def enable_public_interface(self, value: Optional[pulumi.Input[builtins.bool]]):
183
184
  pulumi.set(self, "enable_public_interface", value)
184
185
 
185
186
  @property
186
187
  @pulumi.getter
187
- def ip(self) -> Optional[pulumi.Input[str]]:
188
+ def ip(self) -> Optional[pulumi.Input[builtins.str]]:
188
189
  """
189
190
  IP to request to be assigned to this Load
190
191
  Balancer. If you do not provide this then you will be auto assigned an
@@ -193,24 +194,24 @@ class _LoadBalancerNetworkState:
193
194
  return pulumi.get(self, "ip")
194
195
 
195
196
  @ip.setter
196
- def ip(self, value: Optional[pulumi.Input[str]]):
197
+ def ip(self, value: Optional[pulumi.Input[builtins.str]]):
197
198
  pulumi.set(self, "ip", value)
198
199
 
199
200
  @property
200
201
  @pulumi.getter(name="loadBalancerId")
201
- def load_balancer_id(self) -> Optional[pulumi.Input[int]]:
202
+ def load_balancer_id(self) -> Optional[pulumi.Input[builtins.int]]:
202
203
  """
203
204
  ID of the Load Balancer.
204
205
  """
205
206
  return pulumi.get(self, "load_balancer_id")
206
207
 
207
208
  @load_balancer_id.setter
208
- def load_balancer_id(self, value: Optional[pulumi.Input[int]]):
209
+ def load_balancer_id(self, value: Optional[pulumi.Input[builtins.int]]):
209
210
  pulumi.set(self, "load_balancer_id", value)
210
211
 
211
212
  @property
212
213
  @pulumi.getter(name="networkId")
213
- def network_id(self) -> Optional[pulumi.Input[int]]:
214
+ def network_id(self) -> Optional[pulumi.Input[builtins.int]]:
214
215
  """
215
216
  ID of the network which should be added
216
217
  to the Load Balancer. Required if `subnet_id` is not set. Successful
@@ -224,12 +225,12 @@ class _LoadBalancerNetworkState:
224
225
  return pulumi.get(self, "network_id")
225
226
 
226
227
  @network_id.setter
227
- def network_id(self, value: Optional[pulumi.Input[int]]):
228
+ def network_id(self, value: Optional[pulumi.Input[builtins.int]]):
228
229
  pulumi.set(self, "network_id", value)
229
230
 
230
231
  @property
231
232
  @pulumi.getter(name="subnetId")
232
- def subnet_id(self) -> Optional[pulumi.Input[str]]:
233
+ def subnet_id(self) -> Optional[pulumi.Input[builtins.str]]:
233
234
  """
234
235
  ID of the sub-network which should be
235
236
  added to the Load Balancer. Required if `network_id` is not set.
@@ -239,7 +240,7 @@ class _LoadBalancerNetworkState:
239
240
  return pulumi.get(self, "subnet_id")
240
241
 
241
242
  @subnet_id.setter
242
- def subnet_id(self, value: Optional[pulumi.Input[str]]):
243
+ def subnet_id(self, value: Optional[pulumi.Input[builtins.str]]):
243
244
  pulumi.set(self, "subnet_id", value)
244
245
 
245
246
 
@@ -248,11 +249,11 @@ class LoadBalancerNetwork(pulumi.CustomResource):
248
249
  def __init__(__self__,
249
250
  resource_name: str,
250
251
  opts: Optional[pulumi.ResourceOptions] = None,
251
- enable_public_interface: Optional[pulumi.Input[bool]] = None,
252
- ip: Optional[pulumi.Input[str]] = None,
253
- load_balancer_id: Optional[pulumi.Input[int]] = None,
254
- network_id: Optional[pulumi.Input[int]] = None,
255
- subnet_id: Optional[pulumi.Input[str]] = None,
252
+ enable_public_interface: Optional[pulumi.Input[builtins.bool]] = None,
253
+ ip: Optional[pulumi.Input[builtins.str]] = None,
254
+ load_balancer_id: Optional[pulumi.Input[builtins.int]] = None,
255
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
256
+ subnet_id: Optional[pulumi.Input[builtins.str]] = None,
256
257
  __props__=None):
257
258
  """
258
259
  Provides a Hetzner Cloud Load Balancer Network to represent a private network on a Load Balancer in the Hetzner Cloud.
@@ -294,13 +295,13 @@ class LoadBalancerNetwork(pulumi.CustomResource):
294
295
 
295
296
  :param str resource_name: The name of the resource.
296
297
  :param pulumi.ResourceOptions opts: Options for the resource.
297
- :param pulumi.Input[bool] enable_public_interface: Enable or disable the
298
+ :param pulumi.Input[builtins.bool] enable_public_interface: Enable or disable the
298
299
  Load Balancers public interface. Default: `true`
299
- :param pulumi.Input[str] ip: IP to request to be assigned to this Load
300
+ :param pulumi.Input[builtins.str] ip: IP to request to be assigned to this Load
300
301
  Balancer. If you do not provide this then you will be auto assigned an
301
302
  IP address.
302
- :param pulumi.Input[int] load_balancer_id: ID of the Load Balancer.
303
- :param pulumi.Input[int] network_id: ID of the network which should be added
303
+ :param pulumi.Input[builtins.int] load_balancer_id: ID of the Load Balancer.
304
+ :param pulumi.Input[builtins.int] network_id: ID of the network which should be added
304
305
  to the Load Balancer. Required if `subnet_id` is not set. Successful
305
306
  creation of the resource depends on the existence of a subnet in the
306
307
  Hetzner Cloud Backend. Using `network_id` will not create an explicit
@@ -308,7 +309,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
308
309
  `depends_on` may need to be used. Alternatively the `subnet_id`
309
310
  property can be used, which will create an explicit dependency between
310
311
  `LoadBalancerNetwork` and the existence of a subnet.
311
- :param pulumi.Input[str] subnet_id: ID of the sub-network which should be
312
+ :param pulumi.Input[builtins.str] subnet_id: ID of the sub-network which should be
312
313
  added to the Load Balancer. Required if `network_id` is not set.
313
314
  _Note_: if the `ip` property is missing, the Load Balancer is
314
315
  currently added to the last created subnet.
@@ -372,11 +373,11 @@ class LoadBalancerNetwork(pulumi.CustomResource):
372
373
  def _internal_init(__self__,
373
374
  resource_name: str,
374
375
  opts: Optional[pulumi.ResourceOptions] = None,
375
- enable_public_interface: Optional[pulumi.Input[bool]] = None,
376
- ip: Optional[pulumi.Input[str]] = None,
377
- load_balancer_id: Optional[pulumi.Input[int]] = None,
378
- network_id: Optional[pulumi.Input[int]] = None,
379
- subnet_id: Optional[pulumi.Input[str]] = None,
376
+ enable_public_interface: Optional[pulumi.Input[builtins.bool]] = None,
377
+ ip: Optional[pulumi.Input[builtins.str]] = None,
378
+ load_balancer_id: Optional[pulumi.Input[builtins.int]] = None,
379
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
380
+ subnet_id: Optional[pulumi.Input[builtins.str]] = None,
380
381
  __props__=None):
381
382
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
382
383
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -403,11 +404,11 @@ class LoadBalancerNetwork(pulumi.CustomResource):
403
404
  def get(resource_name: str,
404
405
  id: pulumi.Input[str],
405
406
  opts: Optional[pulumi.ResourceOptions] = None,
406
- enable_public_interface: Optional[pulumi.Input[bool]] = None,
407
- ip: Optional[pulumi.Input[str]] = None,
408
- load_balancer_id: Optional[pulumi.Input[int]] = None,
409
- network_id: Optional[pulumi.Input[int]] = None,
410
- subnet_id: Optional[pulumi.Input[str]] = None) -> 'LoadBalancerNetwork':
407
+ enable_public_interface: Optional[pulumi.Input[builtins.bool]] = None,
408
+ ip: Optional[pulumi.Input[builtins.str]] = None,
409
+ load_balancer_id: Optional[pulumi.Input[builtins.int]] = None,
410
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
411
+ subnet_id: Optional[pulumi.Input[builtins.str]] = None) -> 'LoadBalancerNetwork':
411
412
  """
412
413
  Get an existing LoadBalancerNetwork resource's state with the given name, id, and optional extra
413
414
  properties used to qualify the lookup.
@@ -415,13 +416,13 @@ class LoadBalancerNetwork(pulumi.CustomResource):
415
416
  :param str resource_name: The unique name of the resulting resource.
416
417
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
417
418
  :param pulumi.ResourceOptions opts: Options for the resource.
418
- :param pulumi.Input[bool] enable_public_interface: Enable or disable the
419
+ :param pulumi.Input[builtins.bool] enable_public_interface: Enable or disable the
419
420
  Load Balancers public interface. Default: `true`
420
- :param pulumi.Input[str] ip: IP to request to be assigned to this Load
421
+ :param pulumi.Input[builtins.str] ip: IP to request to be assigned to this Load
421
422
  Balancer. If you do not provide this then you will be auto assigned an
422
423
  IP address.
423
- :param pulumi.Input[int] load_balancer_id: ID of the Load Balancer.
424
- :param pulumi.Input[int] network_id: ID of the network which should be added
424
+ :param pulumi.Input[builtins.int] load_balancer_id: ID of the Load Balancer.
425
+ :param pulumi.Input[builtins.int] network_id: ID of the network which should be added
425
426
  to the Load Balancer. Required if `subnet_id` is not set. Successful
426
427
  creation of the resource depends on the existence of a subnet in the
427
428
  Hetzner Cloud Backend. Using `network_id` will not create an explicit
@@ -429,7 +430,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
429
430
  `depends_on` may need to be used. Alternatively the `subnet_id`
430
431
  property can be used, which will create an explicit dependency between
431
432
  `LoadBalancerNetwork` and the existence of a subnet.
432
- :param pulumi.Input[str] subnet_id: ID of the sub-network which should be
433
+ :param pulumi.Input[builtins.str] subnet_id: ID of the sub-network which should be
433
434
  added to the Load Balancer. Required if `network_id` is not set.
434
435
  _Note_: if the `ip` property is missing, the Load Balancer is
435
436
  currently added to the last created subnet.
@@ -447,7 +448,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
447
448
 
448
449
  @property
449
450
  @pulumi.getter(name="enablePublicInterface")
450
- def enable_public_interface(self) -> pulumi.Output[Optional[bool]]:
451
+ def enable_public_interface(self) -> pulumi.Output[Optional[builtins.bool]]:
451
452
  """
452
453
  Enable or disable the
453
454
  Load Balancers public interface. Default: `true`
@@ -456,7 +457,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
456
457
 
457
458
  @property
458
459
  @pulumi.getter
459
- def ip(self) -> pulumi.Output[str]:
460
+ def ip(self) -> pulumi.Output[builtins.str]:
460
461
  """
461
462
  IP to request to be assigned to this Load
462
463
  Balancer. If you do not provide this then you will be auto assigned an
@@ -466,7 +467,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
466
467
 
467
468
  @property
468
469
  @pulumi.getter(name="loadBalancerId")
469
- def load_balancer_id(self) -> pulumi.Output[int]:
470
+ def load_balancer_id(self) -> pulumi.Output[builtins.int]:
470
471
  """
471
472
  ID of the Load Balancer.
472
473
  """
@@ -474,7 +475,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
474
475
 
475
476
  @property
476
477
  @pulumi.getter(name="networkId")
477
- def network_id(self) -> pulumi.Output[Optional[int]]:
478
+ def network_id(self) -> pulumi.Output[Optional[builtins.int]]:
478
479
  """
479
480
  ID of the network which should be added
480
481
  to the Load Balancer. Required if `subnet_id` is not set. Successful
@@ -489,7 +490,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
489
490
 
490
491
  @property
491
492
  @pulumi.getter(name="subnetId")
492
- def subnet_id(self) -> pulumi.Output[Optional[str]]:
493
+ def subnet_id(self) -> pulumi.Output[Optional[builtins.str]]:
493
494
  """
494
495
  ID of the sub-network which should be
495
496
  added to the Load Balancer. Required if `network_id` is not set.