pulumi-hcloud 1.21.1a1732274891__py3-none-any.whl → 1.22.0a1731650142__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/firewall.py +2 -2
- pulumi_hcloud/floating_ip.py +2 -2
- pulumi_hcloud/floating_ip_assignment.py +2 -2
- pulumi_hcloud/get_datacenter.py +18 -20
- pulumi_hcloud/get_datacenters.py +44 -11
- pulumi_hcloud/get_load_balancer_type.py +19 -21
- pulumi_hcloud/get_load_balancer_types.py +3 -3
- pulumi_hcloud/get_location.py +20 -22
- pulumi_hcloud/get_locations.py +44 -11
- pulumi_hcloud/get_server_type.py +37 -40
- pulumi_hcloud/get_server_types.py +25 -27
- pulumi_hcloud/get_ssh_key.py +33 -34
- pulumi_hcloud/get_ssh_keys.py +11 -16
- pulumi_hcloud/load_balancer.py +2 -2
- pulumi_hcloud/load_balancer_network.py +2 -2
- pulumi_hcloud/load_balancer_service.py +2 -2
- pulumi_hcloud/load_balancer_target.py +6 -6
- pulumi_hcloud/managed_certificate.py +6 -38
- pulumi_hcloud/network.py +2 -2
- pulumi_hcloud/network_route.py +2 -2
- pulumi_hcloud/network_subnet.py +2 -2
- pulumi_hcloud/outputs.py +8 -148
- pulumi_hcloud/placement_group.py +2 -2
- pulumi_hcloud/primary_ip.py +2 -2
- pulumi_hcloud/pulumi-plugin.json +1 -1
- pulumi_hcloud/rdns.py +0 -8
- pulumi_hcloud/server.py +2 -2
- pulumi_hcloud/server_network.py +2 -2
- pulumi_hcloud/snapshot.py +2 -2
- pulumi_hcloud/ssh_key.py +41 -35
- pulumi_hcloud/uploaded_certificate.py +6 -54
- pulumi_hcloud/volume.py +2 -2
- pulumi_hcloud/volume_attachment.py +2 -2
- {pulumi_hcloud-1.21.1a1732274891.dist-info → pulumi_hcloud-1.22.0a1731650142.dist-info}/METADATA +5 -5
- pulumi_hcloud-1.22.0a1731650142.dist-info/RECORD +67 -0
- {pulumi_hcloud-1.21.1a1732274891.dist-info → pulumi_hcloud-1.22.0a1731650142.dist-info}/WHEEL +1 -1
- pulumi_hcloud-1.21.1a1732274891.dist-info/RECORD +0 -67
- {pulumi_hcloud-1.21.1a1732274891.dist-info → pulumi_hcloud-1.22.0a1731650142.dist-info}/top_level.txt +0 -0
|
@@ -239,30 +239,14 @@ class ManagedCertificate(pulumi.CustomResource):
|
|
|
239
239
|
"""
|
|
240
240
|
Obtain a Hetzner Cloud managed TLS certificate.
|
|
241
241
|
|
|
242
|
-
## Example Usage
|
|
243
|
-
|
|
244
|
-
```python
|
|
245
|
-
import pulumi
|
|
246
|
-
import pulumi_hcloud as hcloud
|
|
247
|
-
|
|
248
|
-
managed_cert = hcloud.ManagedCertificate("managed_cert",
|
|
249
|
-
name="managed_cert",
|
|
250
|
-
domain_names=[
|
|
251
|
-
"*.example.com",
|
|
252
|
-
"example.com",
|
|
253
|
-
],
|
|
254
|
-
labels={
|
|
255
|
-
"label_1": "value_1",
|
|
256
|
-
"label_2": "value_2",
|
|
257
|
-
})
|
|
258
|
-
```
|
|
259
|
-
|
|
260
242
|
## Import
|
|
261
243
|
|
|
262
244
|
Managed certificates can be imported using their `id`:
|
|
263
245
|
|
|
246
|
+
hcl
|
|
247
|
+
|
|
264
248
|
```sh
|
|
265
|
-
$ pulumi import hcloud:index/managedCertificate:ManagedCertificate
|
|
249
|
+
$ pulumi import hcloud:index/managedCertificate:ManagedCertificate sample_certificate id
|
|
266
250
|
```
|
|
267
251
|
|
|
268
252
|
:param str resource_name: The name of the resource.
|
|
@@ -282,30 +266,14 @@ class ManagedCertificate(pulumi.CustomResource):
|
|
|
282
266
|
"""
|
|
283
267
|
Obtain a Hetzner Cloud managed TLS certificate.
|
|
284
268
|
|
|
285
|
-
## Example Usage
|
|
286
|
-
|
|
287
|
-
```python
|
|
288
|
-
import pulumi
|
|
289
|
-
import pulumi_hcloud as hcloud
|
|
290
|
-
|
|
291
|
-
managed_cert = hcloud.ManagedCertificate("managed_cert",
|
|
292
|
-
name="managed_cert",
|
|
293
|
-
domain_names=[
|
|
294
|
-
"*.example.com",
|
|
295
|
-
"example.com",
|
|
296
|
-
],
|
|
297
|
-
labels={
|
|
298
|
-
"label_1": "value_1",
|
|
299
|
-
"label_2": "value_2",
|
|
300
|
-
})
|
|
301
|
-
```
|
|
302
|
-
|
|
303
269
|
## Import
|
|
304
270
|
|
|
305
271
|
Managed certificates can be imported using their `id`:
|
|
306
272
|
|
|
273
|
+
hcl
|
|
274
|
+
|
|
307
275
|
```sh
|
|
308
|
-
$ pulumi import hcloud:index/managedCertificate:ManagedCertificate
|
|
276
|
+
$ pulumi import hcloud:index/managedCertificate:ManagedCertificate sample_certificate id
|
|
309
277
|
```
|
|
310
278
|
|
|
311
279
|
:param str resource_name: The name of the resource.
|
pulumi_hcloud/network.py
CHANGED
|
@@ -221,7 +221,7 @@ class Network(pulumi.CustomResource):
|
|
|
221
221
|
Networks can be imported using its `id`:
|
|
222
222
|
|
|
223
223
|
```sh
|
|
224
|
-
$ pulumi import hcloud:index/network:Network
|
|
224
|
+
$ pulumi import hcloud:index/network:Network myip id
|
|
225
225
|
```
|
|
226
226
|
|
|
227
227
|
:param str resource_name: The name of the resource.
|
|
@@ -257,7 +257,7 @@ class Network(pulumi.CustomResource):
|
|
|
257
257
|
Networks can be imported using its `id`:
|
|
258
258
|
|
|
259
259
|
```sh
|
|
260
|
-
$ pulumi import hcloud:index/network:Network
|
|
260
|
+
$ pulumi import hcloud:index/network:Network myip id
|
|
261
261
|
```
|
|
262
262
|
|
|
263
263
|
:param str resource_name: The name of the resource.
|
pulumi_hcloud/network_route.py
CHANGED
|
@@ -159,7 +159,7 @@ class NetworkRoute(pulumi.CustomResource):
|
|
|
159
159
|
`<network-id>-<destination>`
|
|
160
160
|
|
|
161
161
|
```sh
|
|
162
|
-
$ pulumi import hcloud:index/networkRoute:NetworkRoute
|
|
162
|
+
$ pulumi import hcloud:index/networkRoute:NetworkRoute myroute 123-10.0.0.0/16
|
|
163
163
|
```
|
|
164
164
|
|
|
165
165
|
:param str resource_name: The name of the resource.
|
|
@@ -199,7 +199,7 @@ class NetworkRoute(pulumi.CustomResource):
|
|
|
199
199
|
`<network-id>-<destination>`
|
|
200
200
|
|
|
201
201
|
```sh
|
|
202
|
-
$ pulumi import hcloud:index/networkRoute:NetworkRoute
|
|
202
|
+
$ pulumi import hcloud:index/networkRoute:NetworkRoute myroute 123-10.0.0.0/16
|
|
203
203
|
```
|
|
204
204
|
|
|
205
205
|
:param str resource_name: The name of the resource.
|
pulumi_hcloud/network_subnet.py
CHANGED
|
@@ -237,7 +237,7 @@ class NetworkSubnet(pulumi.CustomResource):
|
|
|
237
237
|
`<network-id>-<ip_range>`
|
|
238
238
|
|
|
239
239
|
```sh
|
|
240
|
-
$ pulumi import hcloud:index/networkSubnet:NetworkSubnet
|
|
240
|
+
$ pulumi import hcloud:index/networkSubnet:NetworkSubnet mysubnet 123-10.0.0.0/24
|
|
241
241
|
```
|
|
242
242
|
|
|
243
243
|
:param str resource_name: The name of the resource.
|
|
@@ -280,7 +280,7 @@ class NetworkSubnet(pulumi.CustomResource):
|
|
|
280
280
|
`<network-id>-<ip_range>`
|
|
281
281
|
|
|
282
282
|
```sh
|
|
283
|
-
$ pulumi import hcloud:index/networkSubnet:NetworkSubnet
|
|
283
|
+
$ pulumi import hcloud:index/networkSubnet:NetworkSubnet mysubnet 123-10.0.0.0/24
|
|
284
284
|
```
|
|
285
285
|
|
|
286
286
|
:param str resource_name: The name of the resource.
|
pulumi_hcloud/outputs.py
CHANGED
|
@@ -746,14 +746,6 @@ class GetDatacentersDatacenterResult(dict):
|
|
|
746
746
|
location: Mapping[str, str],
|
|
747
747
|
name: str,
|
|
748
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.
|
|
756
|
-
"""
|
|
757
749
|
pulumi.set(__self__, "available_server_type_ids", available_server_type_ids)
|
|
758
750
|
pulumi.set(__self__, "description", description)
|
|
759
751
|
pulumi.set(__self__, "id", id)
|
|
@@ -764,49 +756,31 @@ class GetDatacentersDatacenterResult(dict):
|
|
|
764
756
|
@property
|
|
765
757
|
@pulumi.getter(name="availableServerTypeIds")
|
|
766
758
|
def available_server_type_ids(self) -> Sequence[int]:
|
|
767
|
-
"""
|
|
768
|
-
List of currently available Server Types in the Datacenter.
|
|
769
|
-
"""
|
|
770
759
|
return pulumi.get(self, "available_server_type_ids")
|
|
771
760
|
|
|
772
761
|
@property
|
|
773
762
|
@pulumi.getter
|
|
774
763
|
def description(self) -> str:
|
|
775
|
-
"""
|
|
776
|
-
Description of the Datacenter.
|
|
777
|
-
"""
|
|
778
764
|
return pulumi.get(self, "description")
|
|
779
765
|
|
|
780
766
|
@property
|
|
781
767
|
@pulumi.getter
|
|
782
768
|
def id(self) -> int:
|
|
783
|
-
"""
|
|
784
|
-
ID of the Datacenter.
|
|
785
|
-
"""
|
|
786
769
|
return pulumi.get(self, "id")
|
|
787
770
|
|
|
788
771
|
@property
|
|
789
772
|
@pulumi.getter
|
|
790
773
|
def location(self) -> Mapping[str, str]:
|
|
791
|
-
"""
|
|
792
|
-
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
774
|
return pulumi.get(self, "location")
|
|
795
775
|
|
|
796
776
|
@property
|
|
797
777
|
@pulumi.getter
|
|
798
778
|
def name(self) -> str:
|
|
799
|
-
"""
|
|
800
|
-
Name of the Datacenter.
|
|
801
|
-
"""
|
|
802
779
|
return pulumi.get(self, "name")
|
|
803
780
|
|
|
804
781
|
@property
|
|
805
782
|
@pulumi.getter(name="supportedServerTypeIds")
|
|
806
783
|
def supported_server_type_ids(self) -> Sequence[int]:
|
|
807
|
-
"""
|
|
808
|
-
List of supported Server Types in the Datacenter.
|
|
809
|
-
"""
|
|
810
784
|
return pulumi.get(self, "supported_server_type_ids")
|
|
811
785
|
|
|
812
786
|
|
|
@@ -1539,15 +1513,6 @@ class GetLoadBalancerTypesLoadBalancerTypeResult(dict):
|
|
|
1539
1513
|
max_services: int,
|
|
1540
1514
|
max_targets: int,
|
|
1541
1515
|
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.
|
|
1550
|
-
"""
|
|
1551
1516
|
pulumi.set(__self__, "description", description)
|
|
1552
1517
|
pulumi.set(__self__, "id", id)
|
|
1553
1518
|
pulumi.set(__self__, "max_assigned_certificates", max_assigned_certificates)
|
|
@@ -1559,57 +1524,36 @@ class GetLoadBalancerTypesLoadBalancerTypeResult(dict):
|
|
|
1559
1524
|
@property
|
|
1560
1525
|
@pulumi.getter
|
|
1561
1526
|
def description(self) -> str:
|
|
1562
|
-
"""
|
|
1563
|
-
Description of the Load Balancer Type.
|
|
1564
|
-
"""
|
|
1565
1527
|
return pulumi.get(self, "description")
|
|
1566
1528
|
|
|
1567
1529
|
@property
|
|
1568
1530
|
@pulumi.getter
|
|
1569
1531
|
def id(self) -> int:
|
|
1570
|
-
"""
|
|
1571
|
-
ID of the Load Balancer Type.
|
|
1572
|
-
"""
|
|
1573
1532
|
return pulumi.get(self, "id")
|
|
1574
1533
|
|
|
1575
1534
|
@property
|
|
1576
1535
|
@pulumi.getter(name="maxAssignedCertificates")
|
|
1577
1536
|
def max_assigned_certificates(self) -> int:
|
|
1578
|
-
"""
|
|
1579
|
-
Maximum number of certificates that can be assigned for the Load Balancer of this type.
|
|
1580
|
-
"""
|
|
1581
1537
|
return pulumi.get(self, "max_assigned_certificates")
|
|
1582
1538
|
|
|
1583
1539
|
@property
|
|
1584
1540
|
@pulumi.getter(name="maxConnections")
|
|
1585
1541
|
def max_connections(self) -> int:
|
|
1586
|
-
"""
|
|
1587
|
-
Maximum number of simultaneous open connections for the Load Balancer of this type.
|
|
1588
|
-
"""
|
|
1589
1542
|
return pulumi.get(self, "max_connections")
|
|
1590
1543
|
|
|
1591
1544
|
@property
|
|
1592
1545
|
@pulumi.getter(name="maxServices")
|
|
1593
1546
|
def max_services(self) -> int:
|
|
1594
|
-
"""
|
|
1595
|
-
Maximum number of services for the Load Balancer of this type.
|
|
1596
|
-
"""
|
|
1597
1547
|
return pulumi.get(self, "max_services")
|
|
1598
1548
|
|
|
1599
1549
|
@property
|
|
1600
1550
|
@pulumi.getter(name="maxTargets")
|
|
1601
1551
|
def max_targets(self) -> int:
|
|
1602
|
-
"""
|
|
1603
|
-
Maximum number of targets for the Load Balancer of this type.
|
|
1604
|
-
"""
|
|
1605
1552
|
return pulumi.get(self, "max_targets")
|
|
1606
1553
|
|
|
1607
1554
|
@property
|
|
1608
1555
|
@pulumi.getter
|
|
1609
1556
|
def name(self) -> str:
|
|
1610
|
-
"""
|
|
1611
|
-
Name of the Load Balancer Type.
|
|
1612
|
-
"""
|
|
1613
1557
|
return pulumi.get(self, "name")
|
|
1614
1558
|
|
|
1615
1559
|
|
|
@@ -1940,16 +1884,6 @@ class GetLocationsLocationResult(dict):
|
|
|
1940
1884
|
longitude: float,
|
|
1941
1885
|
name: str,
|
|
1942
1886
|
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.
|
|
1952
|
-
"""
|
|
1953
1887
|
pulumi.set(__self__, "city", city)
|
|
1954
1888
|
pulumi.set(__self__, "country", country)
|
|
1955
1889
|
pulumi.set(__self__, "description", description)
|
|
@@ -1962,65 +1896,41 @@ class GetLocationsLocationResult(dict):
|
|
|
1962
1896
|
@property
|
|
1963
1897
|
@pulumi.getter
|
|
1964
1898
|
def city(self) -> str:
|
|
1965
|
-
"""
|
|
1966
|
-
Name of the closest city to the Location. City name and optionally state in short form.
|
|
1967
|
-
"""
|
|
1968
1899
|
return pulumi.get(self, "city")
|
|
1969
1900
|
|
|
1970
1901
|
@property
|
|
1971
1902
|
@pulumi.getter
|
|
1972
1903
|
def country(self) -> str:
|
|
1973
|
-
"""
|
|
1974
|
-
Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
|
|
1975
|
-
"""
|
|
1976
1904
|
return pulumi.get(self, "country")
|
|
1977
1905
|
|
|
1978
1906
|
@property
|
|
1979
1907
|
@pulumi.getter
|
|
1980
1908
|
def description(self) -> str:
|
|
1981
|
-
"""
|
|
1982
|
-
Description of the Location.
|
|
1983
|
-
"""
|
|
1984
1909
|
return pulumi.get(self, "description")
|
|
1985
1910
|
|
|
1986
1911
|
@property
|
|
1987
1912
|
@pulumi.getter
|
|
1988
1913
|
def id(self) -> int:
|
|
1989
|
-
"""
|
|
1990
|
-
ID of the Location.
|
|
1991
|
-
"""
|
|
1992
1914
|
return pulumi.get(self, "id")
|
|
1993
1915
|
|
|
1994
1916
|
@property
|
|
1995
1917
|
@pulumi.getter
|
|
1996
1918
|
def latitude(self) -> float:
|
|
1997
|
-
"""
|
|
1998
|
-
Latitude of the city closest to the Location.
|
|
1999
|
-
"""
|
|
2000
1919
|
return pulumi.get(self, "latitude")
|
|
2001
1920
|
|
|
2002
1921
|
@property
|
|
2003
1922
|
@pulumi.getter
|
|
2004
1923
|
def longitude(self) -> float:
|
|
2005
|
-
"""
|
|
2006
|
-
Longitude of the city closest to the Location.
|
|
2007
|
-
"""
|
|
2008
1924
|
return pulumi.get(self, "longitude")
|
|
2009
1925
|
|
|
2010
1926
|
@property
|
|
2011
1927
|
@pulumi.getter
|
|
2012
1928
|
def name(self) -> str:
|
|
2013
|
-
"""
|
|
2014
|
-
Name of the Location.
|
|
2015
|
-
"""
|
|
2016
1929
|
return pulumi.get(self, "name")
|
|
2017
1930
|
|
|
2018
1931
|
@property
|
|
2019
1932
|
@pulumi.getter(name="networkZone")
|
|
2020
1933
|
def network_zone(self) -> str:
|
|
2021
|
-
"""
|
|
2022
|
-
Name of the Network Zone this Location resides in.
|
|
2023
|
-
"""
|
|
2024
1934
|
return pulumi.get(self, "network_zone")
|
|
2025
1935
|
|
|
2026
1936
|
|
|
@@ -2216,20 +2126,6 @@ class GetServerTypesServerTypeResult(dict):
|
|
|
2216
2126
|
name: str,
|
|
2217
2127
|
storage_type: str,
|
|
2218
2128
|
unavailable_after: str):
|
|
2219
|
-
"""
|
|
2220
|
-
:param str architecture: Architecture of the cpu for a Server of this type.
|
|
2221
|
-
:param float 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 float 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 float 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.
|
|
2232
|
-
"""
|
|
2233
2129
|
pulumi.set(__self__, "architecture", architecture)
|
|
2234
2130
|
pulumi.set(__self__, "cores", cores)
|
|
2235
2131
|
pulumi.set(__self__, "cpu_type", cpu_type)
|
|
@@ -2247,57 +2143,36 @@ class GetServerTypesServerTypeResult(dict):
|
|
|
2247
2143
|
@property
|
|
2248
2144
|
@pulumi.getter
|
|
2249
2145
|
def architecture(self) -> str:
|
|
2250
|
-
"""
|
|
2251
|
-
Architecture of the cpu for a Server of this type.
|
|
2252
|
-
"""
|
|
2253
2146
|
return pulumi.get(self, "architecture")
|
|
2254
2147
|
|
|
2255
2148
|
@property
|
|
2256
2149
|
@pulumi.getter
|
|
2257
2150
|
def cores(self) -> float:
|
|
2258
|
-
"""
|
|
2259
|
-
Number of cpu cores for a Server of this type.
|
|
2260
|
-
"""
|
|
2261
2151
|
return pulumi.get(self, "cores")
|
|
2262
2152
|
|
|
2263
2153
|
@property
|
|
2264
2154
|
@pulumi.getter(name="cpuType")
|
|
2265
2155
|
def cpu_type(self) -> str:
|
|
2266
|
-
"""
|
|
2267
|
-
Type of cpu for a Server of this type.
|
|
2268
|
-
"""
|
|
2269
2156
|
return pulumi.get(self, "cpu_type")
|
|
2270
2157
|
|
|
2271
2158
|
@property
|
|
2272
2159
|
@pulumi.getter(name="deprecationAnnounced")
|
|
2273
2160
|
def deprecation_announced(self) -> str:
|
|
2274
|
-
"""
|
|
2275
|
-
Date of the Server Type deprecation announcement.
|
|
2276
|
-
"""
|
|
2277
2161
|
return pulumi.get(self, "deprecation_announced")
|
|
2278
2162
|
|
|
2279
2163
|
@property
|
|
2280
2164
|
@pulumi.getter
|
|
2281
2165
|
def description(self) -> str:
|
|
2282
|
-
"""
|
|
2283
|
-
Description of the Server Type.
|
|
2284
|
-
"""
|
|
2285
2166
|
return pulumi.get(self, "description")
|
|
2286
2167
|
|
|
2287
2168
|
@property
|
|
2288
2169
|
@pulumi.getter
|
|
2289
2170
|
def disk(self) -> float:
|
|
2290
|
-
"""
|
|
2291
|
-
Disk size in GB for a Server of this type.
|
|
2292
|
-
"""
|
|
2293
2171
|
return pulumi.get(self, "disk")
|
|
2294
2172
|
|
|
2295
2173
|
@property
|
|
2296
2174
|
@pulumi.getter
|
|
2297
2175
|
def id(self) -> int:
|
|
2298
|
-
"""
|
|
2299
|
-
ID of the Server Type.
|
|
2300
|
-
"""
|
|
2301
2176
|
return pulumi.get(self, "id")
|
|
2302
2177
|
|
|
2303
2178
|
@property
|
|
@@ -2309,41 +2184,26 @@ class GetServerTypesServerTypeResult(dict):
|
|
|
2309
2184
|
@property
|
|
2310
2185
|
@pulumi.getter(name="isDeprecated")
|
|
2311
2186
|
def is_deprecated(self) -> bool:
|
|
2312
|
-
"""
|
|
2313
|
-
Whether the Server Type is deprecated.
|
|
2314
|
-
"""
|
|
2315
2187
|
return pulumi.get(self, "is_deprecated")
|
|
2316
2188
|
|
|
2317
2189
|
@property
|
|
2318
2190
|
@pulumi.getter
|
|
2319
2191
|
def memory(self) -> float:
|
|
2320
|
-
"""
|
|
2321
|
-
Memory in GB for a Server of this type.
|
|
2322
|
-
"""
|
|
2323
2192
|
return pulumi.get(self, "memory")
|
|
2324
2193
|
|
|
2325
2194
|
@property
|
|
2326
2195
|
@pulumi.getter
|
|
2327
2196
|
def name(self) -> str:
|
|
2328
|
-
"""
|
|
2329
|
-
Name of the Server Type.
|
|
2330
|
-
"""
|
|
2331
2197
|
return pulumi.get(self, "name")
|
|
2332
2198
|
|
|
2333
2199
|
@property
|
|
2334
2200
|
@pulumi.getter(name="storageType")
|
|
2335
2201
|
def storage_type(self) -> str:
|
|
2336
|
-
"""
|
|
2337
|
-
Type of boot drive for a Server of this type.
|
|
2338
|
-
"""
|
|
2339
2202
|
return pulumi.get(self, "storage_type")
|
|
2340
2203
|
|
|
2341
2204
|
@property
|
|
2342
2205
|
@pulumi.getter(name="unavailableAfter")
|
|
2343
2206
|
def unavailable_after(self) -> str:
|
|
2344
|
-
"""
|
|
2345
|
-
Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
|
2346
|
-
"""
|
|
2347
2207
|
return pulumi.get(self, "unavailable_after")
|
|
2348
2208
|
|
|
2349
2209
|
|
|
@@ -2502,11 +2362,11 @@ class GetSshKeysSshKeyResult(dict):
|
|
|
2502
2362
|
name: str,
|
|
2503
2363
|
public_key: str):
|
|
2504
2364
|
"""
|
|
2505
|
-
:param str fingerprint: Fingerprint of the SSH
|
|
2506
|
-
:param int id: ID of the SSH
|
|
2365
|
+
:param str fingerprint: Fingerprint of the SSH key.
|
|
2366
|
+
:param int id: ID of the SSH key.
|
|
2507
2367
|
: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
|
|
2509
|
-
:param str public_key: Public key of the SSH
|
|
2368
|
+
:param str name: Name of the SSH key.
|
|
2369
|
+
:param str public_key: Public key of the SSH key pair.
|
|
2510
2370
|
"""
|
|
2511
2371
|
pulumi.set(__self__, "fingerprint", fingerprint)
|
|
2512
2372
|
pulumi.set(__self__, "id", id)
|
|
@@ -2518,7 +2378,7 @@ class GetSshKeysSshKeyResult(dict):
|
|
|
2518
2378
|
@pulumi.getter
|
|
2519
2379
|
def fingerprint(self) -> str:
|
|
2520
2380
|
"""
|
|
2521
|
-
Fingerprint of the SSH
|
|
2381
|
+
Fingerprint of the SSH key.
|
|
2522
2382
|
"""
|
|
2523
2383
|
return pulumi.get(self, "fingerprint")
|
|
2524
2384
|
|
|
@@ -2526,7 +2386,7 @@ class GetSshKeysSshKeyResult(dict):
|
|
|
2526
2386
|
@pulumi.getter
|
|
2527
2387
|
def id(self) -> int:
|
|
2528
2388
|
"""
|
|
2529
|
-
ID of the SSH
|
|
2389
|
+
ID of the SSH key.
|
|
2530
2390
|
"""
|
|
2531
2391
|
return pulumi.get(self, "id")
|
|
2532
2392
|
|
|
@@ -2542,7 +2402,7 @@ class GetSshKeysSshKeyResult(dict):
|
|
|
2542
2402
|
@pulumi.getter
|
|
2543
2403
|
def name(self) -> str:
|
|
2544
2404
|
"""
|
|
2545
|
-
Name of the SSH
|
|
2405
|
+
Name of the SSH key.
|
|
2546
2406
|
"""
|
|
2547
2407
|
return pulumi.get(self, "name")
|
|
2548
2408
|
|
|
@@ -2550,7 +2410,7 @@ class GetSshKeysSshKeyResult(dict):
|
|
|
2550
2410
|
@pulumi.getter(name="publicKey")
|
|
2551
2411
|
def public_key(self) -> str:
|
|
2552
2412
|
"""
|
|
2553
|
-
Public key of the SSH
|
|
2413
|
+
Public key of the SSH key pair.
|
|
2554
2414
|
"""
|
|
2555
2415
|
return pulumi.get(self, "public_key")
|
|
2556
2416
|
|
pulumi_hcloud/placement_group.py
CHANGED
|
@@ -175,7 +175,7 @@ class PlacementGroup(pulumi.CustomResource):
|
|
|
175
175
|
Placement Groups can be imported using its `id`:
|
|
176
176
|
|
|
177
177
|
```sh
|
|
178
|
-
$ pulumi import hcloud:index/placementGroup:PlacementGroup
|
|
178
|
+
$ pulumi import hcloud:index/placementGroup:PlacementGroup my-placement-group id
|
|
179
179
|
```
|
|
180
180
|
|
|
181
181
|
:param str resource_name: The name of the resource.
|
|
@@ -217,7 +217,7 @@ class PlacementGroup(pulumi.CustomResource):
|
|
|
217
217
|
Placement Groups can be imported using its `id`:
|
|
218
218
|
|
|
219
219
|
```sh
|
|
220
|
-
$ pulumi import hcloud:index/placementGroup:PlacementGroup
|
|
220
|
+
$ pulumi import hcloud:index/placementGroup:PlacementGroup my-placement-group id
|
|
221
221
|
```
|
|
222
222
|
|
|
223
223
|
:param str resource_name: The name of the resource.
|
pulumi_hcloud/primary_ip.py
CHANGED
|
@@ -383,7 +383,7 @@ class PrimaryIp(pulumi.CustomResource):
|
|
|
383
383
|
Primary IPs can be imported using its `id`:
|
|
384
384
|
|
|
385
385
|
```sh
|
|
386
|
-
$ pulumi import hcloud:index/primaryIp:PrimaryIp
|
|
386
|
+
$ pulumi import hcloud:index/primaryIp:PrimaryIp myip id
|
|
387
387
|
```
|
|
388
388
|
|
|
389
389
|
:param str resource_name: The name of the resource.
|
|
@@ -446,7 +446,7 @@ class PrimaryIp(pulumi.CustomResource):
|
|
|
446
446
|
Primary IPs can be imported using its `id`:
|
|
447
447
|
|
|
448
448
|
```sh
|
|
449
|
-
$ pulumi import hcloud:index/primaryIp:PrimaryIp
|
|
449
|
+
$ pulumi import hcloud:index/primaryIp:PrimaryIp myip id
|
|
450
450
|
```
|
|
451
451
|
|
|
452
452
|
:param str resource_name: The name of the resource.
|
pulumi_hcloud/pulumi-plugin.json
CHANGED
pulumi_hcloud/rdns.py
CHANGED
|
@@ -307,10 +307,6 @@ class Rdns(pulumi.CustomResource):
|
|
|
307
307
|
|
|
308
308
|
`<prefix (s for server/ f for floating ip / l for load balancer)>-<server, floating ip or load balancer ID>-<IP address>`
|
|
309
309
|
|
|
310
|
-
```sh
|
|
311
|
-
$ pulumi import hcloud:index/rdns:Rdns example "$PREFIX-$ID-$IP"
|
|
312
|
-
```
|
|
313
|
-
|
|
314
310
|
import reverse dns entry on server with id 123, ip 192.168.100.1
|
|
315
311
|
|
|
316
312
|
```sh
|
|
@@ -423,10 +419,6 @@ class Rdns(pulumi.CustomResource):
|
|
|
423
419
|
|
|
424
420
|
`<prefix (s for server/ f for floating ip / l for load balancer)>-<server, floating ip or load balancer ID>-<IP address>`
|
|
425
421
|
|
|
426
|
-
```sh
|
|
427
|
-
$ pulumi import hcloud:index/rdns:Rdns example "$PREFIX-$ID-$IP"
|
|
428
|
-
```
|
|
429
|
-
|
|
430
422
|
import reverse dns entry on server with id 123, ip 192.168.100.1
|
|
431
423
|
|
|
432
424
|
```sh
|
pulumi_hcloud/server.py
CHANGED
|
@@ -955,7 +955,7 @@ class Server(pulumi.CustomResource):
|
|
|
955
955
|
Servers can be imported using the server `id`:
|
|
956
956
|
|
|
957
957
|
```sh
|
|
958
|
-
$ pulumi import hcloud:index/server:Server
|
|
958
|
+
$ pulumi import hcloud:index/server:Server myserver id
|
|
959
959
|
```
|
|
960
960
|
|
|
961
961
|
:param str resource_name: The name of the resource.
|
|
@@ -1103,7 +1103,7 @@ class Server(pulumi.CustomResource):
|
|
|
1103
1103
|
Servers can be imported using the server `id`:
|
|
1104
1104
|
|
|
1105
1105
|
```sh
|
|
1106
|
-
$ pulumi import hcloud:index/server:Server
|
|
1106
|
+
$ pulumi import hcloud:index/server:Server myserver id
|
|
1107
1107
|
```
|
|
1108
1108
|
|
|
1109
1109
|
:param str resource_name: The name of the resource.
|
pulumi_hcloud/server_network.py
CHANGED
|
@@ -300,7 +300,7 @@ class ServerNetwork(pulumi.CustomResource):
|
|
|
300
300
|
`<server-id>-<network-id>`
|
|
301
301
|
|
|
302
302
|
```sh
|
|
303
|
-
$ pulumi import hcloud:index/serverNetwork:ServerNetwork
|
|
303
|
+
$ pulumi import hcloud:index/serverNetwork:ServerNetwork myservernetwork 123-654
|
|
304
304
|
```
|
|
305
305
|
|
|
306
306
|
:param str resource_name: The name of the resource.
|
|
@@ -364,7 +364,7 @@ class ServerNetwork(pulumi.CustomResource):
|
|
|
364
364
|
`<server-id>-<network-id>`
|
|
365
365
|
|
|
366
366
|
```sh
|
|
367
|
-
$ pulumi import hcloud:index/serverNetwork:ServerNetwork
|
|
367
|
+
$ pulumi import hcloud:index/serverNetwork:ServerNetwork myservernetwork 123-654
|
|
368
368
|
```
|
|
369
369
|
|
|
370
370
|
:param str resource_name: The name of the resource.
|
pulumi_hcloud/snapshot.py
CHANGED
|
@@ -157,7 +157,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
157
157
|
Snapshots can be imported using its image `id`:
|
|
158
158
|
|
|
159
159
|
```sh
|
|
160
|
-
$ pulumi import hcloud:index/snapshot:Snapshot
|
|
160
|
+
$ pulumi import hcloud:index/snapshot:Snapshot myimage id
|
|
161
161
|
```
|
|
162
162
|
|
|
163
163
|
:param str resource_name: The name of the resource.
|
|
@@ -193,7 +193,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
193
193
|
Snapshots can be imported using its image `id`:
|
|
194
194
|
|
|
195
195
|
```sh
|
|
196
|
-
$ pulumi import hcloud:index/snapshot:Snapshot
|
|
196
|
+
$ pulumi import hcloud:index/snapshot:Snapshot myimage id
|
|
197
197
|
```
|
|
198
198
|
|
|
199
199
|
:param str resource_name: The name of the resource.
|