pulumi-hcloud 1.24.0a1752904698__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.0a1752904698.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.0a1752904698.dist-info/RECORD +0 -67
- {pulumi_hcloud-1.24.0a1752904698.dist-info → pulumi_hcloud-1.24.0a1753509442.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.24.0a1752904698.dist-info → pulumi_hcloud-1.24.0a1753509442.dist-info}/top_level.txt +0 -0
pulumi_hcloud/outputs.py
CHANGED
@@ -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
|
@@ -81,12 +80,12 @@ class FirewallApplyTo(dict):
|
|
81
80
|
return super().get(key, default)
|
82
81
|
|
83
82
|
def __init__(__self__, *,
|
84
|
-
label_selector: Optional[
|
85
|
-
server: Optional[
|
83
|
+
label_selector: Optional[_builtins.str] = None,
|
84
|
+
server: Optional[_builtins.int] = None):
|
86
85
|
"""
|
87
|
-
:param
|
86
|
+
:param _builtins.str label_selector: Label Selector to select servers the firewall should be applied to (only one
|
88
87
|
of `server` and `label_selector`can be applied in one block)
|
89
|
-
:param
|
88
|
+
:param _builtins.int server: ID of the server you want to apply the firewall to (only one of `server`
|
90
89
|
and `label_selector`can be applied in one block)
|
91
90
|
"""
|
92
91
|
if label_selector is not None:
|
@@ -94,18 +93,18 @@ class FirewallApplyTo(dict):
|
|
94
93
|
if server is not None:
|
95
94
|
pulumi.set(__self__, "server", server)
|
96
95
|
|
97
|
-
@property
|
96
|
+
@_builtins.property
|
98
97
|
@pulumi.getter(name="labelSelector")
|
99
|
-
def label_selector(self) -> Optional[
|
98
|
+
def label_selector(self) -> Optional[_builtins.str]:
|
100
99
|
"""
|
101
100
|
Label Selector to select servers the firewall should be applied to (only one
|
102
101
|
of `server` and `label_selector`can be applied in one block)
|
103
102
|
"""
|
104
103
|
return pulumi.get(self, "label_selector")
|
105
104
|
|
106
|
-
@property
|
105
|
+
@_builtins.property
|
107
106
|
@pulumi.getter
|
108
|
-
def server(self) -> Optional[
|
107
|
+
def server(self) -> Optional[_builtins.int]:
|
109
108
|
"""
|
110
109
|
ID of the server you want to apply the firewall to (only one of `server`
|
111
110
|
and `label_selector`can be applied in one block)
|
@@ -135,21 +134,21 @@ class FirewallRule(dict):
|
|
135
134
|
return super().get(key, default)
|
136
135
|
|
137
136
|
def __init__(__self__, *,
|
138
|
-
direction:
|
139
|
-
protocol:
|
140
|
-
description: Optional[
|
141
|
-
destination_ips: Optional[Sequence[
|
142
|
-
port: Optional[
|
143
|
-
source_ips: Optional[Sequence[
|
144
|
-
"""
|
145
|
-
:param
|
146
|
-
:param
|
147
|
-
:param
|
148
|
-
:param Sequence[
|
137
|
+
direction: _builtins.str,
|
138
|
+
protocol: _builtins.str,
|
139
|
+
description: Optional[_builtins.str] = None,
|
140
|
+
destination_ips: Optional[Sequence[_builtins.str]] = None,
|
141
|
+
port: Optional[_builtins.str] = None,
|
142
|
+
source_ips: Optional[Sequence[_builtins.str]] = None):
|
143
|
+
"""
|
144
|
+
:param _builtins.str direction: Direction of the Firewall Rule. `in`
|
145
|
+
:param _builtins.str protocol: Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp`
|
146
|
+
:param _builtins.str description: Description of the firewall rule
|
147
|
+
:param Sequence[_builtins.str] destination_ips: List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction`
|
149
148
|
is `out`)
|
150
|
-
:param
|
149
|
+
:param _builtins.str port: Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`. You can use `any`
|
151
150
|
to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and 85.
|
152
|
-
:param Sequence[
|
151
|
+
:param Sequence[_builtins.str] source_ips: List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction`
|
153
152
|
is `in`)
|
154
153
|
"""
|
155
154
|
pulumi.set(__self__, "direction", direction)
|
@@ -163,51 +162,51 @@ class FirewallRule(dict):
|
|
163
162
|
if source_ips is not None:
|
164
163
|
pulumi.set(__self__, "source_ips", source_ips)
|
165
164
|
|
166
|
-
@property
|
165
|
+
@_builtins.property
|
167
166
|
@pulumi.getter
|
168
|
-
def direction(self) ->
|
167
|
+
def direction(self) -> _builtins.str:
|
169
168
|
"""
|
170
169
|
Direction of the Firewall Rule. `in`
|
171
170
|
"""
|
172
171
|
return pulumi.get(self, "direction")
|
173
172
|
|
174
|
-
@property
|
173
|
+
@_builtins.property
|
175
174
|
@pulumi.getter
|
176
|
-
def protocol(self) ->
|
175
|
+
def protocol(self) -> _builtins.str:
|
177
176
|
"""
|
178
177
|
Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp`
|
179
178
|
"""
|
180
179
|
return pulumi.get(self, "protocol")
|
181
180
|
|
182
|
-
@property
|
181
|
+
@_builtins.property
|
183
182
|
@pulumi.getter
|
184
|
-
def description(self) -> Optional[
|
183
|
+
def description(self) -> Optional[_builtins.str]:
|
185
184
|
"""
|
186
185
|
Description of the firewall rule
|
187
186
|
"""
|
188
187
|
return pulumi.get(self, "description")
|
189
188
|
|
190
|
-
@property
|
189
|
+
@_builtins.property
|
191
190
|
@pulumi.getter(name="destinationIps")
|
192
|
-
def destination_ips(self) -> Optional[Sequence[
|
191
|
+
def destination_ips(self) -> Optional[Sequence[_builtins.str]]:
|
193
192
|
"""
|
194
193
|
List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction`
|
195
194
|
is `out`)
|
196
195
|
"""
|
197
196
|
return pulumi.get(self, "destination_ips")
|
198
197
|
|
199
|
-
@property
|
198
|
+
@_builtins.property
|
200
199
|
@pulumi.getter
|
201
|
-
def port(self) -> Optional[
|
200
|
+
def port(self) -> Optional[_builtins.str]:
|
202
201
|
"""
|
203
202
|
Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`. You can use `any`
|
204
203
|
to allow all ports for the specific protocol. Port ranges are also possible: `80-85` allows all ports between 80 and 85.
|
205
204
|
"""
|
206
205
|
return pulumi.get(self, "port")
|
207
206
|
|
208
|
-
@property
|
207
|
+
@_builtins.property
|
209
208
|
@pulumi.getter(name="sourceIps")
|
210
|
-
def source_ips(self) -> Optional[Sequence[
|
209
|
+
def source_ips(self) -> Optional[Sequence[_builtins.str]]:
|
211
210
|
"""
|
212
211
|
List of IPs or CIDRs that are allowed within this Firewall Rule (when `direction`
|
213
212
|
is `in`)
|
@@ -218,16 +217,16 @@ class FirewallRule(dict):
|
|
218
217
|
@pulumi.output_type
|
219
218
|
class LoadBalancerAlgorithm(dict):
|
220
219
|
def __init__(__self__, *,
|
221
|
-
type: Optional[
|
220
|
+
type: Optional[_builtins.str] = None):
|
222
221
|
"""
|
223
|
-
:param
|
222
|
+
:param _builtins.str type: Type of the Load Balancer Algorithm. `round_robin` or `least_connections`
|
224
223
|
"""
|
225
224
|
if type is not None:
|
226
225
|
pulumi.set(__self__, "type", type)
|
227
226
|
|
228
|
-
@property
|
227
|
+
@_builtins.property
|
229
228
|
@pulumi.getter
|
230
|
-
def type(self) -> Optional[
|
229
|
+
def type(self) -> Optional[_builtins.str]:
|
231
230
|
"""
|
232
231
|
Type of the Load Balancer Algorithm. `round_robin` or `least_connections`
|
233
232
|
"""
|
@@ -237,19 +236,19 @@ class LoadBalancerAlgorithm(dict):
|
|
237
236
|
@pulumi.output_type
|
238
237
|
class LoadBalancerServiceHealthCheck(dict):
|
239
238
|
def __init__(__self__, *,
|
240
|
-
interval:
|
241
|
-
port:
|
242
|
-
protocol:
|
243
|
-
timeout:
|
239
|
+
interval: _builtins.int,
|
240
|
+
port: _builtins.int,
|
241
|
+
protocol: _builtins.str,
|
242
|
+
timeout: _builtins.int,
|
244
243
|
http: Optional['outputs.LoadBalancerServiceHealthCheckHttp'] = None,
|
245
|
-
retries: Optional[
|
244
|
+
retries: Optional[_builtins.int] = None):
|
246
245
|
"""
|
247
|
-
:param
|
248
|
-
:param
|
249
|
-
:param
|
250
|
-
:param
|
246
|
+
:param _builtins.int interval: Interval how often the health check will be performed, in seconds.
|
247
|
+
:param _builtins.int port: Port the health check tries to connect to, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
248
|
+
:param _builtins.str protocol: Protocol the health check uses. `http` or `tcp`
|
249
|
+
:param _builtins.int timeout: Timeout when a health check try will be canceled if there is no response, in seconds.
|
251
250
|
:param 'LoadBalancerServiceHealthCheckHttpArgs' http: HTTP configuration. Required if `protocol` is `http`.
|
252
|
-
:param
|
251
|
+
:param _builtins.int retries: Number of tries a health check will be performed until a target will be listed as `unhealthy`.
|
253
252
|
"""
|
254
253
|
pulumi.set(__self__, "interval", interval)
|
255
254
|
pulumi.set(__self__, "port", port)
|
@@ -260,39 +259,39 @@ class LoadBalancerServiceHealthCheck(dict):
|
|
260
259
|
if retries is not None:
|
261
260
|
pulumi.set(__self__, "retries", retries)
|
262
261
|
|
263
|
-
@property
|
262
|
+
@_builtins.property
|
264
263
|
@pulumi.getter
|
265
|
-
def interval(self) ->
|
264
|
+
def interval(self) -> _builtins.int:
|
266
265
|
"""
|
267
266
|
Interval how often the health check will be performed, in seconds.
|
268
267
|
"""
|
269
268
|
return pulumi.get(self, "interval")
|
270
269
|
|
271
|
-
@property
|
270
|
+
@_builtins.property
|
272
271
|
@pulumi.getter
|
273
|
-
def port(self) ->
|
272
|
+
def port(self) -> _builtins.int:
|
274
273
|
"""
|
275
274
|
Port the health check tries to connect to, required if protocol is `tcp`. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
276
275
|
"""
|
277
276
|
return pulumi.get(self, "port")
|
278
277
|
|
279
|
-
@property
|
278
|
+
@_builtins.property
|
280
279
|
@pulumi.getter
|
281
|
-
def protocol(self) ->
|
280
|
+
def protocol(self) -> _builtins.str:
|
282
281
|
"""
|
283
282
|
Protocol the health check uses. `http` or `tcp`
|
284
283
|
"""
|
285
284
|
return pulumi.get(self, "protocol")
|
286
285
|
|
287
|
-
@property
|
286
|
+
@_builtins.property
|
288
287
|
@pulumi.getter
|
289
|
-
def timeout(self) ->
|
288
|
+
def timeout(self) -> _builtins.int:
|
290
289
|
"""
|
291
290
|
Timeout when a health check try will be canceled if there is no response, in seconds.
|
292
291
|
"""
|
293
292
|
return pulumi.get(self, "timeout")
|
294
293
|
|
295
|
-
@property
|
294
|
+
@_builtins.property
|
296
295
|
@pulumi.getter
|
297
296
|
def http(self) -> Optional['outputs.LoadBalancerServiceHealthCheckHttp']:
|
298
297
|
"""
|
@@ -300,9 +299,9 @@ class LoadBalancerServiceHealthCheck(dict):
|
|
300
299
|
"""
|
301
300
|
return pulumi.get(self, "http")
|
302
301
|
|
303
|
-
@property
|
302
|
+
@_builtins.property
|
304
303
|
@pulumi.getter
|
305
|
-
def retries(self) -> Optional[
|
304
|
+
def retries(self) -> Optional[_builtins.int]:
|
306
305
|
"""
|
307
306
|
Number of tries a health check will be performed until a target will be listed as `unhealthy`.
|
308
307
|
"""
|
@@ -329,17 +328,17 @@ class LoadBalancerServiceHealthCheckHttp(dict):
|
|
329
328
|
return super().get(key, default)
|
330
329
|
|
331
330
|
def __init__(__self__, *,
|
332
|
-
domain: Optional[
|
333
|
-
path: Optional[
|
334
|
-
response: Optional[
|
335
|
-
status_codes: Optional[Sequence[
|
336
|
-
tls: Optional[
|
337
|
-
"""
|
338
|
-
:param
|
339
|
-
:param
|
340
|
-
:param
|
341
|
-
:param Sequence[
|
342
|
-
:param
|
331
|
+
domain: Optional[_builtins.str] = None,
|
332
|
+
path: Optional[_builtins.str] = None,
|
333
|
+
response: Optional[_builtins.str] = None,
|
334
|
+
status_codes: Optional[Sequence[_builtins.str]] = None,
|
335
|
+
tls: Optional[_builtins.bool] = None):
|
336
|
+
"""
|
337
|
+
:param _builtins.str domain: Domain we try to access when performing the Health Check.
|
338
|
+
:param _builtins.str path: Path we try to access when performing the Health Check.
|
339
|
+
:param _builtins.str response: Response we expect to be included in the Target response when a Health Check was performed.
|
340
|
+
:param Sequence[_builtins.str] status_codes: We expect that the target answers with these status codes. If not the target is marked as `unhealthy`.
|
341
|
+
:param _builtins.bool tls: Enable TLS certificate checking.
|
343
342
|
"""
|
344
343
|
if domain is not None:
|
345
344
|
pulumi.set(__self__, "domain", domain)
|
@@ -352,41 +351,41 @@ class LoadBalancerServiceHealthCheckHttp(dict):
|
|
352
351
|
if tls is not None:
|
353
352
|
pulumi.set(__self__, "tls", tls)
|
354
353
|
|
355
|
-
@property
|
354
|
+
@_builtins.property
|
356
355
|
@pulumi.getter
|
357
|
-
def domain(self) -> Optional[
|
356
|
+
def domain(self) -> Optional[_builtins.str]:
|
358
357
|
"""
|
359
358
|
Domain we try to access when performing the Health Check.
|
360
359
|
"""
|
361
360
|
return pulumi.get(self, "domain")
|
362
361
|
|
363
|
-
@property
|
362
|
+
@_builtins.property
|
364
363
|
@pulumi.getter
|
365
|
-
def path(self) -> Optional[
|
364
|
+
def path(self) -> Optional[_builtins.str]:
|
366
365
|
"""
|
367
366
|
Path we try to access when performing the Health Check.
|
368
367
|
"""
|
369
368
|
return pulumi.get(self, "path")
|
370
369
|
|
371
|
-
@property
|
370
|
+
@_builtins.property
|
372
371
|
@pulumi.getter
|
373
|
-
def response(self) -> Optional[
|
372
|
+
def response(self) -> Optional[_builtins.str]:
|
374
373
|
"""
|
375
374
|
Response we expect to be included in the Target response when a Health Check was performed.
|
376
375
|
"""
|
377
376
|
return pulumi.get(self, "response")
|
378
377
|
|
379
|
-
@property
|
378
|
+
@_builtins.property
|
380
379
|
@pulumi.getter(name="statusCodes")
|
381
|
-
def status_codes(self) -> Optional[Sequence[
|
380
|
+
def status_codes(self) -> Optional[Sequence[_builtins.str]]:
|
382
381
|
"""
|
383
382
|
We expect that the target answers with these status codes. If not the target is marked as `unhealthy`.
|
384
383
|
"""
|
385
384
|
return pulumi.get(self, "status_codes")
|
386
385
|
|
387
|
-
@property
|
386
|
+
@_builtins.property
|
388
387
|
@pulumi.getter
|
389
|
-
def tls(self) -> Optional[
|
388
|
+
def tls(self) -> Optional[_builtins.bool]:
|
390
389
|
"""
|
391
390
|
Enable TLS certificate checking.
|
392
391
|
"""
|
@@ -419,17 +418,17 @@ class LoadBalancerServiceHttp(dict):
|
|
419
418
|
return super().get(key, default)
|
420
419
|
|
421
420
|
def __init__(__self__, *,
|
422
|
-
certificates: Optional[Sequence[
|
423
|
-
cookie_lifetime: Optional[
|
424
|
-
cookie_name: Optional[
|
425
|
-
redirect_http: Optional[
|
426
|
-
sticky_sessions: Optional[
|
427
|
-
"""
|
428
|
-
:param Sequence[
|
429
|
-
:param
|
430
|
-
:param
|
431
|
-
:param
|
432
|
-
:param
|
421
|
+
certificates: Optional[Sequence[_builtins.int]] = None,
|
422
|
+
cookie_lifetime: Optional[_builtins.int] = None,
|
423
|
+
cookie_name: Optional[_builtins.str] = None,
|
424
|
+
redirect_http: Optional[_builtins.bool] = None,
|
425
|
+
sticky_sessions: Optional[_builtins.bool] = None):
|
426
|
+
"""
|
427
|
+
:param Sequence[_builtins.int] certificates: List of IDs from certificates which the Load Balancer has.
|
428
|
+
:param _builtins.int cookie_lifetime: Lifetime of the cookie for sticky session (in seconds). Default: `300`
|
429
|
+
:param _builtins.str cookie_name: Name of the cookie for sticky session. Default: `HCLBSTICKY`
|
430
|
+
:param _builtins.bool redirect_http: Redirect HTTP to HTTPS traffic. Only supported for services with `protocol` `https` using the default HTTP port `80`.
|
431
|
+
:param _builtins.bool sticky_sessions: Enable sticky sessions
|
433
432
|
"""
|
434
433
|
if certificates is not None:
|
435
434
|
pulumi.set(__self__, "certificates", certificates)
|
@@ -442,41 +441,41 @@ class LoadBalancerServiceHttp(dict):
|
|
442
441
|
if sticky_sessions is not None:
|
443
442
|
pulumi.set(__self__, "sticky_sessions", sticky_sessions)
|
444
443
|
|
445
|
-
@property
|
444
|
+
@_builtins.property
|
446
445
|
@pulumi.getter
|
447
|
-
def certificates(self) -> Optional[Sequence[
|
446
|
+
def certificates(self) -> Optional[Sequence[_builtins.int]]:
|
448
447
|
"""
|
449
448
|
List of IDs from certificates which the Load Balancer has.
|
450
449
|
"""
|
451
450
|
return pulumi.get(self, "certificates")
|
452
451
|
|
453
|
-
@property
|
452
|
+
@_builtins.property
|
454
453
|
@pulumi.getter(name="cookieLifetime")
|
455
|
-
def cookie_lifetime(self) -> Optional[
|
454
|
+
def cookie_lifetime(self) -> Optional[_builtins.int]:
|
456
455
|
"""
|
457
456
|
Lifetime of the cookie for sticky session (in seconds). Default: `300`
|
458
457
|
"""
|
459
458
|
return pulumi.get(self, "cookie_lifetime")
|
460
459
|
|
461
|
-
@property
|
460
|
+
@_builtins.property
|
462
461
|
@pulumi.getter(name="cookieName")
|
463
|
-
def cookie_name(self) -> Optional[
|
462
|
+
def cookie_name(self) -> Optional[_builtins.str]:
|
464
463
|
"""
|
465
464
|
Name of the cookie for sticky session. Default: `HCLBSTICKY`
|
466
465
|
"""
|
467
466
|
return pulumi.get(self, "cookie_name")
|
468
467
|
|
469
|
-
@property
|
468
|
+
@_builtins.property
|
470
469
|
@pulumi.getter(name="redirectHttp")
|
471
|
-
def redirect_http(self) -> Optional[
|
470
|
+
def redirect_http(self) -> Optional[_builtins.bool]:
|
472
471
|
"""
|
473
472
|
Redirect HTTP to HTTPS traffic. Only supported for services with `protocol` `https` using the default HTTP port `80`.
|
474
473
|
"""
|
475
474
|
return pulumi.get(self, "redirect_http")
|
476
475
|
|
477
|
-
@property
|
476
|
+
@_builtins.property
|
478
477
|
@pulumi.getter(name="stickySessions")
|
479
|
-
def sticky_sessions(self) -> Optional[
|
478
|
+
def sticky_sessions(self) -> Optional[_builtins.bool]:
|
480
479
|
"""
|
481
480
|
Enable sticky sessions
|
482
481
|
"""
|
@@ -505,11 +504,11 @@ class LoadBalancerTarget(dict):
|
|
505
504
|
return super().get(key, default)
|
506
505
|
|
507
506
|
def __init__(__self__, *,
|
508
|
-
type:
|
509
|
-
server_id: Optional[
|
510
|
-
use_private_ip: Optional[
|
507
|
+
type: _builtins.str,
|
508
|
+
server_id: Optional[_builtins.int] = None,
|
509
|
+
use_private_ip: Optional[_builtins.bool] = None):
|
511
510
|
"""
|
512
|
-
:param
|
511
|
+
:param _builtins.str type: (string) Type of the Load Balancer Algorithm. `round_robin` or `least_connections`
|
513
512
|
"""
|
514
513
|
pulumi.set(__self__, "type", type)
|
515
514
|
if server_id is not None:
|
@@ -517,23 +516,23 @@ class LoadBalancerTarget(dict):
|
|
517
516
|
if use_private_ip is not None:
|
518
517
|
pulumi.set(__self__, "use_private_ip", use_private_ip)
|
519
518
|
|
520
|
-
@property
|
519
|
+
@_builtins.property
|
521
520
|
@pulumi.getter
|
522
|
-
def type(self) ->
|
521
|
+
def type(self) -> _builtins.str:
|
523
522
|
"""
|
524
523
|
(string) Type of the Load Balancer Algorithm. `round_robin` or `least_connections`
|
525
524
|
"""
|
526
525
|
return pulumi.get(self, "type")
|
527
526
|
|
528
|
-
@property
|
527
|
+
@_builtins.property
|
529
528
|
@pulumi.getter(name="serverId")
|
530
|
-
def server_id(self) -> Optional[
|
529
|
+
def server_id(self) -> Optional[_builtins.int]:
|
531
530
|
return pulumi.get(self, "server_id")
|
532
531
|
|
533
|
-
@property
|
532
|
+
@_builtins.property
|
534
533
|
@pulumi.getter(name="usePrivateIp")
|
535
534
|
@_utilities.deprecated("""Does not work. Use the LoadBalancerTarget resource instead.""")
|
536
|
-
def use_private_ip(self) -> Optional[
|
535
|
+
def use_private_ip(self) -> Optional[_builtins.bool]:
|
537
536
|
return pulumi.get(self, "use_private_ip")
|
538
537
|
|
539
538
|
|
@@ -561,14 +560,14 @@ class ServerNetwork(dict):
|
|
561
560
|
return super().get(key, default)
|
562
561
|
|
563
562
|
def __init__(__self__, *,
|
564
|
-
network_id:
|
565
|
-
alias_ips: Optional[Sequence[
|
566
|
-
ip: Optional[
|
567
|
-
mac_address: Optional[
|
563
|
+
network_id: _builtins.int,
|
564
|
+
alias_ips: Optional[Sequence[_builtins.str]] = None,
|
565
|
+
ip: Optional[_builtins.str] = None,
|
566
|
+
mac_address: Optional[_builtins.str] = None):
|
568
567
|
"""
|
569
|
-
:param
|
570
|
-
:param
|
571
|
-
:param
|
568
|
+
:param _builtins.int network_id: ID of the network
|
569
|
+
:param _builtins.str ip: Specify the IP the server should get in the network
|
570
|
+
:param _builtins.str mac_address: (Optional, string) The MAC address the private interface of the server has
|
572
571
|
"""
|
573
572
|
pulumi.set(__self__, "network_id", network_id)
|
574
573
|
if alias_ips is not None:
|
@@ -578,30 +577,30 @@ class ServerNetwork(dict):
|
|
578
577
|
if mac_address is not None:
|
579
578
|
pulumi.set(__self__, "mac_address", mac_address)
|
580
579
|
|
581
|
-
@property
|
580
|
+
@_builtins.property
|
582
581
|
@pulumi.getter(name="networkId")
|
583
|
-
def network_id(self) ->
|
582
|
+
def network_id(self) -> _builtins.int:
|
584
583
|
"""
|
585
584
|
ID of the network
|
586
585
|
"""
|
587
586
|
return pulumi.get(self, "network_id")
|
588
587
|
|
589
|
-
@property
|
588
|
+
@_builtins.property
|
590
589
|
@pulumi.getter(name="aliasIps")
|
591
|
-
def alias_ips(self) -> Optional[Sequence[
|
590
|
+
def alias_ips(self) -> Optional[Sequence[_builtins.str]]:
|
592
591
|
return pulumi.get(self, "alias_ips")
|
593
592
|
|
594
|
-
@property
|
593
|
+
@_builtins.property
|
595
594
|
@pulumi.getter
|
596
|
-
def ip(self) -> Optional[
|
595
|
+
def ip(self) -> Optional[_builtins.str]:
|
597
596
|
"""
|
598
597
|
Specify the IP the server should get in the network
|
599
598
|
"""
|
600
599
|
return pulumi.get(self, "ip")
|
601
600
|
|
602
|
-
@property
|
601
|
+
@_builtins.property
|
603
602
|
@pulumi.getter(name="macAddress")
|
604
|
-
def mac_address(self) -> Optional[
|
603
|
+
def mac_address(self) -> Optional[_builtins.str]:
|
605
604
|
"""
|
606
605
|
(Optional, string) The MAC address the private interface of the server has
|
607
606
|
"""
|
@@ -630,10 +629,10 @@ class ServerPublicNet(dict):
|
|
630
629
|
return super().get(key, default)
|
631
630
|
|
632
631
|
def __init__(__self__, *,
|
633
|
-
ipv4: Optional[
|
634
|
-
ipv4_enabled: Optional[
|
635
|
-
ipv6: Optional[
|
636
|
-
ipv6_enabled: Optional[
|
632
|
+
ipv4: Optional[_builtins.int] = None,
|
633
|
+
ipv4_enabled: Optional[_builtins.bool] = None,
|
634
|
+
ipv6: Optional[_builtins.int] = None,
|
635
|
+
ipv6_enabled: Optional[_builtins.bool] = None):
|
637
636
|
if ipv4 is not None:
|
638
637
|
pulumi.set(__self__, "ipv4", ipv4)
|
639
638
|
if ipv4_enabled is not None:
|
@@ -643,40 +642,40 @@ class ServerPublicNet(dict):
|
|
643
642
|
if ipv6_enabled is not None:
|
644
643
|
pulumi.set(__self__, "ipv6_enabled", ipv6_enabled)
|
645
644
|
|
646
|
-
@property
|
645
|
+
@_builtins.property
|
647
646
|
@pulumi.getter
|
648
|
-
def ipv4(self) -> Optional[
|
647
|
+
def ipv4(self) -> Optional[_builtins.int]:
|
649
648
|
return pulumi.get(self, "ipv4")
|
650
649
|
|
651
|
-
@property
|
650
|
+
@_builtins.property
|
652
651
|
@pulumi.getter(name="ipv4Enabled")
|
653
|
-
def ipv4_enabled(self) -> Optional[
|
652
|
+
def ipv4_enabled(self) -> Optional[_builtins.bool]:
|
654
653
|
return pulumi.get(self, "ipv4_enabled")
|
655
654
|
|
656
|
-
@property
|
655
|
+
@_builtins.property
|
657
656
|
@pulumi.getter
|
658
|
-
def ipv6(self) -> Optional[
|
657
|
+
def ipv6(self) -> Optional[_builtins.int]:
|
659
658
|
return pulumi.get(self, "ipv6")
|
660
659
|
|
661
|
-
@property
|
660
|
+
@_builtins.property
|
662
661
|
@pulumi.getter(name="ipv6Enabled")
|
663
|
-
def ipv6_enabled(self) -> Optional[
|
662
|
+
def ipv6_enabled(self) -> Optional[_builtins.bool]:
|
664
663
|
return pulumi.get(self, "ipv6_enabled")
|
665
664
|
|
666
665
|
|
667
666
|
@pulumi.output_type
|
668
667
|
class GetCertificatesCertificateResult(dict):
|
669
668
|
def __init__(__self__, *,
|
670
|
-
certificate:
|
671
|
-
created:
|
672
|
-
domain_names: Sequence[
|
673
|
-
fingerprint:
|
674
|
-
id:
|
675
|
-
labels: Mapping[str,
|
676
|
-
not_valid_after:
|
677
|
-
not_valid_before:
|
678
|
-
type:
|
679
|
-
name: Optional[
|
669
|
+
certificate: _builtins.str,
|
670
|
+
created: _builtins.str,
|
671
|
+
domain_names: Sequence[_builtins.str],
|
672
|
+
fingerprint: _builtins.str,
|
673
|
+
id: _builtins.int,
|
674
|
+
labels: Mapping[str, _builtins.str],
|
675
|
+
not_valid_after: _builtins.str,
|
676
|
+
not_valid_before: _builtins.str,
|
677
|
+
type: _builtins.str,
|
678
|
+
name: Optional[_builtins.str] = None):
|
680
679
|
pulumi.set(__self__, "certificate", certificate)
|
681
680
|
pulumi.set(__self__, "created", created)
|
682
681
|
pulumi.set(__self__, "domain_names", domain_names)
|
@@ -689,73 +688,73 @@ class GetCertificatesCertificateResult(dict):
|
|
689
688
|
if name is not None:
|
690
689
|
pulumi.set(__self__, "name", name)
|
691
690
|
|
692
|
-
@property
|
691
|
+
@_builtins.property
|
693
692
|
@pulumi.getter
|
694
|
-
def certificate(self) ->
|
693
|
+
def certificate(self) -> _builtins.str:
|
695
694
|
return pulumi.get(self, "certificate")
|
696
695
|
|
697
|
-
@property
|
696
|
+
@_builtins.property
|
698
697
|
@pulumi.getter
|
699
|
-
def created(self) ->
|
698
|
+
def created(self) -> _builtins.str:
|
700
699
|
return pulumi.get(self, "created")
|
701
700
|
|
702
|
-
@property
|
701
|
+
@_builtins.property
|
703
702
|
@pulumi.getter(name="domainNames")
|
704
|
-
def domain_names(self) -> Sequence[
|
703
|
+
def domain_names(self) -> Sequence[_builtins.str]:
|
705
704
|
return pulumi.get(self, "domain_names")
|
706
705
|
|
707
|
-
@property
|
706
|
+
@_builtins.property
|
708
707
|
@pulumi.getter
|
709
|
-
def fingerprint(self) ->
|
708
|
+
def fingerprint(self) -> _builtins.str:
|
710
709
|
return pulumi.get(self, "fingerprint")
|
711
710
|
|
712
|
-
@property
|
711
|
+
@_builtins.property
|
713
712
|
@pulumi.getter
|
714
|
-
def id(self) ->
|
713
|
+
def id(self) -> _builtins.int:
|
715
714
|
return pulumi.get(self, "id")
|
716
715
|
|
717
|
-
@property
|
716
|
+
@_builtins.property
|
718
717
|
@pulumi.getter
|
719
|
-
def labels(self) -> Mapping[str,
|
718
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
720
719
|
return pulumi.get(self, "labels")
|
721
720
|
|
722
|
-
@property
|
721
|
+
@_builtins.property
|
723
722
|
@pulumi.getter(name="notValidAfter")
|
724
|
-
def not_valid_after(self) ->
|
723
|
+
def not_valid_after(self) -> _builtins.str:
|
725
724
|
return pulumi.get(self, "not_valid_after")
|
726
725
|
|
727
|
-
@property
|
726
|
+
@_builtins.property
|
728
727
|
@pulumi.getter(name="notValidBefore")
|
729
|
-
def not_valid_before(self) ->
|
728
|
+
def not_valid_before(self) -> _builtins.str:
|
730
729
|
return pulumi.get(self, "not_valid_before")
|
731
730
|
|
732
|
-
@property
|
731
|
+
@_builtins.property
|
733
732
|
@pulumi.getter
|
734
|
-
def type(self) ->
|
733
|
+
def type(self) -> _builtins.str:
|
735
734
|
return pulumi.get(self, "type")
|
736
735
|
|
737
|
-
@property
|
736
|
+
@_builtins.property
|
738
737
|
@pulumi.getter
|
739
|
-
def name(self) -> Optional[
|
738
|
+
def name(self) -> Optional[_builtins.str]:
|
740
739
|
return pulumi.get(self, "name")
|
741
740
|
|
742
741
|
|
743
742
|
@pulumi.output_type
|
744
743
|
class GetDatacentersDatacenterResult(dict):
|
745
744
|
def __init__(__self__, *,
|
746
|
-
available_server_type_ids: Sequence[
|
747
|
-
description:
|
748
|
-
id:
|
749
|
-
location: Mapping[str,
|
750
|
-
name:
|
751
|
-
supported_server_type_ids: Sequence[
|
752
|
-
"""
|
753
|
-
:param Sequence[
|
754
|
-
:param
|
755
|
-
:param
|
756
|
-
:param Mapping[str,
|
757
|
-
:param
|
758
|
-
:param Sequence[
|
745
|
+
available_server_type_ids: Sequence[_builtins.int],
|
746
|
+
description: _builtins.str,
|
747
|
+
id: _builtins.int,
|
748
|
+
location: Mapping[str, _builtins.str],
|
749
|
+
name: _builtins.str,
|
750
|
+
supported_server_type_ids: Sequence[_builtins.int]):
|
751
|
+
"""
|
752
|
+
:param Sequence[_builtins.int] available_server_type_ids: List of currently available Server Types in the Datacenter.
|
753
|
+
:param _builtins.str description: Description of the Datacenter.
|
754
|
+
:param _builtins.int id: ID of the Datacenter.
|
755
|
+
:param Mapping[str, _builtins.str] location: Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
756
|
+
:param _builtins.str name: Name of the Datacenter.
|
757
|
+
:param Sequence[_builtins.int] supported_server_type_ids: List of supported Server Types in the Datacenter.
|
759
758
|
"""
|
760
759
|
pulumi.set(__self__, "available_server_type_ids", available_server_type_ids)
|
761
760
|
pulumi.set(__self__, "description", description)
|
@@ -764,49 +763,49 @@ class GetDatacentersDatacenterResult(dict):
|
|
764
763
|
pulumi.set(__self__, "name", name)
|
765
764
|
pulumi.set(__self__, "supported_server_type_ids", supported_server_type_ids)
|
766
765
|
|
767
|
-
@property
|
766
|
+
@_builtins.property
|
768
767
|
@pulumi.getter(name="availableServerTypeIds")
|
769
|
-
def available_server_type_ids(self) -> Sequence[
|
768
|
+
def available_server_type_ids(self) -> Sequence[_builtins.int]:
|
770
769
|
"""
|
771
770
|
List of currently available Server Types in the Datacenter.
|
772
771
|
"""
|
773
772
|
return pulumi.get(self, "available_server_type_ids")
|
774
773
|
|
775
|
-
@property
|
774
|
+
@_builtins.property
|
776
775
|
@pulumi.getter
|
777
|
-
def description(self) ->
|
776
|
+
def description(self) -> _builtins.str:
|
778
777
|
"""
|
779
778
|
Description of the Datacenter.
|
780
779
|
"""
|
781
780
|
return pulumi.get(self, "description")
|
782
781
|
|
783
|
-
@property
|
782
|
+
@_builtins.property
|
784
783
|
@pulumi.getter
|
785
|
-
def id(self) ->
|
784
|
+
def id(self) -> _builtins.int:
|
786
785
|
"""
|
787
786
|
ID of the Datacenter.
|
788
787
|
"""
|
789
788
|
return pulumi.get(self, "id")
|
790
789
|
|
791
|
-
@property
|
790
|
+
@_builtins.property
|
792
791
|
@pulumi.getter
|
793
|
-
def location(self) -> Mapping[str,
|
792
|
+
def location(self) -> Mapping[str, _builtins.str]:
|
794
793
|
"""
|
795
794
|
Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
796
795
|
"""
|
797
796
|
return pulumi.get(self, "location")
|
798
797
|
|
799
|
-
@property
|
798
|
+
@_builtins.property
|
800
799
|
@pulumi.getter
|
801
|
-
def name(self) ->
|
800
|
+
def name(self) -> _builtins.str:
|
802
801
|
"""
|
803
802
|
Name of the Datacenter.
|
804
803
|
"""
|
805
804
|
return pulumi.get(self, "name")
|
806
805
|
|
807
|
-
@property
|
806
|
+
@_builtins.property
|
808
807
|
@pulumi.getter(name="supportedServerTypeIds")
|
809
|
-
def supported_server_type_ids(self) -> Sequence[
|
808
|
+
def supported_server_type_ids(self) -> Sequence[_builtins.int]:
|
810
809
|
"""
|
811
810
|
List of supported Server Types in the Datacenter.
|
812
811
|
"""
|
@@ -816,28 +815,28 @@ class GetDatacentersDatacenterResult(dict):
|
|
816
815
|
@pulumi.output_type
|
817
816
|
class GetFirewallApplyToResult(dict):
|
818
817
|
def __init__(__self__, *,
|
819
|
-
label_selector:
|
820
|
-
server:
|
818
|
+
label_selector: _builtins.str,
|
819
|
+
server: _builtins.int):
|
821
820
|
"""
|
822
|
-
:param
|
821
|
+
:param _builtins.str label_selector: (string) Label Selector to select servers the firewall is applied to. Empty if a server is directly
|
823
822
|
referenced
|
824
|
-
:param
|
823
|
+
:param _builtins.int server: (int) ID of a server where the firewall is applied to. `0` if applied to a label_selector
|
825
824
|
"""
|
826
825
|
pulumi.set(__self__, "label_selector", label_selector)
|
827
826
|
pulumi.set(__self__, "server", server)
|
828
827
|
|
829
|
-
@property
|
828
|
+
@_builtins.property
|
830
829
|
@pulumi.getter(name="labelSelector")
|
831
|
-
def label_selector(self) ->
|
830
|
+
def label_selector(self) -> _builtins.str:
|
832
831
|
"""
|
833
832
|
(string) Label Selector to select servers the firewall is applied to. Empty if a server is directly
|
834
833
|
referenced
|
835
834
|
"""
|
836
835
|
return pulumi.get(self, "label_selector")
|
837
836
|
|
838
|
-
@property
|
837
|
+
@_builtins.property
|
839
838
|
@pulumi.getter
|
840
|
-
def server(self) ->
|
839
|
+
def server(self) -> _builtins.int:
|
841
840
|
"""
|
842
841
|
(int) ID of a server where the firewall is applied to. `0` if applied to a label_selector
|
843
842
|
"""
|
@@ -847,19 +846,19 @@ class GetFirewallApplyToResult(dict):
|
|
847
846
|
@pulumi.output_type
|
848
847
|
class GetFirewallRuleResult(dict):
|
849
848
|
def __init__(__self__, *,
|
850
|
-
direction:
|
851
|
-
description: Optional[
|
852
|
-
destination_ips: Optional[Sequence[
|
853
|
-
port: Optional[
|
854
|
-
protocol: Optional[
|
855
|
-
source_ips: Optional[Sequence[
|
856
|
-
"""
|
857
|
-
:param
|
858
|
-
:param
|
859
|
-
:param Sequence[
|
860
|
-
:param
|
861
|
-
:param
|
862
|
-
:param Sequence[
|
849
|
+
direction: _builtins.str,
|
850
|
+
description: Optional[_builtins.str] = None,
|
851
|
+
destination_ips: Optional[Sequence[_builtins.str]] = None,
|
852
|
+
port: Optional[_builtins.str] = None,
|
853
|
+
protocol: Optional[_builtins.str] = None,
|
854
|
+
source_ips: Optional[Sequence[_builtins.str]] = None):
|
855
|
+
"""
|
856
|
+
:param _builtins.str direction: (Required, string) Direction of the Firewall Rule. `in`, `out`
|
857
|
+
:param _builtins.str description: (Optional, string) Description of the firewall rule
|
858
|
+
:param Sequence[_builtins.str] destination_ips: (Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `out`)
|
859
|
+
:param _builtins.str port: (Required, string) Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`
|
860
|
+
:param _builtins.str protocol: (Required, string) Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp`
|
861
|
+
:param Sequence[_builtins.str] source_ips: (Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `in`)
|
863
862
|
"""
|
864
863
|
pulumi.set(__self__, "direction", direction)
|
865
864
|
if description is not None:
|
@@ -873,49 +872,49 @@ class GetFirewallRuleResult(dict):
|
|
873
872
|
if source_ips is not None:
|
874
873
|
pulumi.set(__self__, "source_ips", source_ips)
|
875
874
|
|
876
|
-
@property
|
875
|
+
@_builtins.property
|
877
876
|
@pulumi.getter
|
878
|
-
def direction(self) ->
|
877
|
+
def direction(self) -> _builtins.str:
|
879
878
|
"""
|
880
879
|
(Required, string) Direction of the Firewall Rule. `in`, `out`
|
881
880
|
"""
|
882
881
|
return pulumi.get(self, "direction")
|
883
882
|
|
884
|
-
@property
|
883
|
+
@_builtins.property
|
885
884
|
@pulumi.getter
|
886
|
-
def description(self) -> Optional[
|
885
|
+
def description(self) -> Optional[_builtins.str]:
|
887
886
|
"""
|
888
887
|
(Optional, string) Description of the firewall rule
|
889
888
|
"""
|
890
889
|
return pulumi.get(self, "description")
|
891
890
|
|
892
|
-
@property
|
891
|
+
@_builtins.property
|
893
892
|
@pulumi.getter(name="destinationIps")
|
894
|
-
def destination_ips(self) -> Optional[Sequence[
|
893
|
+
def destination_ips(self) -> Optional[Sequence[_builtins.str]]:
|
895
894
|
"""
|
896
895
|
(Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `out`)
|
897
896
|
"""
|
898
897
|
return pulumi.get(self, "destination_ips")
|
899
898
|
|
900
|
-
@property
|
899
|
+
@_builtins.property
|
901
900
|
@pulumi.getter
|
902
|
-
def port(self) -> Optional[
|
901
|
+
def port(self) -> Optional[_builtins.str]:
|
903
902
|
"""
|
904
903
|
(Required, string) Port of the Firewall Rule. Required when `protocol` is `tcp` or `udp`
|
905
904
|
"""
|
906
905
|
return pulumi.get(self, "port")
|
907
906
|
|
908
|
-
@property
|
907
|
+
@_builtins.property
|
909
908
|
@pulumi.getter
|
910
|
-
def protocol(self) -> Optional[
|
909
|
+
def protocol(self) -> Optional[_builtins.str]:
|
911
910
|
"""
|
912
911
|
(Required, string) Protocol of the Firewall Rule. `tcp`, `icmp`, `udp`, `gre`, `esp`
|
913
912
|
"""
|
914
913
|
return pulumi.get(self, "protocol")
|
915
914
|
|
916
|
-
@property
|
915
|
+
@_builtins.property
|
917
916
|
@pulumi.getter(name="sourceIps")
|
918
|
-
def source_ips(self) -> Optional[Sequence[
|
917
|
+
def source_ips(self) -> Optional[Sequence[_builtins.str]]:
|
919
918
|
"""
|
920
919
|
(Required, List) List of CIDRs that are allowed within this Firewall Rule (when `direction` is `in`)
|
921
920
|
"""
|
@@ -925,10 +924,10 @@ class GetFirewallRuleResult(dict):
|
|
925
924
|
@pulumi.output_type
|
926
925
|
class GetFirewallsFirewallResult(dict):
|
927
926
|
def __init__(__self__, *,
|
928
|
-
name:
|
927
|
+
name: _builtins.str,
|
929
928
|
apply_tos: Optional[Sequence['outputs.GetFirewallsFirewallApplyToResult']] = None,
|
930
|
-
id: Optional[
|
931
|
-
labels: Optional[Mapping[str,
|
929
|
+
id: Optional[_builtins.int] = None,
|
930
|
+
labels: Optional[Mapping[str, _builtins.str]] = None,
|
932
931
|
rules: Optional[Sequence['outputs.GetFirewallsFirewallRuleResult']] = None):
|
933
932
|
pulumi.set(__self__, "name", name)
|
934
933
|
if apply_tos is not None:
|
@@ -940,27 +939,27 @@ class GetFirewallsFirewallResult(dict):
|
|
940
939
|
if rules is not None:
|
941
940
|
pulumi.set(__self__, "rules", rules)
|
942
941
|
|
943
|
-
@property
|
942
|
+
@_builtins.property
|
944
943
|
@pulumi.getter
|
945
|
-
def name(self) ->
|
944
|
+
def name(self) -> _builtins.str:
|
946
945
|
return pulumi.get(self, "name")
|
947
946
|
|
948
|
-
@property
|
947
|
+
@_builtins.property
|
949
948
|
@pulumi.getter(name="applyTos")
|
950
949
|
def apply_tos(self) -> Optional[Sequence['outputs.GetFirewallsFirewallApplyToResult']]:
|
951
950
|
return pulumi.get(self, "apply_tos")
|
952
951
|
|
953
|
-
@property
|
952
|
+
@_builtins.property
|
954
953
|
@pulumi.getter
|
955
|
-
def id(self) -> Optional[
|
954
|
+
def id(self) -> Optional[_builtins.int]:
|
956
955
|
return pulumi.get(self, "id")
|
957
956
|
|
958
|
-
@property
|
957
|
+
@_builtins.property
|
959
958
|
@pulumi.getter
|
960
|
-
def labels(self) -> Optional[Mapping[str,
|
959
|
+
def labels(self) -> Optional[Mapping[str, _builtins.str]]:
|
961
960
|
return pulumi.get(self, "labels")
|
962
961
|
|
963
|
-
@property
|
962
|
+
@_builtins.property
|
964
963
|
@pulumi.getter
|
965
964
|
def rules(self) -> Optional[Sequence['outputs.GetFirewallsFirewallRuleResult']]:
|
966
965
|
return pulumi.get(self, "rules")
|
@@ -969,31 +968,31 @@ class GetFirewallsFirewallResult(dict):
|
|
969
968
|
@pulumi.output_type
|
970
969
|
class GetFirewallsFirewallApplyToResult(dict):
|
971
970
|
def __init__(__self__, *,
|
972
|
-
label_selector:
|
973
|
-
server:
|
971
|
+
label_selector: _builtins.str,
|
972
|
+
server: _builtins.int):
|
974
973
|
pulumi.set(__self__, "label_selector", label_selector)
|
975
974
|
pulumi.set(__self__, "server", server)
|
976
975
|
|
977
|
-
@property
|
976
|
+
@_builtins.property
|
978
977
|
@pulumi.getter(name="labelSelector")
|
979
|
-
def label_selector(self) ->
|
978
|
+
def label_selector(self) -> _builtins.str:
|
980
979
|
return pulumi.get(self, "label_selector")
|
981
980
|
|
982
|
-
@property
|
981
|
+
@_builtins.property
|
983
982
|
@pulumi.getter
|
984
|
-
def server(self) ->
|
983
|
+
def server(self) -> _builtins.int:
|
985
984
|
return pulumi.get(self, "server")
|
986
985
|
|
987
986
|
|
988
987
|
@pulumi.output_type
|
989
988
|
class GetFirewallsFirewallRuleResult(dict):
|
990
989
|
def __init__(__self__, *,
|
991
|
-
direction:
|
992
|
-
description: Optional[
|
993
|
-
destination_ips: Optional[Sequence[
|
994
|
-
port: Optional[
|
995
|
-
protocol: Optional[
|
996
|
-
source_ips: Optional[Sequence[
|
990
|
+
direction: _builtins.str,
|
991
|
+
description: Optional[_builtins.str] = None,
|
992
|
+
destination_ips: Optional[Sequence[_builtins.str]] = None,
|
993
|
+
port: Optional[_builtins.str] = None,
|
994
|
+
protocol: Optional[_builtins.str] = None,
|
995
|
+
source_ips: Optional[Sequence[_builtins.str]] = None):
|
997
996
|
pulumi.set(__self__, "direction", direction)
|
998
997
|
if description is not None:
|
999
998
|
pulumi.set(__self__, "description", description)
|
@@ -1006,50 +1005,50 @@ class GetFirewallsFirewallRuleResult(dict):
|
|
1006
1005
|
if source_ips is not None:
|
1007
1006
|
pulumi.set(__self__, "source_ips", source_ips)
|
1008
1007
|
|
1009
|
-
@property
|
1008
|
+
@_builtins.property
|
1010
1009
|
@pulumi.getter
|
1011
|
-
def direction(self) ->
|
1010
|
+
def direction(self) -> _builtins.str:
|
1012
1011
|
return pulumi.get(self, "direction")
|
1013
1012
|
|
1014
|
-
@property
|
1013
|
+
@_builtins.property
|
1015
1014
|
@pulumi.getter
|
1016
|
-
def description(self) -> Optional[
|
1015
|
+
def description(self) -> Optional[_builtins.str]:
|
1017
1016
|
return pulumi.get(self, "description")
|
1018
1017
|
|
1019
|
-
@property
|
1018
|
+
@_builtins.property
|
1020
1019
|
@pulumi.getter(name="destinationIps")
|
1021
|
-
def destination_ips(self) -> Optional[Sequence[
|
1020
|
+
def destination_ips(self) -> Optional[Sequence[_builtins.str]]:
|
1022
1021
|
return pulumi.get(self, "destination_ips")
|
1023
1022
|
|
1024
|
-
@property
|
1023
|
+
@_builtins.property
|
1025
1024
|
@pulumi.getter
|
1026
|
-
def port(self) -> Optional[
|
1025
|
+
def port(self) -> Optional[_builtins.str]:
|
1027
1026
|
return pulumi.get(self, "port")
|
1028
1027
|
|
1029
|
-
@property
|
1028
|
+
@_builtins.property
|
1030
1029
|
@pulumi.getter
|
1031
|
-
def protocol(self) -> Optional[
|
1030
|
+
def protocol(self) -> Optional[_builtins.str]:
|
1032
1031
|
return pulumi.get(self, "protocol")
|
1033
1032
|
|
1034
|
-
@property
|
1033
|
+
@_builtins.property
|
1035
1034
|
@pulumi.getter(name="sourceIps")
|
1036
|
-
def source_ips(self) -> Optional[Sequence[
|
1035
|
+
def source_ips(self) -> Optional[Sequence[_builtins.str]]:
|
1037
1036
|
return pulumi.get(self, "source_ips")
|
1038
1037
|
|
1039
1038
|
|
1040
1039
|
@pulumi.output_type
|
1041
1040
|
class GetFloatingIpsFloatingIpResult(dict):
|
1042
1041
|
def __init__(__self__, *,
|
1043
|
-
delete_protection:
|
1044
|
-
description:
|
1045
|
-
home_location:
|
1046
|
-
id:
|
1047
|
-
ip_address:
|
1048
|
-
ip_network:
|
1049
|
-
labels: Mapping[str,
|
1050
|
-
server_id:
|
1051
|
-
type:
|
1052
|
-
name: Optional[
|
1042
|
+
delete_protection: _builtins.bool,
|
1043
|
+
description: _builtins.str,
|
1044
|
+
home_location: _builtins.str,
|
1045
|
+
id: _builtins.int,
|
1046
|
+
ip_address: _builtins.str,
|
1047
|
+
ip_network: _builtins.str,
|
1048
|
+
labels: Mapping[str, _builtins.str],
|
1049
|
+
server_id: _builtins.int,
|
1050
|
+
type: _builtins.str,
|
1051
|
+
name: Optional[_builtins.str] = None):
|
1053
1052
|
pulumi.set(__self__, "delete_protection", delete_protection)
|
1054
1053
|
pulumi.set(__self__, "description", description)
|
1055
1054
|
pulumi.set(__self__, "home_location", home_location)
|
@@ -1062,72 +1061,72 @@ class GetFloatingIpsFloatingIpResult(dict):
|
|
1062
1061
|
if name is not None:
|
1063
1062
|
pulumi.set(__self__, "name", name)
|
1064
1063
|
|
1065
|
-
@property
|
1064
|
+
@_builtins.property
|
1066
1065
|
@pulumi.getter(name="deleteProtection")
|
1067
|
-
def delete_protection(self) ->
|
1066
|
+
def delete_protection(self) -> _builtins.bool:
|
1068
1067
|
return pulumi.get(self, "delete_protection")
|
1069
1068
|
|
1070
|
-
@property
|
1069
|
+
@_builtins.property
|
1071
1070
|
@pulumi.getter
|
1072
|
-
def description(self) ->
|
1071
|
+
def description(self) -> _builtins.str:
|
1073
1072
|
return pulumi.get(self, "description")
|
1074
1073
|
|
1075
|
-
@property
|
1074
|
+
@_builtins.property
|
1076
1075
|
@pulumi.getter(name="homeLocation")
|
1077
|
-
def home_location(self) ->
|
1076
|
+
def home_location(self) -> _builtins.str:
|
1078
1077
|
return pulumi.get(self, "home_location")
|
1079
1078
|
|
1080
|
-
@property
|
1079
|
+
@_builtins.property
|
1081
1080
|
@pulumi.getter
|
1082
|
-
def id(self) ->
|
1081
|
+
def id(self) -> _builtins.int:
|
1083
1082
|
return pulumi.get(self, "id")
|
1084
1083
|
|
1085
|
-
@property
|
1084
|
+
@_builtins.property
|
1086
1085
|
@pulumi.getter(name="ipAddress")
|
1087
|
-
def ip_address(self) ->
|
1086
|
+
def ip_address(self) -> _builtins.str:
|
1088
1087
|
return pulumi.get(self, "ip_address")
|
1089
1088
|
|
1090
|
-
@property
|
1089
|
+
@_builtins.property
|
1091
1090
|
@pulumi.getter(name="ipNetwork")
|
1092
|
-
def ip_network(self) ->
|
1091
|
+
def ip_network(self) -> _builtins.str:
|
1093
1092
|
return pulumi.get(self, "ip_network")
|
1094
1093
|
|
1095
|
-
@property
|
1094
|
+
@_builtins.property
|
1096
1095
|
@pulumi.getter
|
1097
|
-
def labels(self) -> Mapping[str,
|
1096
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
1098
1097
|
return pulumi.get(self, "labels")
|
1099
1098
|
|
1100
|
-
@property
|
1099
|
+
@_builtins.property
|
1101
1100
|
@pulumi.getter(name="serverId")
|
1102
|
-
def server_id(self) ->
|
1101
|
+
def server_id(self) -> _builtins.int:
|
1103
1102
|
return pulumi.get(self, "server_id")
|
1104
1103
|
|
1105
|
-
@property
|
1104
|
+
@_builtins.property
|
1106
1105
|
@pulumi.getter
|
1107
|
-
def type(self) ->
|
1106
|
+
def type(self) -> _builtins.str:
|
1108
1107
|
return pulumi.get(self, "type")
|
1109
1108
|
|
1110
|
-
@property
|
1109
|
+
@_builtins.property
|
1111
1110
|
@pulumi.getter
|
1112
|
-
def name(self) -> Optional[
|
1111
|
+
def name(self) -> Optional[_builtins.str]:
|
1113
1112
|
return pulumi.get(self, "name")
|
1114
1113
|
|
1115
1114
|
|
1116
1115
|
@pulumi.output_type
|
1117
1116
|
class GetImagesImageResult(dict):
|
1118
1117
|
def __init__(__self__, *,
|
1119
|
-
architecture:
|
1120
|
-
created:
|
1121
|
-
deprecated:
|
1122
|
-
description:
|
1123
|
-
id:
|
1124
|
-
labels: Mapping[str,
|
1125
|
-
name:
|
1126
|
-
os_flavor:
|
1127
|
-
os_version:
|
1128
|
-
rapid_deploy:
|
1129
|
-
type:
|
1130
|
-
selector: Optional[
|
1118
|
+
architecture: _builtins.str,
|
1119
|
+
created: _builtins.str,
|
1120
|
+
deprecated: _builtins.str,
|
1121
|
+
description: _builtins.str,
|
1122
|
+
id: _builtins.int,
|
1123
|
+
labels: Mapping[str, _builtins.str],
|
1124
|
+
name: _builtins.str,
|
1125
|
+
os_flavor: _builtins.str,
|
1126
|
+
os_version: _builtins.str,
|
1127
|
+
rapid_deploy: _builtins.bool,
|
1128
|
+
type: _builtins.str,
|
1129
|
+
selector: Optional[_builtins.str] = None):
|
1131
1130
|
pulumi.set(__self__, "architecture", architecture)
|
1132
1131
|
pulumi.set(__self__, "created", created)
|
1133
1132
|
pulumi.set(__self__, "deprecated", deprecated)
|
@@ -1142,80 +1141,80 @@ class GetImagesImageResult(dict):
|
|
1142
1141
|
if selector is not None:
|
1143
1142
|
pulumi.set(__self__, "selector", selector)
|
1144
1143
|
|
1145
|
-
@property
|
1144
|
+
@_builtins.property
|
1146
1145
|
@pulumi.getter
|
1147
|
-
def architecture(self) ->
|
1146
|
+
def architecture(self) -> _builtins.str:
|
1148
1147
|
return pulumi.get(self, "architecture")
|
1149
1148
|
|
1150
|
-
@property
|
1149
|
+
@_builtins.property
|
1151
1150
|
@pulumi.getter
|
1152
|
-
def created(self) ->
|
1151
|
+
def created(self) -> _builtins.str:
|
1153
1152
|
return pulumi.get(self, "created")
|
1154
1153
|
|
1155
|
-
@property
|
1154
|
+
@_builtins.property
|
1156
1155
|
@pulumi.getter
|
1157
|
-
def deprecated(self) ->
|
1156
|
+
def deprecated(self) -> _builtins.str:
|
1158
1157
|
return pulumi.get(self, "deprecated")
|
1159
1158
|
|
1160
|
-
@property
|
1159
|
+
@_builtins.property
|
1161
1160
|
@pulumi.getter
|
1162
|
-
def description(self) ->
|
1161
|
+
def description(self) -> _builtins.str:
|
1163
1162
|
return pulumi.get(self, "description")
|
1164
1163
|
|
1165
|
-
@property
|
1164
|
+
@_builtins.property
|
1166
1165
|
@pulumi.getter
|
1167
|
-
def id(self) ->
|
1166
|
+
def id(self) -> _builtins.int:
|
1168
1167
|
return pulumi.get(self, "id")
|
1169
1168
|
|
1170
|
-
@property
|
1169
|
+
@_builtins.property
|
1171
1170
|
@pulumi.getter
|
1172
|
-
def labels(self) -> Mapping[str,
|
1171
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
1173
1172
|
return pulumi.get(self, "labels")
|
1174
1173
|
|
1175
|
-
@property
|
1174
|
+
@_builtins.property
|
1176
1175
|
@pulumi.getter
|
1177
|
-
def name(self) ->
|
1176
|
+
def name(self) -> _builtins.str:
|
1178
1177
|
return pulumi.get(self, "name")
|
1179
1178
|
|
1180
|
-
@property
|
1179
|
+
@_builtins.property
|
1181
1180
|
@pulumi.getter(name="osFlavor")
|
1182
|
-
def os_flavor(self) ->
|
1181
|
+
def os_flavor(self) -> _builtins.str:
|
1183
1182
|
return pulumi.get(self, "os_flavor")
|
1184
1183
|
|
1185
|
-
@property
|
1184
|
+
@_builtins.property
|
1186
1185
|
@pulumi.getter(name="osVersion")
|
1187
|
-
def os_version(self) ->
|
1186
|
+
def os_version(self) -> _builtins.str:
|
1188
1187
|
return pulumi.get(self, "os_version")
|
1189
1188
|
|
1190
|
-
@property
|
1189
|
+
@_builtins.property
|
1191
1190
|
@pulumi.getter(name="rapidDeploy")
|
1192
|
-
def rapid_deploy(self) ->
|
1191
|
+
def rapid_deploy(self) -> _builtins.bool:
|
1193
1192
|
return pulumi.get(self, "rapid_deploy")
|
1194
1193
|
|
1195
|
-
@property
|
1194
|
+
@_builtins.property
|
1196
1195
|
@pulumi.getter
|
1197
|
-
def type(self) ->
|
1196
|
+
def type(self) -> _builtins.str:
|
1198
1197
|
return pulumi.get(self, "type")
|
1199
1198
|
|
1200
|
-
@property
|
1199
|
+
@_builtins.property
|
1201
1200
|
@pulumi.getter
|
1202
1201
|
@_utilities.deprecated("""Please use the with_selector property instead.""")
|
1203
|
-
def selector(self) -> Optional[
|
1202
|
+
def selector(self) -> Optional[_builtins.str]:
|
1204
1203
|
return pulumi.get(self, "selector")
|
1205
1204
|
|
1206
1205
|
|
1207
1206
|
@pulumi.output_type
|
1208
1207
|
class GetLoadBalancerAlgorithmResult(dict):
|
1209
1208
|
def __init__(__self__, *,
|
1210
|
-
type:
|
1209
|
+
type: _builtins.str):
|
1211
1210
|
"""
|
1212
|
-
:param
|
1211
|
+
:param _builtins.str type: (string) Type of the target. `server` or `label_selector`
|
1213
1212
|
"""
|
1214
1213
|
pulumi.set(__self__, "type", type)
|
1215
1214
|
|
1216
|
-
@property
|
1215
|
+
@_builtins.property
|
1217
1216
|
@pulumi.getter
|
1218
|
-
def type(self) ->
|
1217
|
+
def type(self) -> _builtins.str:
|
1219
1218
|
"""
|
1220
1219
|
(string) Type of the target. `server` or `label_selector`
|
1221
1220
|
"""
|
@@ -1225,19 +1224,19 @@ class GetLoadBalancerAlgorithmResult(dict):
|
|
1225
1224
|
@pulumi.output_type
|
1226
1225
|
class GetLoadBalancerServiceResult(dict):
|
1227
1226
|
def __init__(__self__, *,
|
1228
|
-
destination_port:
|
1227
|
+
destination_port: _builtins.int,
|
1229
1228
|
health_checks: Sequence['outputs.GetLoadBalancerServiceHealthCheckResult'],
|
1230
1229
|
https: Sequence['outputs.GetLoadBalancerServiceHttpResult'],
|
1231
|
-
listen_port:
|
1232
|
-
protocol:
|
1233
|
-
proxyprotocol:
|
1230
|
+
listen_port: _builtins.int,
|
1231
|
+
protocol: _builtins.str,
|
1232
|
+
proxyprotocol: _builtins.bool):
|
1234
1233
|
"""
|
1235
|
-
:param
|
1234
|
+
:param _builtins.int destination_port: (int) Port the service connects to the targets on. Can be everything between `1` and `65535`.
|
1236
1235
|
:param Sequence['GetLoadBalancerServiceHealthCheckArgs'] health_checks: (list) List of http configurations when `protocol` is `http` or `https`.
|
1237
1236
|
:param Sequence['GetLoadBalancerServiceHttpArgs'] https: (list) List of http configurations when `protocol` is `http` or `https`.
|
1238
|
-
:param
|
1239
|
-
:param
|
1240
|
-
:param
|
1237
|
+
:param _builtins.int listen_port: (int) Port the service listen on. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
1238
|
+
:param _builtins.str protocol: (string) Protocol the health check uses. `http`, `https` or `tcp`
|
1239
|
+
:param _builtins.bool proxyprotocol: (bool) Enable proxyprotocol.
|
1241
1240
|
"""
|
1242
1241
|
pulumi.set(__self__, "destination_port", destination_port)
|
1243
1242
|
pulumi.set(__self__, "health_checks", health_checks)
|
@@ -1246,15 +1245,15 @@ class GetLoadBalancerServiceResult(dict):
|
|
1246
1245
|
pulumi.set(__self__, "protocol", protocol)
|
1247
1246
|
pulumi.set(__self__, "proxyprotocol", proxyprotocol)
|
1248
1247
|
|
1249
|
-
@property
|
1248
|
+
@_builtins.property
|
1250
1249
|
@pulumi.getter(name="destinationPort")
|
1251
|
-
def destination_port(self) ->
|
1250
|
+
def destination_port(self) -> _builtins.int:
|
1252
1251
|
"""
|
1253
1252
|
(int) Port the service connects to the targets on. Can be everything between `1` and `65535`.
|
1254
1253
|
"""
|
1255
1254
|
return pulumi.get(self, "destination_port")
|
1256
1255
|
|
1257
|
-
@property
|
1256
|
+
@_builtins.property
|
1258
1257
|
@pulumi.getter(name="healthChecks")
|
1259
1258
|
def health_checks(self) -> Sequence['outputs.GetLoadBalancerServiceHealthCheckResult']:
|
1260
1259
|
"""
|
@@ -1262,7 +1261,7 @@ class GetLoadBalancerServiceResult(dict):
|
|
1262
1261
|
"""
|
1263
1262
|
return pulumi.get(self, "health_checks")
|
1264
1263
|
|
1265
|
-
@property
|
1264
|
+
@_builtins.property
|
1266
1265
|
@pulumi.getter
|
1267
1266
|
def https(self) -> Sequence['outputs.GetLoadBalancerServiceHttpResult']:
|
1268
1267
|
"""
|
@@ -1270,25 +1269,25 @@ class GetLoadBalancerServiceResult(dict):
|
|
1270
1269
|
"""
|
1271
1270
|
return pulumi.get(self, "https")
|
1272
1271
|
|
1273
|
-
@property
|
1272
|
+
@_builtins.property
|
1274
1273
|
@pulumi.getter(name="listenPort")
|
1275
|
-
def listen_port(self) ->
|
1274
|
+
def listen_port(self) -> _builtins.int:
|
1276
1275
|
"""
|
1277
1276
|
(int) Port the service listen on. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
1278
1277
|
"""
|
1279
1278
|
return pulumi.get(self, "listen_port")
|
1280
1279
|
|
1281
|
-
@property
|
1280
|
+
@_builtins.property
|
1282
1281
|
@pulumi.getter
|
1283
|
-
def protocol(self) ->
|
1282
|
+
def protocol(self) -> _builtins.str:
|
1284
1283
|
"""
|
1285
1284
|
(string) Protocol the health check uses. `http`, `https` or `tcp`
|
1286
1285
|
"""
|
1287
1286
|
return pulumi.get(self, "protocol")
|
1288
1287
|
|
1289
|
-
@property
|
1288
|
+
@_builtins.property
|
1290
1289
|
@pulumi.getter
|
1291
|
-
def proxyprotocol(self) ->
|
1290
|
+
def proxyprotocol(self) -> _builtins.bool:
|
1292
1291
|
"""
|
1293
1292
|
(bool) Enable proxyprotocol.
|
1294
1293
|
"""
|
@@ -1299,18 +1298,18 @@ class GetLoadBalancerServiceResult(dict):
|
|
1299
1298
|
class GetLoadBalancerServiceHealthCheckResult(dict):
|
1300
1299
|
def __init__(__self__, *,
|
1301
1300
|
https: Sequence['outputs.GetLoadBalancerServiceHealthCheckHttpResult'],
|
1302
|
-
interval:
|
1303
|
-
port:
|
1304
|
-
protocol:
|
1305
|
-
retries:
|
1306
|
-
timeout:
|
1301
|
+
interval: _builtins.int,
|
1302
|
+
port: _builtins.int,
|
1303
|
+
protocol: _builtins.str,
|
1304
|
+
retries: _builtins.int,
|
1305
|
+
timeout: _builtins.int):
|
1307
1306
|
"""
|
1308
1307
|
:param Sequence['GetLoadBalancerServiceHealthCheckHttpArgs'] https: (list) List of http configurations when `protocol` is `http` or `https`.
|
1309
|
-
:param
|
1310
|
-
:param
|
1311
|
-
:param
|
1312
|
-
:param
|
1313
|
-
:param
|
1308
|
+
:param _builtins.int interval: (int) Interval how often the health check will be performed, in seconds.
|
1309
|
+
:param _builtins.int port: (int) Port the health check tries to connect to. Can be everything between `1` and `65535`.
|
1310
|
+
:param _builtins.str protocol: (string) Protocol the health check uses. `http`, `https` or `tcp`
|
1311
|
+
:param _builtins.int retries: (int) Number of tries a health check will be performed until a target will be listed as `unhealthy`.
|
1312
|
+
:param _builtins.int timeout: (int) Timeout when a health check try will be canceled if there is no response, in seconds.
|
1314
1313
|
"""
|
1315
1314
|
pulumi.set(__self__, "https", https)
|
1316
1315
|
pulumi.set(__self__, "interval", interval)
|
@@ -1319,7 +1318,7 @@ class GetLoadBalancerServiceHealthCheckResult(dict):
|
|
1319
1318
|
pulumi.set(__self__, "retries", retries)
|
1320
1319
|
pulumi.set(__self__, "timeout", timeout)
|
1321
1320
|
|
1322
|
-
@property
|
1321
|
+
@_builtins.property
|
1323
1322
|
@pulumi.getter
|
1324
1323
|
def https(self) -> Sequence['outputs.GetLoadBalancerServiceHealthCheckHttpResult']:
|
1325
1324
|
"""
|
@@ -1327,41 +1326,41 @@ class GetLoadBalancerServiceHealthCheckResult(dict):
|
|
1327
1326
|
"""
|
1328
1327
|
return pulumi.get(self, "https")
|
1329
1328
|
|
1330
|
-
@property
|
1329
|
+
@_builtins.property
|
1331
1330
|
@pulumi.getter
|
1332
|
-
def interval(self) ->
|
1331
|
+
def interval(self) -> _builtins.int:
|
1333
1332
|
"""
|
1334
1333
|
(int) Interval how often the health check will be performed, in seconds.
|
1335
1334
|
"""
|
1336
1335
|
return pulumi.get(self, "interval")
|
1337
1336
|
|
1338
|
-
@property
|
1337
|
+
@_builtins.property
|
1339
1338
|
@pulumi.getter
|
1340
|
-
def port(self) ->
|
1339
|
+
def port(self) -> _builtins.int:
|
1341
1340
|
"""
|
1342
1341
|
(int) Port the health check tries to connect to. Can be everything between `1` and `65535`.
|
1343
1342
|
"""
|
1344
1343
|
return pulumi.get(self, "port")
|
1345
1344
|
|
1346
|
-
@property
|
1345
|
+
@_builtins.property
|
1347
1346
|
@pulumi.getter
|
1348
|
-
def protocol(self) ->
|
1347
|
+
def protocol(self) -> _builtins.str:
|
1349
1348
|
"""
|
1350
1349
|
(string) Protocol the health check uses. `http`, `https` or `tcp`
|
1351
1350
|
"""
|
1352
1351
|
return pulumi.get(self, "protocol")
|
1353
1352
|
|
1354
|
-
@property
|
1353
|
+
@_builtins.property
|
1355
1354
|
@pulumi.getter
|
1356
|
-
def retries(self) ->
|
1355
|
+
def retries(self) -> _builtins.int:
|
1357
1356
|
"""
|
1358
1357
|
(int) Number of tries a health check will be performed until a target will be listed as `unhealthy`.
|
1359
1358
|
"""
|
1360
1359
|
return pulumi.get(self, "retries")
|
1361
1360
|
|
1362
|
-
@property
|
1361
|
+
@_builtins.property
|
1363
1362
|
@pulumi.getter
|
1364
|
-
def timeout(self) ->
|
1363
|
+
def timeout(self) -> _builtins.int:
|
1365
1364
|
"""
|
1366
1365
|
(int) Timeout when a health check try will be canceled if there is no response, in seconds.
|
1367
1366
|
"""
|
@@ -1371,17 +1370,17 @@ class GetLoadBalancerServiceHealthCheckResult(dict):
|
|
1371
1370
|
@pulumi.output_type
|
1372
1371
|
class GetLoadBalancerServiceHealthCheckHttpResult(dict):
|
1373
1372
|
def __init__(__self__, *,
|
1374
|
-
domain:
|
1375
|
-
path:
|
1376
|
-
response:
|
1377
|
-
status_codes: Sequence[
|
1378
|
-
tls:
|
1379
|
-
"""
|
1380
|
-
:param
|
1381
|
-
:param
|
1382
|
-
:param
|
1383
|
-
:param Sequence[
|
1384
|
-
:param
|
1373
|
+
domain: _builtins.str,
|
1374
|
+
path: _builtins.str,
|
1375
|
+
response: _builtins.str,
|
1376
|
+
status_codes: Sequence[_builtins.int],
|
1377
|
+
tls: _builtins.bool):
|
1378
|
+
"""
|
1379
|
+
:param _builtins.str domain: string) Domain we try to access when performing the Health Check.
|
1380
|
+
:param _builtins.str path: (string) Path we try to access when performing the Health Check.
|
1381
|
+
:param _builtins.str response: (string) Response we expect to be included in the Target response when a Health Check was performed.
|
1382
|
+
:param Sequence[_builtins.int] status_codes: (list[int]) We expect that the target answers with these status codes. If not the target is marked as `unhealthy`.
|
1383
|
+
:param _builtins.bool tls: (bool) Enable TLS certificate checking.
|
1385
1384
|
"""
|
1386
1385
|
pulumi.set(__self__, "domain", domain)
|
1387
1386
|
pulumi.set(__self__, "path", path)
|
@@ -1389,41 +1388,41 @@ class GetLoadBalancerServiceHealthCheckHttpResult(dict):
|
|
1389
1388
|
pulumi.set(__self__, "status_codes", status_codes)
|
1390
1389
|
pulumi.set(__self__, "tls", tls)
|
1391
1390
|
|
1392
|
-
@property
|
1391
|
+
@_builtins.property
|
1393
1392
|
@pulumi.getter
|
1394
|
-
def domain(self) ->
|
1393
|
+
def domain(self) -> _builtins.str:
|
1395
1394
|
"""
|
1396
1395
|
string) Domain we try to access when performing the Health Check.
|
1397
1396
|
"""
|
1398
1397
|
return pulumi.get(self, "domain")
|
1399
1398
|
|
1400
|
-
@property
|
1399
|
+
@_builtins.property
|
1401
1400
|
@pulumi.getter
|
1402
|
-
def path(self) ->
|
1401
|
+
def path(self) -> _builtins.str:
|
1403
1402
|
"""
|
1404
1403
|
(string) Path we try to access when performing the Health Check.
|
1405
1404
|
"""
|
1406
1405
|
return pulumi.get(self, "path")
|
1407
1406
|
|
1408
|
-
@property
|
1407
|
+
@_builtins.property
|
1409
1408
|
@pulumi.getter
|
1410
|
-
def response(self) ->
|
1409
|
+
def response(self) -> _builtins.str:
|
1411
1410
|
"""
|
1412
1411
|
(string) Response we expect to be included in the Target response when a Health Check was performed.
|
1413
1412
|
"""
|
1414
1413
|
return pulumi.get(self, "response")
|
1415
1414
|
|
1416
|
-
@property
|
1415
|
+
@_builtins.property
|
1417
1416
|
@pulumi.getter(name="statusCodes")
|
1418
|
-
def status_codes(self) -> Sequence[
|
1417
|
+
def status_codes(self) -> Sequence[_builtins.int]:
|
1419
1418
|
"""
|
1420
1419
|
(list[int]) We expect that the target answers with these status codes. If not the target is marked as `unhealthy`.
|
1421
1420
|
"""
|
1422
1421
|
return pulumi.get(self, "status_codes")
|
1423
1422
|
|
1424
|
-
@property
|
1423
|
+
@_builtins.property
|
1425
1424
|
@pulumi.getter
|
1426
|
-
def tls(self) ->
|
1425
|
+
def tls(self) -> _builtins.bool:
|
1427
1426
|
"""
|
1428
1427
|
(bool) Enable TLS certificate checking.
|
1429
1428
|
"""
|
@@ -1433,17 +1432,17 @@ class GetLoadBalancerServiceHealthCheckHttpResult(dict):
|
|
1433
1432
|
@pulumi.output_type
|
1434
1433
|
class GetLoadBalancerServiceHttpResult(dict):
|
1435
1434
|
def __init__(__self__, *,
|
1436
|
-
certificates: Sequence[
|
1437
|
-
cookie_lifetime:
|
1438
|
-
cookie_name:
|
1439
|
-
redirect_http:
|
1440
|
-
sticky_sessions:
|
1441
|
-
"""
|
1442
|
-
:param Sequence[
|
1443
|
-
:param
|
1444
|
-
:param
|
1445
|
-
:param
|
1446
|
-
:param
|
1435
|
+
certificates: Sequence[_builtins.str],
|
1436
|
+
cookie_lifetime: _builtins.int,
|
1437
|
+
cookie_name: _builtins.str,
|
1438
|
+
redirect_http: _builtins.bool,
|
1439
|
+
sticky_sessions: _builtins.bool):
|
1440
|
+
"""
|
1441
|
+
:param Sequence[_builtins.str] certificates: (list[int]) List of IDs from certificates which the Load Balancer has.
|
1442
|
+
:param _builtins.int cookie_lifetime: (int) Lifetime of the cookie for sticky session (in seconds).
|
1443
|
+
:param _builtins.str cookie_name: (string) Name of the cookie for sticky session.
|
1444
|
+
:param _builtins.bool redirect_http: (string) Determine if all requests from port 80 should be redirected to port 443.
|
1445
|
+
:param _builtins.bool sticky_sessions: (string) Determine if sticky sessions are enabled or not.
|
1447
1446
|
"""
|
1448
1447
|
pulumi.set(__self__, "certificates", certificates)
|
1449
1448
|
pulumi.set(__self__, "cookie_lifetime", cookie_lifetime)
|
@@ -1451,41 +1450,41 @@ class GetLoadBalancerServiceHttpResult(dict):
|
|
1451
1450
|
pulumi.set(__self__, "redirect_http", redirect_http)
|
1452
1451
|
pulumi.set(__self__, "sticky_sessions", sticky_sessions)
|
1453
1452
|
|
1454
|
-
@property
|
1453
|
+
@_builtins.property
|
1455
1454
|
@pulumi.getter
|
1456
|
-
def certificates(self) -> Sequence[
|
1455
|
+
def certificates(self) -> Sequence[_builtins.str]:
|
1457
1456
|
"""
|
1458
1457
|
(list[int]) List of IDs from certificates which the Load Balancer has.
|
1459
1458
|
"""
|
1460
1459
|
return pulumi.get(self, "certificates")
|
1461
1460
|
|
1462
|
-
@property
|
1461
|
+
@_builtins.property
|
1463
1462
|
@pulumi.getter(name="cookieLifetime")
|
1464
|
-
def cookie_lifetime(self) ->
|
1463
|
+
def cookie_lifetime(self) -> _builtins.int:
|
1465
1464
|
"""
|
1466
1465
|
(int) Lifetime of the cookie for sticky session (in seconds).
|
1467
1466
|
"""
|
1468
1467
|
return pulumi.get(self, "cookie_lifetime")
|
1469
1468
|
|
1470
|
-
@property
|
1469
|
+
@_builtins.property
|
1471
1470
|
@pulumi.getter(name="cookieName")
|
1472
|
-
def cookie_name(self) ->
|
1471
|
+
def cookie_name(self) -> _builtins.str:
|
1473
1472
|
"""
|
1474
1473
|
(string) Name of the cookie for sticky session.
|
1475
1474
|
"""
|
1476
1475
|
return pulumi.get(self, "cookie_name")
|
1477
1476
|
|
1478
|
-
@property
|
1477
|
+
@_builtins.property
|
1479
1478
|
@pulumi.getter(name="redirectHttp")
|
1480
|
-
def redirect_http(self) ->
|
1479
|
+
def redirect_http(self) -> _builtins.bool:
|
1481
1480
|
"""
|
1482
1481
|
(string) Determine if all requests from port 80 should be redirected to port 443.
|
1483
1482
|
"""
|
1484
1483
|
return pulumi.get(self, "redirect_http")
|
1485
1484
|
|
1486
|
-
@property
|
1485
|
+
@_builtins.property
|
1487
1486
|
@pulumi.getter(name="stickySessions")
|
1488
|
-
def sticky_sessions(self) ->
|
1487
|
+
def sticky_sessions(self) -> _builtins.bool:
|
1489
1488
|
"""
|
1490
1489
|
(string) Determine if sticky sessions are enabled or not.
|
1491
1490
|
"""
|
@@ -1495,37 +1494,37 @@ class GetLoadBalancerServiceHttpResult(dict):
|
|
1495
1494
|
@pulumi.output_type
|
1496
1495
|
class GetLoadBalancerTargetResult(dict):
|
1497
1496
|
def __init__(__self__, *,
|
1498
|
-
label_selector:
|
1499
|
-
server_id:
|
1500
|
-
type:
|
1497
|
+
label_selector: _builtins.str,
|
1498
|
+
server_id: _builtins.int,
|
1499
|
+
type: _builtins.str):
|
1501
1500
|
"""
|
1502
|
-
:param
|
1503
|
-
:param
|
1504
|
-
:param
|
1501
|
+
:param _builtins.str label_selector: (string) Label Selector to add a group of resources based on the label.
|
1502
|
+
:param _builtins.int server_id: (int) ID of the server which should be a target for this Load Balancer.
|
1503
|
+
:param _builtins.str type: (string) Type of the target. `server` or `label_selector`
|
1505
1504
|
"""
|
1506
1505
|
pulumi.set(__self__, "label_selector", label_selector)
|
1507
1506
|
pulumi.set(__self__, "server_id", server_id)
|
1508
1507
|
pulumi.set(__self__, "type", type)
|
1509
1508
|
|
1510
|
-
@property
|
1509
|
+
@_builtins.property
|
1511
1510
|
@pulumi.getter(name="labelSelector")
|
1512
|
-
def label_selector(self) ->
|
1511
|
+
def label_selector(self) -> _builtins.str:
|
1513
1512
|
"""
|
1514
1513
|
(string) Label Selector to add a group of resources based on the label.
|
1515
1514
|
"""
|
1516
1515
|
return pulumi.get(self, "label_selector")
|
1517
1516
|
|
1518
|
-
@property
|
1517
|
+
@_builtins.property
|
1519
1518
|
@pulumi.getter(name="serverId")
|
1520
|
-
def server_id(self) ->
|
1519
|
+
def server_id(self) -> _builtins.int:
|
1521
1520
|
"""
|
1522
1521
|
(int) ID of the server which should be a target for this Load Balancer.
|
1523
1522
|
"""
|
1524
1523
|
return pulumi.get(self, "server_id")
|
1525
1524
|
|
1526
|
-
@property
|
1525
|
+
@_builtins.property
|
1527
1526
|
@pulumi.getter
|
1528
|
-
def type(self) ->
|
1527
|
+
def type(self) -> _builtins.str:
|
1529
1528
|
"""
|
1530
1529
|
(string) Type of the target. `server` or `label_selector`
|
1531
1530
|
"""
|
@@ -1535,21 +1534,21 @@ class GetLoadBalancerTargetResult(dict):
|
|
1535
1534
|
@pulumi.output_type
|
1536
1535
|
class GetLoadBalancerTypesLoadBalancerTypeResult(dict):
|
1537
1536
|
def __init__(__self__, *,
|
1538
|
-
description:
|
1539
|
-
id:
|
1540
|
-
max_assigned_certificates:
|
1541
|
-
max_connections:
|
1542
|
-
max_services:
|
1543
|
-
max_targets:
|
1544
|
-
name:
|
1545
|
-
"""
|
1546
|
-
:param
|
1547
|
-
:param
|
1548
|
-
:param
|
1549
|
-
:param
|
1550
|
-
:param
|
1551
|
-
:param
|
1552
|
-
:param
|
1537
|
+
description: _builtins.str,
|
1538
|
+
id: _builtins.int,
|
1539
|
+
max_assigned_certificates: _builtins.int,
|
1540
|
+
max_connections: _builtins.int,
|
1541
|
+
max_services: _builtins.int,
|
1542
|
+
max_targets: _builtins.int,
|
1543
|
+
name: _builtins.str):
|
1544
|
+
"""
|
1545
|
+
:param _builtins.str description: Description of the Load Balancer Type.
|
1546
|
+
:param _builtins.int id: ID of the Load Balancer Type.
|
1547
|
+
:param _builtins.int max_assigned_certificates: Maximum number of certificates that can be assigned for the Load Balancer of this type.
|
1548
|
+
:param _builtins.int max_connections: Maximum number of simultaneous open connections for the Load Balancer of this type.
|
1549
|
+
:param _builtins.int max_services: Maximum number of services for the Load Balancer of this type.
|
1550
|
+
:param _builtins.int max_targets: Maximum number of targets for the Load Balancer of this type.
|
1551
|
+
:param _builtins.str name: Name of the Load Balancer Type.
|
1553
1552
|
"""
|
1554
1553
|
pulumi.set(__self__, "description", description)
|
1555
1554
|
pulumi.set(__self__, "id", id)
|
@@ -1559,57 +1558,57 @@ class GetLoadBalancerTypesLoadBalancerTypeResult(dict):
|
|
1559
1558
|
pulumi.set(__self__, "max_targets", max_targets)
|
1560
1559
|
pulumi.set(__self__, "name", name)
|
1561
1560
|
|
1562
|
-
@property
|
1561
|
+
@_builtins.property
|
1563
1562
|
@pulumi.getter
|
1564
|
-
def description(self) ->
|
1563
|
+
def description(self) -> _builtins.str:
|
1565
1564
|
"""
|
1566
1565
|
Description of the Load Balancer Type.
|
1567
1566
|
"""
|
1568
1567
|
return pulumi.get(self, "description")
|
1569
1568
|
|
1570
|
-
@property
|
1569
|
+
@_builtins.property
|
1571
1570
|
@pulumi.getter
|
1572
|
-
def id(self) ->
|
1571
|
+
def id(self) -> _builtins.int:
|
1573
1572
|
"""
|
1574
1573
|
ID of the Load Balancer Type.
|
1575
1574
|
"""
|
1576
1575
|
return pulumi.get(self, "id")
|
1577
1576
|
|
1578
|
-
@property
|
1577
|
+
@_builtins.property
|
1579
1578
|
@pulumi.getter(name="maxAssignedCertificates")
|
1580
|
-
def max_assigned_certificates(self) ->
|
1579
|
+
def max_assigned_certificates(self) -> _builtins.int:
|
1581
1580
|
"""
|
1582
1581
|
Maximum number of certificates that can be assigned for the Load Balancer of this type.
|
1583
1582
|
"""
|
1584
1583
|
return pulumi.get(self, "max_assigned_certificates")
|
1585
1584
|
|
1586
|
-
@property
|
1585
|
+
@_builtins.property
|
1587
1586
|
@pulumi.getter(name="maxConnections")
|
1588
|
-
def max_connections(self) ->
|
1587
|
+
def max_connections(self) -> _builtins.int:
|
1589
1588
|
"""
|
1590
1589
|
Maximum number of simultaneous open connections for the Load Balancer of this type.
|
1591
1590
|
"""
|
1592
1591
|
return pulumi.get(self, "max_connections")
|
1593
1592
|
|
1594
|
-
@property
|
1593
|
+
@_builtins.property
|
1595
1594
|
@pulumi.getter(name="maxServices")
|
1596
|
-
def max_services(self) ->
|
1595
|
+
def max_services(self) -> _builtins.int:
|
1597
1596
|
"""
|
1598
1597
|
Maximum number of services for the Load Balancer of this type.
|
1599
1598
|
"""
|
1600
1599
|
return pulumi.get(self, "max_services")
|
1601
1600
|
|
1602
|
-
@property
|
1601
|
+
@_builtins.property
|
1603
1602
|
@pulumi.getter(name="maxTargets")
|
1604
|
-
def max_targets(self) ->
|
1603
|
+
def max_targets(self) -> _builtins.int:
|
1605
1604
|
"""
|
1606
1605
|
Maximum number of targets for the Load Balancer of this type.
|
1607
1606
|
"""
|
1608
1607
|
return pulumi.get(self, "max_targets")
|
1609
1608
|
|
1610
|
-
@property
|
1609
|
+
@_builtins.property
|
1611
1610
|
@pulumi.getter
|
1612
|
-
def name(self) ->
|
1611
|
+
def name(self) -> _builtins.str:
|
1613
1612
|
"""
|
1614
1613
|
Name of the Load Balancer Type.
|
1615
1614
|
"""
|
@@ -1620,19 +1619,19 @@ class GetLoadBalancerTypesLoadBalancerTypeResult(dict):
|
|
1620
1619
|
class GetLoadBalancersLoadBalancerResult(dict):
|
1621
1620
|
def __init__(__self__, *,
|
1622
1621
|
algorithms: Sequence['outputs.GetLoadBalancersLoadBalancerAlgorithmResult'],
|
1623
|
-
delete_protection:
|
1624
|
-
id:
|
1625
|
-
ipv4:
|
1626
|
-
ipv6:
|
1627
|
-
labels: Mapping[str,
|
1628
|
-
load_balancer_type:
|
1629
|
-
location:
|
1630
|
-
network_id:
|
1631
|
-
network_ip:
|
1632
|
-
network_zone:
|
1622
|
+
delete_protection: _builtins.bool,
|
1623
|
+
id: _builtins.int,
|
1624
|
+
ipv4: _builtins.str,
|
1625
|
+
ipv6: _builtins.str,
|
1626
|
+
labels: Mapping[str, _builtins.str],
|
1627
|
+
load_balancer_type: _builtins.str,
|
1628
|
+
location: _builtins.str,
|
1629
|
+
network_id: _builtins.int,
|
1630
|
+
network_ip: _builtins.str,
|
1631
|
+
network_zone: _builtins.str,
|
1633
1632
|
services: Sequence['outputs.GetLoadBalancersLoadBalancerServiceResult'],
|
1634
1633
|
targets: Sequence['outputs.GetLoadBalancersLoadBalancerTargetResult'],
|
1635
|
-
name: Optional[
|
1634
|
+
name: Optional[_builtins.str] = None):
|
1636
1635
|
pulumi.set(__self__, "algorithms", algorithms)
|
1637
1636
|
pulumi.set(__self__, "delete_protection", delete_protection)
|
1638
1637
|
pulumi.set(__self__, "id", id)
|
@@ -1649,98 +1648,98 @@ class GetLoadBalancersLoadBalancerResult(dict):
|
|
1649
1648
|
if name is not None:
|
1650
1649
|
pulumi.set(__self__, "name", name)
|
1651
1650
|
|
1652
|
-
@property
|
1651
|
+
@_builtins.property
|
1653
1652
|
@pulumi.getter
|
1654
1653
|
def algorithms(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerAlgorithmResult']:
|
1655
1654
|
return pulumi.get(self, "algorithms")
|
1656
1655
|
|
1657
|
-
@property
|
1656
|
+
@_builtins.property
|
1658
1657
|
@pulumi.getter(name="deleteProtection")
|
1659
|
-
def delete_protection(self) ->
|
1658
|
+
def delete_protection(self) -> _builtins.bool:
|
1660
1659
|
return pulumi.get(self, "delete_protection")
|
1661
1660
|
|
1662
|
-
@property
|
1661
|
+
@_builtins.property
|
1663
1662
|
@pulumi.getter
|
1664
|
-
def id(self) ->
|
1663
|
+
def id(self) -> _builtins.int:
|
1665
1664
|
return pulumi.get(self, "id")
|
1666
1665
|
|
1667
|
-
@property
|
1666
|
+
@_builtins.property
|
1668
1667
|
@pulumi.getter
|
1669
|
-
def ipv4(self) ->
|
1668
|
+
def ipv4(self) -> _builtins.str:
|
1670
1669
|
return pulumi.get(self, "ipv4")
|
1671
1670
|
|
1672
|
-
@property
|
1671
|
+
@_builtins.property
|
1673
1672
|
@pulumi.getter
|
1674
|
-
def ipv6(self) ->
|
1673
|
+
def ipv6(self) -> _builtins.str:
|
1675
1674
|
return pulumi.get(self, "ipv6")
|
1676
1675
|
|
1677
|
-
@property
|
1676
|
+
@_builtins.property
|
1678
1677
|
@pulumi.getter
|
1679
|
-
def labels(self) -> Mapping[str,
|
1678
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
1680
1679
|
return pulumi.get(self, "labels")
|
1681
1680
|
|
1682
|
-
@property
|
1681
|
+
@_builtins.property
|
1683
1682
|
@pulumi.getter(name="loadBalancerType")
|
1684
|
-
def load_balancer_type(self) ->
|
1683
|
+
def load_balancer_type(self) -> _builtins.str:
|
1685
1684
|
return pulumi.get(self, "load_balancer_type")
|
1686
1685
|
|
1687
|
-
@property
|
1686
|
+
@_builtins.property
|
1688
1687
|
@pulumi.getter
|
1689
|
-
def location(self) ->
|
1688
|
+
def location(self) -> _builtins.str:
|
1690
1689
|
return pulumi.get(self, "location")
|
1691
1690
|
|
1692
|
-
@property
|
1691
|
+
@_builtins.property
|
1693
1692
|
@pulumi.getter(name="networkId")
|
1694
|
-
def network_id(self) ->
|
1693
|
+
def network_id(self) -> _builtins.int:
|
1695
1694
|
return pulumi.get(self, "network_id")
|
1696
1695
|
|
1697
|
-
@property
|
1696
|
+
@_builtins.property
|
1698
1697
|
@pulumi.getter(name="networkIp")
|
1699
|
-
def network_ip(self) ->
|
1698
|
+
def network_ip(self) -> _builtins.str:
|
1700
1699
|
return pulumi.get(self, "network_ip")
|
1701
1700
|
|
1702
|
-
@property
|
1701
|
+
@_builtins.property
|
1703
1702
|
@pulumi.getter(name="networkZone")
|
1704
|
-
def network_zone(self) ->
|
1703
|
+
def network_zone(self) -> _builtins.str:
|
1705
1704
|
return pulumi.get(self, "network_zone")
|
1706
1705
|
|
1707
|
-
@property
|
1706
|
+
@_builtins.property
|
1708
1707
|
@pulumi.getter
|
1709
1708
|
def services(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerServiceResult']:
|
1710
1709
|
return pulumi.get(self, "services")
|
1711
1710
|
|
1712
|
-
@property
|
1711
|
+
@_builtins.property
|
1713
1712
|
@pulumi.getter
|
1714
1713
|
def targets(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerTargetResult']:
|
1715
1714
|
return pulumi.get(self, "targets")
|
1716
1715
|
|
1717
|
-
@property
|
1716
|
+
@_builtins.property
|
1718
1717
|
@pulumi.getter
|
1719
|
-
def name(self) -> Optional[
|
1718
|
+
def name(self) -> Optional[_builtins.str]:
|
1720
1719
|
return pulumi.get(self, "name")
|
1721
1720
|
|
1722
1721
|
|
1723
1722
|
@pulumi.output_type
|
1724
1723
|
class GetLoadBalancersLoadBalancerAlgorithmResult(dict):
|
1725
1724
|
def __init__(__self__, *,
|
1726
|
-
type:
|
1725
|
+
type: _builtins.str):
|
1727
1726
|
pulumi.set(__self__, "type", type)
|
1728
1727
|
|
1729
|
-
@property
|
1728
|
+
@_builtins.property
|
1730
1729
|
@pulumi.getter
|
1731
|
-
def type(self) ->
|
1730
|
+
def type(self) -> _builtins.str:
|
1732
1731
|
return pulumi.get(self, "type")
|
1733
1732
|
|
1734
1733
|
|
1735
1734
|
@pulumi.output_type
|
1736
1735
|
class GetLoadBalancersLoadBalancerServiceResult(dict):
|
1737
1736
|
def __init__(__self__, *,
|
1738
|
-
destination_port:
|
1737
|
+
destination_port: _builtins.int,
|
1739
1738
|
health_checks: Sequence['outputs.GetLoadBalancersLoadBalancerServiceHealthCheckResult'],
|
1740
1739
|
https: Sequence['outputs.GetLoadBalancersLoadBalancerServiceHttpResult'],
|
1741
|
-
listen_port:
|
1742
|
-
protocol:
|
1743
|
-
proxyprotocol:
|
1740
|
+
listen_port: _builtins.int,
|
1741
|
+
protocol: _builtins.str,
|
1742
|
+
proxyprotocol: _builtins.bool):
|
1744
1743
|
pulumi.set(__self__, "destination_port", destination_port)
|
1745
1744
|
pulumi.set(__self__, "health_checks", health_checks)
|
1746
1745
|
pulumi.set(__self__, "https", https)
|
@@ -1748,34 +1747,34 @@ class GetLoadBalancersLoadBalancerServiceResult(dict):
|
|
1748
1747
|
pulumi.set(__self__, "protocol", protocol)
|
1749
1748
|
pulumi.set(__self__, "proxyprotocol", proxyprotocol)
|
1750
1749
|
|
1751
|
-
@property
|
1750
|
+
@_builtins.property
|
1752
1751
|
@pulumi.getter(name="destinationPort")
|
1753
|
-
def destination_port(self) ->
|
1752
|
+
def destination_port(self) -> _builtins.int:
|
1754
1753
|
return pulumi.get(self, "destination_port")
|
1755
1754
|
|
1756
|
-
@property
|
1755
|
+
@_builtins.property
|
1757
1756
|
@pulumi.getter(name="healthChecks")
|
1758
1757
|
def health_checks(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerServiceHealthCheckResult']:
|
1759
1758
|
return pulumi.get(self, "health_checks")
|
1760
1759
|
|
1761
|
-
@property
|
1760
|
+
@_builtins.property
|
1762
1761
|
@pulumi.getter
|
1763
1762
|
def https(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerServiceHttpResult']:
|
1764
1763
|
return pulumi.get(self, "https")
|
1765
1764
|
|
1766
|
-
@property
|
1765
|
+
@_builtins.property
|
1767
1766
|
@pulumi.getter(name="listenPort")
|
1768
|
-
def listen_port(self) ->
|
1767
|
+
def listen_port(self) -> _builtins.int:
|
1769
1768
|
return pulumi.get(self, "listen_port")
|
1770
1769
|
|
1771
|
-
@property
|
1770
|
+
@_builtins.property
|
1772
1771
|
@pulumi.getter
|
1773
|
-
def protocol(self) ->
|
1772
|
+
def protocol(self) -> _builtins.str:
|
1774
1773
|
return pulumi.get(self, "protocol")
|
1775
1774
|
|
1776
|
-
@property
|
1775
|
+
@_builtins.property
|
1777
1776
|
@pulumi.getter
|
1778
|
-
def proxyprotocol(self) ->
|
1777
|
+
def proxyprotocol(self) -> _builtins.bool:
|
1779
1778
|
return pulumi.get(self, "proxyprotocol")
|
1780
1779
|
|
1781
1780
|
|
@@ -1783,11 +1782,11 @@ class GetLoadBalancersLoadBalancerServiceResult(dict):
|
|
1783
1782
|
class GetLoadBalancersLoadBalancerServiceHealthCheckResult(dict):
|
1784
1783
|
def __init__(__self__, *,
|
1785
1784
|
https: Sequence['outputs.GetLoadBalancersLoadBalancerServiceHealthCheckHttpResult'],
|
1786
|
-
interval:
|
1787
|
-
port:
|
1788
|
-
protocol:
|
1789
|
-
retries:
|
1790
|
-
timeout:
|
1785
|
+
interval: _builtins.int,
|
1786
|
+
port: _builtins.int,
|
1787
|
+
protocol: _builtins.str,
|
1788
|
+
retries: _builtins.int,
|
1789
|
+
timeout: _builtins.int):
|
1791
1790
|
pulumi.set(__self__, "https", https)
|
1792
1791
|
pulumi.set(__self__, "interval", interval)
|
1793
1792
|
pulumi.set(__self__, "port", port)
|
@@ -1795,163 +1794,163 @@ class GetLoadBalancersLoadBalancerServiceHealthCheckResult(dict):
|
|
1795
1794
|
pulumi.set(__self__, "retries", retries)
|
1796
1795
|
pulumi.set(__self__, "timeout", timeout)
|
1797
1796
|
|
1798
|
-
@property
|
1797
|
+
@_builtins.property
|
1799
1798
|
@pulumi.getter
|
1800
1799
|
def https(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerServiceHealthCheckHttpResult']:
|
1801
1800
|
return pulumi.get(self, "https")
|
1802
1801
|
|
1803
|
-
@property
|
1802
|
+
@_builtins.property
|
1804
1803
|
@pulumi.getter
|
1805
|
-
def interval(self) ->
|
1804
|
+
def interval(self) -> _builtins.int:
|
1806
1805
|
return pulumi.get(self, "interval")
|
1807
1806
|
|
1808
|
-
@property
|
1807
|
+
@_builtins.property
|
1809
1808
|
@pulumi.getter
|
1810
|
-
def port(self) ->
|
1809
|
+
def port(self) -> _builtins.int:
|
1811
1810
|
return pulumi.get(self, "port")
|
1812
1811
|
|
1813
|
-
@property
|
1812
|
+
@_builtins.property
|
1814
1813
|
@pulumi.getter
|
1815
|
-
def protocol(self) ->
|
1814
|
+
def protocol(self) -> _builtins.str:
|
1816
1815
|
return pulumi.get(self, "protocol")
|
1817
1816
|
|
1818
|
-
@property
|
1817
|
+
@_builtins.property
|
1819
1818
|
@pulumi.getter
|
1820
|
-
def retries(self) ->
|
1819
|
+
def retries(self) -> _builtins.int:
|
1821
1820
|
return pulumi.get(self, "retries")
|
1822
1821
|
|
1823
|
-
@property
|
1822
|
+
@_builtins.property
|
1824
1823
|
@pulumi.getter
|
1825
|
-
def timeout(self) ->
|
1824
|
+
def timeout(self) -> _builtins.int:
|
1826
1825
|
return pulumi.get(self, "timeout")
|
1827
1826
|
|
1828
1827
|
|
1829
1828
|
@pulumi.output_type
|
1830
1829
|
class GetLoadBalancersLoadBalancerServiceHealthCheckHttpResult(dict):
|
1831
1830
|
def __init__(__self__, *,
|
1832
|
-
domain:
|
1833
|
-
path:
|
1834
|
-
response:
|
1835
|
-
status_codes: Sequence[
|
1836
|
-
tls:
|
1831
|
+
domain: _builtins.str,
|
1832
|
+
path: _builtins.str,
|
1833
|
+
response: _builtins.str,
|
1834
|
+
status_codes: Sequence[_builtins.int],
|
1835
|
+
tls: _builtins.bool):
|
1837
1836
|
pulumi.set(__self__, "domain", domain)
|
1838
1837
|
pulumi.set(__self__, "path", path)
|
1839
1838
|
pulumi.set(__self__, "response", response)
|
1840
1839
|
pulumi.set(__self__, "status_codes", status_codes)
|
1841
1840
|
pulumi.set(__self__, "tls", tls)
|
1842
1841
|
|
1843
|
-
@property
|
1842
|
+
@_builtins.property
|
1844
1843
|
@pulumi.getter
|
1845
|
-
def domain(self) ->
|
1844
|
+
def domain(self) -> _builtins.str:
|
1846
1845
|
return pulumi.get(self, "domain")
|
1847
1846
|
|
1848
|
-
@property
|
1847
|
+
@_builtins.property
|
1849
1848
|
@pulumi.getter
|
1850
|
-
def path(self) ->
|
1849
|
+
def path(self) -> _builtins.str:
|
1851
1850
|
return pulumi.get(self, "path")
|
1852
1851
|
|
1853
|
-
@property
|
1852
|
+
@_builtins.property
|
1854
1853
|
@pulumi.getter
|
1855
|
-
def response(self) ->
|
1854
|
+
def response(self) -> _builtins.str:
|
1856
1855
|
return pulumi.get(self, "response")
|
1857
1856
|
|
1858
|
-
@property
|
1857
|
+
@_builtins.property
|
1859
1858
|
@pulumi.getter(name="statusCodes")
|
1860
|
-
def status_codes(self) -> Sequence[
|
1859
|
+
def status_codes(self) -> Sequence[_builtins.int]:
|
1861
1860
|
return pulumi.get(self, "status_codes")
|
1862
1861
|
|
1863
|
-
@property
|
1862
|
+
@_builtins.property
|
1864
1863
|
@pulumi.getter
|
1865
|
-
def tls(self) ->
|
1864
|
+
def tls(self) -> _builtins.bool:
|
1866
1865
|
return pulumi.get(self, "tls")
|
1867
1866
|
|
1868
1867
|
|
1869
1868
|
@pulumi.output_type
|
1870
1869
|
class GetLoadBalancersLoadBalancerServiceHttpResult(dict):
|
1871
1870
|
def __init__(__self__, *,
|
1872
|
-
certificates: Sequence[
|
1873
|
-
cookie_lifetime:
|
1874
|
-
cookie_name:
|
1875
|
-
redirect_http:
|
1876
|
-
sticky_sessions:
|
1871
|
+
certificates: Sequence[_builtins.str],
|
1872
|
+
cookie_lifetime: _builtins.int,
|
1873
|
+
cookie_name: _builtins.str,
|
1874
|
+
redirect_http: _builtins.bool,
|
1875
|
+
sticky_sessions: _builtins.bool):
|
1877
1876
|
pulumi.set(__self__, "certificates", certificates)
|
1878
1877
|
pulumi.set(__self__, "cookie_lifetime", cookie_lifetime)
|
1879
1878
|
pulumi.set(__self__, "cookie_name", cookie_name)
|
1880
1879
|
pulumi.set(__self__, "redirect_http", redirect_http)
|
1881
1880
|
pulumi.set(__self__, "sticky_sessions", sticky_sessions)
|
1882
1881
|
|
1883
|
-
@property
|
1882
|
+
@_builtins.property
|
1884
1883
|
@pulumi.getter
|
1885
|
-
def certificates(self) -> Sequence[
|
1884
|
+
def certificates(self) -> Sequence[_builtins.str]:
|
1886
1885
|
return pulumi.get(self, "certificates")
|
1887
1886
|
|
1888
|
-
@property
|
1887
|
+
@_builtins.property
|
1889
1888
|
@pulumi.getter(name="cookieLifetime")
|
1890
|
-
def cookie_lifetime(self) ->
|
1889
|
+
def cookie_lifetime(self) -> _builtins.int:
|
1891
1890
|
return pulumi.get(self, "cookie_lifetime")
|
1892
1891
|
|
1893
|
-
@property
|
1892
|
+
@_builtins.property
|
1894
1893
|
@pulumi.getter(name="cookieName")
|
1895
|
-
def cookie_name(self) ->
|
1894
|
+
def cookie_name(self) -> _builtins.str:
|
1896
1895
|
return pulumi.get(self, "cookie_name")
|
1897
1896
|
|
1898
|
-
@property
|
1897
|
+
@_builtins.property
|
1899
1898
|
@pulumi.getter(name="redirectHttp")
|
1900
|
-
def redirect_http(self) ->
|
1899
|
+
def redirect_http(self) -> _builtins.bool:
|
1901
1900
|
return pulumi.get(self, "redirect_http")
|
1902
1901
|
|
1903
|
-
@property
|
1902
|
+
@_builtins.property
|
1904
1903
|
@pulumi.getter(name="stickySessions")
|
1905
|
-
def sticky_sessions(self) ->
|
1904
|
+
def sticky_sessions(self) -> _builtins.bool:
|
1906
1905
|
return pulumi.get(self, "sticky_sessions")
|
1907
1906
|
|
1908
1907
|
|
1909
1908
|
@pulumi.output_type
|
1910
1909
|
class GetLoadBalancersLoadBalancerTargetResult(dict):
|
1911
1910
|
def __init__(__self__, *,
|
1912
|
-
label_selector:
|
1913
|
-
server_id:
|
1914
|
-
type:
|
1911
|
+
label_selector: _builtins.str,
|
1912
|
+
server_id: _builtins.int,
|
1913
|
+
type: _builtins.str):
|
1915
1914
|
pulumi.set(__self__, "label_selector", label_selector)
|
1916
1915
|
pulumi.set(__self__, "server_id", server_id)
|
1917
1916
|
pulumi.set(__self__, "type", type)
|
1918
1917
|
|
1919
|
-
@property
|
1918
|
+
@_builtins.property
|
1920
1919
|
@pulumi.getter(name="labelSelector")
|
1921
|
-
def label_selector(self) ->
|
1920
|
+
def label_selector(self) -> _builtins.str:
|
1922
1921
|
return pulumi.get(self, "label_selector")
|
1923
1922
|
|
1924
|
-
@property
|
1923
|
+
@_builtins.property
|
1925
1924
|
@pulumi.getter(name="serverId")
|
1926
|
-
def server_id(self) ->
|
1925
|
+
def server_id(self) -> _builtins.int:
|
1927
1926
|
return pulumi.get(self, "server_id")
|
1928
1927
|
|
1929
|
-
@property
|
1928
|
+
@_builtins.property
|
1930
1929
|
@pulumi.getter
|
1931
|
-
def type(self) ->
|
1930
|
+
def type(self) -> _builtins.str:
|
1932
1931
|
return pulumi.get(self, "type")
|
1933
1932
|
|
1934
1933
|
|
1935
1934
|
@pulumi.output_type
|
1936
1935
|
class GetLocationsLocationResult(dict):
|
1937
1936
|
def __init__(__self__, *,
|
1938
|
-
city:
|
1939
|
-
country:
|
1940
|
-
description:
|
1941
|
-
id:
|
1942
|
-
latitude:
|
1943
|
-
longitude:
|
1944
|
-
name:
|
1945
|
-
network_zone:
|
1946
|
-
"""
|
1947
|
-
:param
|
1948
|
-
:param
|
1949
|
-
:param
|
1950
|
-
:param
|
1951
|
-
:param
|
1952
|
-
:param
|
1953
|
-
:param
|
1954
|
-
:param
|
1937
|
+
city: _builtins.str,
|
1938
|
+
country: _builtins.str,
|
1939
|
+
description: _builtins.str,
|
1940
|
+
id: _builtins.int,
|
1941
|
+
latitude: _builtins.float,
|
1942
|
+
longitude: _builtins.float,
|
1943
|
+
name: _builtins.str,
|
1944
|
+
network_zone: _builtins.str):
|
1945
|
+
"""
|
1946
|
+
:param _builtins.str city: Name of the closest city to the Location. City name and optionally state in short form.
|
1947
|
+
:param _builtins.str country: Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
|
1948
|
+
:param _builtins.str description: Description of the Location.
|
1949
|
+
:param _builtins.int id: ID of the Location.
|
1950
|
+
:param _builtins.float latitude: Latitude of the city closest to the Location.
|
1951
|
+
:param _builtins.float longitude: Longitude of the city closest to the Location.
|
1952
|
+
:param _builtins.str name: Name of the Location.
|
1953
|
+
:param _builtins.str network_zone: Name of the Network Zone this Location resides in.
|
1955
1954
|
"""
|
1956
1955
|
pulumi.set(__self__, "city", city)
|
1957
1956
|
pulumi.set(__self__, "country", country)
|
@@ -1962,65 +1961,65 @@ class GetLocationsLocationResult(dict):
|
|
1962
1961
|
pulumi.set(__self__, "name", name)
|
1963
1962
|
pulumi.set(__self__, "network_zone", network_zone)
|
1964
1963
|
|
1965
|
-
@property
|
1964
|
+
@_builtins.property
|
1966
1965
|
@pulumi.getter
|
1967
|
-
def city(self) ->
|
1966
|
+
def city(self) -> _builtins.str:
|
1968
1967
|
"""
|
1969
1968
|
Name of the closest city to the Location. City name and optionally state in short form.
|
1970
1969
|
"""
|
1971
1970
|
return pulumi.get(self, "city")
|
1972
1971
|
|
1973
|
-
@property
|
1972
|
+
@_builtins.property
|
1974
1973
|
@pulumi.getter
|
1975
|
-
def country(self) ->
|
1974
|
+
def country(self) -> _builtins.str:
|
1976
1975
|
"""
|
1977
1976
|
Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
|
1978
1977
|
"""
|
1979
1978
|
return pulumi.get(self, "country")
|
1980
1979
|
|
1981
|
-
@property
|
1980
|
+
@_builtins.property
|
1982
1981
|
@pulumi.getter
|
1983
|
-
def description(self) ->
|
1982
|
+
def description(self) -> _builtins.str:
|
1984
1983
|
"""
|
1985
1984
|
Description of the Location.
|
1986
1985
|
"""
|
1987
1986
|
return pulumi.get(self, "description")
|
1988
1987
|
|
1989
|
-
@property
|
1988
|
+
@_builtins.property
|
1990
1989
|
@pulumi.getter
|
1991
|
-
def id(self) ->
|
1990
|
+
def id(self) -> _builtins.int:
|
1992
1991
|
"""
|
1993
1992
|
ID of the Location.
|
1994
1993
|
"""
|
1995
1994
|
return pulumi.get(self, "id")
|
1996
1995
|
|
1997
|
-
@property
|
1996
|
+
@_builtins.property
|
1998
1997
|
@pulumi.getter
|
1999
|
-
def latitude(self) ->
|
1998
|
+
def latitude(self) -> _builtins.float:
|
2000
1999
|
"""
|
2001
2000
|
Latitude of the city closest to the Location.
|
2002
2001
|
"""
|
2003
2002
|
return pulumi.get(self, "latitude")
|
2004
2003
|
|
2005
|
-
@property
|
2004
|
+
@_builtins.property
|
2006
2005
|
@pulumi.getter
|
2007
|
-
def longitude(self) ->
|
2006
|
+
def longitude(self) -> _builtins.float:
|
2008
2007
|
"""
|
2009
2008
|
Longitude of the city closest to the Location.
|
2010
2009
|
"""
|
2011
2010
|
return pulumi.get(self, "longitude")
|
2012
2011
|
|
2013
|
-
@property
|
2012
|
+
@_builtins.property
|
2014
2013
|
@pulumi.getter
|
2015
|
-
def name(self) ->
|
2014
|
+
def name(self) -> _builtins.str:
|
2016
2015
|
"""
|
2017
2016
|
Name of the Location.
|
2018
2017
|
"""
|
2019
2018
|
return pulumi.get(self, "name")
|
2020
2019
|
|
2021
|
-
@property
|
2020
|
+
@_builtins.property
|
2022
2021
|
@pulumi.getter(name="networkZone")
|
2023
|
-
def network_zone(self) ->
|
2022
|
+
def network_zone(self) -> _builtins.str:
|
2024
2023
|
"""
|
2025
2024
|
Name of the Network Zone this Location resides in.
|
2026
2025
|
"""
|
@@ -2030,14 +2029,14 @@ class GetLocationsLocationResult(dict):
|
|
2030
2029
|
@pulumi.output_type
|
2031
2030
|
class GetNetworksNetworkResult(dict):
|
2032
2031
|
def __init__(__self__, *,
|
2033
|
-
delete_protection:
|
2034
|
-
expose_routes_to_vswitch:
|
2035
|
-
id:
|
2036
|
-
ip_range:
|
2037
|
-
labels: Mapping[str,
|
2038
|
-
name:
|
2032
|
+
delete_protection: _builtins.bool,
|
2033
|
+
expose_routes_to_vswitch: _builtins.bool,
|
2034
|
+
id: _builtins.int,
|
2035
|
+
ip_range: _builtins.str,
|
2036
|
+
labels: Mapping[str, _builtins.str],
|
2037
|
+
name: _builtins.str):
|
2039
2038
|
"""
|
2040
|
-
:param
|
2039
|
+
:param _builtins.bool expose_routes_to_vswitch: Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
|
2041
2040
|
"""
|
2042
2041
|
pulumi.set(__self__, "delete_protection", delete_protection)
|
2043
2042
|
pulumi.set(__self__, "expose_routes_to_vswitch", expose_routes_to_vswitch)
|
@@ -2046,94 +2045,94 @@ class GetNetworksNetworkResult(dict):
|
|
2046
2045
|
pulumi.set(__self__, "labels", labels)
|
2047
2046
|
pulumi.set(__self__, "name", name)
|
2048
2047
|
|
2049
|
-
@property
|
2048
|
+
@_builtins.property
|
2050
2049
|
@pulumi.getter(name="deleteProtection")
|
2051
|
-
def delete_protection(self) ->
|
2050
|
+
def delete_protection(self) -> _builtins.bool:
|
2052
2051
|
return pulumi.get(self, "delete_protection")
|
2053
2052
|
|
2054
|
-
@property
|
2053
|
+
@_builtins.property
|
2055
2054
|
@pulumi.getter(name="exposeRoutesToVswitch")
|
2056
|
-
def expose_routes_to_vswitch(self) ->
|
2055
|
+
def expose_routes_to_vswitch(self) -> _builtins.bool:
|
2057
2056
|
"""
|
2058
2057
|
Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
|
2059
2058
|
"""
|
2060
2059
|
return pulumi.get(self, "expose_routes_to_vswitch")
|
2061
2060
|
|
2062
|
-
@property
|
2061
|
+
@_builtins.property
|
2063
2062
|
@pulumi.getter
|
2064
|
-
def id(self) ->
|
2063
|
+
def id(self) -> _builtins.int:
|
2065
2064
|
return pulumi.get(self, "id")
|
2066
2065
|
|
2067
|
-
@property
|
2066
|
+
@_builtins.property
|
2068
2067
|
@pulumi.getter(name="ipRange")
|
2069
|
-
def ip_range(self) ->
|
2068
|
+
def ip_range(self) -> _builtins.str:
|
2070
2069
|
return pulumi.get(self, "ip_range")
|
2071
2070
|
|
2072
|
-
@property
|
2071
|
+
@_builtins.property
|
2073
2072
|
@pulumi.getter
|
2074
|
-
def labels(self) -> Mapping[str,
|
2073
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
2075
2074
|
return pulumi.get(self, "labels")
|
2076
2075
|
|
2077
|
-
@property
|
2076
|
+
@_builtins.property
|
2078
2077
|
@pulumi.getter
|
2079
|
-
def name(self) ->
|
2078
|
+
def name(self) -> _builtins.str:
|
2080
2079
|
return pulumi.get(self, "name")
|
2081
2080
|
|
2082
2081
|
|
2083
2082
|
@pulumi.output_type
|
2084
2083
|
class GetPlacementGroupsPlacementGroupResult(dict):
|
2085
2084
|
def __init__(__self__, *,
|
2086
|
-
id:
|
2087
|
-
labels: Mapping[str,
|
2088
|
-
name:
|
2089
|
-
servers: Sequence[
|
2090
|
-
type:
|
2085
|
+
id: _builtins.int,
|
2086
|
+
labels: Mapping[str, _builtins.str],
|
2087
|
+
name: _builtins.str,
|
2088
|
+
servers: Sequence[_builtins.int],
|
2089
|
+
type: _builtins.str):
|
2091
2090
|
pulumi.set(__self__, "id", id)
|
2092
2091
|
pulumi.set(__self__, "labels", labels)
|
2093
2092
|
pulumi.set(__self__, "name", name)
|
2094
2093
|
pulumi.set(__self__, "servers", servers)
|
2095
2094
|
pulumi.set(__self__, "type", type)
|
2096
2095
|
|
2097
|
-
@property
|
2096
|
+
@_builtins.property
|
2098
2097
|
@pulumi.getter
|
2099
|
-
def id(self) ->
|
2098
|
+
def id(self) -> _builtins.int:
|
2100
2099
|
return pulumi.get(self, "id")
|
2101
2100
|
|
2102
|
-
@property
|
2101
|
+
@_builtins.property
|
2103
2102
|
@pulumi.getter
|
2104
|
-
def labels(self) -> Mapping[str,
|
2103
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
2105
2104
|
return pulumi.get(self, "labels")
|
2106
2105
|
|
2107
|
-
@property
|
2106
|
+
@_builtins.property
|
2108
2107
|
@pulumi.getter
|
2109
|
-
def name(self) ->
|
2108
|
+
def name(self) -> _builtins.str:
|
2110
2109
|
return pulumi.get(self, "name")
|
2111
2110
|
|
2112
|
-
@property
|
2111
|
+
@_builtins.property
|
2113
2112
|
@pulumi.getter
|
2114
|
-
def servers(self) -> Sequence[
|
2113
|
+
def servers(self) -> Sequence[_builtins.int]:
|
2115
2114
|
return pulumi.get(self, "servers")
|
2116
2115
|
|
2117
|
-
@property
|
2116
|
+
@_builtins.property
|
2118
2117
|
@pulumi.getter
|
2119
|
-
def type(self) ->
|
2118
|
+
def type(self) -> _builtins.str:
|
2120
2119
|
return pulumi.get(self, "type")
|
2121
2120
|
|
2122
2121
|
|
2123
2122
|
@pulumi.output_type
|
2124
2123
|
class GetPrimaryIpsPrimaryIpResult(dict):
|
2125
2124
|
def __init__(__self__, *,
|
2126
|
-
assignee_id:
|
2127
|
-
assignee_type:
|
2128
|
-
auto_delete:
|
2129
|
-
datacenter:
|
2130
|
-
delete_protection:
|
2131
|
-
id:
|
2132
|
-
ip_address:
|
2133
|
-
ip_network:
|
2134
|
-
labels: Mapping[str,
|
2135
|
-
type:
|
2136
|
-
name: Optional[
|
2125
|
+
assignee_id: _builtins.int,
|
2126
|
+
assignee_type: _builtins.str,
|
2127
|
+
auto_delete: _builtins.bool,
|
2128
|
+
datacenter: _builtins.str,
|
2129
|
+
delete_protection: _builtins.bool,
|
2130
|
+
id: _builtins.int,
|
2131
|
+
ip_address: _builtins.str,
|
2132
|
+
ip_network: _builtins.str,
|
2133
|
+
labels: Mapping[str, _builtins.str],
|
2134
|
+
type: _builtins.str,
|
2135
|
+
name: Optional[_builtins.str] = None):
|
2137
2136
|
pulumi.set(__self__, "assignee_id", assignee_id)
|
2138
2137
|
pulumi.set(__self__, "assignee_type", assignee_type)
|
2139
2138
|
pulumi.set(__self__, "auto_delete", auto_delete)
|
@@ -2147,107 +2146,107 @@ class GetPrimaryIpsPrimaryIpResult(dict):
|
|
2147
2146
|
if name is not None:
|
2148
2147
|
pulumi.set(__self__, "name", name)
|
2149
2148
|
|
2150
|
-
@property
|
2149
|
+
@_builtins.property
|
2151
2150
|
@pulumi.getter(name="assigneeId")
|
2152
|
-
def assignee_id(self) ->
|
2151
|
+
def assignee_id(self) -> _builtins.int:
|
2153
2152
|
return pulumi.get(self, "assignee_id")
|
2154
2153
|
|
2155
|
-
@property
|
2154
|
+
@_builtins.property
|
2156
2155
|
@pulumi.getter(name="assigneeType")
|
2157
|
-
def assignee_type(self) ->
|
2156
|
+
def assignee_type(self) -> _builtins.str:
|
2158
2157
|
return pulumi.get(self, "assignee_type")
|
2159
2158
|
|
2160
|
-
@property
|
2159
|
+
@_builtins.property
|
2161
2160
|
@pulumi.getter(name="autoDelete")
|
2162
|
-
def auto_delete(self) ->
|
2161
|
+
def auto_delete(self) -> _builtins.bool:
|
2163
2162
|
return pulumi.get(self, "auto_delete")
|
2164
2163
|
|
2165
|
-
@property
|
2164
|
+
@_builtins.property
|
2166
2165
|
@pulumi.getter
|
2167
|
-
def datacenter(self) ->
|
2166
|
+
def datacenter(self) -> _builtins.str:
|
2168
2167
|
return pulumi.get(self, "datacenter")
|
2169
2168
|
|
2170
|
-
@property
|
2169
|
+
@_builtins.property
|
2171
2170
|
@pulumi.getter(name="deleteProtection")
|
2172
|
-
def delete_protection(self) ->
|
2171
|
+
def delete_protection(self) -> _builtins.bool:
|
2173
2172
|
return pulumi.get(self, "delete_protection")
|
2174
2173
|
|
2175
|
-
@property
|
2174
|
+
@_builtins.property
|
2176
2175
|
@pulumi.getter
|
2177
|
-
def id(self) ->
|
2176
|
+
def id(self) -> _builtins.int:
|
2178
2177
|
return pulumi.get(self, "id")
|
2179
2178
|
|
2180
|
-
@property
|
2179
|
+
@_builtins.property
|
2181
2180
|
@pulumi.getter(name="ipAddress")
|
2182
|
-
def ip_address(self) ->
|
2181
|
+
def ip_address(self) -> _builtins.str:
|
2183
2182
|
return pulumi.get(self, "ip_address")
|
2184
2183
|
|
2185
|
-
@property
|
2184
|
+
@_builtins.property
|
2186
2185
|
@pulumi.getter(name="ipNetwork")
|
2187
|
-
def ip_network(self) ->
|
2186
|
+
def ip_network(self) -> _builtins.str:
|
2188
2187
|
return pulumi.get(self, "ip_network")
|
2189
2188
|
|
2190
|
-
@property
|
2189
|
+
@_builtins.property
|
2191
2190
|
@pulumi.getter
|
2192
|
-
def labels(self) -> Mapping[str,
|
2191
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
2193
2192
|
return pulumi.get(self, "labels")
|
2194
2193
|
|
2195
|
-
@property
|
2194
|
+
@_builtins.property
|
2196
2195
|
@pulumi.getter
|
2197
|
-
def type(self) ->
|
2196
|
+
def type(self) -> _builtins.str:
|
2198
2197
|
return pulumi.get(self, "type")
|
2199
2198
|
|
2200
|
-
@property
|
2199
|
+
@_builtins.property
|
2201
2200
|
@pulumi.getter
|
2202
|
-
def name(self) -> Optional[
|
2201
|
+
def name(self) -> Optional[_builtins.str]:
|
2203
2202
|
return pulumi.get(self, "name")
|
2204
2203
|
|
2205
2204
|
|
2206
2205
|
@pulumi.output_type
|
2207
2206
|
class GetServerNetworkResult(dict):
|
2208
2207
|
def __init__(__self__, *,
|
2209
|
-
alias_ips: Sequence[
|
2210
|
-
ip:
|
2211
|
-
mac_address:
|
2212
|
-
network_id:
|
2208
|
+
alias_ips: Sequence[_builtins.str],
|
2209
|
+
ip: _builtins.str,
|
2210
|
+
mac_address: _builtins.str,
|
2211
|
+
network_id: _builtins.int):
|
2213
2212
|
"""
|
2214
|
-
:param Sequence[
|
2215
|
-
:param
|
2216
|
-
:param
|
2217
|
-
:param
|
2213
|
+
:param Sequence[_builtins.str] alias_ips: (list) A list of alias IP addresses assigned to the server in the network.
|
2214
|
+
:param _builtins.str ip: (string) The server's IP address within the network.
|
2215
|
+
:param _builtins.str mac_address: (string) The MAC address associated with the server's private network interface.
|
2216
|
+
:param _builtins.int network_id: (int) The unique identifier for the network.
|
2218
2217
|
"""
|
2219
2218
|
pulumi.set(__self__, "alias_ips", alias_ips)
|
2220
2219
|
pulumi.set(__self__, "ip", ip)
|
2221
2220
|
pulumi.set(__self__, "mac_address", mac_address)
|
2222
2221
|
pulumi.set(__self__, "network_id", network_id)
|
2223
2222
|
|
2224
|
-
@property
|
2223
|
+
@_builtins.property
|
2225
2224
|
@pulumi.getter(name="aliasIps")
|
2226
|
-
def alias_ips(self) -> Sequence[
|
2225
|
+
def alias_ips(self) -> Sequence[_builtins.str]:
|
2227
2226
|
"""
|
2228
2227
|
(list) A list of alias IP addresses assigned to the server in the network.
|
2229
2228
|
"""
|
2230
2229
|
return pulumi.get(self, "alias_ips")
|
2231
2230
|
|
2232
|
-
@property
|
2231
|
+
@_builtins.property
|
2233
2232
|
@pulumi.getter
|
2234
|
-
def ip(self) ->
|
2233
|
+
def ip(self) -> _builtins.str:
|
2235
2234
|
"""
|
2236
2235
|
(string) The server's IP address within the network.
|
2237
2236
|
"""
|
2238
2237
|
return pulumi.get(self, "ip")
|
2239
2238
|
|
2240
|
-
@property
|
2239
|
+
@_builtins.property
|
2241
2240
|
@pulumi.getter(name="macAddress")
|
2242
|
-
def mac_address(self) ->
|
2241
|
+
def mac_address(self) -> _builtins.str:
|
2243
2242
|
"""
|
2244
2243
|
(string) The MAC address associated with the server's private network interface.
|
2245
2244
|
"""
|
2246
2245
|
return pulumi.get(self, "mac_address")
|
2247
2246
|
|
2248
|
-
@property
|
2247
|
+
@_builtins.property
|
2249
2248
|
@pulumi.getter(name="networkId")
|
2250
|
-
def network_id(self) ->
|
2249
|
+
def network_id(self) -> _builtins.int:
|
2251
2250
|
"""
|
2252
2251
|
(int) The unique identifier for the network.
|
2253
2252
|
"""
|
@@ -2257,32 +2256,32 @@ class GetServerNetworkResult(dict):
|
|
2257
2256
|
@pulumi.output_type
|
2258
2257
|
class GetServerTypesServerTypeResult(dict):
|
2259
2258
|
def __init__(__self__, *,
|
2260
|
-
architecture:
|
2261
|
-
cores:
|
2262
|
-
cpu_type:
|
2263
|
-
deprecation_announced:
|
2264
|
-
description:
|
2265
|
-
disk:
|
2266
|
-
id:
|
2267
|
-
included_traffic:
|
2268
|
-
is_deprecated:
|
2269
|
-
memory:
|
2270
|
-
name:
|
2271
|
-
storage_type:
|
2272
|
-
unavailable_after:
|
2273
|
-
"""
|
2274
|
-
:param
|
2275
|
-
:param
|
2276
|
-
:param
|
2277
|
-
:param
|
2278
|
-
:param
|
2279
|
-
:param
|
2280
|
-
:param
|
2281
|
-
:param
|
2282
|
-
:param
|
2283
|
-
:param
|
2284
|
-
:param
|
2285
|
-
:param
|
2259
|
+
architecture: _builtins.str,
|
2260
|
+
cores: _builtins.int,
|
2261
|
+
cpu_type: _builtins.str,
|
2262
|
+
deprecation_announced: _builtins.str,
|
2263
|
+
description: _builtins.str,
|
2264
|
+
disk: _builtins.int,
|
2265
|
+
id: _builtins.int,
|
2266
|
+
included_traffic: _builtins.int,
|
2267
|
+
is_deprecated: _builtins.bool,
|
2268
|
+
memory: _builtins.int,
|
2269
|
+
name: _builtins.str,
|
2270
|
+
storage_type: _builtins.str,
|
2271
|
+
unavailable_after: _builtins.str):
|
2272
|
+
"""
|
2273
|
+
:param _builtins.str architecture: Architecture of the cpu for a Server of this type.
|
2274
|
+
:param _builtins.int cores: Number of cpu cores for a Server of this type.
|
2275
|
+
:param _builtins.str cpu_type: Type of cpu for a Server of this type.
|
2276
|
+
:param _builtins.str deprecation_announced: Date of the Server Type deprecation announcement.
|
2277
|
+
:param _builtins.str description: Description of the Server Type.
|
2278
|
+
:param _builtins.int disk: Disk size in GB for a Server of this type.
|
2279
|
+
:param _builtins.int id: ID of the Server Type.
|
2280
|
+
:param _builtins.bool is_deprecated: Whether the Server Type is deprecated.
|
2281
|
+
:param _builtins.int memory: Memory in GB for a Server of this type.
|
2282
|
+
:param _builtins.str name: Name of the Server Type.
|
2283
|
+
:param _builtins.str storage_type: Type of boot drive for a Server of this type.
|
2284
|
+
:param _builtins.str unavailable_after: Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
2286
2285
|
"""
|
2287
2286
|
pulumi.set(__self__, "architecture", architecture)
|
2288
2287
|
pulumi.set(__self__, "cores", cores)
|
@@ -2298,103 +2297,103 @@ class GetServerTypesServerTypeResult(dict):
|
|
2298
2297
|
pulumi.set(__self__, "storage_type", storage_type)
|
2299
2298
|
pulumi.set(__self__, "unavailable_after", unavailable_after)
|
2300
2299
|
|
2301
|
-
@property
|
2300
|
+
@_builtins.property
|
2302
2301
|
@pulumi.getter
|
2303
|
-
def architecture(self) ->
|
2302
|
+
def architecture(self) -> _builtins.str:
|
2304
2303
|
"""
|
2305
2304
|
Architecture of the cpu for a Server of this type.
|
2306
2305
|
"""
|
2307
2306
|
return pulumi.get(self, "architecture")
|
2308
2307
|
|
2309
|
-
@property
|
2308
|
+
@_builtins.property
|
2310
2309
|
@pulumi.getter
|
2311
|
-
def cores(self) ->
|
2310
|
+
def cores(self) -> _builtins.int:
|
2312
2311
|
"""
|
2313
2312
|
Number of cpu cores for a Server of this type.
|
2314
2313
|
"""
|
2315
2314
|
return pulumi.get(self, "cores")
|
2316
2315
|
|
2317
|
-
@property
|
2316
|
+
@_builtins.property
|
2318
2317
|
@pulumi.getter(name="cpuType")
|
2319
|
-
def cpu_type(self) ->
|
2318
|
+
def cpu_type(self) -> _builtins.str:
|
2320
2319
|
"""
|
2321
2320
|
Type of cpu for a Server of this type.
|
2322
2321
|
"""
|
2323
2322
|
return pulumi.get(self, "cpu_type")
|
2324
2323
|
|
2325
|
-
@property
|
2324
|
+
@_builtins.property
|
2326
2325
|
@pulumi.getter(name="deprecationAnnounced")
|
2327
|
-
def deprecation_announced(self) ->
|
2326
|
+
def deprecation_announced(self) -> _builtins.str:
|
2328
2327
|
"""
|
2329
2328
|
Date of the Server Type deprecation announcement.
|
2330
2329
|
"""
|
2331
2330
|
return pulumi.get(self, "deprecation_announced")
|
2332
2331
|
|
2333
|
-
@property
|
2332
|
+
@_builtins.property
|
2334
2333
|
@pulumi.getter
|
2335
|
-
def description(self) ->
|
2334
|
+
def description(self) -> _builtins.str:
|
2336
2335
|
"""
|
2337
2336
|
Description of the Server Type.
|
2338
2337
|
"""
|
2339
2338
|
return pulumi.get(self, "description")
|
2340
2339
|
|
2341
|
-
@property
|
2340
|
+
@_builtins.property
|
2342
2341
|
@pulumi.getter
|
2343
|
-
def disk(self) ->
|
2342
|
+
def disk(self) -> _builtins.int:
|
2344
2343
|
"""
|
2345
2344
|
Disk size in GB for a Server of this type.
|
2346
2345
|
"""
|
2347
2346
|
return pulumi.get(self, "disk")
|
2348
2347
|
|
2349
|
-
@property
|
2348
|
+
@_builtins.property
|
2350
2349
|
@pulumi.getter
|
2351
|
-
def id(self) ->
|
2350
|
+
def id(self) -> _builtins.int:
|
2352
2351
|
"""
|
2353
2352
|
ID of the Server Type.
|
2354
2353
|
"""
|
2355
2354
|
return pulumi.get(self, "id")
|
2356
2355
|
|
2357
|
-
@property
|
2356
|
+
@_builtins.property
|
2358
2357
|
@pulumi.getter(name="includedTraffic")
|
2359
2358
|
@_utilities.deprecated("""The field is deprecated and will always report 0 after 2024-08-05.""")
|
2360
|
-
def included_traffic(self) ->
|
2359
|
+
def included_traffic(self) -> _builtins.int:
|
2361
2360
|
return pulumi.get(self, "included_traffic")
|
2362
2361
|
|
2363
|
-
@property
|
2362
|
+
@_builtins.property
|
2364
2363
|
@pulumi.getter(name="isDeprecated")
|
2365
|
-
def is_deprecated(self) ->
|
2364
|
+
def is_deprecated(self) -> _builtins.bool:
|
2366
2365
|
"""
|
2367
2366
|
Whether the Server Type is deprecated.
|
2368
2367
|
"""
|
2369
2368
|
return pulumi.get(self, "is_deprecated")
|
2370
2369
|
|
2371
|
-
@property
|
2370
|
+
@_builtins.property
|
2372
2371
|
@pulumi.getter
|
2373
|
-
def memory(self) ->
|
2372
|
+
def memory(self) -> _builtins.int:
|
2374
2373
|
"""
|
2375
2374
|
Memory in GB for a Server of this type.
|
2376
2375
|
"""
|
2377
2376
|
return pulumi.get(self, "memory")
|
2378
2377
|
|
2379
|
-
@property
|
2378
|
+
@_builtins.property
|
2380
2379
|
@pulumi.getter
|
2381
|
-
def name(self) ->
|
2380
|
+
def name(self) -> _builtins.str:
|
2382
2381
|
"""
|
2383
2382
|
Name of the Server Type.
|
2384
2383
|
"""
|
2385
2384
|
return pulumi.get(self, "name")
|
2386
2385
|
|
2387
|
-
@property
|
2386
|
+
@_builtins.property
|
2388
2387
|
@pulumi.getter(name="storageType")
|
2389
|
-
def storage_type(self) ->
|
2388
|
+
def storage_type(self) -> _builtins.str:
|
2390
2389
|
"""
|
2391
2390
|
Type of boot drive for a Server of this type.
|
2392
2391
|
"""
|
2393
2392
|
return pulumi.get(self, "storage_type")
|
2394
2393
|
|
2395
|
-
@property
|
2394
|
+
@_builtins.property
|
2396
2395
|
@pulumi.getter(name="unavailableAfter")
|
2397
|
-
def unavailable_after(self) ->
|
2396
|
+
def unavailable_after(self) -> _builtins.str:
|
2398
2397
|
"""
|
2399
2398
|
Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
2400
2399
|
"""
|
@@ -2404,27 +2403,27 @@ class GetServerTypesServerTypeResult(dict):
|
|
2404
2403
|
@pulumi.output_type
|
2405
2404
|
class GetServersServerResult(dict):
|
2406
2405
|
def __init__(__self__, *,
|
2407
|
-
backup_window:
|
2408
|
-
backups:
|
2409
|
-
datacenter:
|
2410
|
-
delete_protection:
|
2411
|
-
firewall_ids: Sequence[
|
2412
|
-
id:
|
2413
|
-
image:
|
2414
|
-
ipv4_address:
|
2415
|
-
ipv6_address:
|
2416
|
-
ipv6_network:
|
2417
|
-
iso:
|
2418
|
-
labels: Mapping[str,
|
2419
|
-
location:
|
2420
|
-
name:
|
2421
|
-
primary_disk_size:
|
2422
|
-
rebuild_protection:
|
2423
|
-
rescue:
|
2424
|
-
server_type:
|
2425
|
-
status:
|
2406
|
+
backup_window: _builtins.str,
|
2407
|
+
backups: _builtins.bool,
|
2408
|
+
datacenter: _builtins.str,
|
2409
|
+
delete_protection: _builtins.bool,
|
2410
|
+
firewall_ids: Sequence[_builtins.int],
|
2411
|
+
id: _builtins.int,
|
2412
|
+
image: _builtins.str,
|
2413
|
+
ipv4_address: _builtins.str,
|
2414
|
+
ipv6_address: _builtins.str,
|
2415
|
+
ipv6_network: _builtins.str,
|
2416
|
+
iso: _builtins.str,
|
2417
|
+
labels: Mapping[str, _builtins.str],
|
2418
|
+
location: _builtins.str,
|
2419
|
+
name: _builtins.str,
|
2420
|
+
primary_disk_size: _builtins.int,
|
2421
|
+
rebuild_protection: _builtins.bool,
|
2422
|
+
rescue: _builtins.str,
|
2423
|
+
server_type: _builtins.str,
|
2424
|
+
status: _builtins.str,
|
2426
2425
|
networks: Optional[Sequence['outputs.GetServersServerNetworkResult']] = None,
|
2427
|
-
placement_group_id: Optional[
|
2426
|
+
placement_group_id: Optional[_builtins.int] = None):
|
2428
2427
|
pulumi.set(__self__, "backup_window", backup_window)
|
2429
2428
|
pulumi.set(__self__, "backups", backups)
|
2430
2429
|
pulumi.set(__self__, "datacenter", datacenter)
|
@@ -2449,159 +2448,159 @@ class GetServersServerResult(dict):
|
|
2449
2448
|
if placement_group_id is not None:
|
2450
2449
|
pulumi.set(__self__, "placement_group_id", placement_group_id)
|
2451
2450
|
|
2452
|
-
@property
|
2451
|
+
@_builtins.property
|
2453
2452
|
@pulumi.getter(name="backupWindow")
|
2454
|
-
def backup_window(self) ->
|
2453
|
+
def backup_window(self) -> _builtins.str:
|
2455
2454
|
return pulumi.get(self, "backup_window")
|
2456
2455
|
|
2457
|
-
@property
|
2456
|
+
@_builtins.property
|
2458
2457
|
@pulumi.getter
|
2459
|
-
def backups(self) ->
|
2458
|
+
def backups(self) -> _builtins.bool:
|
2460
2459
|
return pulumi.get(self, "backups")
|
2461
2460
|
|
2462
|
-
@property
|
2461
|
+
@_builtins.property
|
2463
2462
|
@pulumi.getter
|
2464
|
-
def datacenter(self) ->
|
2463
|
+
def datacenter(self) -> _builtins.str:
|
2465
2464
|
return pulumi.get(self, "datacenter")
|
2466
2465
|
|
2467
|
-
@property
|
2466
|
+
@_builtins.property
|
2468
2467
|
@pulumi.getter(name="deleteProtection")
|
2469
|
-
def delete_protection(self) ->
|
2468
|
+
def delete_protection(self) -> _builtins.bool:
|
2470
2469
|
return pulumi.get(self, "delete_protection")
|
2471
2470
|
|
2472
|
-
@property
|
2471
|
+
@_builtins.property
|
2473
2472
|
@pulumi.getter(name="firewallIds")
|
2474
|
-
def firewall_ids(self) -> Sequence[
|
2473
|
+
def firewall_ids(self) -> Sequence[_builtins.int]:
|
2475
2474
|
return pulumi.get(self, "firewall_ids")
|
2476
2475
|
|
2477
|
-
@property
|
2476
|
+
@_builtins.property
|
2478
2477
|
@pulumi.getter
|
2479
|
-
def id(self) ->
|
2478
|
+
def id(self) -> _builtins.int:
|
2480
2479
|
return pulumi.get(self, "id")
|
2481
2480
|
|
2482
|
-
@property
|
2481
|
+
@_builtins.property
|
2483
2482
|
@pulumi.getter
|
2484
|
-
def image(self) ->
|
2483
|
+
def image(self) -> _builtins.str:
|
2485
2484
|
return pulumi.get(self, "image")
|
2486
2485
|
|
2487
|
-
@property
|
2486
|
+
@_builtins.property
|
2488
2487
|
@pulumi.getter(name="ipv4Address")
|
2489
|
-
def ipv4_address(self) ->
|
2488
|
+
def ipv4_address(self) -> _builtins.str:
|
2490
2489
|
return pulumi.get(self, "ipv4_address")
|
2491
2490
|
|
2492
|
-
@property
|
2491
|
+
@_builtins.property
|
2493
2492
|
@pulumi.getter(name="ipv6Address")
|
2494
|
-
def ipv6_address(self) ->
|
2493
|
+
def ipv6_address(self) -> _builtins.str:
|
2495
2494
|
return pulumi.get(self, "ipv6_address")
|
2496
2495
|
|
2497
|
-
@property
|
2496
|
+
@_builtins.property
|
2498
2497
|
@pulumi.getter(name="ipv6Network")
|
2499
|
-
def ipv6_network(self) ->
|
2498
|
+
def ipv6_network(self) -> _builtins.str:
|
2500
2499
|
return pulumi.get(self, "ipv6_network")
|
2501
2500
|
|
2502
|
-
@property
|
2501
|
+
@_builtins.property
|
2503
2502
|
@pulumi.getter
|
2504
|
-
def iso(self) ->
|
2503
|
+
def iso(self) -> _builtins.str:
|
2505
2504
|
return pulumi.get(self, "iso")
|
2506
2505
|
|
2507
|
-
@property
|
2506
|
+
@_builtins.property
|
2508
2507
|
@pulumi.getter
|
2509
|
-
def labels(self) -> Mapping[str,
|
2508
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
2510
2509
|
return pulumi.get(self, "labels")
|
2511
2510
|
|
2512
|
-
@property
|
2511
|
+
@_builtins.property
|
2513
2512
|
@pulumi.getter
|
2514
|
-
def location(self) ->
|
2513
|
+
def location(self) -> _builtins.str:
|
2515
2514
|
return pulumi.get(self, "location")
|
2516
2515
|
|
2517
|
-
@property
|
2516
|
+
@_builtins.property
|
2518
2517
|
@pulumi.getter
|
2519
|
-
def name(self) ->
|
2518
|
+
def name(self) -> _builtins.str:
|
2520
2519
|
return pulumi.get(self, "name")
|
2521
2520
|
|
2522
|
-
@property
|
2521
|
+
@_builtins.property
|
2523
2522
|
@pulumi.getter(name="primaryDiskSize")
|
2524
|
-
def primary_disk_size(self) ->
|
2523
|
+
def primary_disk_size(self) -> _builtins.int:
|
2525
2524
|
return pulumi.get(self, "primary_disk_size")
|
2526
2525
|
|
2527
|
-
@property
|
2526
|
+
@_builtins.property
|
2528
2527
|
@pulumi.getter(name="rebuildProtection")
|
2529
|
-
def rebuild_protection(self) ->
|
2528
|
+
def rebuild_protection(self) -> _builtins.bool:
|
2530
2529
|
return pulumi.get(self, "rebuild_protection")
|
2531
2530
|
|
2532
|
-
@property
|
2531
|
+
@_builtins.property
|
2533
2532
|
@pulumi.getter
|
2534
|
-
def rescue(self) ->
|
2533
|
+
def rescue(self) -> _builtins.str:
|
2535
2534
|
return pulumi.get(self, "rescue")
|
2536
2535
|
|
2537
|
-
@property
|
2536
|
+
@_builtins.property
|
2538
2537
|
@pulumi.getter(name="serverType")
|
2539
|
-
def server_type(self) ->
|
2538
|
+
def server_type(self) -> _builtins.str:
|
2540
2539
|
return pulumi.get(self, "server_type")
|
2541
2540
|
|
2542
|
-
@property
|
2541
|
+
@_builtins.property
|
2543
2542
|
@pulumi.getter
|
2544
|
-
def status(self) ->
|
2543
|
+
def status(self) -> _builtins.str:
|
2545
2544
|
return pulumi.get(self, "status")
|
2546
2545
|
|
2547
|
-
@property
|
2546
|
+
@_builtins.property
|
2548
2547
|
@pulumi.getter
|
2549
2548
|
def networks(self) -> Optional[Sequence['outputs.GetServersServerNetworkResult']]:
|
2550
2549
|
return pulumi.get(self, "networks")
|
2551
2550
|
|
2552
|
-
@property
|
2551
|
+
@_builtins.property
|
2553
2552
|
@pulumi.getter(name="placementGroupId")
|
2554
|
-
def placement_group_id(self) -> Optional[
|
2553
|
+
def placement_group_id(self) -> Optional[_builtins.int]:
|
2555
2554
|
return pulumi.get(self, "placement_group_id")
|
2556
2555
|
|
2557
2556
|
|
2558
2557
|
@pulumi.output_type
|
2559
2558
|
class GetServersServerNetworkResult(dict):
|
2560
2559
|
def __init__(__self__, *,
|
2561
|
-
alias_ips: Sequence[
|
2562
|
-
ip:
|
2563
|
-
mac_address:
|
2564
|
-
network_id:
|
2560
|
+
alias_ips: Sequence[_builtins.str],
|
2561
|
+
ip: _builtins.str,
|
2562
|
+
mac_address: _builtins.str,
|
2563
|
+
network_id: _builtins.int):
|
2565
2564
|
pulumi.set(__self__, "alias_ips", alias_ips)
|
2566
2565
|
pulumi.set(__self__, "ip", ip)
|
2567
2566
|
pulumi.set(__self__, "mac_address", mac_address)
|
2568
2567
|
pulumi.set(__self__, "network_id", network_id)
|
2569
2568
|
|
2570
|
-
@property
|
2569
|
+
@_builtins.property
|
2571
2570
|
@pulumi.getter(name="aliasIps")
|
2572
|
-
def alias_ips(self) -> Sequence[
|
2571
|
+
def alias_ips(self) -> Sequence[_builtins.str]:
|
2573
2572
|
return pulumi.get(self, "alias_ips")
|
2574
2573
|
|
2575
|
-
@property
|
2574
|
+
@_builtins.property
|
2576
2575
|
@pulumi.getter
|
2577
|
-
def ip(self) ->
|
2576
|
+
def ip(self) -> _builtins.str:
|
2578
2577
|
return pulumi.get(self, "ip")
|
2579
2578
|
|
2580
|
-
@property
|
2579
|
+
@_builtins.property
|
2581
2580
|
@pulumi.getter(name="macAddress")
|
2582
|
-
def mac_address(self) ->
|
2581
|
+
def mac_address(self) -> _builtins.str:
|
2583
2582
|
return pulumi.get(self, "mac_address")
|
2584
2583
|
|
2585
|
-
@property
|
2584
|
+
@_builtins.property
|
2586
2585
|
@pulumi.getter(name="networkId")
|
2587
|
-
def network_id(self) ->
|
2586
|
+
def network_id(self) -> _builtins.int:
|
2588
2587
|
return pulumi.get(self, "network_id")
|
2589
2588
|
|
2590
2589
|
|
2591
2590
|
@pulumi.output_type
|
2592
2591
|
class GetSshKeysSshKeyResult(dict):
|
2593
2592
|
def __init__(__self__, *,
|
2594
|
-
fingerprint:
|
2595
|
-
id:
|
2596
|
-
labels: Mapping[str,
|
2597
|
-
name:
|
2598
|
-
public_key:
|
2599
|
-
"""
|
2600
|
-
:param
|
2601
|
-
:param
|
2602
|
-
:param Mapping[str,
|
2603
|
-
:param
|
2604
|
-
:param
|
2593
|
+
fingerprint: _builtins.str,
|
2594
|
+
id: _builtins.int,
|
2595
|
+
labels: Mapping[str, _builtins.str],
|
2596
|
+
name: _builtins.str,
|
2597
|
+
public_key: _builtins.str):
|
2598
|
+
"""
|
2599
|
+
:param _builtins.str fingerprint: Fingerprint of the SSH Key.
|
2600
|
+
:param _builtins.int id: ID of the SSH Key.
|
2601
|
+
:param Mapping[str, _builtins.str] labels: User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
2602
|
+
:param _builtins.str name: Name of the SSH Key.
|
2603
|
+
:param _builtins.str public_key: Public key of the SSH Key pair.
|
2605
2604
|
"""
|
2606
2605
|
pulumi.set(__self__, "fingerprint", fingerprint)
|
2607
2606
|
pulumi.set(__self__, "id", id)
|
@@ -2609,41 +2608,41 @@ class GetSshKeysSshKeyResult(dict):
|
|
2609
2608
|
pulumi.set(__self__, "name", name)
|
2610
2609
|
pulumi.set(__self__, "public_key", public_key)
|
2611
2610
|
|
2612
|
-
@property
|
2611
|
+
@_builtins.property
|
2613
2612
|
@pulumi.getter
|
2614
|
-
def fingerprint(self) ->
|
2613
|
+
def fingerprint(self) -> _builtins.str:
|
2615
2614
|
"""
|
2616
2615
|
Fingerprint of the SSH Key.
|
2617
2616
|
"""
|
2618
2617
|
return pulumi.get(self, "fingerprint")
|
2619
2618
|
|
2620
|
-
@property
|
2619
|
+
@_builtins.property
|
2621
2620
|
@pulumi.getter
|
2622
|
-
def id(self) ->
|
2621
|
+
def id(self) -> _builtins.int:
|
2623
2622
|
"""
|
2624
2623
|
ID of the SSH Key.
|
2625
2624
|
"""
|
2626
2625
|
return pulumi.get(self, "id")
|
2627
2626
|
|
2628
|
-
@property
|
2627
|
+
@_builtins.property
|
2629
2628
|
@pulumi.getter
|
2630
|
-
def labels(self) -> Mapping[str,
|
2629
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
2631
2630
|
"""
|
2632
2631
|
User-defined [labels](https://docs.hetzner.cloud/#labels) (key-value pairs) for the resource.
|
2633
2632
|
"""
|
2634
2633
|
return pulumi.get(self, "labels")
|
2635
2634
|
|
2636
|
-
@property
|
2635
|
+
@_builtins.property
|
2637
2636
|
@pulumi.getter
|
2638
|
-
def name(self) ->
|
2637
|
+
def name(self) -> _builtins.str:
|
2639
2638
|
"""
|
2640
2639
|
Name of the SSH Key.
|
2641
2640
|
"""
|
2642
2641
|
return pulumi.get(self, "name")
|
2643
2642
|
|
2644
|
-
@property
|
2643
|
+
@_builtins.property
|
2645
2644
|
@pulumi.getter(name="publicKey")
|
2646
|
-
def public_key(self) ->
|
2645
|
+
def public_key(self) -> _builtins.str:
|
2647
2646
|
"""
|
2648
2647
|
Public key of the SSH Key pair.
|
2649
2648
|
"""
|
@@ -2653,14 +2652,14 @@ class GetSshKeysSshKeyResult(dict):
|
|
2653
2652
|
@pulumi.output_type
|
2654
2653
|
class GetVolumesVolumeResult(dict):
|
2655
2654
|
def __init__(__self__, *,
|
2656
|
-
delete_protection:
|
2657
|
-
id:
|
2658
|
-
labels: Mapping[str,
|
2659
|
-
linux_device:
|
2660
|
-
name:
|
2661
|
-
size:
|
2662
|
-
location: Optional[
|
2663
|
-
server_id: Optional[
|
2655
|
+
delete_protection: _builtins.bool,
|
2656
|
+
id: _builtins.int,
|
2657
|
+
labels: Mapping[str, _builtins.str],
|
2658
|
+
linux_device: _builtins.str,
|
2659
|
+
name: _builtins.str,
|
2660
|
+
size: _builtins.int,
|
2661
|
+
location: Optional[_builtins.str] = None,
|
2662
|
+
server_id: Optional[_builtins.int] = None):
|
2664
2663
|
pulumi.set(__self__, "delete_protection", delete_protection)
|
2665
2664
|
pulumi.set(__self__, "id", id)
|
2666
2665
|
pulumi.set(__self__, "labels", labels)
|
@@ -2672,44 +2671,44 @@ class GetVolumesVolumeResult(dict):
|
|
2672
2671
|
if server_id is not None:
|
2673
2672
|
pulumi.set(__self__, "server_id", server_id)
|
2674
2673
|
|
2675
|
-
@property
|
2674
|
+
@_builtins.property
|
2676
2675
|
@pulumi.getter(name="deleteProtection")
|
2677
|
-
def delete_protection(self) ->
|
2676
|
+
def delete_protection(self) -> _builtins.bool:
|
2678
2677
|
return pulumi.get(self, "delete_protection")
|
2679
2678
|
|
2680
|
-
@property
|
2679
|
+
@_builtins.property
|
2681
2680
|
@pulumi.getter
|
2682
|
-
def id(self) ->
|
2681
|
+
def id(self) -> _builtins.int:
|
2683
2682
|
return pulumi.get(self, "id")
|
2684
2683
|
|
2685
|
-
@property
|
2684
|
+
@_builtins.property
|
2686
2685
|
@pulumi.getter
|
2687
|
-
def labels(self) -> Mapping[str,
|
2686
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
2688
2687
|
return pulumi.get(self, "labels")
|
2689
2688
|
|
2690
|
-
@property
|
2689
|
+
@_builtins.property
|
2691
2690
|
@pulumi.getter(name="linuxDevice")
|
2692
|
-
def linux_device(self) ->
|
2691
|
+
def linux_device(self) -> _builtins.str:
|
2693
2692
|
return pulumi.get(self, "linux_device")
|
2694
2693
|
|
2695
|
-
@property
|
2694
|
+
@_builtins.property
|
2696
2695
|
@pulumi.getter
|
2697
|
-
def name(self) ->
|
2696
|
+
def name(self) -> _builtins.str:
|
2698
2697
|
return pulumi.get(self, "name")
|
2699
2698
|
|
2700
|
-
@property
|
2699
|
+
@_builtins.property
|
2701
2700
|
@pulumi.getter
|
2702
|
-
def size(self) ->
|
2701
|
+
def size(self) -> _builtins.int:
|
2703
2702
|
return pulumi.get(self, "size")
|
2704
2703
|
|
2705
|
-
@property
|
2704
|
+
@_builtins.property
|
2706
2705
|
@pulumi.getter
|
2707
|
-
def location(self) -> Optional[
|
2706
|
+
def location(self) -> Optional[_builtins.str]:
|
2708
2707
|
return pulumi.get(self, "location")
|
2709
2708
|
|
2710
|
-
@property
|
2709
|
+
@_builtins.property
|
2711
2710
|
@pulumi.getter(name="serverId")
|
2712
|
-
def server_id(self) -> Optional[
|
2711
|
+
def server_id(self) -> Optional[_builtins.int]:
|
2713
2712
|
return pulumi.get(self, "server_id")
|
2714
2713
|
|
2715
2714
|
|