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