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
@@ -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,22 +22,22 @@ __all__ = ['LoadBalancerServiceArgs', 'LoadBalancerService']
|
|
21
22
|
@pulumi.input_type
|
22
23
|
class LoadBalancerServiceArgs:
|
23
24
|
def __init__(__self__, *,
|
24
|
-
load_balancer_id: pulumi.Input[str],
|
25
|
-
protocol: pulumi.Input[str],
|
26
|
-
destination_port: Optional[pulumi.Input[int]] = None,
|
25
|
+
load_balancer_id: pulumi.Input[builtins.str],
|
26
|
+
protocol: pulumi.Input[builtins.str],
|
27
|
+
destination_port: Optional[pulumi.Input[builtins.int]] = None,
|
27
28
|
health_check: Optional[pulumi.Input['LoadBalancerServiceHealthCheckArgs']] = None,
|
28
29
|
http: Optional[pulumi.Input['LoadBalancerServiceHttpArgs']] = None,
|
29
|
-
listen_port: Optional[pulumi.Input[int]] = None,
|
30
|
-
proxyprotocol: Optional[pulumi.Input[bool]] = None):
|
30
|
+
listen_port: Optional[pulumi.Input[builtins.int]] = None,
|
31
|
+
proxyprotocol: Optional[pulumi.Input[builtins.bool]] = None):
|
31
32
|
"""
|
32
33
|
The set of arguments for constructing a LoadBalancerService resource.
|
33
|
-
:param pulumi.Input[str] load_balancer_id: Id of the load balancer this service belongs to.
|
34
|
-
:param pulumi.Input[str] protocol: Protocol of the service. `http`, `https` or `tcp`
|
35
|
-
:param pulumi.Input[int] destination_port: Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
34
|
+
:param pulumi.Input[builtins.str] load_balancer_id: Id of the load balancer this service belongs to.
|
35
|
+
:param pulumi.Input[builtins.str] protocol: Protocol of the service. `http`, `https` or `tcp`
|
36
|
+
:param pulumi.Input[builtins.int] destination_port: Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
36
37
|
:param pulumi.Input['LoadBalancerServiceHealthCheckArgs'] health_check: Health Check configuration when `protocol` is `http` or `https`.
|
37
38
|
:param pulumi.Input['LoadBalancerServiceHttpArgs'] http: HTTP configuration when `protocol` is `http` or `https`.
|
38
|
-
:param pulumi.Input[int] listen_port: Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
39
|
-
:param pulumi.Input[bool] proxyprotocol: Enable proxyprotocol.
|
39
|
+
:param pulumi.Input[builtins.int] listen_port: Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
40
|
+
:param pulumi.Input[builtins.bool] proxyprotocol: Enable proxyprotocol.
|
40
41
|
"""
|
41
42
|
pulumi.set(__self__, "load_balancer_id", load_balancer_id)
|
42
43
|
pulumi.set(__self__, "protocol", protocol)
|
@@ -53,38 +54,38 @@ class LoadBalancerServiceArgs:
|
|
53
54
|
|
54
55
|
@property
|
55
56
|
@pulumi.getter(name="loadBalancerId")
|
56
|
-
def load_balancer_id(self) -> pulumi.Input[str]:
|
57
|
+
def load_balancer_id(self) -> pulumi.Input[builtins.str]:
|
57
58
|
"""
|
58
59
|
Id of the load balancer this service belongs to.
|
59
60
|
"""
|
60
61
|
return pulumi.get(self, "load_balancer_id")
|
61
62
|
|
62
63
|
@load_balancer_id.setter
|
63
|
-
def load_balancer_id(self, value: pulumi.Input[str]):
|
64
|
+
def load_balancer_id(self, value: pulumi.Input[builtins.str]):
|
64
65
|
pulumi.set(self, "load_balancer_id", value)
|
65
66
|
|
66
67
|
@property
|
67
68
|
@pulumi.getter
|
68
|
-
def protocol(self) -> pulumi.Input[str]:
|
69
|
+
def protocol(self) -> pulumi.Input[builtins.str]:
|
69
70
|
"""
|
70
71
|
Protocol of the service. `http`, `https` or `tcp`
|
71
72
|
"""
|
72
73
|
return pulumi.get(self, "protocol")
|
73
74
|
|
74
75
|
@protocol.setter
|
75
|
-
def protocol(self, value: pulumi.Input[str]):
|
76
|
+
def protocol(self, value: pulumi.Input[builtins.str]):
|
76
77
|
pulumi.set(self, "protocol", value)
|
77
78
|
|
78
79
|
@property
|
79
80
|
@pulumi.getter(name="destinationPort")
|
80
|
-
def destination_port(self) -> Optional[pulumi.Input[int]]:
|
81
|
+
def destination_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
81
82
|
"""
|
82
83
|
Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
83
84
|
"""
|
84
85
|
return pulumi.get(self, "destination_port")
|
85
86
|
|
86
87
|
@destination_port.setter
|
87
|
-
def destination_port(self, value: Optional[pulumi.Input[int]]):
|
88
|
+
def destination_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
88
89
|
pulumi.set(self, "destination_port", value)
|
89
90
|
|
90
91
|
@property
|
@@ -113,48 +114,48 @@ class LoadBalancerServiceArgs:
|
|
113
114
|
|
114
115
|
@property
|
115
116
|
@pulumi.getter(name="listenPort")
|
116
|
-
def listen_port(self) -> Optional[pulumi.Input[int]]:
|
117
|
+
def listen_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
117
118
|
"""
|
118
119
|
Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
119
120
|
"""
|
120
121
|
return pulumi.get(self, "listen_port")
|
121
122
|
|
122
123
|
@listen_port.setter
|
123
|
-
def listen_port(self, value: Optional[pulumi.Input[int]]):
|
124
|
+
def listen_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
124
125
|
pulumi.set(self, "listen_port", value)
|
125
126
|
|
126
127
|
@property
|
127
128
|
@pulumi.getter
|
128
|
-
def proxyprotocol(self) -> Optional[pulumi.Input[bool]]:
|
129
|
+
def proxyprotocol(self) -> Optional[pulumi.Input[builtins.bool]]:
|
129
130
|
"""
|
130
131
|
Enable proxyprotocol.
|
131
132
|
"""
|
132
133
|
return pulumi.get(self, "proxyprotocol")
|
133
134
|
|
134
135
|
@proxyprotocol.setter
|
135
|
-
def proxyprotocol(self, value: Optional[pulumi.Input[bool]]):
|
136
|
+
def proxyprotocol(self, value: Optional[pulumi.Input[builtins.bool]]):
|
136
137
|
pulumi.set(self, "proxyprotocol", value)
|
137
138
|
|
138
139
|
|
139
140
|
@pulumi.input_type
|
140
141
|
class _LoadBalancerServiceState:
|
141
142
|
def __init__(__self__, *,
|
142
|
-
destination_port: Optional[pulumi.Input[int]] = None,
|
143
|
+
destination_port: Optional[pulumi.Input[builtins.int]] = None,
|
143
144
|
health_check: Optional[pulumi.Input['LoadBalancerServiceHealthCheckArgs']] = None,
|
144
145
|
http: Optional[pulumi.Input['LoadBalancerServiceHttpArgs']] = None,
|
145
|
-
listen_port: Optional[pulumi.Input[int]] = None,
|
146
|
-
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
147
|
-
protocol: Optional[pulumi.Input[str]] = None,
|
148
|
-
proxyprotocol: Optional[pulumi.Input[bool]] = None):
|
146
|
+
listen_port: Optional[pulumi.Input[builtins.int]] = None,
|
147
|
+
load_balancer_id: Optional[pulumi.Input[builtins.str]] = None,
|
148
|
+
protocol: Optional[pulumi.Input[builtins.str]] = None,
|
149
|
+
proxyprotocol: Optional[pulumi.Input[builtins.bool]] = None):
|
149
150
|
"""
|
150
151
|
Input properties used for looking up and filtering LoadBalancerService resources.
|
151
|
-
:param pulumi.Input[int] destination_port: Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
152
|
+
:param pulumi.Input[builtins.int] destination_port: Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
152
153
|
:param pulumi.Input['LoadBalancerServiceHealthCheckArgs'] health_check: Health Check configuration when `protocol` is `http` or `https`.
|
153
154
|
:param pulumi.Input['LoadBalancerServiceHttpArgs'] http: HTTP configuration when `protocol` is `http` or `https`.
|
154
|
-
:param pulumi.Input[int] listen_port: Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
155
|
-
:param pulumi.Input[str] load_balancer_id: Id of the load balancer this service belongs to.
|
156
|
-
:param pulumi.Input[str] protocol: Protocol of the service. `http`, `https` or `tcp`
|
157
|
-
:param pulumi.Input[bool] proxyprotocol: Enable proxyprotocol.
|
155
|
+
:param pulumi.Input[builtins.int] listen_port: Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
156
|
+
:param pulumi.Input[builtins.str] load_balancer_id: Id of the load balancer this service belongs to.
|
157
|
+
:param pulumi.Input[builtins.str] protocol: Protocol of the service. `http`, `https` or `tcp`
|
158
|
+
:param pulumi.Input[builtins.bool] proxyprotocol: Enable proxyprotocol.
|
158
159
|
"""
|
159
160
|
if destination_port is not None:
|
160
161
|
pulumi.set(__self__, "destination_port", destination_port)
|
@@ -173,14 +174,14 @@ class _LoadBalancerServiceState:
|
|
173
174
|
|
174
175
|
@property
|
175
176
|
@pulumi.getter(name="destinationPort")
|
176
|
-
def destination_port(self) -> Optional[pulumi.Input[int]]:
|
177
|
+
def destination_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
177
178
|
"""
|
178
179
|
Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
179
180
|
"""
|
180
181
|
return pulumi.get(self, "destination_port")
|
181
182
|
|
182
183
|
@destination_port.setter
|
183
|
-
def destination_port(self, value: Optional[pulumi.Input[int]]):
|
184
|
+
def destination_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
184
185
|
pulumi.set(self, "destination_port", value)
|
185
186
|
|
186
187
|
@property
|
@@ -209,50 +210,50 @@ class _LoadBalancerServiceState:
|
|
209
210
|
|
210
211
|
@property
|
211
212
|
@pulumi.getter(name="listenPort")
|
212
|
-
def listen_port(self) -> Optional[pulumi.Input[int]]:
|
213
|
+
def listen_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
213
214
|
"""
|
214
215
|
Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
215
216
|
"""
|
216
217
|
return pulumi.get(self, "listen_port")
|
217
218
|
|
218
219
|
@listen_port.setter
|
219
|
-
def listen_port(self, value: Optional[pulumi.Input[int]]):
|
220
|
+
def listen_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
220
221
|
pulumi.set(self, "listen_port", value)
|
221
222
|
|
222
223
|
@property
|
223
224
|
@pulumi.getter(name="loadBalancerId")
|
224
|
-
def load_balancer_id(self) -> Optional[pulumi.Input[str]]:
|
225
|
+
def load_balancer_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
225
226
|
"""
|
226
227
|
Id of the load balancer this service belongs to.
|
227
228
|
"""
|
228
229
|
return pulumi.get(self, "load_balancer_id")
|
229
230
|
|
230
231
|
@load_balancer_id.setter
|
231
|
-
def load_balancer_id(self, value: Optional[pulumi.Input[str]]):
|
232
|
+
def load_balancer_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
232
233
|
pulumi.set(self, "load_balancer_id", value)
|
233
234
|
|
234
235
|
@property
|
235
236
|
@pulumi.getter
|
236
|
-
def protocol(self) -> Optional[pulumi.Input[str]]:
|
237
|
+
def protocol(self) -> Optional[pulumi.Input[builtins.str]]:
|
237
238
|
"""
|
238
239
|
Protocol of the service. `http`, `https` or `tcp`
|
239
240
|
"""
|
240
241
|
return pulumi.get(self, "protocol")
|
241
242
|
|
242
243
|
@protocol.setter
|
243
|
-
def protocol(self, value: Optional[pulumi.Input[str]]):
|
244
|
+
def protocol(self, value: Optional[pulumi.Input[builtins.str]]):
|
244
245
|
pulumi.set(self, "protocol", value)
|
245
246
|
|
246
247
|
@property
|
247
248
|
@pulumi.getter
|
248
|
-
def proxyprotocol(self) -> Optional[pulumi.Input[bool]]:
|
249
|
+
def proxyprotocol(self) -> Optional[pulumi.Input[builtins.bool]]:
|
249
250
|
"""
|
250
251
|
Enable proxyprotocol.
|
251
252
|
"""
|
252
253
|
return pulumi.get(self, "proxyprotocol")
|
253
254
|
|
254
255
|
@proxyprotocol.setter
|
255
|
-
def proxyprotocol(self, value: Optional[pulumi.Input[bool]]):
|
256
|
+
def proxyprotocol(self, value: Optional[pulumi.Input[builtins.bool]]):
|
256
257
|
pulumi.set(self, "proxyprotocol", value)
|
257
258
|
|
258
259
|
|
@@ -261,13 +262,13 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
261
262
|
def __init__(__self__,
|
262
263
|
resource_name: str,
|
263
264
|
opts: Optional[pulumi.ResourceOptions] = None,
|
264
|
-
destination_port: Optional[pulumi.Input[int]] = None,
|
265
|
+
destination_port: Optional[pulumi.Input[builtins.int]] = None,
|
265
266
|
health_check: Optional[pulumi.Input[Union['LoadBalancerServiceHealthCheckArgs', 'LoadBalancerServiceHealthCheckArgsDict']]] = None,
|
266
267
|
http: Optional[pulumi.Input[Union['LoadBalancerServiceHttpArgs', 'LoadBalancerServiceHttpArgsDict']]] = None,
|
267
|
-
listen_port: Optional[pulumi.Input[int]] = None,
|
268
|
-
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
269
|
-
protocol: Optional[pulumi.Input[str]] = None,
|
270
|
-
proxyprotocol: Optional[pulumi.Input[bool]] = None,
|
268
|
+
listen_port: Optional[pulumi.Input[builtins.int]] = None,
|
269
|
+
load_balancer_id: Optional[pulumi.Input[builtins.str]] = None,
|
270
|
+
protocol: Optional[pulumi.Input[builtins.str]] = None,
|
271
|
+
proxyprotocol: Optional[pulumi.Input[builtins.bool]] = None,
|
271
272
|
__props__=None):
|
272
273
|
"""
|
273
274
|
Define services for Hetzner Cloud Load Balancers.
|
@@ -316,13 +317,13 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
316
317
|
|
317
318
|
:param str resource_name: The name of the resource.
|
318
319
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
319
|
-
:param pulumi.Input[int] destination_port: Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
320
|
+
:param pulumi.Input[builtins.int] destination_port: Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
320
321
|
:param pulumi.Input[Union['LoadBalancerServiceHealthCheckArgs', 'LoadBalancerServiceHealthCheckArgsDict']] health_check: Health Check configuration when `protocol` is `http` or `https`.
|
321
322
|
:param pulumi.Input[Union['LoadBalancerServiceHttpArgs', 'LoadBalancerServiceHttpArgsDict']] http: HTTP configuration when `protocol` is `http` or `https`.
|
322
|
-
:param pulumi.Input[int] listen_port: Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
323
|
-
:param pulumi.Input[str] load_balancer_id: Id of the load balancer this service belongs to.
|
324
|
-
:param pulumi.Input[str] protocol: Protocol of the service. `http`, `https` or `tcp`
|
325
|
-
:param pulumi.Input[bool] proxyprotocol: Enable proxyprotocol.
|
323
|
+
:param pulumi.Input[builtins.int] listen_port: Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
324
|
+
:param pulumi.Input[builtins.str] load_balancer_id: Id of the load balancer this service belongs to.
|
325
|
+
:param pulumi.Input[builtins.str] protocol: Protocol of the service. `http`, `https` or `tcp`
|
326
|
+
:param pulumi.Input[builtins.bool] proxyprotocol: Enable proxyprotocol.
|
326
327
|
"""
|
327
328
|
...
|
328
329
|
@overload
|
@@ -390,13 +391,13 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
390
391
|
def _internal_init(__self__,
|
391
392
|
resource_name: str,
|
392
393
|
opts: Optional[pulumi.ResourceOptions] = None,
|
393
|
-
destination_port: Optional[pulumi.Input[int]] = None,
|
394
|
+
destination_port: Optional[pulumi.Input[builtins.int]] = None,
|
394
395
|
health_check: Optional[pulumi.Input[Union['LoadBalancerServiceHealthCheckArgs', 'LoadBalancerServiceHealthCheckArgsDict']]] = None,
|
395
396
|
http: Optional[pulumi.Input[Union['LoadBalancerServiceHttpArgs', 'LoadBalancerServiceHttpArgsDict']]] = None,
|
396
|
-
listen_port: Optional[pulumi.Input[int]] = None,
|
397
|
-
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
398
|
-
protocol: Optional[pulumi.Input[str]] = None,
|
399
|
-
proxyprotocol: Optional[pulumi.Input[bool]] = None,
|
397
|
+
listen_port: Optional[pulumi.Input[builtins.int]] = None,
|
398
|
+
load_balancer_id: Optional[pulumi.Input[builtins.str]] = None,
|
399
|
+
protocol: Optional[pulumi.Input[builtins.str]] = None,
|
400
|
+
proxyprotocol: Optional[pulumi.Input[builtins.bool]] = None,
|
400
401
|
__props__=None):
|
401
402
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
402
403
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -427,13 +428,13 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
427
428
|
def get(resource_name: str,
|
428
429
|
id: pulumi.Input[str],
|
429
430
|
opts: Optional[pulumi.ResourceOptions] = None,
|
430
|
-
destination_port: Optional[pulumi.Input[int]] = None,
|
431
|
+
destination_port: Optional[pulumi.Input[builtins.int]] = None,
|
431
432
|
health_check: Optional[pulumi.Input[Union['LoadBalancerServiceHealthCheckArgs', 'LoadBalancerServiceHealthCheckArgsDict']]] = None,
|
432
433
|
http: Optional[pulumi.Input[Union['LoadBalancerServiceHttpArgs', 'LoadBalancerServiceHttpArgsDict']]] = None,
|
433
|
-
listen_port: Optional[pulumi.Input[int]] = None,
|
434
|
-
load_balancer_id: Optional[pulumi.Input[str]] = None,
|
435
|
-
protocol: Optional[pulumi.Input[str]] = None,
|
436
|
-
proxyprotocol: Optional[pulumi.Input[bool]] = None) -> 'LoadBalancerService':
|
434
|
+
listen_port: Optional[pulumi.Input[builtins.int]] = None,
|
435
|
+
load_balancer_id: Optional[pulumi.Input[builtins.str]] = None,
|
436
|
+
protocol: Optional[pulumi.Input[builtins.str]] = None,
|
437
|
+
proxyprotocol: Optional[pulumi.Input[builtins.bool]] = None) -> 'LoadBalancerService':
|
437
438
|
"""
|
438
439
|
Get an existing LoadBalancerService resource's state with the given name, id, and optional extra
|
439
440
|
properties used to qualify the lookup.
|
@@ -441,13 +442,13 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
441
442
|
:param str resource_name: The unique name of the resulting resource.
|
442
443
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
443
444
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
444
|
-
:param pulumi.Input[int] destination_port: Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
445
|
+
:param pulumi.Input[builtins.int] destination_port: Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
445
446
|
:param pulumi.Input[Union['LoadBalancerServiceHealthCheckArgs', 'LoadBalancerServiceHealthCheckArgsDict']] health_check: Health Check configuration when `protocol` is `http` or `https`.
|
446
447
|
:param pulumi.Input[Union['LoadBalancerServiceHttpArgs', 'LoadBalancerServiceHttpArgsDict']] http: HTTP configuration when `protocol` is `http` or `https`.
|
447
|
-
:param pulumi.Input[int] listen_port: Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
448
|
-
:param pulumi.Input[str] load_balancer_id: Id of the load balancer this service belongs to.
|
449
|
-
:param pulumi.Input[str] protocol: Protocol of the service. `http`, `https` or `tcp`
|
450
|
-
:param pulumi.Input[bool] proxyprotocol: Enable proxyprotocol.
|
448
|
+
:param pulumi.Input[builtins.int] listen_port: Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
449
|
+
:param pulumi.Input[builtins.str] load_balancer_id: Id of the load balancer this service belongs to.
|
450
|
+
:param pulumi.Input[builtins.str] protocol: Protocol of the service. `http`, `https` or `tcp`
|
451
|
+
:param pulumi.Input[builtins.bool] proxyprotocol: Enable proxyprotocol.
|
451
452
|
"""
|
452
453
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
453
454
|
|
@@ -464,7 +465,7 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
464
465
|
|
465
466
|
@property
|
466
467
|
@pulumi.getter(name="destinationPort")
|
467
|
-
def destination_port(self) -> pulumi.Output[int]:
|
468
|
+
def destination_port(self) -> pulumi.Output[builtins.int]:
|
468
469
|
"""
|
469
470
|
Port the service connects to the targets on, required if protocol is `tcp`. Can be everything between `1` and `65535`.
|
470
471
|
"""
|
@@ -488,7 +489,7 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
488
489
|
|
489
490
|
@property
|
490
491
|
@pulumi.getter(name="listenPort")
|
491
|
-
def listen_port(self) -> pulumi.Output[int]:
|
492
|
+
def listen_port(self) -> pulumi.Output[builtins.int]:
|
492
493
|
"""
|
493
494
|
Port the service listen on, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
494
495
|
"""
|
@@ -496,7 +497,7 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
496
497
|
|
497
498
|
@property
|
498
499
|
@pulumi.getter(name="loadBalancerId")
|
499
|
-
def load_balancer_id(self) -> pulumi.Output[str]:
|
500
|
+
def load_balancer_id(self) -> pulumi.Output[builtins.str]:
|
500
501
|
"""
|
501
502
|
Id of the load balancer this service belongs to.
|
502
503
|
"""
|
@@ -504,7 +505,7 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
504
505
|
|
505
506
|
@property
|
506
507
|
@pulumi.getter
|
507
|
-
def protocol(self) -> pulumi.Output[str]:
|
508
|
+
def protocol(self) -> pulumi.Output[builtins.str]:
|
508
509
|
"""
|
509
510
|
Protocol of the service. `http`, `https` or `tcp`
|
510
511
|
"""
|
@@ -512,7 +513,7 @@ class LoadBalancerService(pulumi.CustomResource):
|
|
512
513
|
|
513
514
|
@property
|
514
515
|
@pulumi.getter
|
515
|
-
def proxyprotocol(self) -> pulumi.Output[bool]:
|
516
|
+
def proxyprotocol(self) -> pulumi.Output[builtins.bool]:
|
516
517
|
"""
|
517
518
|
Enable proxyprotocol.
|
518
519
|
"""
|