pulumi-hcloud 1.21.0a1731090444__py3-none-any.whl → 1.21.0a1731100190__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_hcloud/__init__.py +2 -0
- pulumi_hcloud/firewall_attachment.py +2 -2
- pulumi_hcloud/get_datacenter.py +1 -1
- pulumi_hcloud/get_firewall.py +3 -3
- pulumi_hcloud/get_floating_ip.py +4 -0
- pulumi_hcloud/get_load_balancer.py +1 -1
- pulumi_hcloud/get_load_balancer_type.py +200 -0
- pulumi_hcloud/get_load_balancer_types.py +100 -0
- pulumi_hcloud/get_placement_group.py +3 -3
- pulumi_hcloud/get_primary_ip.py +2 -2
- pulumi_hcloud/get_server.py +2 -2
- pulumi_hcloud/get_server_type.py +9 -9
- pulumi_hcloud/get_server_types.py +17 -8
- pulumi_hcloud/get_volume.py +3 -3
- pulumi_hcloud/get_volumes.py +2 -2
- pulumi_hcloud/load_balancer.py +7 -7
- pulumi_hcloud/load_balancer_network.py +7 -7
- pulumi_hcloud/outputs.py +63 -8
- pulumi_hcloud/primary_ip.py +35 -21
- pulumi_hcloud/pulumi-plugin.json +1 -1
- pulumi_hcloud/server.py +20 -14
- pulumi_hcloud/server_network.py +7 -7
- pulumi_hcloud/volume.py +14 -14
- {pulumi_hcloud-1.21.0a1731090444.dist-info → pulumi_hcloud-1.21.0a1731100190.dist-info}/METADATA +1 -1
- {pulumi_hcloud-1.21.0a1731090444.dist-info → pulumi_hcloud-1.21.0a1731100190.dist-info}/RECORD +27 -25
- {pulumi_hcloud-1.21.0a1731090444.dist-info → pulumi_hcloud-1.21.0a1731100190.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.21.0a1731090444.dist-info → pulumi_hcloud-1.21.0a1731100190.dist-info}/top_level.txt +0 -0
pulumi_hcloud/load_balancer.py
CHANGED
|
@@ -35,7 +35,7 @@ class LoadBalancerArgs:
|
|
|
35
35
|
:param pulumi.Input['LoadBalancerAlgorithmArgs'] algorithm: Configuration of the algorithm the Load Balancer use.
|
|
36
36
|
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
37
37
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
|
38
|
-
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set.
|
|
38
|
+
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
39
39
|
:param pulumi.Input[str] name: Name of the Load Balancer.
|
|
40
40
|
:param pulumi.Input[str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
|
41
41
|
"""
|
|
@@ -110,7 +110,7 @@ class LoadBalancerArgs:
|
|
|
110
110
|
@pulumi.getter
|
|
111
111
|
def location(self) -> Optional[pulumi.Input[str]]:
|
|
112
112
|
"""
|
|
113
|
-
The location name of the Load Balancer. Require when no network_zone is set.
|
|
113
|
+
The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "location")
|
|
116
116
|
|
|
@@ -176,7 +176,7 @@ class _LoadBalancerState:
|
|
|
176
176
|
:param pulumi.Input[str] ipv6: (string) IPv6 Address of the Load Balancer.
|
|
177
177
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
|
178
178
|
:param pulumi.Input[str] load_balancer_type: Type of the Load Balancer.
|
|
179
|
-
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set.
|
|
179
|
+
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
180
180
|
:param pulumi.Input[str] name: Name of the Load Balancer.
|
|
181
181
|
:param pulumi.Input[int] network_id: (int) ID of the first private network that this Load Balancer is connected to.
|
|
182
182
|
:param pulumi.Input[str] network_ip: (string) IP of the Load Balancer in the first private network that it is connected to.
|
|
@@ -286,7 +286,7 @@ class _LoadBalancerState:
|
|
|
286
286
|
@pulumi.getter
|
|
287
287
|
def location(self) -> Optional[pulumi.Input[str]]:
|
|
288
288
|
"""
|
|
289
|
-
The location name of the Load Balancer. Require when no network_zone is set.
|
|
289
|
+
The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
290
290
|
"""
|
|
291
291
|
return pulumi.get(self, "location")
|
|
292
292
|
|
|
@@ -404,7 +404,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
404
404
|
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
|
|
405
405
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
|
406
406
|
:param pulumi.Input[str] load_balancer_type: Type of the Load Balancer.
|
|
407
|
-
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set.
|
|
407
|
+
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
408
408
|
:param pulumi.Input[str] name: Name of the Load Balancer.
|
|
409
409
|
:param pulumi.Input[str] network_zone: The Network Zone of the Load Balancer. Require when no location is set.
|
|
410
410
|
"""
|
|
@@ -526,7 +526,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
526
526
|
:param pulumi.Input[str] ipv6: (string) IPv6 Address of the Load Balancer.
|
|
527
527
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
|
528
528
|
:param pulumi.Input[str] load_balancer_type: Type of the Load Balancer.
|
|
529
|
-
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set.
|
|
529
|
+
:param pulumi.Input[str] location: The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
530
530
|
:param pulumi.Input[str] name: Name of the Load Balancer.
|
|
531
531
|
:param pulumi.Input[int] network_id: (int) ID of the first private network that this Load Balancer is connected to.
|
|
532
532
|
:param pulumi.Input[str] network_ip: (string) IP of the Load Balancer in the first private network that it is connected to.
|
|
@@ -602,7 +602,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
602
602
|
@pulumi.getter
|
|
603
603
|
def location(self) -> pulumi.Output[str]:
|
|
604
604
|
"""
|
|
605
|
-
The location name of the Load Balancer. Require when no network_zone is set.
|
|
605
|
+
The location name of the Load Balancer. Require when no network_zone is set. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
606
606
|
"""
|
|
607
607
|
return pulumi.get(self, "location")
|
|
608
608
|
|
|
@@ -42,7 +42,7 @@ class LoadBalancerNetworkArgs:
|
|
|
42
42
|
`LoadBalancerNetwork` and the existence of a subnet.
|
|
43
43
|
:param pulumi.Input[str] subnet_id: ID of the sub-network which should be
|
|
44
44
|
added to the Load Balancer. Required if `network_id` is not set.
|
|
45
|
-
|
|
45
|
+
_Note_: if the `ip` property is missing, the Load Balancer is
|
|
46
46
|
currently added to the last created subnet.
|
|
47
47
|
"""
|
|
48
48
|
pulumi.set(__self__, "load_balancer_id", load_balancer_id)
|
|
@@ -119,7 +119,7 @@ class LoadBalancerNetworkArgs:
|
|
|
119
119
|
"""
|
|
120
120
|
ID of the sub-network which should be
|
|
121
121
|
added to the Load Balancer. Required if `network_id` is not set.
|
|
122
|
-
|
|
122
|
+
_Note_: if the `ip` property is missing, the Load Balancer is
|
|
123
123
|
currently added to the last created subnet.
|
|
124
124
|
"""
|
|
125
125
|
return pulumi.get(self, "subnet_id")
|
|
@@ -155,7 +155,7 @@ class _LoadBalancerNetworkState:
|
|
|
155
155
|
`LoadBalancerNetwork` and the existence of a subnet.
|
|
156
156
|
:param pulumi.Input[str] subnet_id: ID of the sub-network which should be
|
|
157
157
|
added to the Load Balancer. Required if `network_id` is not set.
|
|
158
|
-
|
|
158
|
+
_Note_: if the `ip` property is missing, the Load Balancer is
|
|
159
159
|
currently added to the last created subnet.
|
|
160
160
|
"""
|
|
161
161
|
if enable_public_interface is not None:
|
|
@@ -233,7 +233,7 @@ class _LoadBalancerNetworkState:
|
|
|
233
233
|
"""
|
|
234
234
|
ID of the sub-network which should be
|
|
235
235
|
added to the Load Balancer. Required if `network_id` is not set.
|
|
236
|
-
|
|
236
|
+
_Note_: if the `ip` property is missing, the Load Balancer is
|
|
237
237
|
currently added to the last created subnet.
|
|
238
238
|
"""
|
|
239
239
|
return pulumi.get(self, "subnet_id")
|
|
@@ -310,7 +310,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
|
|
|
310
310
|
`LoadBalancerNetwork` and the existence of a subnet.
|
|
311
311
|
:param pulumi.Input[str] subnet_id: ID of the sub-network which should be
|
|
312
312
|
added to the Load Balancer. Required if `network_id` is not set.
|
|
313
|
-
|
|
313
|
+
_Note_: if the `ip` property is missing, the Load Balancer is
|
|
314
314
|
currently added to the last created subnet.
|
|
315
315
|
"""
|
|
316
316
|
...
|
|
@@ -431,7 +431,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
|
|
|
431
431
|
`LoadBalancerNetwork` and the existence of a subnet.
|
|
432
432
|
:param pulumi.Input[str] subnet_id: ID of the sub-network which should be
|
|
433
433
|
added to the Load Balancer. Required if `network_id` is not set.
|
|
434
|
-
|
|
434
|
+
_Note_: if the `ip` property is missing, the Load Balancer is
|
|
435
435
|
currently added to the last created subnet.
|
|
436
436
|
"""
|
|
437
437
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -493,7 +493,7 @@ class LoadBalancerNetwork(pulumi.CustomResource):
|
|
|
493
493
|
"""
|
|
494
494
|
ID of the sub-network which should be
|
|
495
495
|
added to the Load Balancer. Required if `network_id` is not set.
|
|
496
|
-
|
|
496
|
+
_Note_: if the `ip` property is missing, the Load Balancer is
|
|
497
497
|
currently added to the last created subnet.
|
|
498
498
|
"""
|
|
499
499
|
return pulumi.get(self, "subnet_id")
|
pulumi_hcloud/outputs.py
CHANGED
|
@@ -40,6 +40,7 @@ __all__ = [
|
|
|
40
40
|
'GetLoadBalancerServiceHealthCheckHttpResult',
|
|
41
41
|
'GetLoadBalancerServiceHttpResult',
|
|
42
42
|
'GetLoadBalancerTargetResult',
|
|
43
|
+
'GetLoadBalancerTypesLoadBalancerTypeResult',
|
|
43
44
|
'GetLoadBalancersLoadBalancerResult',
|
|
44
45
|
'GetLoadBalancersLoadBalancerAlgorithmResult',
|
|
45
46
|
'GetLoadBalancersLoadBalancerServiceResult',
|
|
@@ -1205,7 +1206,7 @@ class GetLoadBalancerServiceResult(dict):
|
|
|
1205
1206
|
:param int destination_port: (int) Port the service connects to the targets on. Can be everything between `1` and `65535`.
|
|
1206
1207
|
:param Sequence['GetLoadBalancerServiceHealthCheckArgs'] health_checks: (list) List of http configurations when `protocol` is `http` or `https`.
|
|
1207
1208
|
:param Sequence['GetLoadBalancerServiceHttpArgs'] https: (list) List of http configurations when `protocol` is `http` or `https`.
|
|
1208
|
-
:param int listen_port: (int) Port the service listen on
|
|
1209
|
+
:param int listen_port: (int) Port the service listen on. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
|
1209
1210
|
:param str protocol: (string) Protocol the health check uses. `http`, `https` or `tcp`
|
|
1210
1211
|
:param bool proxyprotocol: (bool) Enable proxyprotocol.
|
|
1211
1212
|
"""
|
|
@@ -1244,7 +1245,7 @@ class GetLoadBalancerServiceResult(dict):
|
|
|
1244
1245
|
@pulumi.getter(name="listenPort")
|
|
1245
1246
|
def listen_port(self) -> int:
|
|
1246
1247
|
"""
|
|
1247
|
-
(int) Port the service listen on
|
|
1248
|
+
(int) Port the service listen on. Can be everything between `1` and `65535`. Must be unique per Load Balancer.
|
|
1248
1249
|
"""
|
|
1249
1250
|
return pulumi.get(self, "listen_port")
|
|
1250
1251
|
|
|
@@ -1502,6 +1503,60 @@ class GetLoadBalancerTargetResult(dict):
|
|
|
1502
1503
|
return pulumi.get(self, "type")
|
|
1503
1504
|
|
|
1504
1505
|
|
|
1506
|
+
@pulumi.output_type
|
|
1507
|
+
class GetLoadBalancerTypesLoadBalancerTypeResult(dict):
|
|
1508
|
+
def __init__(__self__, *,
|
|
1509
|
+
description: str,
|
|
1510
|
+
id: int,
|
|
1511
|
+
max_assigned_certificates: int,
|
|
1512
|
+
max_connections: int,
|
|
1513
|
+
max_services: int,
|
|
1514
|
+
max_targets: int,
|
|
1515
|
+
name: str):
|
|
1516
|
+
pulumi.set(__self__, "description", description)
|
|
1517
|
+
pulumi.set(__self__, "id", id)
|
|
1518
|
+
pulumi.set(__self__, "max_assigned_certificates", max_assigned_certificates)
|
|
1519
|
+
pulumi.set(__self__, "max_connections", max_connections)
|
|
1520
|
+
pulumi.set(__self__, "max_services", max_services)
|
|
1521
|
+
pulumi.set(__self__, "max_targets", max_targets)
|
|
1522
|
+
pulumi.set(__self__, "name", name)
|
|
1523
|
+
|
|
1524
|
+
@property
|
|
1525
|
+
@pulumi.getter
|
|
1526
|
+
def description(self) -> str:
|
|
1527
|
+
return pulumi.get(self, "description")
|
|
1528
|
+
|
|
1529
|
+
@property
|
|
1530
|
+
@pulumi.getter
|
|
1531
|
+
def id(self) -> int:
|
|
1532
|
+
return pulumi.get(self, "id")
|
|
1533
|
+
|
|
1534
|
+
@property
|
|
1535
|
+
@pulumi.getter(name="maxAssignedCertificates")
|
|
1536
|
+
def max_assigned_certificates(self) -> int:
|
|
1537
|
+
return pulumi.get(self, "max_assigned_certificates")
|
|
1538
|
+
|
|
1539
|
+
@property
|
|
1540
|
+
@pulumi.getter(name="maxConnections")
|
|
1541
|
+
def max_connections(self) -> int:
|
|
1542
|
+
return pulumi.get(self, "max_connections")
|
|
1543
|
+
|
|
1544
|
+
@property
|
|
1545
|
+
@pulumi.getter(name="maxServices")
|
|
1546
|
+
def max_services(self) -> int:
|
|
1547
|
+
return pulumi.get(self, "max_services")
|
|
1548
|
+
|
|
1549
|
+
@property
|
|
1550
|
+
@pulumi.getter(name="maxTargets")
|
|
1551
|
+
def max_targets(self) -> int:
|
|
1552
|
+
return pulumi.get(self, "max_targets")
|
|
1553
|
+
|
|
1554
|
+
@property
|
|
1555
|
+
@pulumi.getter
|
|
1556
|
+
def name(self) -> str:
|
|
1557
|
+
return pulumi.get(self, "name")
|
|
1558
|
+
|
|
1559
|
+
|
|
1505
1560
|
@pulumi.output_type
|
|
1506
1561
|
class GetLoadBalancersLoadBalancerResult(dict):
|
|
1507
1562
|
def __init__(__self__, *,
|
|
@@ -2059,15 +2114,15 @@ class GetPrimaryIpsPrimaryIpResult(dict):
|
|
|
2059
2114
|
class GetServerTypesServerTypeResult(dict):
|
|
2060
2115
|
def __init__(__self__, *,
|
|
2061
2116
|
architecture: str,
|
|
2062
|
-
cores:
|
|
2117
|
+
cores: float,
|
|
2063
2118
|
cpu_type: str,
|
|
2064
2119
|
deprecation_announced: str,
|
|
2065
2120
|
description: str,
|
|
2066
|
-
disk:
|
|
2121
|
+
disk: float,
|
|
2067
2122
|
id: int,
|
|
2068
2123
|
included_traffic: int,
|
|
2069
2124
|
is_deprecated: bool,
|
|
2070
|
-
memory:
|
|
2125
|
+
memory: float,
|
|
2071
2126
|
name: str,
|
|
2072
2127
|
storage_type: str,
|
|
2073
2128
|
unavailable_after: str):
|
|
@@ -2092,7 +2147,7 @@ class GetServerTypesServerTypeResult(dict):
|
|
|
2092
2147
|
|
|
2093
2148
|
@property
|
|
2094
2149
|
@pulumi.getter
|
|
2095
|
-
def cores(self) ->
|
|
2150
|
+
def cores(self) -> float:
|
|
2096
2151
|
return pulumi.get(self, "cores")
|
|
2097
2152
|
|
|
2098
2153
|
@property
|
|
@@ -2112,7 +2167,7 @@ class GetServerTypesServerTypeResult(dict):
|
|
|
2112
2167
|
|
|
2113
2168
|
@property
|
|
2114
2169
|
@pulumi.getter
|
|
2115
|
-
def disk(self) ->
|
|
2170
|
+
def disk(self) -> float:
|
|
2116
2171
|
return pulumi.get(self, "disk")
|
|
2117
2172
|
|
|
2118
2173
|
@property
|
|
@@ -2133,7 +2188,7 @@ class GetServerTypesServerTypeResult(dict):
|
|
|
2133
2188
|
|
|
2134
2189
|
@property
|
|
2135
2190
|
@pulumi.getter
|
|
2136
|
-
def memory(self) ->
|
|
2191
|
+
def memory(self) -> float:
|
|
2137
2192
|
return pulumi.get(self, "memory")
|
|
2138
2193
|
|
|
2139
2194
|
@property
|
pulumi_hcloud/primary_ip.py
CHANGED
|
@@ -33,10 +33,12 @@ class PrimaryIpArgs:
|
|
|
33
33
|
:param pulumi.Input[bool] auto_delete: Whether auto delete is enabled.
|
|
34
34
|
`Important note:`It is recommended to set `auto_delete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
35
35
|
:param pulumi.Input[str] type: Type of the Primary IP. `ipv4` or `ipv6`
|
|
36
|
-
:param pulumi.Input[int] assignee_id: ID of the assigned resource
|
|
37
|
-
:param pulumi.Input[str] datacenter: The datacenter name to create the resource in.
|
|
36
|
+
:param pulumi.Input[int] assignee_id: ID of the assigned resource.
|
|
37
|
+
:param pulumi.Input[str] datacenter: The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
38
38
|
:param pulumi.Input[bool] delete_protection: Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
39
|
-
|
|
39
|
+
|
|
40
|
+
Note: At least one of `datacenter` or `assignee_id` is required.
|
|
41
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs).
|
|
40
42
|
:param pulumi.Input[str] name: Name of the Primary IP.
|
|
41
43
|
"""
|
|
42
44
|
pulumi.set(__self__, "assignee_type", assignee_type)
|
|
@@ -94,7 +96,7 @@ class PrimaryIpArgs:
|
|
|
94
96
|
@pulumi.getter(name="assigneeId")
|
|
95
97
|
def assignee_id(self) -> Optional[pulumi.Input[int]]:
|
|
96
98
|
"""
|
|
97
|
-
ID of the assigned resource
|
|
99
|
+
ID of the assigned resource.
|
|
98
100
|
"""
|
|
99
101
|
return pulumi.get(self, "assignee_id")
|
|
100
102
|
|
|
@@ -106,7 +108,7 @@ class PrimaryIpArgs:
|
|
|
106
108
|
@pulumi.getter
|
|
107
109
|
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
108
110
|
"""
|
|
109
|
-
The datacenter name to create the resource in.
|
|
111
|
+
The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
110
112
|
"""
|
|
111
113
|
return pulumi.get(self, "datacenter")
|
|
112
114
|
|
|
@@ -119,6 +121,8 @@ class PrimaryIpArgs:
|
|
|
119
121
|
def delete_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
120
122
|
"""
|
|
121
123
|
Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
124
|
+
|
|
125
|
+
Note: At least one of `datacenter` or `assignee_id` is required.
|
|
122
126
|
"""
|
|
123
127
|
return pulumi.get(self, "delete_protection")
|
|
124
128
|
|
|
@@ -130,7 +134,7 @@ class PrimaryIpArgs:
|
|
|
130
134
|
@pulumi.getter
|
|
131
135
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
132
136
|
"""
|
|
133
|
-
|
|
137
|
+
User-defined labels (key-value pairs).
|
|
134
138
|
"""
|
|
135
139
|
return pulumi.get(self, "labels")
|
|
136
140
|
|
|
@@ -166,15 +170,17 @@ class _PrimaryIpState:
|
|
|
166
170
|
type: Optional[pulumi.Input[str]] = None):
|
|
167
171
|
"""
|
|
168
172
|
Input properties used for looking up and filtering PrimaryIp resources.
|
|
169
|
-
:param pulumi.Input[int] assignee_id: ID of the assigned resource
|
|
173
|
+
:param pulumi.Input[int] assignee_id: ID of the assigned resource.
|
|
170
174
|
:param pulumi.Input[str] assignee_type: The type of the assigned resource. Currently supported: `server`
|
|
171
175
|
:param pulumi.Input[bool] auto_delete: Whether auto delete is enabled.
|
|
172
176
|
`Important note:`It is recommended to set `auto_delete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
173
|
-
:param pulumi.Input[str] datacenter: The datacenter name to create the resource in.
|
|
177
|
+
:param pulumi.Input[str] datacenter: The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
174
178
|
:param pulumi.Input[bool] delete_protection: Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
179
|
+
|
|
180
|
+
Note: At least one of `datacenter` or `assignee_id` is required.
|
|
175
181
|
:param pulumi.Input[str] ip_address: (string) IP Address of the Primary IP.
|
|
176
182
|
:param pulumi.Input[str] ip_network: (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
|
|
177
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels:
|
|
183
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs).
|
|
178
184
|
:param pulumi.Input[str] name: Name of the Primary IP.
|
|
179
185
|
:param pulumi.Input[str] type: Type of the Primary IP. `ipv4` or `ipv6`
|
|
180
186
|
"""
|
|
@@ -203,7 +209,7 @@ class _PrimaryIpState:
|
|
|
203
209
|
@pulumi.getter(name="assigneeId")
|
|
204
210
|
def assignee_id(self) -> Optional[pulumi.Input[int]]:
|
|
205
211
|
"""
|
|
206
|
-
ID of the assigned resource
|
|
212
|
+
ID of the assigned resource.
|
|
207
213
|
"""
|
|
208
214
|
return pulumi.get(self, "assignee_id")
|
|
209
215
|
|
|
@@ -240,7 +246,7 @@ class _PrimaryIpState:
|
|
|
240
246
|
@pulumi.getter
|
|
241
247
|
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
242
248
|
"""
|
|
243
|
-
The datacenter name to create the resource in.
|
|
249
|
+
The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
244
250
|
"""
|
|
245
251
|
return pulumi.get(self, "datacenter")
|
|
246
252
|
|
|
@@ -253,6 +259,8 @@ class _PrimaryIpState:
|
|
|
253
259
|
def delete_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
254
260
|
"""
|
|
255
261
|
Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
262
|
+
|
|
263
|
+
Note: At least one of `datacenter` or `assignee_id` is required.
|
|
256
264
|
"""
|
|
257
265
|
return pulumi.get(self, "delete_protection")
|
|
258
266
|
|
|
@@ -288,7 +296,7 @@ class _PrimaryIpState:
|
|
|
288
296
|
@pulumi.getter
|
|
289
297
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
290
298
|
"""
|
|
291
|
-
|
|
299
|
+
User-defined labels (key-value pairs).
|
|
292
300
|
"""
|
|
293
301
|
return pulumi.get(self, "labels")
|
|
294
302
|
|
|
@@ -380,13 +388,15 @@ class PrimaryIp(pulumi.CustomResource):
|
|
|
380
388
|
|
|
381
389
|
:param str resource_name: The name of the resource.
|
|
382
390
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
383
|
-
:param pulumi.Input[int] assignee_id: ID of the assigned resource
|
|
391
|
+
:param pulumi.Input[int] assignee_id: ID of the assigned resource.
|
|
384
392
|
:param pulumi.Input[str] assignee_type: The type of the assigned resource. Currently supported: `server`
|
|
385
393
|
:param pulumi.Input[bool] auto_delete: Whether auto delete is enabled.
|
|
386
394
|
`Important note:`It is recommended to set `auto_delete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
387
|
-
:param pulumi.Input[str] datacenter: The datacenter name to create the resource in.
|
|
395
|
+
:param pulumi.Input[str] datacenter: The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
388
396
|
:param pulumi.Input[bool] delete_protection: Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
389
|
-
|
|
397
|
+
|
|
398
|
+
Note: At least one of `datacenter` or `assignee_id` is required.
|
|
399
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs).
|
|
390
400
|
:param pulumi.Input[str] name: Name of the Primary IP.
|
|
391
401
|
:param pulumi.Input[str] type: Type of the Primary IP. `ipv4` or `ipv6`
|
|
392
402
|
"""
|
|
@@ -514,15 +524,17 @@ class PrimaryIp(pulumi.CustomResource):
|
|
|
514
524
|
:param str resource_name: The unique name of the resulting resource.
|
|
515
525
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
516
526
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
517
|
-
:param pulumi.Input[int] assignee_id: ID of the assigned resource
|
|
527
|
+
:param pulumi.Input[int] assignee_id: ID of the assigned resource.
|
|
518
528
|
:param pulumi.Input[str] assignee_type: The type of the assigned resource. Currently supported: `server`
|
|
519
529
|
:param pulumi.Input[bool] auto_delete: Whether auto delete is enabled.
|
|
520
530
|
`Important note:`It is recommended to set `auto_delete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
|
|
521
|
-
:param pulumi.Input[str] datacenter: The datacenter name to create the resource in.
|
|
531
|
+
:param pulumi.Input[str] datacenter: The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
522
532
|
:param pulumi.Input[bool] delete_protection: Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
533
|
+
|
|
534
|
+
Note: At least one of `datacenter` or `assignee_id` is required.
|
|
523
535
|
:param pulumi.Input[str] ip_address: (string) IP Address of the Primary IP.
|
|
524
536
|
:param pulumi.Input[str] ip_network: (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
|
|
525
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels:
|
|
537
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs).
|
|
526
538
|
:param pulumi.Input[str] name: Name of the Primary IP.
|
|
527
539
|
:param pulumi.Input[str] type: Type of the Primary IP. `ipv4` or `ipv6`
|
|
528
540
|
"""
|
|
@@ -546,7 +558,7 @@ class PrimaryIp(pulumi.CustomResource):
|
|
|
546
558
|
@pulumi.getter(name="assigneeId")
|
|
547
559
|
def assignee_id(self) -> pulumi.Output[int]:
|
|
548
560
|
"""
|
|
549
|
-
ID of the assigned resource
|
|
561
|
+
ID of the assigned resource.
|
|
550
562
|
"""
|
|
551
563
|
return pulumi.get(self, "assignee_id")
|
|
552
564
|
|
|
@@ -571,7 +583,7 @@ class PrimaryIp(pulumi.CustomResource):
|
|
|
571
583
|
@pulumi.getter
|
|
572
584
|
def datacenter(self) -> pulumi.Output[str]:
|
|
573
585
|
"""
|
|
574
|
-
The datacenter name to create the resource in.
|
|
586
|
+
The datacenter name to create the resource in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
575
587
|
"""
|
|
576
588
|
return pulumi.get(self, "datacenter")
|
|
577
589
|
|
|
@@ -580,6 +592,8 @@ class PrimaryIp(pulumi.CustomResource):
|
|
|
580
592
|
def delete_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
581
593
|
"""
|
|
582
594
|
Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
|
|
595
|
+
|
|
596
|
+
Note: At least one of `datacenter` or `assignee_id` is required.
|
|
583
597
|
"""
|
|
584
598
|
return pulumi.get(self, "delete_protection")
|
|
585
599
|
|
|
@@ -603,7 +617,7 @@ class PrimaryIp(pulumi.CustomResource):
|
|
|
603
617
|
@pulumi.getter
|
|
604
618
|
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
605
619
|
"""
|
|
606
|
-
|
|
620
|
+
User-defined labels (key-value pairs).
|
|
607
621
|
"""
|
|
608
622
|
return pulumi.get(self, "labels")
|
|
609
623
|
|
pulumi_hcloud/pulumi-plugin.json
CHANGED
pulumi_hcloud/server.py
CHANGED
|
@@ -47,7 +47,7 @@ class ServerArgs:
|
|
|
47
47
|
:param pulumi.Input[str] server_type: Name of the server type this server should be created with.
|
|
48
48
|
:param pulumi.Input[bool] allow_deprecated_images: Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible.
|
|
49
49
|
:param pulumi.Input[bool] backups: Enable or disable backups.
|
|
50
|
-
:param pulumi.Input[str] datacenter: The datacenter name to create the server in.
|
|
50
|
+
:param pulumi.Input[str] datacenter: The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
51
51
|
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection (Needs to be the same as `rebuild_protection`). See "Delete Protection" in the Provider Docs for details.
|
|
52
52
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] firewall_ids: Firewall IDs the server should be attached to on creation.
|
|
53
53
|
:param pulumi.Input[bool] ignore_remote_firewall_ids: Ignores any updates
|
|
@@ -58,7 +58,7 @@ class ServerArgs:
|
|
|
58
58
|
:param pulumi.Input[str] iso: ID or Name of an ISO image to mount.
|
|
59
59
|
:param pulumi.Input[bool] keep_disk: If true, do not upgrade the disk. This allows downgrading the server type later.
|
|
60
60
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
|
61
|
-
:param pulumi.Input[str] location: The location name to create the server in.
|
|
61
|
+
:param pulumi.Input[str] location: The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
62
62
|
:param pulumi.Input[str] name: Name of the server to create (must be unique per project and a valid hostname as per RFC 1123).
|
|
63
63
|
:param pulumi.Input[Sequence[pulumi.Input['ServerNetworkArgs']]] networks: Network the server should be attached to on creation. (Can be specified multiple times)
|
|
64
64
|
:param pulumi.Input[int] placement_group_id: Placement Group ID the server added to on creation.
|
|
@@ -152,7 +152,7 @@ class ServerArgs:
|
|
|
152
152
|
@pulumi.getter
|
|
153
153
|
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
154
154
|
"""
|
|
155
|
-
The datacenter name to create the server in.
|
|
155
|
+
The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
156
156
|
"""
|
|
157
157
|
return pulumi.get(self, "datacenter")
|
|
158
158
|
|
|
@@ -249,7 +249,7 @@ class ServerArgs:
|
|
|
249
249
|
@pulumi.getter
|
|
250
250
|
def location(self) -> Optional[pulumi.Input[str]]:
|
|
251
251
|
"""
|
|
252
|
-
The location name to create the server in.
|
|
252
|
+
The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
253
253
|
"""
|
|
254
254
|
return pulumi.get(self, "location")
|
|
255
255
|
|
|
@@ -402,7 +402,7 @@ class _ServerState:
|
|
|
402
402
|
:param pulumi.Input[bool] allow_deprecated_images: Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible.
|
|
403
403
|
:param pulumi.Input[str] backup_window: (string) The backup window of the server, if enabled.
|
|
404
404
|
:param pulumi.Input[bool] backups: Enable or disable backups.
|
|
405
|
-
:param pulumi.Input[str] datacenter: The datacenter name to create the server in.
|
|
405
|
+
:param pulumi.Input[str] datacenter: The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
406
406
|
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection (Needs to be the same as `rebuild_protection`). See "Delete Protection" in the Provider Docs for details.
|
|
407
407
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] firewall_ids: Firewall IDs the server should be attached to on creation.
|
|
408
408
|
:param pulumi.Input[bool] ignore_remote_firewall_ids: Ignores any updates
|
|
@@ -416,7 +416,7 @@ class _ServerState:
|
|
|
416
416
|
:param pulumi.Input[str] iso: ID or Name of an ISO image to mount.
|
|
417
417
|
:param pulumi.Input[bool] keep_disk: If true, do not upgrade the disk. This allows downgrading the server type later.
|
|
418
418
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
|
419
|
-
:param pulumi.Input[str] location: The location name to create the server in.
|
|
419
|
+
:param pulumi.Input[str] location: The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
420
420
|
:param pulumi.Input[str] name: Name of the server to create (must be unique per project and a valid hostname as per RFC 1123).
|
|
421
421
|
:param pulumi.Input[Sequence[pulumi.Input['ServerNetworkArgs']]] networks: Network the server should be attached to on creation. (Can be specified multiple times)
|
|
422
422
|
:param pulumi.Input[int] placement_group_id: Placement Group ID the server added to on creation.
|
|
@@ -530,7 +530,7 @@ class _ServerState:
|
|
|
530
530
|
@pulumi.getter
|
|
531
531
|
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
532
532
|
"""
|
|
533
|
-
The datacenter name to create the server in.
|
|
533
|
+
The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
534
534
|
"""
|
|
535
535
|
return pulumi.get(self, "datacenter")
|
|
536
536
|
|
|
@@ -663,7 +663,7 @@ class _ServerState:
|
|
|
663
663
|
@pulumi.getter
|
|
664
664
|
def location(self) -> Optional[pulumi.Input[str]]:
|
|
665
665
|
"""
|
|
666
|
-
The location name to create the server in.
|
|
666
|
+
The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
667
667
|
"""
|
|
668
668
|
return pulumi.get(self, "location")
|
|
669
669
|
|
|
@@ -865,6 +865,7 @@ class Server(pulumi.CustomResource):
|
|
|
865
865
|
"ipv6_enabled": True,
|
|
866
866
|
}])
|
|
867
867
|
```
|
|
868
|
+
|
|
868
869
|
```python
|
|
869
870
|
import pulumi
|
|
870
871
|
import pulumi_hcloud as hcloud
|
|
@@ -893,7 +894,9 @@ class Server(pulumi.CustomResource):
|
|
|
893
894
|
"ipv6_enabled": False,
|
|
894
895
|
}])
|
|
895
896
|
```
|
|
897
|
+
|
|
896
898
|
### Server creation with network
|
|
899
|
+
|
|
897
900
|
```python
|
|
898
901
|
import pulumi
|
|
899
902
|
import pulumi_hcloud as hcloud
|
|
@@ -959,7 +962,7 @@ class Server(pulumi.CustomResource):
|
|
|
959
962
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
960
963
|
:param pulumi.Input[bool] allow_deprecated_images: Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible.
|
|
961
964
|
:param pulumi.Input[bool] backups: Enable or disable backups.
|
|
962
|
-
:param pulumi.Input[str] datacenter: The datacenter name to create the server in.
|
|
965
|
+
:param pulumi.Input[str] datacenter: The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
963
966
|
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection (Needs to be the same as `rebuild_protection`). See "Delete Protection" in the Provider Docs for details.
|
|
964
967
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] firewall_ids: Firewall IDs the server should be attached to on creation.
|
|
965
968
|
:param pulumi.Input[bool] ignore_remote_firewall_ids: Ignores any updates
|
|
@@ -970,7 +973,7 @@ class Server(pulumi.CustomResource):
|
|
|
970
973
|
:param pulumi.Input[str] iso: ID or Name of an ISO image to mount.
|
|
971
974
|
:param pulumi.Input[bool] keep_disk: If true, do not upgrade the disk. This allows downgrading the server type later.
|
|
972
975
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
|
973
|
-
:param pulumi.Input[str] location: The location name to create the server in.
|
|
976
|
+
:param pulumi.Input[str] location: The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
974
977
|
:param pulumi.Input[str] name: Name of the server to create (must be unique per project and a valid hostname as per RFC 1123).
|
|
975
978
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerNetworkArgs', 'ServerNetworkArgsDict']]]] networks: Network the server should be attached to on creation. (Can be specified multiple times)
|
|
976
979
|
:param pulumi.Input[int] placement_group_id: Placement Group ID the server added to on creation.
|
|
@@ -1010,6 +1013,7 @@ class Server(pulumi.CustomResource):
|
|
|
1010
1013
|
"ipv6_enabled": True,
|
|
1011
1014
|
}])
|
|
1012
1015
|
```
|
|
1016
|
+
|
|
1013
1017
|
```python
|
|
1014
1018
|
import pulumi
|
|
1015
1019
|
import pulumi_hcloud as hcloud
|
|
@@ -1038,7 +1042,9 @@ class Server(pulumi.CustomResource):
|
|
|
1038
1042
|
"ipv6_enabled": False,
|
|
1039
1043
|
}])
|
|
1040
1044
|
```
|
|
1045
|
+
|
|
1041
1046
|
### Server creation with network
|
|
1047
|
+
|
|
1042
1048
|
```python
|
|
1043
1049
|
import pulumi
|
|
1044
1050
|
import pulumi_hcloud as hcloud
|
|
@@ -1221,7 +1227,7 @@ class Server(pulumi.CustomResource):
|
|
|
1221
1227
|
:param pulumi.Input[bool] allow_deprecated_images: Enable the use of deprecated images (default: false). **Note** Deprecated images will be removed after three months. Using them is then no longer possible.
|
|
1222
1228
|
:param pulumi.Input[str] backup_window: (string) The backup window of the server, if enabled.
|
|
1223
1229
|
:param pulumi.Input[bool] backups: Enable or disable backups.
|
|
1224
|
-
:param pulumi.Input[str] datacenter: The datacenter name to create the server in.
|
|
1230
|
+
:param pulumi.Input[str] datacenter: The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
1225
1231
|
:param pulumi.Input[bool] delete_protection: Enable or disable delete protection (Needs to be the same as `rebuild_protection`). See "Delete Protection" in the Provider Docs for details.
|
|
1226
1232
|
:param pulumi.Input[Sequence[pulumi.Input[int]]] firewall_ids: Firewall IDs the server should be attached to on creation.
|
|
1227
1233
|
:param pulumi.Input[bool] ignore_remote_firewall_ids: Ignores any updates
|
|
@@ -1235,7 +1241,7 @@ class Server(pulumi.CustomResource):
|
|
|
1235
1241
|
:param pulumi.Input[str] iso: ID or Name of an ISO image to mount.
|
|
1236
1242
|
:param pulumi.Input[bool] keep_disk: If true, do not upgrade the disk. This allows downgrading the server type later.
|
|
1237
1243
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
|
|
1238
|
-
:param pulumi.Input[str] location: The location name to create the server in.
|
|
1244
|
+
:param pulumi.Input[str] location: The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
1239
1245
|
:param pulumi.Input[str] name: Name of the server to create (must be unique per project and a valid hostname as per RFC 1123).
|
|
1240
1246
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerNetworkArgs', 'ServerNetworkArgsDict']]]] networks: Network the server should be attached to on creation. (Can be specified multiple times)
|
|
1241
1247
|
:param pulumi.Input[int] placement_group_id: Placement Group ID the server added to on creation.
|
|
@@ -1312,7 +1318,7 @@ class Server(pulumi.CustomResource):
|
|
|
1312
1318
|
@pulumi.getter
|
|
1313
1319
|
def datacenter(self) -> pulumi.Output[str]:
|
|
1314
1320
|
"""
|
|
1315
|
-
The datacenter name to create the server in.
|
|
1321
|
+
The datacenter name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-datacenters-are-there) for more details about datacenters.
|
|
1316
1322
|
"""
|
|
1317
1323
|
return pulumi.get(self, "datacenter")
|
|
1318
1324
|
|
|
@@ -1401,7 +1407,7 @@ class Server(pulumi.CustomResource):
|
|
|
1401
1407
|
@pulumi.getter
|
|
1402
1408
|
def location(self) -> pulumi.Output[str]:
|
|
1403
1409
|
"""
|
|
1404
|
-
The location name to create the server in.
|
|
1410
|
+
The location name to create the server in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
|
1405
1411
|
"""
|
|
1406
1412
|
return pulumi.get(self, "location")
|
|
1407
1413
|
|