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