pulumi-hcloud 1.24.0a1753509442__tar.gz → 1.25.0__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.
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/PKG-INFO +1 -1
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/config/__init__.pyi +1 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/config/vars.py +1 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_certificate.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_certificates.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_firewall.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_firewalls.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_floating_ip.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_floating_ips.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_image.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_images.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_load_balancer.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_load_balancers.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_network.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_networks.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_placement_group.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_placement_groups.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_primary_ip.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_primary_ips.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_server.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_server_type.py +33 -1
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_servers.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_ssh_key.py +7 -7
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_ssh_keys.py +3 -3
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_volume.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_volumes.py +2 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/outputs.py +153 -2
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/provider.py +4 -8
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/pulumi-plugin.json +1 -1
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/ssh_key.py +35 -7
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud.egg-info/PKG-INFO +1 -1
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pyproject.toml +1 -1
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/README.md +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/__init__.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/_inputs.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/_utilities.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/certificate.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/config/__init__.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/firewall.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/firewall_attachment.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/floating_ip.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/floating_ip_assignment.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_datacenter.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_datacenters.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_load_balancer_type.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_load_balancer_types.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_location.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_locations.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_server_types.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/load_balancer.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/load_balancer_network.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/load_balancer_service.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/load_balancer_target.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/managed_certificate.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/network.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/network_route.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/network_subnet.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/placement_group.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/primary_ip.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/py.typed +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/rdns.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/server.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/server_network.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/snapshot.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/uploaded_certificate.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/volume.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/volume_attachment.py +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud.egg-info/SOURCES.txt +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud.egg-info/dependency_links.txt +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud.egg-info/requires.txt +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud.egg-info/top_level.txt +0 -0
- {pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/setup.cfg +0 -0
@@ -26,8 +26,7 @@ The type of function to be used during the polling.
|
|
26
26
|
|
27
27
|
pollInterval: Optional[str]
|
28
28
|
"""
|
29
|
-
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
30
|
-
limiting errors.
|
29
|
+
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
|
31
30
|
"""
|
32
31
|
|
33
32
|
token: Optional[str]
|
@@ -37,8 +37,7 @@ class _ExportableConfig(types.ModuleType):
|
|
37
37
|
@_builtins.property
|
38
38
|
def poll_interval(self) -> Optional[str]:
|
39
39
|
"""
|
40
|
-
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
41
|
-
limiting errors.
|
40
|
+
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
|
42
41
|
"""
|
43
42
|
return __config__.get('pollInterval')
|
44
43
|
|
@@ -181,7 +181,7 @@ def get_certificate(id: Optional[_builtins.int] = None,
|
|
181
181
|
|
182
182
|
:param _builtins.int id: ID of the certificate.
|
183
183
|
:param _builtins.str name: Name of the certificate.
|
184
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
184
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
185
185
|
"""
|
186
186
|
__args__ = dict()
|
187
187
|
__args__['id'] = id
|
@@ -220,7 +220,7 @@ def get_certificate_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] =
|
|
220
220
|
|
221
221
|
:param _builtins.int id: ID of the certificate.
|
222
222
|
:param _builtins.str name: Name of the certificate.
|
223
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
223
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
224
224
|
"""
|
225
225
|
__args__ = dict()
|
226
226
|
__args__['id'] = id
|
@@ -86,7 +86,7 @@ def get_certificates(with_selector: Optional[_builtins.str] = None,
|
|
86
86
|
```
|
87
87
|
|
88
88
|
|
89
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
89
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
90
90
|
"""
|
91
91
|
__args__ = dict()
|
92
92
|
__args__['withSelector'] = with_selector
|
@@ -112,7 +112,7 @@ def get_certificates_output(with_selector: Optional[pulumi.Input[Optional[_built
|
|
112
112
|
```
|
113
113
|
|
114
114
|
|
115
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
115
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
116
116
|
"""
|
117
117
|
__args__ = dict()
|
118
118
|
__args__['withSelector'] = with_selector
|
@@ -143,7 +143,7 @@ def get_firewall(apply_tos: Optional[Sequence[Union['GetFirewallApplyToArgs', 'G
|
|
143
143
|
:param _builtins.bool most_recent: Return most recent firewall if multiple are found.
|
144
144
|
:param _builtins.str name: Name of the firewall.
|
145
145
|
:param Sequence[Union['GetFirewallRuleArgs', 'GetFirewallRuleArgsDict']] rules: (string) Configuration of a Rule from this Firewall.
|
146
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
146
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
147
147
|
"""
|
148
148
|
__args__ = dict()
|
149
149
|
__args__['applyTos'] = apply_tos
|
@@ -190,7 +190,7 @@ def get_firewall_output(apply_tos: Optional[pulumi.Input[Optional[Sequence[Union
|
|
190
190
|
:param _builtins.bool most_recent: Return most recent firewall if multiple are found.
|
191
191
|
:param _builtins.str name: Name of the firewall.
|
192
192
|
:param Sequence[Union['GetFirewallRuleArgs', 'GetFirewallRuleArgsDict']] rules: (string) Configuration of a Rule from this Firewall.
|
193
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
193
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
194
194
|
"""
|
195
195
|
__args__ = dict()
|
196
196
|
__args__['applyTos'] = apply_tos
|
@@ -97,7 +97,7 @@ def get_firewalls(most_recent: Optional[_builtins.bool] = None,
|
|
97
97
|
|
98
98
|
|
99
99
|
:param _builtins.bool most_recent: Sorts list by date.
|
100
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
100
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
101
101
|
"""
|
102
102
|
__args__ = dict()
|
103
103
|
__args__['mostRecent'] = most_recent
|
@@ -127,7 +127,7 @@ def get_firewalls_output(most_recent: Optional[pulumi.Input[Optional[_builtins.b
|
|
127
127
|
|
128
128
|
|
129
129
|
:param _builtins.bool most_recent: Sorts list by date.
|
130
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
130
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
131
131
|
"""
|
132
132
|
__args__ = dict()
|
133
133
|
__args__['mostRecent'] = most_recent
|
@@ -213,7 +213,7 @@ def get_floating_ip(id: Optional[_builtins.int] = None,
|
|
213
213
|
:param _builtins.int id: ID of the Floating IP.
|
214
214
|
:param _builtins.str ip_address: IP address of the Floating IP.
|
215
215
|
:param _builtins.str name: Name of the Floating IP.
|
216
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
216
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
217
217
|
"""
|
218
218
|
__args__ = dict()
|
219
219
|
__args__['id'] = id
|
@@ -274,7 +274,7 @@ def get_floating_ip_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] =
|
|
274
274
|
:param _builtins.int id: ID of the Floating IP.
|
275
275
|
:param _builtins.str ip_address: IP address of the Floating IP.
|
276
276
|
:param _builtins.str name: Name of the Floating IP.
|
277
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
277
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
278
278
|
"""
|
279
279
|
__args__ = dict()
|
280
280
|
__args__['id'] = id
|
@@ -86,7 +86,7 @@ def get_floating_ips(with_selector: Optional[_builtins.str] = None,
|
|
86
86
|
```
|
87
87
|
|
88
88
|
|
89
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
89
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
90
90
|
"""
|
91
91
|
__args__ = dict()
|
92
92
|
__args__['withSelector'] = with_selector
|
@@ -112,7 +112,7 @@ def get_floating_ips_output(with_selector: Optional[pulumi.Input[Optional[_built
|
|
112
112
|
```
|
113
113
|
|
114
114
|
|
115
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
115
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
116
116
|
"""
|
117
117
|
__args__ = dict()
|
118
118
|
__args__['withSelector'] = with_selector
|
@@ -252,7 +252,7 @@ def get_image(id: Optional[_builtins.int] = None,
|
|
252
252
|
:param _builtins.bool most_recent: If more than one result is returned, use the most recent Image.
|
253
253
|
:param _builtins.str name: Name of the Image.
|
254
254
|
:param _builtins.str with_architecture: Select only images with this architecture, could be `x86` (default) or `arm`.
|
255
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
255
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
256
256
|
:param Sequence[_builtins.str] with_statuses: Select only images with the specified status, could contain `creating` or `available`.
|
257
257
|
"""
|
258
258
|
__args__ = dict()
|
@@ -316,7 +316,7 @@ def get_image_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
316
316
|
:param _builtins.bool most_recent: If more than one result is returned, use the most recent Image.
|
317
317
|
:param _builtins.str name: Name of the Image.
|
318
318
|
:param _builtins.str with_architecture: Select only images with this architecture, could be `x86` (default) or `arm`.
|
319
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
319
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
320
320
|
:param Sequence[_builtins.str] with_statuses: Select only images with the specified status, could contain `creating` or `available`.
|
321
321
|
"""
|
322
322
|
__args__ = dict()
|
@@ -133,7 +133,7 @@ def get_images(include_deprecated: Optional[_builtins.bool] = None,
|
|
133
133
|
:param _builtins.bool include_deprecated: Also list images that are marked as deprecated.
|
134
134
|
:param _builtins.bool most_recent: Sorts list by date.
|
135
135
|
:param Sequence[_builtins.str] with_architectures: List only images with this architecture, could contain `x86` or `arm`.
|
136
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
136
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
137
137
|
:param Sequence[_builtins.str] with_statuses: List only images with the specified status, could contain `creating` or `available`.
|
138
138
|
"""
|
139
139
|
__args__ = dict()
|
@@ -179,7 +179,7 @@ def get_images_output(include_deprecated: Optional[pulumi.Input[Optional[_builti
|
|
179
179
|
:param _builtins.bool include_deprecated: Also list images that are marked as deprecated.
|
180
180
|
:param _builtins.bool most_recent: Sorts list by date.
|
181
181
|
:param Sequence[_builtins.str] with_architectures: List only images with this architecture, could contain `x86` or `arm`.
|
182
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
182
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
183
183
|
:param Sequence[_builtins.str] with_statuses: List only images with the specified status, could contain `creating` or `available`.
|
184
184
|
"""
|
185
185
|
__args__ = dict()
|
@@ -233,7 +233,7 @@ def get_load_balancer(id: Optional[_builtins.int] = None,
|
|
233
233
|
|
234
234
|
:param _builtins.int id: ID of the Load Balancer.
|
235
235
|
:param _builtins.str name: Name of the Load Balancer.
|
236
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
236
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
237
237
|
"""
|
238
238
|
__args__ = dict()
|
239
239
|
__args__['id'] = id
|
@@ -279,7 +279,7 @@ def get_load_balancer_output(id: Optional[pulumi.Input[Optional[_builtins.int]]]
|
|
279
279
|
|
280
280
|
:param _builtins.int id: ID of the Load Balancer.
|
281
281
|
:param _builtins.str name: Name of the Load Balancer.
|
282
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
282
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
283
283
|
"""
|
284
284
|
__args__ = dict()
|
285
285
|
__args__['id'] = id
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_load_balancers.py
RENAMED
@@ -87,7 +87,7 @@ def get_load_balancers(with_selector: Optional[_builtins.str] = None,
|
|
87
87
|
```
|
88
88
|
|
89
89
|
|
90
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
90
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
91
91
|
"""
|
92
92
|
__args__ = dict()
|
93
93
|
__args__['withSelector'] = with_selector
|
@@ -114,7 +114,7 @@ def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[_bui
|
|
114
114
|
```
|
115
115
|
|
116
116
|
|
117
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
117
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
118
118
|
"""
|
119
119
|
__args__ = dict()
|
120
120
|
__args__['withSelector'] = with_selector
|
@@ -148,7 +148,7 @@ def get_network(id: Optional[_builtins.int] = None,
|
|
148
148
|
:param _builtins.int id: ID of the Network.
|
149
149
|
:param _builtins.str ip_range: IPv4 prefix of the Network.
|
150
150
|
:param _builtins.str name: Name of the Network.
|
151
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
151
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
152
152
|
"""
|
153
153
|
__args__ = dict()
|
154
154
|
__args__['id'] = id
|
@@ -192,7 +192,7 @@ def get_network_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] = Non
|
|
192
192
|
:param _builtins.int id: ID of the Network.
|
193
193
|
:param _builtins.str ip_range: IPv4 prefix of the Network.
|
194
194
|
:param _builtins.str name: Name of the Network.
|
195
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
195
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
196
196
|
"""
|
197
197
|
__args__ = dict()
|
198
198
|
__args__['id'] = id
|
@@ -87,7 +87,7 @@ def get_networks(with_selector: Optional[_builtins.str] = None,
|
|
87
87
|
```
|
88
88
|
|
89
89
|
|
90
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
90
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
91
91
|
"""
|
92
92
|
__args__ = dict()
|
93
93
|
__args__['withSelector'] = with_selector
|
@@ -114,7 +114,7 @@ def get_networks_output(with_selector: Optional[pulumi.Input[Optional[_builtins.
|
|
114
114
|
```
|
115
115
|
|
116
116
|
|
117
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
117
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
118
118
|
"""
|
119
119
|
__args__ = dict()
|
120
120
|
__args__['withSelector'] = with_selector
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_placement_group.py
RENAMED
@@ -136,7 +136,7 @@ def get_placement_group(id: Optional[_builtins.int] = None,
|
|
136
136
|
:param _builtins.bool most_recent: Return most recent placement group if multiple are found.
|
137
137
|
:param _builtins.str name: Name of the placement group.
|
138
138
|
:param _builtins.str type: (string) Type of the Placement Group.
|
139
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
139
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
140
140
|
"""
|
141
141
|
__args__ = dict()
|
142
142
|
__args__['id'] = id
|
@@ -180,7 +180,7 @@ def get_placement_group_output(id: Optional[pulumi.Input[Optional[_builtins.int]
|
|
180
180
|
:param _builtins.bool most_recent: Return most recent placement group if multiple are found.
|
181
181
|
:param _builtins.str name: Name of the placement group.
|
182
182
|
:param _builtins.str type: (string) Type of the Placement Group.
|
183
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
183
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
184
184
|
"""
|
185
185
|
__args__ = dict()
|
186
186
|
__args__['id'] = id
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_placement_groups.py
RENAMED
@@ -98,7 +98,7 @@ def get_placement_groups(most_recent: Optional[_builtins.bool] = None,
|
|
98
98
|
|
99
99
|
|
100
100
|
:param _builtins.bool most_recent: Sorts list by date.
|
101
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
101
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
102
102
|
"""
|
103
103
|
__args__ = dict()
|
104
104
|
__args__['mostRecent'] = most_recent
|
@@ -129,7 +129,7 @@ def get_placement_groups_output(most_recent: Optional[pulumi.Input[Optional[_bui
|
|
129
129
|
|
130
130
|
|
131
131
|
:param _builtins.bool most_recent: Sorts list by date.
|
132
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
132
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
133
133
|
"""
|
134
134
|
__args__ = dict()
|
135
135
|
__args__['mostRecent'] = most_recent
|
@@ -229,7 +229,7 @@ def get_primary_ip(assignee_id: Optional[_builtins.int] = None,
|
|
229
229
|
:param _builtins.int id: ID of the Primary IP.
|
230
230
|
:param _builtins.str ip_address: IP address of the Primary IP.
|
231
231
|
:param _builtins.str name: Name of the Primary IP.
|
232
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
232
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
233
233
|
"""
|
234
234
|
__args__ = dict()
|
235
235
|
__args__['assigneeId'] = assignee_id
|
@@ -304,7 +304,7 @@ def get_primary_ip_output(assignee_id: Optional[pulumi.Input[Optional[_builtins.
|
|
304
304
|
:param _builtins.int id: ID of the Primary IP.
|
305
305
|
:param _builtins.str ip_address: IP address of the Primary IP.
|
306
306
|
:param _builtins.str name: Name of the Primary IP.
|
307
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
307
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
308
308
|
"""
|
309
309
|
__args__ = dict()
|
310
310
|
__args__['assigneeId'] = assignee_id
|
@@ -86,7 +86,7 @@ def get_primary_ips(with_selector: Optional[_builtins.str] = None,
|
|
86
86
|
```
|
87
87
|
|
88
88
|
|
89
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
89
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
90
90
|
"""
|
91
91
|
__args__ = dict()
|
92
92
|
__args__['withSelector'] = with_selector
|
@@ -112,7 +112,7 @@ def get_primary_ips_output(with_selector: Optional[pulumi.Input[Optional[_builti
|
|
112
112
|
```
|
113
113
|
|
114
114
|
|
115
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
115
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
116
116
|
"""
|
117
117
|
__args__ = dict()
|
118
118
|
__args__['withSelector'] = with_selector
|
@@ -341,7 +341,7 @@ def get_server(id: Optional[_builtins.int] = None,
|
|
341
341
|
:param _builtins.str name: Name of the server.
|
342
342
|
:param Sequence[Union['GetServerNetworkArgs', 'GetServerNetworkArgsDict']] networks: (map) Private Network the server is attached to.
|
343
343
|
:param _builtins.int placement_group_id: (Optional, string) Placement Group ID the server is assigned to.
|
344
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
344
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
345
345
|
:param Sequence[_builtins.str] with_statuses: List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`.
|
346
346
|
"""
|
347
347
|
__args__ = dict()
|
@@ -405,7 +405,7 @@ def get_server_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] = None
|
|
405
405
|
:param _builtins.str name: Name of the server.
|
406
406
|
:param Sequence[Union['GetServerNetworkArgs', 'GetServerNetworkArgsDict']] networks: (map) Private Network the server is attached to.
|
407
407
|
:param _builtins.int placement_group_id: (Optional, string) Placement Group ID the server is assigned to.
|
408
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
408
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
409
409
|
:param Sequence[_builtins.str] with_statuses: List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`.
|
410
410
|
"""
|
411
411
|
__args__ = dict()
|
@@ -13,6 +13,7 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from . import _utilities
|
16
|
+
from . import outputs
|
16
17
|
|
17
18
|
__all__ = [
|
18
19
|
'GetServerTypeResult',
|
@@ -26,10 +27,13 @@ class GetServerTypeResult:
|
|
26
27
|
"""
|
27
28
|
A collection of values returned by getServerType.
|
28
29
|
"""
|
29
|
-
def __init__(__self__, architecture=None, cores=None, cpu_type=None, deprecation_announced=None, description=None, disk=None, id=None, included_traffic=None, is_deprecated=None, memory=None, name=None, storage_type=None, unavailable_after=None):
|
30
|
+
def __init__(__self__, architecture=None, category=None, cores=None, cpu_type=None, deprecation_announced=None, description=None, disk=None, id=None, included_traffic=None, is_deprecated=None, locations=None, memory=None, name=None, storage_type=None, unavailable_after=None):
|
30
31
|
if architecture and not isinstance(architecture, str):
|
31
32
|
raise TypeError("Expected argument 'architecture' to be a str")
|
32
33
|
pulumi.set(__self__, "architecture", architecture)
|
34
|
+
if category and not isinstance(category, str):
|
35
|
+
raise TypeError("Expected argument 'category' to be a str")
|
36
|
+
pulumi.set(__self__, "category", category)
|
33
37
|
if cores and not isinstance(cores, int):
|
34
38
|
raise TypeError("Expected argument 'cores' to be a int")
|
35
39
|
pulumi.set(__self__, "cores", cores)
|
@@ -54,6 +58,9 @@ class GetServerTypeResult:
|
|
54
58
|
if is_deprecated and not isinstance(is_deprecated, bool):
|
55
59
|
raise TypeError("Expected argument 'is_deprecated' to be a bool")
|
56
60
|
pulumi.set(__self__, "is_deprecated", is_deprecated)
|
61
|
+
if locations and not isinstance(locations, list):
|
62
|
+
raise TypeError("Expected argument 'locations' to be a list")
|
63
|
+
pulumi.set(__self__, "locations", locations)
|
57
64
|
if memory and not isinstance(memory, int):
|
58
65
|
raise TypeError("Expected argument 'memory' to be a int")
|
59
66
|
pulumi.set(__self__, "memory", memory)
|
@@ -75,6 +82,14 @@ class GetServerTypeResult:
|
|
75
82
|
"""
|
76
83
|
return pulumi.get(self, "architecture")
|
77
84
|
|
85
|
+
@_builtins.property
|
86
|
+
@pulumi.getter
|
87
|
+
def category(self) -> _builtins.str:
|
88
|
+
"""
|
89
|
+
Category of the Server Type.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "category")
|
92
|
+
|
78
93
|
@_builtins.property
|
79
94
|
@pulumi.getter
|
80
95
|
def cores(self) -> _builtins.int:
|
@@ -93,6 +108,7 @@ class GetServerTypeResult:
|
|
93
108
|
|
94
109
|
@_builtins.property
|
95
110
|
@pulumi.getter(name="deprecationAnnounced")
|
111
|
+
@_utilities.deprecated("""The field is deprecated and will gradually be phased out starting 2025-09-24. Use the deprecation in the locations list instead.""")
|
96
112
|
def deprecation_announced(self) -> _builtins.str:
|
97
113
|
"""
|
98
114
|
Date of the Server Type deprecation announcement.
|
@@ -131,12 +147,21 @@ class GetServerTypeResult:
|
|
131
147
|
|
132
148
|
@_builtins.property
|
133
149
|
@pulumi.getter(name="isDeprecated")
|
150
|
+
@_utilities.deprecated("""The field is deprecated and will gradually be phased out starting 2025-09-24. Use the deprecation in the locations list instead.""")
|
134
151
|
def is_deprecated(self) -> _builtins.bool:
|
135
152
|
"""
|
136
153
|
Whether the Server Type is deprecated.
|
137
154
|
"""
|
138
155
|
return pulumi.get(self, "is_deprecated")
|
139
156
|
|
157
|
+
@_builtins.property
|
158
|
+
@pulumi.getter
|
159
|
+
def locations(self) -> Sequence['outputs.GetServerTypeLocationResult']:
|
160
|
+
"""
|
161
|
+
List of supported Locations for this Server Type.
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "locations")
|
164
|
+
|
140
165
|
@_builtins.property
|
141
166
|
@pulumi.getter
|
142
167
|
def memory(self) -> _builtins.int:
|
@@ -163,6 +188,7 @@ class GetServerTypeResult:
|
|
163
188
|
|
164
189
|
@_builtins.property
|
165
190
|
@pulumi.getter(name="unavailableAfter")
|
191
|
+
@_utilities.deprecated("""The field is deprecated and will gradually be phased out starting 2025-09-24. Use the deprecation in the locations list instead.""")
|
166
192
|
def unavailable_after(self) -> _builtins.str:
|
167
193
|
"""
|
168
194
|
Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
@@ -177,6 +203,7 @@ class AwaitableGetServerTypeResult(GetServerTypeResult):
|
|
177
203
|
yield self
|
178
204
|
return GetServerTypeResult(
|
179
205
|
architecture=self.architecture,
|
206
|
+
category=self.category,
|
180
207
|
cores=self.cores,
|
181
208
|
cpu_type=self.cpu_type,
|
182
209
|
deprecation_announced=self.deprecation_announced,
|
@@ -185,6 +212,7 @@ class AwaitableGetServerTypeResult(GetServerTypeResult):
|
|
185
212
|
id=self.id,
|
186
213
|
included_traffic=self.included_traffic,
|
187
214
|
is_deprecated=self.is_deprecated,
|
215
|
+
locations=self.locations,
|
188
216
|
memory=self.memory,
|
189
217
|
name=self.name,
|
190
218
|
storage_type=self.storage_type,
|
@@ -226,6 +254,7 @@ def get_server_type(id: Optional[_builtins.int] = None,
|
|
226
254
|
|
227
255
|
return AwaitableGetServerTypeResult(
|
228
256
|
architecture=pulumi.get(__ret__, 'architecture'),
|
257
|
+
category=pulumi.get(__ret__, 'category'),
|
229
258
|
cores=pulumi.get(__ret__, 'cores'),
|
230
259
|
cpu_type=pulumi.get(__ret__, 'cpu_type'),
|
231
260
|
deprecation_announced=pulumi.get(__ret__, 'deprecation_announced'),
|
@@ -234,6 +263,7 @@ def get_server_type(id: Optional[_builtins.int] = None,
|
|
234
263
|
id=pulumi.get(__ret__, 'id'),
|
235
264
|
included_traffic=pulumi.get(__ret__, 'included_traffic'),
|
236
265
|
is_deprecated=pulumi.get(__ret__, 'is_deprecated'),
|
266
|
+
locations=pulumi.get(__ret__, 'locations'),
|
237
267
|
memory=pulumi.get(__ret__, 'memory'),
|
238
268
|
name=pulumi.get(__ret__, 'name'),
|
239
269
|
storage_type=pulumi.get(__ret__, 'storage_type'),
|
@@ -272,6 +302,7 @@ def get_server_type_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] =
|
|
272
302
|
__ret__ = pulumi.runtime.invoke_output('hcloud:index/getServerType:getServerType', __args__, opts=opts, typ=GetServerTypeResult)
|
273
303
|
return __ret__.apply(lambda __response__: GetServerTypeResult(
|
274
304
|
architecture=pulumi.get(__response__, 'architecture'),
|
305
|
+
category=pulumi.get(__response__, 'category'),
|
275
306
|
cores=pulumi.get(__response__, 'cores'),
|
276
307
|
cpu_type=pulumi.get(__response__, 'cpu_type'),
|
277
308
|
deprecation_announced=pulumi.get(__response__, 'deprecation_announced'),
|
@@ -280,6 +311,7 @@ def get_server_type_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] =
|
|
280
311
|
id=pulumi.get(__response__, 'id'),
|
281
312
|
included_traffic=pulumi.get(__response__, 'included_traffic'),
|
282
313
|
is_deprecated=pulumi.get(__response__, 'is_deprecated'),
|
314
|
+
locations=pulumi.get(__response__, 'locations'),
|
283
315
|
memory=pulumi.get(__response__, 'memory'),
|
284
316
|
name=pulumi.get(__response__, 'name'),
|
285
317
|
storage_type=pulumi.get(__response__, 'storage_type'),
|
@@ -94,7 +94,7 @@ def get_servers(with_selector: Optional[_builtins.str] = None,
|
|
94
94
|
```
|
95
95
|
|
96
96
|
|
97
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
97
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
98
98
|
:param Sequence[_builtins.str] with_statuses: List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`.
|
99
99
|
"""
|
100
100
|
__args__ = dict()
|
@@ -122,7 +122,7 @@ def get_servers_output(with_selector: Optional[pulumi.Input[Optional[_builtins.s
|
|
122
122
|
```
|
123
123
|
|
124
124
|
|
125
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
125
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
126
126
|
:param Sequence[_builtins.str] with_statuses: List only servers with the specified status, could contain `initializing`, `starting`, `running`, `stopping`, `off`, `deleting`, `rebuilding`, `migrating`, `unknown`.
|
127
127
|
"""
|
128
128
|
__args__ = dict()
|
@@ -69,7 +69,7 @@ class GetSshKeyResult:
|
|
69
69
|
@pulumi.getter
|
70
70
|
def labels(self) -> Mapping[str, _builtins.str]:
|
71
71
|
"""
|
72
|
-
User-defined [labels](https://docs.hetzner.cloud
|
72
|
+
User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
73
73
|
"""
|
74
74
|
return pulumi.get(self, "labels")
|
75
75
|
|
@@ -94,7 +94,7 @@ class GetSshKeyResult:
|
|
94
94
|
@_utilities.deprecated("""Please use the with_selector property instead.""")
|
95
95
|
def selector(self) -> Optional[_builtins.str]:
|
96
96
|
"""
|
97
|
-
Filter results using a [Label Selector](https://docs.hetzner.cloud
|
97
|
+
Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
98
98
|
"""
|
99
99
|
return pulumi.get(self, "selector")
|
100
100
|
|
@@ -102,7 +102,7 @@ class GetSshKeyResult:
|
|
102
102
|
@pulumi.getter(name="withSelector")
|
103
103
|
def with_selector(self) -> Optional[_builtins.str]:
|
104
104
|
"""
|
105
|
-
Filter results using a [Label Selector](https://docs.hetzner.cloud
|
105
|
+
Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
106
106
|
"""
|
107
107
|
return pulumi.get(self, "with_selector")
|
108
108
|
|
@@ -150,8 +150,8 @@ def get_ssh_key(fingerprint: Optional[_builtins.str] = None,
|
|
150
150
|
:param _builtins.str fingerprint: Fingerprint of the SSH Key.
|
151
151
|
:param _builtins.int id: ID of the SSH Key.
|
152
152
|
:param _builtins.str name: Name of the SSH Key.
|
153
|
-
:param _builtins.str selector: Filter results using a [Label Selector](https://docs.hetzner.cloud
|
154
|
-
:param _builtins.str with_selector: Filter results using a [Label Selector](https://docs.hetzner.cloud
|
153
|
+
:param _builtins.str selector: Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
154
|
+
:param _builtins.str with_selector: Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
155
155
|
"""
|
156
156
|
__args__ = dict()
|
157
157
|
__args__['fingerprint'] = fingerprint
|
@@ -198,8 +198,8 @@ def get_ssh_key_output(fingerprint: Optional[pulumi.Input[Optional[_builtins.str
|
|
198
198
|
:param _builtins.str fingerprint: Fingerprint of the SSH Key.
|
199
199
|
:param _builtins.int id: ID of the SSH Key.
|
200
200
|
:param _builtins.str name: Name of the SSH Key.
|
201
|
-
:param _builtins.str selector: Filter results using a [Label Selector](https://docs.hetzner.cloud
|
202
|
-
:param _builtins.str with_selector: Filter results using a [Label Selector](https://docs.hetzner.cloud
|
201
|
+
:param _builtins.str selector: Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
202
|
+
:param _builtins.str with_selector: Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
203
203
|
"""
|
204
204
|
__args__ = dict()
|
205
205
|
__args__['fingerprint'] = fingerprint
|
@@ -55,7 +55,7 @@ class GetSshKeysResult:
|
|
55
55
|
@pulumi.getter(name="withSelector")
|
56
56
|
def with_selector(self) -> Optional[_builtins.str]:
|
57
57
|
"""
|
58
|
-
Filter results using a [Label Selector](https://docs.hetzner.cloud
|
58
|
+
Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
59
59
|
"""
|
60
60
|
return pulumi.get(self, "with_selector")
|
61
61
|
|
@@ -88,7 +88,7 @@ def get_ssh_keys(id: Optional[_builtins.str] = None,
|
|
88
88
|
|
89
89
|
|
90
90
|
:param _builtins.str id: The ID of this resource.
|
91
|
-
:param _builtins.str with_selector: Filter results using a [Label Selector](https://docs.hetzner.cloud
|
91
|
+
:param _builtins.str with_selector: Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
92
92
|
"""
|
93
93
|
__args__ = dict()
|
94
94
|
__args__['id'] = id
|
@@ -117,7 +117,7 @@ def get_ssh_keys_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = No
|
|
117
117
|
|
118
118
|
|
119
119
|
:param _builtins.str id: The ID of this resource.
|
120
|
-
:param _builtins.str with_selector: Filter results using a [Label Selector](https://docs.hetzner.cloud
|
120
|
+
:param _builtins.str with_selector: Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
121
121
|
"""
|
122
122
|
__args__ = dict()
|
123
123
|
__args__['id'] = id
|
@@ -186,7 +186,7 @@ def get_volume(id: Optional[_builtins.int] = None,
|
|
186
186
|
:param _builtins.str location: (string) The location name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
187
187
|
:param _builtins.str name: Name of the volume.
|
188
188
|
:param _builtins.int server_id: (Optional, int) Server ID the volume is attached to
|
189
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
189
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
190
190
|
:param Sequence[_builtins.str] with_statuses: List only volumes with the specified status, could contain `creating` or `available`.
|
191
191
|
"""
|
192
192
|
__args__ = dict()
|
@@ -237,7 +237,7 @@ def get_volume_output(id: Optional[pulumi.Input[Optional[_builtins.int]]] = None
|
|
237
237
|
:param _builtins.str location: (string) The location name. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
|
238
238
|
:param _builtins.str name: Name of the volume.
|
239
239
|
:param _builtins.int server_id: (Optional, int) Server ID the volume is attached to
|
240
|
-
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud
|
240
|
+
:param _builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/reference/cloud#label-selector).
|
241
241
|
:param Sequence[_builtins.str] with_statuses: List only volumes with the specified status, could contain `creating` or `available`.
|
242
242
|
"""
|
243
243
|
__args__ = dict()
|
@@ -97,7 +97,7 @@ def get_volumes(with_selector: Optional[_builtins.str] = None,
|
|
97
97
|
```
|
98
98
|
|
99
99
|
|
100
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
100
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
101
101
|
:param Sequence[_builtins.str] with_statuses: List only volumes with the specified status, could contain `creating` or `available`.
|
102
102
|
"""
|
103
103
|
__args__ = dict()
|
@@ -128,7 +128,7 @@ def get_volumes_output(with_selector: Optional[pulumi.Input[Optional[_builtins.s
|
|
128
128
|
```
|
129
129
|
|
130
130
|
|
131
|
-
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud
|
131
|
+
:param _builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector)
|
132
132
|
:param Sequence[_builtins.str] with_statuses: List only volumes with the specified status, could contain `creating` or `available`.
|
133
133
|
"""
|
134
134
|
__args__ = dict()
|
@@ -53,7 +53,9 @@ __all__ = [
|
|
53
53
|
'GetPlacementGroupsPlacementGroupResult',
|
54
54
|
'GetPrimaryIpsPrimaryIpResult',
|
55
55
|
'GetServerNetworkResult',
|
56
|
+
'GetServerTypeLocationResult',
|
56
57
|
'GetServerTypesServerTypeResult',
|
58
|
+
'GetServerTypesServerTypeLocationResult',
|
57
59
|
'GetServersServerResult',
|
58
60
|
'GetServersServerNetworkResult',
|
59
61
|
'GetSshKeysSshKeyResult',
|
@@ -2253,10 +2255,73 @@ class GetServerNetworkResult(dict):
|
|
2253
2255
|
return pulumi.get(self, "network_id")
|
2254
2256
|
|
2255
2257
|
|
2258
|
+
@pulumi.output_type
|
2259
|
+
class GetServerTypeLocationResult(dict):
|
2260
|
+
def __init__(__self__, *,
|
2261
|
+
deprecation_announced: _builtins.str,
|
2262
|
+
id: _builtins.int,
|
2263
|
+
is_deprecated: _builtins.bool,
|
2264
|
+
name: _builtins.str,
|
2265
|
+
unavailable_after: _builtins.str):
|
2266
|
+
"""
|
2267
|
+
:param _builtins.str deprecation_announced: Date of the Server Type deprecation announcement.
|
2268
|
+
:param _builtins.int id: ID of the Location.
|
2269
|
+
:param _builtins.bool is_deprecated: Whether the Server Type is deprecated.
|
2270
|
+
:param _builtins.str name: Name of the Location.
|
2271
|
+
:param _builtins.str unavailable_after: Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
2272
|
+
"""
|
2273
|
+
pulumi.set(__self__, "deprecation_announced", deprecation_announced)
|
2274
|
+
pulumi.set(__self__, "id", id)
|
2275
|
+
pulumi.set(__self__, "is_deprecated", is_deprecated)
|
2276
|
+
pulumi.set(__self__, "name", name)
|
2277
|
+
pulumi.set(__self__, "unavailable_after", unavailable_after)
|
2278
|
+
|
2279
|
+
@_builtins.property
|
2280
|
+
@pulumi.getter(name="deprecationAnnounced")
|
2281
|
+
def deprecation_announced(self) -> _builtins.str:
|
2282
|
+
"""
|
2283
|
+
Date of the Server Type deprecation announcement.
|
2284
|
+
"""
|
2285
|
+
return pulumi.get(self, "deprecation_announced")
|
2286
|
+
|
2287
|
+
@_builtins.property
|
2288
|
+
@pulumi.getter
|
2289
|
+
def id(self) -> _builtins.int:
|
2290
|
+
"""
|
2291
|
+
ID of the Location.
|
2292
|
+
"""
|
2293
|
+
return pulumi.get(self, "id")
|
2294
|
+
|
2295
|
+
@_builtins.property
|
2296
|
+
@pulumi.getter(name="isDeprecated")
|
2297
|
+
def is_deprecated(self) -> _builtins.bool:
|
2298
|
+
"""
|
2299
|
+
Whether the Server Type is deprecated.
|
2300
|
+
"""
|
2301
|
+
return pulumi.get(self, "is_deprecated")
|
2302
|
+
|
2303
|
+
@_builtins.property
|
2304
|
+
@pulumi.getter
|
2305
|
+
def name(self) -> _builtins.str:
|
2306
|
+
"""
|
2307
|
+
Name of the Location.
|
2308
|
+
"""
|
2309
|
+
return pulumi.get(self, "name")
|
2310
|
+
|
2311
|
+
@_builtins.property
|
2312
|
+
@pulumi.getter(name="unavailableAfter")
|
2313
|
+
def unavailable_after(self) -> _builtins.str:
|
2314
|
+
"""
|
2315
|
+
Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
2316
|
+
"""
|
2317
|
+
return pulumi.get(self, "unavailable_after")
|
2318
|
+
|
2319
|
+
|
2256
2320
|
@pulumi.output_type
|
2257
2321
|
class GetServerTypesServerTypeResult(dict):
|
2258
2322
|
def __init__(__self__, *,
|
2259
2323
|
architecture: _builtins.str,
|
2324
|
+
category: _builtins.str,
|
2260
2325
|
cores: _builtins.int,
|
2261
2326
|
cpu_type: _builtins.str,
|
2262
2327
|
deprecation_announced: _builtins.str,
|
@@ -2265,12 +2330,14 @@ class GetServerTypesServerTypeResult(dict):
|
|
2265
2330
|
id: _builtins.int,
|
2266
2331
|
included_traffic: _builtins.int,
|
2267
2332
|
is_deprecated: _builtins.bool,
|
2333
|
+
locations: Sequence['outputs.GetServerTypesServerTypeLocationResult'],
|
2268
2334
|
memory: _builtins.int,
|
2269
2335
|
name: _builtins.str,
|
2270
2336
|
storage_type: _builtins.str,
|
2271
2337
|
unavailable_after: _builtins.str):
|
2272
2338
|
"""
|
2273
2339
|
:param _builtins.str architecture: Architecture of the cpu for a Server of this type.
|
2340
|
+
:param _builtins.str category: Category of the Server Type.
|
2274
2341
|
:param _builtins.int cores: Number of cpu cores for a Server of this type.
|
2275
2342
|
:param _builtins.str cpu_type: Type of cpu for a Server of this type.
|
2276
2343
|
:param _builtins.str deprecation_announced: Date of the Server Type deprecation announcement.
|
@@ -2278,12 +2345,14 @@ class GetServerTypesServerTypeResult(dict):
|
|
2278
2345
|
:param _builtins.int disk: Disk size in GB for a Server of this type.
|
2279
2346
|
:param _builtins.int id: ID of the Server Type.
|
2280
2347
|
:param _builtins.bool is_deprecated: Whether the Server Type is deprecated.
|
2348
|
+
:param Sequence['GetServerTypesServerTypeLocationArgs'] locations: List of supported Locations for this Server Type.
|
2281
2349
|
:param _builtins.int memory: Memory in GB for a Server of this type.
|
2282
2350
|
:param _builtins.str name: Name of the Server Type.
|
2283
2351
|
:param _builtins.str storage_type: Type of boot drive for a Server of this type.
|
2284
2352
|
:param _builtins.str unavailable_after: Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
2285
2353
|
"""
|
2286
2354
|
pulumi.set(__self__, "architecture", architecture)
|
2355
|
+
pulumi.set(__self__, "category", category)
|
2287
2356
|
pulumi.set(__self__, "cores", cores)
|
2288
2357
|
pulumi.set(__self__, "cpu_type", cpu_type)
|
2289
2358
|
pulumi.set(__self__, "deprecation_announced", deprecation_announced)
|
@@ -2292,6 +2361,7 @@ class GetServerTypesServerTypeResult(dict):
|
|
2292
2361
|
pulumi.set(__self__, "id", id)
|
2293
2362
|
pulumi.set(__self__, "included_traffic", included_traffic)
|
2294
2363
|
pulumi.set(__self__, "is_deprecated", is_deprecated)
|
2364
|
+
pulumi.set(__self__, "locations", locations)
|
2295
2365
|
pulumi.set(__self__, "memory", memory)
|
2296
2366
|
pulumi.set(__self__, "name", name)
|
2297
2367
|
pulumi.set(__self__, "storage_type", storage_type)
|
@@ -2305,6 +2375,14 @@ class GetServerTypesServerTypeResult(dict):
|
|
2305
2375
|
"""
|
2306
2376
|
return pulumi.get(self, "architecture")
|
2307
2377
|
|
2378
|
+
@_builtins.property
|
2379
|
+
@pulumi.getter
|
2380
|
+
def category(self) -> _builtins.str:
|
2381
|
+
"""
|
2382
|
+
Category of the Server Type.
|
2383
|
+
"""
|
2384
|
+
return pulumi.get(self, "category")
|
2385
|
+
|
2308
2386
|
@_builtins.property
|
2309
2387
|
@pulumi.getter
|
2310
2388
|
def cores(self) -> _builtins.int:
|
@@ -2323,6 +2401,7 @@ class GetServerTypesServerTypeResult(dict):
|
|
2323
2401
|
|
2324
2402
|
@_builtins.property
|
2325
2403
|
@pulumi.getter(name="deprecationAnnounced")
|
2404
|
+
@_utilities.deprecated("""The field is deprecated and will gradually be phased out starting 2025-09-24. Use the deprecation in the locations list instead.""")
|
2326
2405
|
def deprecation_announced(self) -> _builtins.str:
|
2327
2406
|
"""
|
2328
2407
|
Date of the Server Type deprecation announcement.
|
@@ -2361,12 +2440,21 @@ class GetServerTypesServerTypeResult(dict):
|
|
2361
2440
|
|
2362
2441
|
@_builtins.property
|
2363
2442
|
@pulumi.getter(name="isDeprecated")
|
2443
|
+
@_utilities.deprecated("""The field is deprecated and will gradually be phased out starting 2025-09-24. Use the deprecation in the locations list instead.""")
|
2364
2444
|
def is_deprecated(self) -> _builtins.bool:
|
2365
2445
|
"""
|
2366
2446
|
Whether the Server Type is deprecated.
|
2367
2447
|
"""
|
2368
2448
|
return pulumi.get(self, "is_deprecated")
|
2369
2449
|
|
2450
|
+
@_builtins.property
|
2451
|
+
@pulumi.getter
|
2452
|
+
def locations(self) -> Sequence['outputs.GetServerTypesServerTypeLocationResult']:
|
2453
|
+
"""
|
2454
|
+
List of supported Locations for this Server Type.
|
2455
|
+
"""
|
2456
|
+
return pulumi.get(self, "locations")
|
2457
|
+
|
2370
2458
|
@_builtins.property
|
2371
2459
|
@pulumi.getter
|
2372
2460
|
def memory(self) -> _builtins.int:
|
@@ -2391,6 +2479,69 @@ class GetServerTypesServerTypeResult(dict):
|
|
2391
2479
|
"""
|
2392
2480
|
return pulumi.get(self, "storage_type")
|
2393
2481
|
|
2482
|
+
@_builtins.property
|
2483
|
+
@pulumi.getter(name="unavailableAfter")
|
2484
|
+
@_utilities.deprecated("""The field is deprecated and will gradually be phased out starting 2025-09-24. Use the deprecation in the locations list instead.""")
|
2485
|
+
def unavailable_after(self) -> _builtins.str:
|
2486
|
+
"""
|
2487
|
+
Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
2488
|
+
"""
|
2489
|
+
return pulumi.get(self, "unavailable_after")
|
2490
|
+
|
2491
|
+
|
2492
|
+
@pulumi.output_type
|
2493
|
+
class GetServerTypesServerTypeLocationResult(dict):
|
2494
|
+
def __init__(__self__, *,
|
2495
|
+
deprecation_announced: _builtins.str,
|
2496
|
+
id: _builtins.int,
|
2497
|
+
is_deprecated: _builtins.bool,
|
2498
|
+
name: _builtins.str,
|
2499
|
+
unavailable_after: _builtins.str):
|
2500
|
+
"""
|
2501
|
+
:param _builtins.str deprecation_announced: Date of the Server Type deprecation announcement.
|
2502
|
+
:param _builtins.int id: ID of the Location.
|
2503
|
+
:param _builtins.bool is_deprecated: Whether the Server Type is deprecated.
|
2504
|
+
:param _builtins.str name: Name of the Location.
|
2505
|
+
:param _builtins.str unavailable_after: Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
|
2506
|
+
"""
|
2507
|
+
pulumi.set(__self__, "deprecation_announced", deprecation_announced)
|
2508
|
+
pulumi.set(__self__, "id", id)
|
2509
|
+
pulumi.set(__self__, "is_deprecated", is_deprecated)
|
2510
|
+
pulumi.set(__self__, "name", name)
|
2511
|
+
pulumi.set(__self__, "unavailable_after", unavailable_after)
|
2512
|
+
|
2513
|
+
@_builtins.property
|
2514
|
+
@pulumi.getter(name="deprecationAnnounced")
|
2515
|
+
def deprecation_announced(self) -> _builtins.str:
|
2516
|
+
"""
|
2517
|
+
Date of the Server Type deprecation announcement.
|
2518
|
+
"""
|
2519
|
+
return pulumi.get(self, "deprecation_announced")
|
2520
|
+
|
2521
|
+
@_builtins.property
|
2522
|
+
@pulumi.getter
|
2523
|
+
def id(self) -> _builtins.int:
|
2524
|
+
"""
|
2525
|
+
ID of the Location.
|
2526
|
+
"""
|
2527
|
+
return pulumi.get(self, "id")
|
2528
|
+
|
2529
|
+
@_builtins.property
|
2530
|
+
@pulumi.getter(name="isDeprecated")
|
2531
|
+
def is_deprecated(self) -> _builtins.bool:
|
2532
|
+
"""
|
2533
|
+
Whether the Server Type is deprecated.
|
2534
|
+
"""
|
2535
|
+
return pulumi.get(self, "is_deprecated")
|
2536
|
+
|
2537
|
+
@_builtins.property
|
2538
|
+
@pulumi.getter
|
2539
|
+
def name(self) -> _builtins.str:
|
2540
|
+
"""
|
2541
|
+
Name of the Location.
|
2542
|
+
"""
|
2543
|
+
return pulumi.get(self, "name")
|
2544
|
+
|
2394
2545
|
@_builtins.property
|
2395
2546
|
@pulumi.getter(name="unavailableAfter")
|
2396
2547
|
def unavailable_after(self) -> _builtins.str:
|
@@ -2598,7 +2749,7 @@ class GetSshKeysSshKeyResult(dict):
|
|
2598
2749
|
"""
|
2599
2750
|
:param _builtins.str fingerprint: Fingerprint of the SSH Key.
|
2600
2751
|
:param _builtins.int id: ID of the SSH Key.
|
2601
|
-
:param Mapping[str, _builtins.str] labels: User-defined [labels](https://docs.hetzner.cloud
|
2752
|
+
:param Mapping[str, _builtins.str] labels: User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
2602
2753
|
:param _builtins.str name: Name of the SSH Key.
|
2603
2754
|
:param _builtins.str public_key: Public key of the SSH Key pair.
|
2604
2755
|
"""
|
@@ -2628,7 +2779,7 @@ class GetSshKeysSshKeyResult(dict):
|
|
2628
2779
|
@pulumi.getter
|
2629
2780
|
def labels(self) -> Mapping[str, _builtins.str]:
|
2630
2781
|
"""
|
2631
|
-
User-defined [labels](https://docs.hetzner.cloud
|
2782
|
+
User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
2632
2783
|
"""
|
2633
2784
|
return pulumi.get(self, "labels")
|
2634
2785
|
|
@@ -27,8 +27,7 @@ class ProviderArgs:
|
|
27
27
|
The set of arguments for constructing a Provider resource.
|
28
28
|
:param pulumi.Input[_builtins.str] endpoint: The Hetzner Cloud API endpoint, can be used to override the default API Endpoint https://api.hetzner.cloud/v1.
|
29
29
|
:param pulumi.Input[_builtins.str] poll_function: The type of function to be used during the polling.
|
30
|
-
:param pulumi.Input[_builtins.str] poll_interval: The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
31
|
-
limiting errors.
|
30
|
+
:param pulumi.Input[_builtins.str] poll_interval: The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
|
32
31
|
:param pulumi.Input[_builtins.str] token: The Hetzner Cloud API token, can also be specified with the HCLOUD_TOKEN environment variable.
|
33
32
|
"""
|
34
33
|
if endpoint is not None:
|
@@ -68,8 +67,7 @@ class ProviderArgs:
|
|
68
67
|
@pulumi.getter(name="pollInterval")
|
69
68
|
def poll_interval(self) -> Optional[pulumi.Input[_builtins.str]]:
|
70
69
|
"""
|
71
|
-
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
72
|
-
limiting errors.
|
70
|
+
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
|
73
71
|
"""
|
74
72
|
return pulumi.get(self, "poll_interval")
|
75
73
|
|
@@ -111,8 +109,7 @@ class Provider(pulumi.ProviderResource):
|
|
111
109
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
112
110
|
:param pulumi.Input[_builtins.str] endpoint: The Hetzner Cloud API endpoint, can be used to override the default API Endpoint https://api.hetzner.cloud/v1.
|
113
111
|
:param pulumi.Input[_builtins.str] poll_function: The type of function to be used during the polling.
|
114
|
-
:param pulumi.Input[_builtins.str] poll_interval: The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
115
|
-
limiting errors.
|
112
|
+
:param pulumi.Input[_builtins.str] poll_interval: The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
|
116
113
|
:param pulumi.Input[_builtins.str] token: The Hetzner Cloud API token, can also be specified with the HCLOUD_TOKEN environment variable.
|
117
114
|
"""
|
118
115
|
...
|
@@ -187,8 +184,7 @@ class Provider(pulumi.ProviderResource):
|
|
187
184
|
@pulumi.getter(name="pollInterval")
|
188
185
|
def poll_interval(self) -> pulumi.Output[Optional[_builtins.str]]:
|
189
186
|
"""
|
190
|
-
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate
|
191
|
-
limiting errors.
|
187
|
+
The interval at which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
|
192
188
|
"""
|
193
189
|
return pulumi.get(self, "poll_interval")
|
194
190
|
|
@@ -25,7 +25,7 @@ class SshKeyArgs:
|
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a SshKey resource.
|
27
27
|
:param pulumi.Input[_builtins.str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
28
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud
|
28
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
29
29
|
:param pulumi.Input[_builtins.str] name: Name of the SSH Key.
|
30
30
|
"""
|
31
31
|
pulumi.set(__self__, "public_key", public_key)
|
@@ -50,7 +50,7 @@ class SshKeyArgs:
|
|
50
50
|
@pulumi.getter
|
51
51
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
52
52
|
"""
|
53
|
-
User-defined [labels](https://docs.hetzner.cloud
|
53
|
+
User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
54
54
|
"""
|
55
55
|
return pulumi.get(self, "labels")
|
56
56
|
|
@@ -81,7 +81,7 @@ class _SshKeyState:
|
|
81
81
|
"""
|
82
82
|
Input properties used for looking up and filtering SshKey resources.
|
83
83
|
:param pulumi.Input[_builtins.str] fingerprint: Fingerprint of the SSH public key.
|
84
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud
|
84
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
85
85
|
:param pulumi.Input[_builtins.str] name: Name of the SSH Key.
|
86
86
|
:param pulumi.Input[_builtins.str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
87
87
|
"""
|
@@ -110,7 +110,7 @@ class _SshKeyState:
|
|
110
110
|
@pulumi.getter
|
111
111
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
112
112
|
"""
|
113
|
-
User-defined [labels](https://docs.hetzner.cloud
|
113
|
+
User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
114
114
|
"""
|
115
115
|
return pulumi.get(self, "labels")
|
116
116
|
|
@@ -170,13 +170,27 @@ class SshKey(pulumi.CustomResource):
|
|
170
170
|
|
171
171
|
## Import
|
172
172
|
|
173
|
+
In Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:
|
174
|
+
|
175
|
+
terraform
|
176
|
+
|
177
|
+
import {
|
178
|
+
|
179
|
+
to = hcloud_ssh_key.main
|
180
|
+
|
181
|
+
id = "$SSH_KEY_ID"
|
182
|
+
|
183
|
+
}
|
184
|
+
|
185
|
+
The `pulumi import` command can be used, for example:
|
186
|
+
|
173
187
|
```sh
|
174
188
|
$ pulumi import hcloud:index/sshKey:SshKey example "$SSH_KEY_ID"
|
175
189
|
```
|
176
190
|
|
177
191
|
:param str resource_name: The name of the resource.
|
178
192
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
179
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud
|
193
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
180
194
|
:param pulumi.Input[_builtins.str] name: Name of the SSH Key.
|
181
195
|
:param pulumi.Input[_builtins.str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
182
196
|
"""
|
@@ -203,6 +217,20 @@ class SshKey(pulumi.CustomResource):
|
|
203
217
|
|
204
218
|
## Import
|
205
219
|
|
220
|
+
In Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:
|
221
|
+
|
222
|
+
terraform
|
223
|
+
|
224
|
+
import {
|
225
|
+
|
226
|
+
to = hcloud_ssh_key.main
|
227
|
+
|
228
|
+
id = "$SSH_KEY_ID"
|
229
|
+
|
230
|
+
}
|
231
|
+
|
232
|
+
The `pulumi import` command can be used, for example:
|
233
|
+
|
206
234
|
```sh
|
207
235
|
$ pulumi import hcloud:index/sshKey:SshKey example "$SSH_KEY_ID"
|
208
236
|
```
|
@@ -262,7 +290,7 @@ class SshKey(pulumi.CustomResource):
|
|
262
290
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
263
291
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
264
292
|
:param pulumi.Input[_builtins.str] fingerprint: Fingerprint of the SSH public key.
|
265
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud
|
293
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
266
294
|
:param pulumi.Input[_builtins.str] name: Name of the SSH Key.
|
267
295
|
:param pulumi.Input[_builtins.str] public_key: Public key of the SSH Key pair. If this is a file, it can be read using the `file` interpolation function.
|
268
296
|
"""
|
@@ -288,7 +316,7 @@ class SshKey(pulumi.CustomResource):
|
|
288
316
|
@pulumi.getter
|
289
317
|
def labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
290
318
|
"""
|
291
|
-
User-defined [labels](https://docs.hetzner.cloud
|
319
|
+
User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource.
|
292
320
|
"""
|
293
321
|
return pulumi.get(self, "labels")
|
294
322
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/firewall_attachment.py
RENAMED
File without changes
|
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/floating_ip_assignment.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_load_balancer_type.py
RENAMED
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/get_load_balancer_types.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/load_balancer_network.py
RENAMED
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/load_balancer_service.py
RENAMED
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/load_balancer_target.py
RENAMED
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/managed_certificate.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud/uploaded_certificate.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud.egg-info/dependency_links.txt
RENAMED
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud.egg-info/requires.txt
RENAMED
File without changes
|
{pulumi_hcloud-1.24.0a1753509442 → pulumi_hcloud-1.25.0}/pulumi_hcloud.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|