pulumi-hcloud 1.22.0a1731650142__tar.gz → 1.22.0a1732277133__tar.gz

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.
Files changed (72) hide show
  1. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/PKG-INFO +1 -1
  2. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/firewall.py +2 -2
  3. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/floating_ip.py +2 -2
  4. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/floating_ip_assignment.py +2 -2
  5. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_datacenter.py +20 -18
  6. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_datacenters.py +11 -44
  7. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_load_balancer_type.py +21 -19
  8. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_load_balancer_types.py +3 -3
  9. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_location.py +22 -20
  10. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_locations.py +11 -44
  11. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_server_type.py +40 -37
  12. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_server_types.py +27 -25
  13. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_ssh_key.py +34 -33
  14. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_ssh_keys.py +16 -11
  15. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/load_balancer.py +2 -2
  16. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/load_balancer_network.py +2 -2
  17. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/load_balancer_service.py +2 -2
  18. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/load_balancer_target.py +6 -6
  19. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/managed_certificate.py +38 -6
  20. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/network.py +2 -2
  21. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/network_route.py +2 -2
  22. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/network_subnet.py +2 -2
  23. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/outputs.py +148 -8
  24. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/placement_group.py +2 -2
  25. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/primary_ip.py +2 -2
  26. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/pulumi-plugin.json +1 -1
  27. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/rdns.py +8 -0
  28. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/server.py +2 -2
  29. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/server_network.py +2 -2
  30. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/snapshot.py +2 -2
  31. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/ssh_key.py +35 -41
  32. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/uploaded_certificate.py +54 -6
  33. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/volume.py +2 -2
  34. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/volume_attachment.py +2 -2
  35. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud.egg-info/PKG-INFO +1 -1
  36. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pyproject.toml +1 -1
  37. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/README.md +0 -0
  38. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/__init__.py +0 -0
  39. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/_inputs.py +0 -0
  40. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/_utilities.py +0 -0
  41. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/certificate.py +0 -0
  42. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/config/__init__.py +0 -0
  43. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/config/__init__.pyi +0 -0
  44. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/config/vars.py +0 -0
  45. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/firewall_attachment.py +0 -0
  46. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_certificate.py +0 -0
  47. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_certificates.py +0 -0
  48. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_firewall.py +0 -0
  49. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_firewalls.py +0 -0
  50. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_floating_ip.py +0 -0
  51. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_floating_ips.py +0 -0
  52. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_image.py +0 -0
  53. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_images.py +0 -0
  54. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_load_balancer.py +0 -0
  55. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_load_balancers.py +0 -0
  56. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_network.py +0 -0
  57. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_networks.py +0 -0
  58. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_placement_group.py +0 -0
  59. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_placement_groups.py +0 -0
  60. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_primary_ip.py +0 -0
  61. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_primary_ips.py +0 -0
  62. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_server.py +0 -0
  63. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_servers.py +0 -0
  64. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_volume.py +0 -0
  65. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/get_volumes.py +0 -0
  66. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/provider.py +0 -0
  67. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud/py.typed +0 -0
  68. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud.egg-info/SOURCES.txt +0 -0
  69. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud.egg-info/dependency_links.txt +0 -0
  70. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud.egg-info/requires.txt +0 -0
  71. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/pulumi_hcloud.egg-info/top_level.txt +0 -0
  72. {pulumi_hcloud-1.22.0a1731650142 → pulumi_hcloud-1.22.0a1732277133}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_hcloud
3
- Version: 1.22.0a1731650142
3
+ Version: 1.22.0a1732277133
4
4
  Summary: A Pulumi package for creating and managing hcloud cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -214,7 +214,7 @@ class Firewall(pulumi.CustomResource):
214
214
  Firewalls can be imported using its `id`:
215
215
 
216
216
  ```sh
217
- $ pulumi import hcloud:index/firewall:Firewall myfirewall id
217
+ $ pulumi import hcloud:index/firewall:Firewall example "$FIREWALL_ID"
218
218
  ```
219
219
 
220
220
  :param str resource_name: The name of the resource.
@@ -272,7 +272,7 @@ class Firewall(pulumi.CustomResource):
272
272
  Firewalls can be imported using its `id`:
273
273
 
274
274
  ```sh
275
- $ pulumi import hcloud:index/firewall:Firewall myfirewall id
275
+ $ pulumi import hcloud:index/firewall:Firewall example "$FIREWALL_ID"
276
276
  ```
277
277
 
278
278
  :param str resource_name: The name of the resource.
@@ -323,7 +323,7 @@ class FloatingIp(pulumi.CustomResource):
323
323
  Floating IPs can be imported using its `id`:
324
324
 
325
325
  ```sh
326
- $ pulumi import hcloud:index/floatingIp:FloatingIp myip id
326
+ $ pulumi import hcloud:index/floatingIp:FloatingIp example "$FLOATING_IP_ID"
327
327
  ```
328
328
 
329
329
  :param str resource_name: The name of the resource.
@@ -365,7 +365,7 @@ class FloatingIp(pulumi.CustomResource):
365
365
  Floating IPs can be imported using its `id`:
366
366
 
367
367
  ```sh
368
- $ pulumi import hcloud:index/floatingIp:FloatingIp myip id
368
+ $ pulumi import hcloud:index/floatingIp:FloatingIp example "$FLOATING_IP_ID"
369
369
  ```
370
370
 
371
371
  :param str resource_name: The name of the resource.
@@ -129,7 +129,7 @@ class FloatingIpAssignment(pulumi.CustomResource):
129
129
  Floating IP Assignments can be imported using the `floating_ip_id`:
130
130
 
131
131
  ```sh
132
- $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment myfloatingipassignment <floating_ip_id>
132
+ $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment example "$FLOATING_IP_ID"
133
133
  ```
134
134
 
135
135
  :param str resource_name: The name of the resource.
@@ -170,7 +170,7 @@ class FloatingIpAssignment(pulumi.CustomResource):
170
170
  Floating IP Assignments can be imported using the `floating_ip_id`:
171
171
 
172
172
  ```sh
173
- $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment myfloatingipassignment <floating_ip_id>
173
+ $ pulumi import hcloud:index/floatingIpAssignment:FloatingIpAssignment example "$FLOATING_IP_ID"
174
174
  ```
175
175
 
176
176
  :param str resource_name: The name of the resource.
@@ -50,7 +50,7 @@ class GetDatacenterResult:
50
50
  @pulumi.getter(name="availableServerTypeIds")
51
51
  def available_server_type_ids(self) -> Sequence[int]:
52
52
  """
53
- (list) List of available server types.
53
+ List of currently available Server Types in the Datacenter.
54
54
  """
55
55
  return pulumi.get(self, "available_server_type_ids")
56
56
 
@@ -58,15 +58,15 @@ class GetDatacenterResult:
58
58
  @pulumi.getter
59
59
  def description(self) -> str:
60
60
  """
61
- (string) Description of the datacenter.
61
+ Description of the Datacenter.
62
62
  """
63
63
  return pulumi.get(self, "description")
64
64
 
65
65
  @property
66
66
  @pulumi.getter
67
- def id(self) -> int:
67
+ def id(self) -> Optional[int]:
68
68
  """
69
- (int) Unique ID of the datacenter.
69
+ ID of the Datacenter.
70
70
  """
71
71
  return pulumi.get(self, "id")
72
72
 
@@ -74,15 +74,15 @@ class GetDatacenterResult:
74
74
  @pulumi.getter
75
75
  def location(self) -> Mapping[str, str]:
76
76
  """
77
- (map) Location details of the datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
77
+ Location of the Datacenter. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
78
78
  """
79
79
  return pulumi.get(self, "location")
80
80
 
81
81
  @property
82
82
  @pulumi.getter
83
- def name(self) -> str:
83
+ def name(self) -> Optional[str]:
84
84
  """
85
- (string) Name of the datacenter.
85
+ Name of the Datacenter.
86
86
  """
87
87
  return pulumi.get(self, "name")
88
88
 
@@ -90,7 +90,7 @@ class GetDatacenterResult:
90
90
  @pulumi.getter(name="supportedServerTypeIds")
91
91
  def supported_server_type_ids(self) -> Sequence[int]:
92
92
  """
93
- (list) List of server types supported by the datacenter.
93
+ List of supported Server Types in the Datacenter.
94
94
  """
95
95
  return pulumi.get(self, "supported_server_type_ids")
96
96
 
@@ -114,7 +114,8 @@ def get_datacenter(id: Optional[int] = None,
114
114
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatacenterResult:
115
115
  """
116
116
  Provides details about a specific Hetzner Cloud Datacenter.
117
- Use this resource to get detailed information about specific datacenter.
117
+
118
+ Use this resource to get detailed information about a specific Datacenter.
118
119
 
119
120
  ## Example Usage
120
121
 
@@ -122,13 +123,13 @@ def get_datacenter(id: Optional[int] = None,
122
123
  import pulumi
123
124
  import pulumi_hcloud as hcloud
124
125
 
125
- ds1 = hcloud.get_datacenter(name="fsn1-dc8")
126
- ds2 = hcloud.get_datacenter(id=4)
126
+ by_id = hcloud.get_datacenter(id=4)
127
+ by_name = hcloud.get_datacenter(name="fsn1-dc14")
127
128
  ```
128
129
 
129
130
 
130
- :param int id: ID of the datacenter.
131
- :param str name: Name of the datacenter.
131
+ :param int id: ID of the Datacenter.
132
+ :param str name: Name of the Datacenter.
132
133
  """
133
134
  __args__ = dict()
134
135
  __args__['id'] = id
@@ -148,7 +149,8 @@ def get_datacenter_output(id: Optional[pulumi.Input[Optional[int]]] = None,
148
149
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatacenterResult]:
149
150
  """
150
151
  Provides details about a specific Hetzner Cloud Datacenter.
151
- Use this resource to get detailed information about specific datacenter.
152
+
153
+ Use this resource to get detailed information about a specific Datacenter.
152
154
 
153
155
  ## Example Usage
154
156
 
@@ -156,13 +158,13 @@ def get_datacenter_output(id: Optional[pulumi.Input[Optional[int]]] = None,
156
158
  import pulumi
157
159
  import pulumi_hcloud as hcloud
158
160
 
159
- ds1 = hcloud.get_datacenter(name="fsn1-dc8")
160
- ds2 = hcloud.get_datacenter(id=4)
161
+ by_id = hcloud.get_datacenter(id=4)
162
+ by_name = hcloud.get_datacenter(name="fsn1-dc14")
161
163
  ```
162
164
 
163
165
 
164
- :param int id: ID of the datacenter.
165
- :param str name: Name of the datacenter.
166
+ :param int id: ID of the Datacenter.
167
+ :param str name: Name of the Datacenter.
166
168
  """
167
169
  __args__ = dict()
168
170
  __args__['id'] = id
@@ -47,41 +47,32 @@ class GetDatacentersResult:
47
47
  @property
48
48
  @pulumi.getter(name="datacenterIds")
49
49
  @_utilities.deprecated("""Use datacenters list instead""")
50
- def datacenter_ids(self) -> Optional[Sequence[str]]:
51
- """
52
- (list) List of unique datacenter identifiers. **Deprecated**: Use `datacenters` attribute instead.
53
- """
50
+ def datacenter_ids(self) -> Sequence[str]:
54
51
  return pulumi.get(self, "datacenter_ids")
55
52
 
56
53
  @property
57
54
  @pulumi.getter
58
55
  def datacenters(self) -> Sequence['outputs.GetDatacentersDatacenterResult']:
59
- """
60
- (list) List of all datacenters. See `data.hcloud_datacenter` for schema.
61
- """
62
56
  return pulumi.get(self, "datacenters")
63
57
 
64
58
  @property
65
59
  @pulumi.getter
66
60
  @_utilities.deprecated("""Use datacenters list instead""")
67
- def descriptions(self) -> Optional[Sequence[str]]:
68
- """
69
- (list) List of all datacenter descriptions. **Deprecated**: Use `datacenters` attribute instead.
70
- """
61
+ def descriptions(self) -> Sequence[str]:
71
62
  return pulumi.get(self, "descriptions")
72
63
 
73
64
  @property
74
65
  @pulumi.getter
75
- def id(self) -> Optional[str]:
66
+ def id(self) -> str:
67
+ """
68
+ The ID of this resource.
69
+ """
76
70
  return pulumi.get(self, "id")
77
71
 
78
72
  @property
79
73
  @pulumi.getter
80
74
  @_utilities.deprecated("""Use datacenters list instead""")
81
- def names(self) -> Optional[Sequence[str]]:
82
- """
83
- (list) List of datacenter names. **Deprecated**: Use `datacenters` attribute instead.
84
- """
75
+ def names(self) -> Sequence[str]:
85
76
  return pulumi.get(self, "names")
86
77
 
87
78
 
@@ -98,25 +89,13 @@ class AwaitableGetDatacentersResult(GetDatacentersResult):
98
89
  names=self.names)
99
90
 
100
91
 
101
- def get_datacenters(datacenter_ids: Optional[Sequence[str]] = None,
102
- descriptions: Optional[Sequence[str]] = None,
103
- id: Optional[str] = None,
104
- names: Optional[Sequence[str]] = None,
105
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatacentersResult:
92
+ def get_datacenters(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatacentersResult:
106
93
  """
107
94
  Provides a list of available Hetzner Cloud Datacenters.
108
- This resource may be useful to create highly available infrastructure, distributed across several datacenters.
109
-
110
95
 
111
- :param Sequence[str] datacenter_ids: (list) List of unique datacenter identifiers. **Deprecated**: Use `datacenters` attribute instead.
112
- :param Sequence[str] descriptions: (list) List of all datacenter descriptions. **Deprecated**: Use `datacenters` attribute instead.
113
- :param Sequence[str] names: (list) List of datacenter names. **Deprecated**: Use `datacenters` attribute instead.
96
+ This resource may be useful to create highly available infrastructure, distributed across several Datacenters.
114
97
  """
115
98
  __args__ = dict()
116
- __args__['datacenterIds'] = datacenter_ids
117
- __args__['descriptions'] = descriptions
118
- __args__['id'] = id
119
- __args__['names'] = names
120
99
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
121
100
  __ret__ = pulumi.runtime.invoke('hcloud:index/getDatacenters:getDatacenters', __args__, opts=opts, typ=GetDatacentersResult).value
122
101
 
@@ -126,25 +105,13 @@ def get_datacenters(datacenter_ids: Optional[Sequence[str]] = None,
126
105
  descriptions=pulumi.get(__ret__, 'descriptions'),
127
106
  id=pulumi.get(__ret__, 'id'),
128
107
  names=pulumi.get(__ret__, 'names'))
129
- def get_datacenters_output(datacenter_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
130
- descriptions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
131
- id: Optional[pulumi.Input[Optional[str]]] = None,
132
- names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
133
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatacentersResult]:
108
+ def get_datacenters_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatacentersResult]:
134
109
  """
135
110
  Provides a list of available Hetzner Cloud Datacenters.
136
- This resource may be useful to create highly available infrastructure, distributed across several datacenters.
137
-
138
111
 
139
- :param Sequence[str] datacenter_ids: (list) List of unique datacenter identifiers. **Deprecated**: Use `datacenters` attribute instead.
140
- :param Sequence[str] descriptions: (list) List of all datacenter descriptions. **Deprecated**: Use `datacenters` attribute instead.
141
- :param Sequence[str] names: (list) List of datacenter names. **Deprecated**: Use `datacenters` attribute instead.
112
+ This resource may be useful to create highly available infrastructure, distributed across several Datacenters.
142
113
  """
143
114
  __args__ = dict()
144
- __args__['datacenterIds'] = datacenter_ids
145
- __args__['descriptions'] = descriptions
146
- __args__['id'] = id
147
- __args__['names'] = names
148
115
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
149
116
  __ret__ = pulumi.runtime.invoke_output('hcloud:index/getDatacenters:getDatacenters', __args__, opts=opts, typ=GetDatacentersResult)
150
117
  return __ret__.apply(lambda __response__: GetDatacentersResult(
@@ -53,7 +53,7 @@ class GetLoadBalancerTypeResult:
53
53
  @pulumi.getter
54
54
  def description(self) -> str:
55
55
  """
56
- (string) Description of the load_balancer_type.
56
+ Description of the Load Balancer Type.
57
57
  """
58
58
  return pulumi.get(self, "description")
59
59
 
@@ -61,7 +61,7 @@ class GetLoadBalancerTypeResult:
61
61
  @pulumi.getter
62
62
  def id(self) -> int:
63
63
  """
64
- (int) Unique ID of the load_balancer_type.
64
+ ID of the Load Balancer Type.
65
65
  """
66
66
  return pulumi.get(self, "id")
67
67
 
@@ -69,7 +69,7 @@ class GetLoadBalancerTypeResult:
69
69
  @pulumi.getter(name="maxAssignedCertificates")
70
70
  def max_assigned_certificates(self) -> int:
71
71
  """
72
- (int) Maximum number of SSL Certificates that can be assigned to the Load Balancer of this type.
72
+ Maximum number of certificates that can be assigned for the Load Balancer of this type.
73
73
  """
74
74
  return pulumi.get(self, "max_assigned_certificates")
75
75
 
@@ -77,7 +77,7 @@ class GetLoadBalancerTypeResult:
77
77
  @pulumi.getter(name="maxConnections")
78
78
  def max_connections(self) -> int:
79
79
  """
80
- (int) Maximum number of simultaneous open connections for the Load Balancer of this type.
80
+ Maximum number of simultaneous open connections for the Load Balancer of this type.
81
81
  """
82
82
  return pulumi.get(self, "max_connections")
83
83
 
@@ -85,7 +85,7 @@ class GetLoadBalancerTypeResult:
85
85
  @pulumi.getter(name="maxServices")
86
86
  def max_services(self) -> int:
87
87
  """
88
- (int) Maximum number of services for the Load Balancer of this type.
88
+ Maximum number of services for the Load Balancer of this type.
89
89
  """
90
90
  return pulumi.get(self, "max_services")
91
91
 
@@ -93,7 +93,7 @@ class GetLoadBalancerTypeResult:
93
93
  @pulumi.getter(name="maxTargets")
94
94
  def max_targets(self) -> int:
95
95
  """
96
- (int) Maximum number of targets for the Load Balancer of this type.
96
+ Maximum number of targets for the Load Balancer of this type.
97
97
  """
98
98
  return pulumi.get(self, "max_targets")
99
99
 
@@ -101,7 +101,7 @@ class GetLoadBalancerTypeResult:
101
101
  @pulumi.getter
102
102
  def name(self) -> str:
103
103
  """
104
- (string) Name of the load_balancer_type.
104
+ Name of the Load Balancer Type.
105
105
  """
106
106
  return pulumi.get(self, "name")
107
107
 
@@ -126,7 +126,8 @@ def get_load_balancer_type(id: Optional[int] = None,
126
126
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancerTypeResult:
127
127
  """
128
128
  Provides details about a specific Hetzner Cloud Load Balancer Type.
129
- Use this resource to get detailed information about specific Load Balancer Type.
129
+
130
+ Use this resource to get detailed information about a specific Load Balancer Type.
130
131
 
131
132
  ## Example Usage
132
133
 
@@ -134,17 +135,17 @@ def get_load_balancer_type(id: Optional[int] = None,
134
135
  import pulumi
135
136
  import pulumi_hcloud as hcloud
136
137
 
137
- by_name = hcloud.get_load_balancer_type(name="cx22")
138
138
  by_id = hcloud.get_load_balancer_type(id=1)
139
- load_balancer = hcloud.LoadBalancer("load_balancer",
139
+ by_name = hcloud.get_load_balancer_type(name="lb11")
140
+ main = hcloud.LoadBalancer("main",
140
141
  name="my-load-balancer",
141
142
  load_balancer_type=name,
142
- location="nbg1")
143
+ location="fsn1")
143
144
  ```
144
145
 
145
146
 
146
- :param int id: ID of the load_balancer_type.
147
- :param str name: Name of the load_balancer_type.
147
+ :param int id: ID of the Load Balancer Type.
148
+ :param str name: Name of the Load Balancer Type.
148
149
  """
149
150
  __args__ = dict()
150
151
  __args__['id'] = id
@@ -165,7 +166,8 @@ def get_load_balancer_type_output(id: Optional[pulumi.Input[Optional[int]]] = No
165
166
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancerTypeResult]:
166
167
  """
167
168
  Provides details about a specific Hetzner Cloud Load Balancer Type.
168
- Use this resource to get detailed information about specific Load Balancer Type.
169
+
170
+ Use this resource to get detailed information about a specific Load Balancer Type.
169
171
 
170
172
  ## Example Usage
171
173
 
@@ -173,17 +175,17 @@ def get_load_balancer_type_output(id: Optional[pulumi.Input[Optional[int]]] = No
173
175
  import pulumi
174
176
  import pulumi_hcloud as hcloud
175
177
 
176
- by_name = hcloud.get_load_balancer_type(name="cx22")
177
178
  by_id = hcloud.get_load_balancer_type(id=1)
178
- load_balancer = hcloud.LoadBalancer("load_balancer",
179
+ by_name = hcloud.get_load_balancer_type(name="lb11")
180
+ main = hcloud.LoadBalancer("main",
179
181
  name="my-load-balancer",
180
182
  load_balancer_type=name,
181
- location="nbg1")
183
+ location="fsn1")
182
184
  ```
183
185
 
184
186
 
185
- :param int id: ID of the load_balancer_type.
186
- :param str name: Name of the load_balancer_type.
187
+ :param int id: ID of the Load Balancer Type.
188
+ :param str name: Name of the Load Balancer Type.
187
189
  """
188
190
  __args__ = dict()
189
191
  __args__['id'] = id
@@ -38,14 +38,14 @@ class GetLoadBalancerTypesResult:
38
38
  @property
39
39
  @pulumi.getter
40
40
  def id(self) -> str:
41
+ """
42
+ The ID of this resource.
43
+ """
41
44
  return pulumi.get(self, "id")
42
45
 
43
46
  @property
44
47
  @pulumi.getter(name="loadBalancerTypes")
45
48
  def load_balancer_types(self) -> Sequence['outputs.GetLoadBalancerTypesLoadBalancerTypeResult']:
46
- """
47
- (list) List of all load balancer types. See `data.hcloud_load_balancer_type` for the schema.
48
- """
49
49
  return pulumi.get(self, "load_balancer_types")
50
50
 
51
51
 
@@ -56,7 +56,7 @@ class GetLocationResult:
56
56
  @pulumi.getter
57
57
  def city(self) -> str:
58
58
  """
59
- (string) City of the location.
59
+ Name of the closest city to the Location. City name and optionally state in short form.
60
60
  """
61
61
  return pulumi.get(self, "city")
62
62
 
@@ -64,7 +64,7 @@ class GetLocationResult:
64
64
  @pulumi.getter
65
65
  def country(self) -> str:
66
66
  """
67
- (string) Country of the location.
67
+ Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
68
68
  """
69
69
  return pulumi.get(self, "country")
70
70
 
@@ -72,15 +72,15 @@ class GetLocationResult:
72
72
  @pulumi.getter
73
73
  def description(self) -> str:
74
74
  """
75
- (string) Description of the location.
75
+ Description of the Location.
76
76
  """
77
77
  return pulumi.get(self, "description")
78
78
 
79
79
  @property
80
80
  @pulumi.getter
81
- def id(self) -> int:
81
+ def id(self) -> Optional[int]:
82
82
  """
83
- (int) Unique ID of the location.
83
+ ID of the Location.
84
84
  """
85
85
  return pulumi.get(self, "id")
86
86
 
@@ -88,7 +88,7 @@ class GetLocationResult:
88
88
  @pulumi.getter
89
89
  def latitude(self) -> float:
90
90
  """
91
- (float) Latitude of the city.
91
+ Latitude of the city closest to the Location.
92
92
  """
93
93
  return pulumi.get(self, "latitude")
94
94
 
@@ -96,15 +96,15 @@ class GetLocationResult:
96
96
  @pulumi.getter
97
97
  def longitude(self) -> float:
98
98
  """
99
- (float) Longitude of the city.
99
+ Longitude of the city closest to the Location.
100
100
  """
101
101
  return pulumi.get(self, "longitude")
102
102
 
103
103
  @property
104
104
  @pulumi.getter
105
- def name(self) -> str:
105
+ def name(self) -> Optional[str]:
106
106
  """
107
- (string) Name of the location.
107
+ Name of the Location.
108
108
  """
109
109
  return pulumi.get(self, "name")
110
110
 
@@ -112,7 +112,7 @@ class GetLocationResult:
112
112
  @pulumi.getter(name="networkZone")
113
113
  def network_zone(self) -> str:
114
114
  """
115
- (string) Network Zone of the location.
115
+ Name of the Network Zone this Location resides in.
116
116
  """
117
117
  return pulumi.get(self, "network_zone")
118
118
 
@@ -138,7 +138,8 @@ def get_location(id: Optional[int] = None,
138
138
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLocationResult:
139
139
  """
140
140
  Provides details about a specific Hetzner Cloud Location.
141
- Use this resource to get detailed information about specific location.
141
+
142
+ Use this resource to get detailed information about a specific Location.
142
143
 
143
144
  ## Example Usage
144
145
 
@@ -146,13 +147,13 @@ def get_location(id: Optional[int] = None,
146
147
  import pulumi
147
148
  import pulumi_hcloud as hcloud
148
149
 
149
- l1 = hcloud.get_location(name="fsn1")
150
- l2 = hcloud.get_location(id=1)
150
+ by_id = hcloud.get_location(id=1)
151
+ by_name = hcloud.get_location(name="fsn1")
151
152
  ```
152
153
 
153
154
 
154
- :param int id: ID of the location.
155
- :param str name: Name of the location.
155
+ :param int id: ID of the Location.
156
+ :param str name: Name of the Location.
156
157
  """
157
158
  __args__ = dict()
158
159
  __args__['id'] = id
@@ -174,7 +175,8 @@ def get_location_output(id: Optional[pulumi.Input[Optional[int]]] = None,
174
175
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationResult]:
175
176
  """
176
177
  Provides details about a specific Hetzner Cloud Location.
177
- Use this resource to get detailed information about specific location.
178
+
179
+ Use this resource to get detailed information about a specific Location.
178
180
 
179
181
  ## Example Usage
180
182
 
@@ -182,13 +184,13 @@ def get_location_output(id: Optional[pulumi.Input[Optional[int]]] = None,
182
184
  import pulumi
183
185
  import pulumi_hcloud as hcloud
184
186
 
185
- l1 = hcloud.get_location(name="fsn1")
186
- l2 = hcloud.get_location(id=1)
187
+ by_id = hcloud.get_location(id=1)
188
+ by_name = hcloud.get_location(name="fsn1")
187
189
  ```
188
190
 
189
191
 
190
- :param int id: ID of the location.
191
- :param str name: Name of the location.
192
+ :param int id: ID of the Location.
193
+ :param str name: Name of the Location.
192
194
  """
193
195
  __args__ = dict()
194
196
  __args__['id'] = id
@@ -47,41 +47,32 @@ class GetLocationsResult:
47
47
  @property
48
48
  @pulumi.getter
49
49
  @_utilities.deprecated("""Use locations list instead""")
50
- def descriptions(self) -> Optional[Sequence[str]]:
51
- """
52
- (list) List of all location descriptions. **Deprecated**: Use `locations` attribute instead.
53
- """
50
+ def descriptions(self) -> Sequence[str]:
54
51
  return pulumi.get(self, "descriptions")
55
52
 
56
53
  @property
57
54
  @pulumi.getter
58
- def id(self) -> Optional[str]:
55
+ def id(self) -> str:
56
+ """
57
+ The ID of this resource.
58
+ """
59
59
  return pulumi.get(self, "id")
60
60
 
61
61
  @property
62
62
  @pulumi.getter(name="locationIds")
63
63
  @_utilities.deprecated("""Use locations list instead""")
64
- def location_ids(self) -> Optional[Sequence[str]]:
65
- """
66
- (list) List of unique location identifiers. **Deprecated**: Use `locations` attribute instead.
67
- """
64
+ def location_ids(self) -> Sequence[str]:
68
65
  return pulumi.get(self, "location_ids")
69
66
 
70
67
  @property
71
68
  @pulumi.getter
72
69
  def locations(self) -> Sequence['outputs.GetLocationsLocationResult']:
73
- """
74
- (list) List of all locations. See `data.hcloud_location` for schema.
75
- """
76
70
  return pulumi.get(self, "locations")
77
71
 
78
72
  @property
79
73
  @pulumi.getter
80
74
  @_utilities.deprecated("""Use locations list instead""")
81
- def names(self) -> Optional[Sequence[str]]:
82
- """
83
- (list) List of location names. **Deprecated**: Use `locations` attribute instead.
84
- """
75
+ def names(self) -> Sequence[str]:
85
76
  return pulumi.get(self, "names")
86
77
 
87
78
 
@@ -98,25 +89,13 @@ class AwaitableGetLocationsResult(GetLocationsResult):
98
89
  names=self.names)
99
90
 
100
91
 
101
- def get_locations(descriptions: Optional[Sequence[str]] = None,
102
- id: Optional[str] = None,
103
- location_ids: Optional[Sequence[str]] = None,
104
- names: Optional[Sequence[str]] = None,
105
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLocationsResult:
92
+ def get_locations(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLocationsResult:
106
93
  """
107
94
  Provides a list of available Hetzner Cloud Locations.
108
- This resource may be useful to create highly available infrastructure, distributed across several locations.
109
-
110
95
 
111
- :param Sequence[str] descriptions: (list) List of all location descriptions. **Deprecated**: Use `locations` attribute instead.
112
- :param Sequence[str] location_ids: (list) List of unique location identifiers. **Deprecated**: Use `locations` attribute instead.
113
- :param Sequence[str] names: (list) List of location names. **Deprecated**: Use `locations` attribute instead.
96
+ This resource may be useful to create highly available infrastructure, distributed across several locations.
114
97
  """
115
98
  __args__ = dict()
116
- __args__['descriptions'] = descriptions
117
- __args__['id'] = id
118
- __args__['locationIds'] = location_ids
119
- __args__['names'] = names
120
99
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
121
100
  __ret__ = pulumi.runtime.invoke('hcloud:index/getLocations:getLocations', __args__, opts=opts, typ=GetLocationsResult).value
122
101
 
@@ -126,25 +105,13 @@ def get_locations(descriptions: Optional[Sequence[str]] = None,
126
105
  location_ids=pulumi.get(__ret__, 'location_ids'),
127
106
  locations=pulumi.get(__ret__, 'locations'),
128
107
  names=pulumi.get(__ret__, 'names'))
129
- def get_locations_output(descriptions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
130
- id: Optional[pulumi.Input[Optional[str]]] = None,
131
- location_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
132
- names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
133
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationsResult]:
108
+ def get_locations_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationsResult]:
134
109
  """
135
110
  Provides a list of available Hetzner Cloud Locations.
136
- This resource may be useful to create highly available infrastructure, distributed across several locations.
137
111
 
138
-
139
- :param Sequence[str] descriptions: (list) List of all location descriptions. **Deprecated**: Use `locations` attribute instead.
140
- :param Sequence[str] location_ids: (list) List of unique location identifiers. **Deprecated**: Use `locations` attribute instead.
141
- :param Sequence[str] names: (list) List of location names. **Deprecated**: Use `locations` attribute instead.
112
+ This resource may be useful to create highly available infrastructure, distributed across several locations.
142
113
  """
143
114
  __args__ = dict()
144
- __args__['descriptions'] = descriptions
145
- __args__['id'] = id
146
- __args__['locationIds'] = location_ids
147
- __args__['names'] = names
148
115
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
149
116
  __ret__ = pulumi.runtime.invoke_output('hcloud:index/getLocations:getLocations', __args__, opts=opts, typ=GetLocationsResult)
150
117
  return __ret__.apply(lambda __response__: GetLocationsResult(