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