pulumi-hcloud 1.23.0a1743487182__py3-none-any.whl → 1.23.0a1744183178__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_hcloud/__init__.py +1 -0
- pulumi_hcloud/_inputs.py +213 -212
- pulumi_hcloud/certificate.py +71 -70
- pulumi_hcloud/config/__init__.py +1 -0
- pulumi_hcloud/config/__init__.pyi +1 -0
- pulumi_hcloud/config/vars.py +1 -0
- pulumi_hcloud/firewall.py +29 -28
- pulumi_hcloud/firewall_attachment.py +43 -42
- pulumi_hcloud/floating_ip.py +113 -112
- pulumi_hcloud/floating_ip_assignment.py +29 -28
- pulumi_hcloud/get_certificate.py +24 -23
- pulumi_hcloud/get_certificates.py +7 -6
- pulumi_hcloud/get_datacenter.py +15 -14
- pulumi_hcloud/get_datacenters.py +5 -4
- pulumi_hcloud/get_firewall.py +26 -25
- pulumi_hcloud/get_firewalls.py +12 -11
- pulumi_hcloud/get_floating_ip.py +31 -30
- pulumi_hcloud/get_floating_ips.py +7 -6
- pulumi_hcloud/get_image.py +48 -47
- pulumi_hcloud/get_images.py +27 -26
- pulumi_hcloud/get_load_balancer.py +25 -24
- pulumi_hcloud/get_load_balancer_type.py +16 -15
- pulumi_hcloud/get_load_balancer_types.py +2 -1
- pulumi_hcloud/get_load_balancers.py +7 -6
- pulumi_hcloud/get_location.py +17 -16
- pulumi_hcloud/get_locations.py +5 -4
- pulumi_hcloud/get_network.py +29 -28
- pulumi_hcloud/get_networks.py +7 -6
- pulumi_hcloud/get_placement_group.py +32 -31
- pulumi_hcloud/get_placement_groups.py +12 -11
- pulumi_hcloud/get_primary_ip.py +33 -32
- pulumi_hcloud/get_primary_ips.py +7 -6
- pulumi_hcloud/get_server.py +46 -45
- pulumi_hcloud/get_server_type.py +22 -21
- pulumi_hcloud/get_server_types.py +5 -4
- pulumi_hcloud/get_servers.py +12 -11
- pulumi_hcloud/get_ssh_key.py +28 -27
- pulumi_hcloud/get_ssh_keys.py +11 -10
- pulumi_hcloud/get_volume.py +38 -37
- pulumi_hcloud/get_volumes.py +12 -11
- pulumi_hcloud/load_balancer.py +113 -112
- pulumi_hcloud/load_balancer_network.py +71 -70
- pulumi_hcloud/load_balancer_service.py +71 -70
- pulumi_hcloud/load_balancer_target.py +85 -84
- pulumi_hcloud/managed_certificate.py +83 -82
- pulumi_hcloud/network.py +71 -70
- pulumi_hcloud/network_route.py +43 -42
- pulumi_hcloud/network_subnet.py +76 -75
- pulumi_hcloud/outputs.py +574 -573
- pulumi_hcloud/placement_group.py +48 -47
- pulumi_hcloud/primary_ip.py +127 -126
- pulumi_hcloud/provider.py +33 -32
- pulumi_hcloud/pulumi-plugin.json +1 -1
- pulumi_hcloud/rdns.py +85 -84
- pulumi_hcloud/server.py +305 -304
- pulumi_hcloud/server_network.py +76 -75
- pulumi_hcloud/snapshot.py +43 -42
- pulumi_hcloud/ssh_key.py +50 -49
- pulumi_hcloud/uploaded_certificate.py +97 -96
- pulumi_hcloud/volume.py +120 -119
- pulumi_hcloud/volume_attachment.py +43 -42
- {pulumi_hcloud-1.23.0a1743487182.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/METADATA +1 -1
- pulumi_hcloud-1.23.0a1744183178.dist-info/RECORD +67 -0
- pulumi_hcloud-1.23.0a1743487182.dist-info/RECORD +0 -67
- {pulumi_hcloud-1.23.0a1743487182.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.23.0a1743487182.dist-info → pulumi_hcloud-1.23.0a1744183178.dist-info}/top_level.txt +0 -0
pulumi_hcloud/get_firewalls.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -51,7 +52,7 @@ class GetFirewallsResult:
|
|
51
52
|
|
52
53
|
@property
|
53
54
|
@pulumi.getter
|
54
|
-
def id(self) -> str:
|
55
|
+
def id(self) -> builtins.str:
|
55
56
|
"""
|
56
57
|
The provider-assigned unique ID for this managed resource.
|
57
58
|
"""
|
@@ -59,12 +60,12 @@ class GetFirewallsResult:
|
|
59
60
|
|
60
61
|
@property
|
61
62
|
@pulumi.getter(name="mostRecent")
|
62
|
-
def most_recent(self) -> Optional[bool]:
|
63
|
+
def most_recent(self) -> Optional[builtins.bool]:
|
63
64
|
return pulumi.get(self, "most_recent")
|
64
65
|
|
65
66
|
@property
|
66
67
|
@pulumi.getter(name="withSelector")
|
67
|
-
def with_selector(self) -> Optional[str]:
|
68
|
+
def with_selector(self) -> Optional[builtins.str]:
|
68
69
|
return pulumi.get(self, "with_selector")
|
69
70
|
|
70
71
|
|
@@ -80,8 +81,8 @@ class AwaitableGetFirewallsResult(GetFirewallsResult):
|
|
80
81
|
with_selector=self.with_selector)
|
81
82
|
|
82
83
|
|
83
|
-
def get_firewalls(most_recent: Optional[bool] = None,
|
84
|
-
with_selector: Optional[str] = None,
|
84
|
+
def get_firewalls(most_recent: Optional[builtins.bool] = None,
|
85
|
+
with_selector: Optional[builtins.str] = None,
|
85
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFirewallsResult:
|
86
87
|
"""
|
87
88
|
Provides details about multiple Hetzner Cloud Firewall.
|
@@ -96,8 +97,8 @@ def get_firewalls(most_recent: Optional[bool] = None,
|
|
96
97
|
```
|
97
98
|
|
98
99
|
|
99
|
-
:param bool most_recent: Sorts list by date.
|
100
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
100
|
+
:param builtins.bool most_recent: Sorts list by date.
|
101
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
101
102
|
"""
|
102
103
|
__args__ = dict()
|
103
104
|
__args__['mostRecent'] = most_recent
|
@@ -110,8 +111,8 @@ def get_firewalls(most_recent: Optional[bool] = None,
|
|
110
111
|
id=pulumi.get(__ret__, 'id'),
|
111
112
|
most_recent=pulumi.get(__ret__, 'most_recent'),
|
112
113
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
113
|
-
def get_firewalls_output(most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
114
|
-
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
114
|
+
def get_firewalls_output(most_recent: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
115
|
+
with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
115
116
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFirewallsResult]:
|
116
117
|
"""
|
117
118
|
Provides details about multiple Hetzner Cloud Firewall.
|
@@ -126,8 +127,8 @@ def get_firewalls_output(most_recent: Optional[pulumi.Input[Optional[bool]]] = N
|
|
126
127
|
```
|
127
128
|
|
128
129
|
|
129
|
-
:param bool most_recent: Sorts list by date.
|
130
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
130
|
+
:param builtins.bool most_recent: Sorts list by date.
|
131
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
131
132
|
"""
|
132
133
|
__args__ = dict()
|
133
134
|
__args__['mostRecent'] = most_recent
|
pulumi_hcloud/get_floating_ip.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -66,7 +67,7 @@ class GetFloatingIpResult:
|
|
66
67
|
|
67
68
|
@property
|
68
69
|
@pulumi.getter(name="deleteProtection")
|
69
|
-
def delete_protection(self) -> bool:
|
70
|
+
def delete_protection(self) -> builtins.bool:
|
70
71
|
"""
|
71
72
|
(bool) Whether delete protection is enabled.
|
72
73
|
"""
|
@@ -74,7 +75,7 @@ class GetFloatingIpResult:
|
|
74
75
|
|
75
76
|
@property
|
76
77
|
@pulumi.getter
|
77
|
-
def description(self) -> str:
|
78
|
+
def description(self) -> builtins.str:
|
78
79
|
"""
|
79
80
|
(string) Description of the Floating IP.
|
80
81
|
"""
|
@@ -82,7 +83,7 @@ class GetFloatingIpResult:
|
|
82
83
|
|
83
84
|
@property
|
84
85
|
@pulumi.getter(name="homeLocation")
|
85
|
-
def home_location(self) -> str:
|
86
|
+
def home_location(self) -> builtins.str:
|
86
87
|
"""
|
87
88
|
(string) Home location.
|
88
89
|
"""
|
@@ -90,7 +91,7 @@ class GetFloatingIpResult:
|
|
90
91
|
|
91
92
|
@property
|
92
93
|
@pulumi.getter
|
93
|
-
def id(self) -> int:
|
94
|
+
def id(self) -> builtins.int:
|
94
95
|
"""
|
95
96
|
(int) Unique ID of the Floating IP.
|
96
97
|
"""
|
@@ -98,7 +99,7 @@ class GetFloatingIpResult:
|
|
98
99
|
|
99
100
|
@property
|
100
101
|
@pulumi.getter(name="ipAddress")
|
101
|
-
def ip_address(self) -> str:
|
102
|
+
def ip_address(self) -> builtins.str:
|
102
103
|
"""
|
103
104
|
(string) IP Address of the Floating IP.
|
104
105
|
"""
|
@@ -106,7 +107,7 @@ class GetFloatingIpResult:
|
|
106
107
|
|
107
108
|
@property
|
108
109
|
@pulumi.getter(name="ipNetwork")
|
109
|
-
def ip_network(self) -> str:
|
110
|
+
def ip_network(self) -> builtins.str:
|
110
111
|
"""
|
111
112
|
(string) IPv6 subnet. (Only set if `type` is `ipv6`)
|
112
113
|
"""
|
@@ -114,7 +115,7 @@ class GetFloatingIpResult:
|
|
114
115
|
|
115
116
|
@property
|
116
117
|
@pulumi.getter
|
117
|
-
def labels(self) -> Mapping[str, str]:
|
118
|
+
def labels(self) -> Mapping[str, builtins.str]:
|
118
119
|
"""
|
119
120
|
(map) User-defined labels (key-value pairs).
|
120
121
|
"""
|
@@ -122,7 +123,7 @@ class GetFloatingIpResult:
|
|
122
123
|
|
123
124
|
@property
|
124
125
|
@pulumi.getter
|
125
|
-
def name(self) -> Optional[str]:
|
126
|
+
def name(self) -> Optional[builtins.str]:
|
126
127
|
"""
|
127
128
|
(string) Name of the Floating IP.
|
128
129
|
"""
|
@@ -131,12 +132,12 @@ class GetFloatingIpResult:
|
|
131
132
|
@property
|
132
133
|
@pulumi.getter
|
133
134
|
@_utilities.deprecated("""Please use the with_selector property instead.""")
|
134
|
-
def selector(self) -> Optional[str]:
|
135
|
+
def selector(self) -> Optional[builtins.str]:
|
135
136
|
return pulumi.get(self, "selector")
|
136
137
|
|
137
138
|
@property
|
138
139
|
@pulumi.getter(name="serverId")
|
139
|
-
def server_id(self) -> int:
|
140
|
+
def server_id(self) -> builtins.int:
|
140
141
|
"""
|
141
142
|
(int) Server to assign the Floating IP is assigned to.
|
142
143
|
"""
|
@@ -144,7 +145,7 @@ class GetFloatingIpResult:
|
|
144
145
|
|
145
146
|
@property
|
146
147
|
@pulumi.getter
|
147
|
-
def type(self) -> str:
|
148
|
+
def type(self) -> builtins.str:
|
148
149
|
"""
|
149
150
|
(string) Type of the Floating IP.
|
150
151
|
"""
|
@@ -152,7 +153,7 @@ class GetFloatingIpResult:
|
|
152
153
|
|
153
154
|
@property
|
154
155
|
@pulumi.getter(name="withSelector")
|
155
|
-
def with_selector(self) -> Optional[str]:
|
156
|
+
def with_selector(self) -> Optional[builtins.str]:
|
156
157
|
return pulumi.get(self, "with_selector")
|
157
158
|
|
158
159
|
|
@@ -176,11 +177,11 @@ class AwaitableGetFloatingIpResult(GetFloatingIpResult):
|
|
176
177
|
with_selector=self.with_selector)
|
177
178
|
|
178
179
|
|
179
|
-
def get_floating_ip(id: Optional[int] = None,
|
180
|
-
ip_address: Optional[str] = None,
|
181
|
-
name: Optional[str] = None,
|
182
|
-
selector: Optional[str] = None,
|
183
|
-
with_selector: Optional[str] = None,
|
180
|
+
def get_floating_ip(id: Optional[builtins.int] = None,
|
181
|
+
ip_address: Optional[builtins.str] = None,
|
182
|
+
name: Optional[builtins.str] = None,
|
183
|
+
selector: Optional[builtins.str] = None,
|
184
|
+
with_selector: Optional[builtins.str] = None,
|
184
185
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFloatingIpResult:
|
185
186
|
"""
|
186
187
|
Provides details about a Hetzner Cloud Floating IP.
|
@@ -210,10 +211,10 @@ def get_floating_ip(id: Optional[int] = None,
|
|
210
211
|
```
|
211
212
|
|
212
213
|
|
213
|
-
:param int id: ID of the Floating IP.
|
214
|
-
:param str ip_address: IP address of the Floating IP.
|
215
|
-
:param str name: Name of the Floating IP.
|
216
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
214
|
+
:param builtins.int id: ID of the Floating IP.
|
215
|
+
:param builtins.str ip_address: IP address of the Floating IP.
|
216
|
+
:param builtins.str name: Name of the Floating IP.
|
217
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
217
218
|
"""
|
218
219
|
__args__ = dict()
|
219
220
|
__args__['id'] = id
|
@@ -237,11 +238,11 @@ def get_floating_ip(id: Optional[int] = None,
|
|
237
238
|
server_id=pulumi.get(__ret__, 'server_id'),
|
238
239
|
type=pulumi.get(__ret__, 'type'),
|
239
240
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
240
|
-
def get_floating_ip_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
241
|
-
ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
242
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
243
|
-
selector: Optional[pulumi.Input[Optional[str]]] = None,
|
244
|
-
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
241
|
+
def get_floating_ip_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
242
|
+
ip_address: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
243
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
244
|
+
selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
245
|
+
with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
245
246
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFloatingIpResult]:
|
246
247
|
"""
|
247
248
|
Provides details about a Hetzner Cloud Floating IP.
|
@@ -271,10 +272,10 @@ def get_floating_ip_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
271
272
|
```
|
272
273
|
|
273
274
|
|
274
|
-
:param int id: ID of the Floating IP.
|
275
|
-
:param str ip_address: IP address of the Floating IP.
|
276
|
-
:param str name: Name of the Floating IP.
|
277
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
275
|
+
:param builtins.int id: ID of the Floating IP.
|
276
|
+
:param builtins.str ip_address: IP address of the Floating IP.
|
277
|
+
:param builtins.str name: Name of the Floating IP.
|
278
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
278
279
|
"""
|
279
280
|
__args__ = dict()
|
280
281
|
__args__['id'] = id
|
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -48,7 +49,7 @@ class GetFloatingIpsResult:
|
|
48
49
|
|
49
50
|
@property
|
50
51
|
@pulumi.getter
|
51
|
-
def id(self) -> str:
|
52
|
+
def id(self) -> builtins.str:
|
52
53
|
"""
|
53
54
|
The provider-assigned unique ID for this managed resource.
|
54
55
|
"""
|
@@ -56,7 +57,7 @@ class GetFloatingIpsResult:
|
|
56
57
|
|
57
58
|
@property
|
58
59
|
@pulumi.getter(name="withSelector")
|
59
|
-
def with_selector(self) -> Optional[str]:
|
60
|
+
def with_selector(self) -> Optional[builtins.str]:
|
60
61
|
return pulumi.get(self, "with_selector")
|
61
62
|
|
62
63
|
|
@@ -71,7 +72,7 @@ class AwaitableGetFloatingIpsResult(GetFloatingIpsResult):
|
|
71
72
|
with_selector=self.with_selector)
|
72
73
|
|
73
74
|
|
74
|
-
def get_floating_ips(with_selector: Optional[str] = None,
|
75
|
+
def get_floating_ips(with_selector: Optional[builtins.str] = None,
|
75
76
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFloatingIpsResult:
|
76
77
|
"""
|
77
78
|
Provides details about multiple Hetzner Cloud Floating IPs.
|
@@ -86,7 +87,7 @@ def get_floating_ips(with_selector: Optional[str] = None,
|
|
86
87
|
```
|
87
88
|
|
88
89
|
|
89
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
90
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
90
91
|
"""
|
91
92
|
__args__ = dict()
|
92
93
|
__args__['withSelector'] = with_selector
|
@@ -97,7 +98,7 @@ def get_floating_ips(with_selector: Optional[str] = None,
|
|
97
98
|
floating_ips=pulumi.get(__ret__, 'floating_ips'),
|
98
99
|
id=pulumi.get(__ret__, 'id'),
|
99
100
|
with_selector=pulumi.get(__ret__, 'with_selector'))
|
100
|
-
def get_floating_ips_output(with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
101
|
+
def get_floating_ips_output(with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
101
102
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFloatingIpsResult]:
|
102
103
|
"""
|
103
104
|
Provides details about multiple Hetzner Cloud Floating IPs.
|
@@ -112,7 +113,7 @@ def get_floating_ips_output(with_selector: Optional[pulumi.Input[Optional[str]]]
|
|
112
113
|
```
|
113
114
|
|
114
115
|
|
115
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
116
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
116
117
|
"""
|
117
118
|
__args__ = dict()
|
118
119
|
__args__['withSelector'] = with_selector
|
pulumi_hcloud/get_image.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -81,7 +82,7 @@ class GetImageResult:
|
|
81
82
|
|
82
83
|
@property
|
83
84
|
@pulumi.getter
|
84
|
-
def architecture(self) -> str:
|
85
|
+
def architecture(self) -> builtins.str:
|
85
86
|
"""
|
86
87
|
(string) Architecture of the Image.
|
87
88
|
"""
|
@@ -89,7 +90,7 @@ class GetImageResult:
|
|
89
90
|
|
90
91
|
@property
|
91
92
|
@pulumi.getter
|
92
|
-
def created(self) -> str:
|
93
|
+
def created(self) -> builtins.str:
|
93
94
|
"""
|
94
95
|
(string) Date when the Image was created (in ISO-8601 format).
|
95
96
|
"""
|
@@ -97,7 +98,7 @@ class GetImageResult:
|
|
97
98
|
|
98
99
|
@property
|
99
100
|
@pulumi.getter
|
100
|
-
def deprecated(self) -> str:
|
101
|
+
def deprecated(self) -> builtins.str:
|
101
102
|
"""
|
102
103
|
(string) Point in time when the image is considered to be deprecated (in ISO-8601 format).
|
103
104
|
"""
|
@@ -105,7 +106,7 @@ class GetImageResult:
|
|
105
106
|
|
106
107
|
@property
|
107
108
|
@pulumi.getter
|
108
|
-
def description(self) -> str:
|
109
|
+
def description(self) -> builtins.str:
|
109
110
|
"""
|
110
111
|
(string) Description of the Image.
|
111
112
|
"""
|
@@ -113,7 +114,7 @@ class GetImageResult:
|
|
113
114
|
|
114
115
|
@property
|
115
116
|
@pulumi.getter
|
116
|
-
def id(self) -> int:
|
117
|
+
def id(self) -> builtins.int:
|
117
118
|
"""
|
118
119
|
(int) Unique ID of the Image.
|
119
120
|
"""
|
@@ -121,22 +122,22 @@ class GetImageResult:
|
|
121
122
|
|
122
123
|
@property
|
123
124
|
@pulumi.getter(name="includeDeprecated")
|
124
|
-
def include_deprecated(self) -> Optional[bool]:
|
125
|
+
def include_deprecated(self) -> Optional[builtins.bool]:
|
125
126
|
return pulumi.get(self, "include_deprecated")
|
126
127
|
|
127
128
|
@property
|
128
129
|
@pulumi.getter
|
129
|
-
def labels(self) -> Mapping[str, str]:
|
130
|
+
def labels(self) -> Mapping[str, builtins.str]:
|
130
131
|
return pulumi.get(self, "labels")
|
131
132
|
|
132
133
|
@property
|
133
134
|
@pulumi.getter(name="mostRecent")
|
134
|
-
def most_recent(self) -> Optional[bool]:
|
135
|
+
def most_recent(self) -> Optional[builtins.bool]:
|
135
136
|
return pulumi.get(self, "most_recent")
|
136
137
|
|
137
138
|
@property
|
138
139
|
@pulumi.getter
|
139
|
-
def name(self) -> str:
|
140
|
+
def name(self) -> builtins.str:
|
140
141
|
"""
|
141
142
|
(string) Name of the Image, only present when the Image is of type `system`.
|
142
143
|
"""
|
@@ -144,7 +145,7 @@ class GetImageResult:
|
|
144
145
|
|
145
146
|
@property
|
146
147
|
@pulumi.getter(name="osFlavor")
|
147
|
-
def os_flavor(self) -> str:
|
148
|
+
def os_flavor(self) -> builtins.str:
|
148
149
|
"""
|
149
150
|
(string) Flavor of operating system contained in the image, could be `ubuntu`, `centos`, `debian`, `fedora` or `unknown`.
|
150
151
|
"""
|
@@ -152,7 +153,7 @@ class GetImageResult:
|
|
152
153
|
|
153
154
|
@property
|
154
155
|
@pulumi.getter(name="osVersion")
|
155
|
-
def os_version(self) -> str:
|
156
|
+
def os_version(self) -> builtins.str:
|
156
157
|
"""
|
157
158
|
(string) Operating system version.
|
158
159
|
"""
|
@@ -160,7 +161,7 @@ class GetImageResult:
|
|
160
161
|
|
161
162
|
@property
|
162
163
|
@pulumi.getter(name="rapidDeploy")
|
163
|
-
def rapid_deploy(self) -> bool:
|
164
|
+
def rapid_deploy(self) -> builtins.bool:
|
164
165
|
"""
|
165
166
|
(bool) Indicates that rapid deploy of the image is available.
|
166
167
|
"""
|
@@ -169,12 +170,12 @@ class GetImageResult:
|
|
169
170
|
@property
|
170
171
|
@pulumi.getter
|
171
172
|
@_utilities.deprecated("""Please use the with_selector property instead.""")
|
172
|
-
def selector(self) -> Optional[str]:
|
173
|
+
def selector(self) -> Optional[builtins.str]:
|
173
174
|
return pulumi.get(self, "selector")
|
174
175
|
|
175
176
|
@property
|
176
177
|
@pulumi.getter
|
177
|
-
def type(self) -> str:
|
178
|
+
def type(self) -> builtins.str:
|
178
179
|
"""
|
179
180
|
(string) Type of the Image, could be `system`, `backup` or `snapshot`.
|
180
181
|
"""
|
@@ -182,17 +183,17 @@ class GetImageResult:
|
|
182
183
|
|
183
184
|
@property
|
184
185
|
@pulumi.getter(name="withArchitecture")
|
185
|
-
def with_architecture(self) -> Optional[str]:
|
186
|
+
def with_architecture(self) -> Optional[builtins.str]:
|
186
187
|
return pulumi.get(self, "with_architecture")
|
187
188
|
|
188
189
|
@property
|
189
190
|
@pulumi.getter(name="withSelector")
|
190
|
-
def with_selector(self) -> Optional[str]:
|
191
|
+
def with_selector(self) -> Optional[builtins.str]:
|
191
192
|
return pulumi.get(self, "with_selector")
|
192
193
|
|
193
194
|
@property
|
194
195
|
@pulumi.getter(name="withStatuses")
|
195
|
-
def with_statuses(self) -> Optional[Sequence[str]]:
|
196
|
+
def with_statuses(self) -> Optional[Sequence[builtins.str]]:
|
196
197
|
return pulumi.get(self, "with_statuses")
|
197
198
|
|
198
199
|
|
@@ -221,14 +222,14 @@ class AwaitableGetImageResult(GetImageResult):
|
|
221
222
|
with_statuses=self.with_statuses)
|
222
223
|
|
223
224
|
|
224
|
-
def get_image(id: Optional[int] = None,
|
225
|
-
include_deprecated: Optional[bool] = None,
|
226
|
-
most_recent: Optional[bool] = None,
|
227
|
-
name: Optional[str] = None,
|
228
|
-
selector: Optional[str] = None,
|
229
|
-
with_architecture: Optional[str] = None,
|
230
|
-
with_selector: Optional[str] = None,
|
231
|
-
with_statuses: Optional[Sequence[str]] = None,
|
225
|
+
def get_image(id: Optional[builtins.int] = None,
|
226
|
+
include_deprecated: Optional[builtins.bool] = None,
|
227
|
+
most_recent: Optional[builtins.bool] = None,
|
228
|
+
name: Optional[builtins.str] = None,
|
229
|
+
selector: Optional[builtins.str] = None,
|
230
|
+
with_architecture: Optional[builtins.str] = None,
|
231
|
+
with_selector: Optional[builtins.str] = None,
|
232
|
+
with_statuses: Optional[Sequence[builtins.str]] = None,
|
232
233
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageResult:
|
233
234
|
"""
|
234
235
|
## Example Usage
|
@@ -245,13 +246,13 @@ def get_image(id: Optional[int] = None,
|
|
245
246
|
```
|
246
247
|
|
247
248
|
|
248
|
-
:param int id: ID of the Image.
|
249
|
-
:param bool include_deprecated: Also return the image if it is marked as deprecated.
|
250
|
-
:param bool most_recent: If more than one result is returned, use the most recent Image.
|
251
|
-
:param str name: Name of the Image.
|
252
|
-
:param str with_architecture: Select only images with this architecture, could be `x86` (default) or `arm`.
|
253
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
254
|
-
:param Sequence[str] with_statuses: Select only images with the specified status, could contain `creating` or `available`.
|
249
|
+
:param builtins.int id: ID of the Image.
|
250
|
+
:param builtins.bool include_deprecated: Also return the image if it is marked as deprecated.
|
251
|
+
:param builtins.bool most_recent: If more than one result is returned, use the most recent Image.
|
252
|
+
:param builtins.str name: Name of the Image.
|
253
|
+
:param builtins.str with_architecture: Select only images with this architecture, could be `x86` (default) or `arm`.
|
254
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
255
|
+
:param Sequence[builtins.str] with_statuses: Select only images with the specified status, could contain `creating` or `available`.
|
255
256
|
"""
|
256
257
|
__args__ = dict()
|
257
258
|
__args__['id'] = id
|
@@ -283,14 +284,14 @@ def get_image(id: Optional[int] = None,
|
|
283
284
|
with_architecture=pulumi.get(__ret__, 'with_architecture'),
|
284
285
|
with_selector=pulumi.get(__ret__, 'with_selector'),
|
285
286
|
with_statuses=pulumi.get(__ret__, 'with_statuses'))
|
286
|
-
def get_image_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
287
|
-
include_deprecated: Optional[pulumi.Input[Optional[bool]]] = None,
|
288
|
-
most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
289
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
290
|
-
selector: Optional[pulumi.Input[Optional[str]]] = None,
|
291
|
-
with_architecture: Optional[pulumi.Input[Optional[str]]] = None,
|
292
|
-
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
293
|
-
with_statuses: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
287
|
+
def get_image_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
288
|
+
include_deprecated: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
289
|
+
most_recent: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
290
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
291
|
+
selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
292
|
+
with_architecture: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
293
|
+
with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
294
|
+
with_statuses: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
294
295
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImageResult]:
|
295
296
|
"""
|
296
297
|
## Example Usage
|
@@ -307,13 +308,13 @@ def get_image_output(id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
307
308
|
```
|
308
309
|
|
309
310
|
|
310
|
-
:param int id: ID of the Image.
|
311
|
-
:param bool include_deprecated: Also return the image if it is marked as deprecated.
|
312
|
-
:param bool most_recent: If more than one result is returned, use the most recent Image.
|
313
|
-
:param str name: Name of the Image.
|
314
|
-
:param str with_architecture: Select only images with this architecture, could be `x86` (default) or `arm`.
|
315
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
316
|
-
:param Sequence[str] with_statuses: Select only images with the specified status, could contain `creating` or `available`.
|
311
|
+
:param builtins.int id: ID of the Image.
|
312
|
+
:param builtins.bool include_deprecated: Also return the image if it is marked as deprecated.
|
313
|
+
:param builtins.bool most_recent: If more than one result is returned, use the most recent Image.
|
314
|
+
:param builtins.str name: Name of the Image.
|
315
|
+
:param builtins.str with_architecture: Select only images with this architecture, could be `x86` (default) or `arm`.
|
316
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
317
|
+
:param Sequence[builtins.str] with_statuses: Select only images with the specified status, could contain `creating` or `available`.
|
317
318
|
"""
|
318
319
|
__args__ = dict()
|
319
320
|
__args__['id'] = id
|
pulumi_hcloud/get_images.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -52,7 +53,7 @@ class GetImagesResult:
|
|
52
53
|
|
53
54
|
@property
|
54
55
|
@pulumi.getter
|
55
|
-
def id(self) -> str:
|
56
|
+
def id(self) -> builtins.str:
|
56
57
|
"""
|
57
58
|
The provider-assigned unique ID for this managed resource.
|
58
59
|
"""
|
@@ -68,27 +69,27 @@ class GetImagesResult:
|
|
68
69
|
|
69
70
|
@property
|
70
71
|
@pulumi.getter(name="includeDeprecated")
|
71
|
-
def include_deprecated(self) -> Optional[bool]:
|
72
|
+
def include_deprecated(self) -> Optional[builtins.bool]:
|
72
73
|
return pulumi.get(self, "include_deprecated")
|
73
74
|
|
74
75
|
@property
|
75
76
|
@pulumi.getter(name="mostRecent")
|
76
|
-
def most_recent(self) -> Optional[bool]:
|
77
|
+
def most_recent(self) -> Optional[builtins.bool]:
|
77
78
|
return pulumi.get(self, "most_recent")
|
78
79
|
|
79
80
|
@property
|
80
81
|
@pulumi.getter(name="withArchitectures")
|
81
|
-
def with_architectures(self) -> Optional[Sequence[str]]:
|
82
|
+
def with_architectures(self) -> Optional[Sequence[builtins.str]]:
|
82
83
|
return pulumi.get(self, "with_architectures")
|
83
84
|
|
84
85
|
@property
|
85
86
|
@pulumi.getter(name="withSelector")
|
86
|
-
def with_selector(self) -> Optional[str]:
|
87
|
+
def with_selector(self) -> Optional[builtins.str]:
|
87
88
|
return pulumi.get(self, "with_selector")
|
88
89
|
|
89
90
|
@property
|
90
91
|
@pulumi.getter(name="withStatuses")
|
91
|
-
def with_statuses(self) -> Optional[Sequence[str]]:
|
92
|
+
def with_statuses(self) -> Optional[Sequence[builtins.str]]:
|
92
93
|
return pulumi.get(self, "with_statuses")
|
93
94
|
|
94
95
|
|
@@ -107,11 +108,11 @@ class AwaitableGetImagesResult(GetImagesResult):
|
|
107
108
|
with_statuses=self.with_statuses)
|
108
109
|
|
109
110
|
|
110
|
-
def get_images(include_deprecated: Optional[bool] = None,
|
111
|
-
most_recent: Optional[bool] = None,
|
112
|
-
with_architectures: Optional[Sequence[str]] = None,
|
113
|
-
with_selector: Optional[str] = None,
|
114
|
-
with_statuses: Optional[Sequence[str]] = None,
|
111
|
+
def get_images(include_deprecated: Optional[builtins.bool] = None,
|
112
|
+
most_recent: Optional[builtins.bool] = None,
|
113
|
+
with_architectures: Optional[Sequence[builtins.str]] = None,
|
114
|
+
with_selector: Optional[builtins.str] = None,
|
115
|
+
with_statuses: Optional[Sequence[builtins.str]] = None,
|
115
116
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImagesResult:
|
116
117
|
"""
|
117
118
|
Provides details about multiple Hetzner Cloud Images.
|
@@ -127,11 +128,11 @@ def get_images(include_deprecated: Optional[bool] = None,
|
|
127
128
|
```
|
128
129
|
|
129
130
|
|
130
|
-
:param bool include_deprecated: Also list images that are marked as deprecated.
|
131
|
-
:param bool most_recent: Sorts list by date.
|
132
|
-
:param Sequence[str] with_architectures: List only images with this architecture, could contain `x86` or `arm`.
|
133
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
134
|
-
:param Sequence[str] with_statuses: List only images with the specified status, could contain `creating` or `available`.
|
131
|
+
:param builtins.bool include_deprecated: Also list images that are marked as deprecated.
|
132
|
+
:param builtins.bool most_recent: Sorts list by date.
|
133
|
+
:param Sequence[builtins.str] with_architectures: List only images with this architecture, could contain `x86` or `arm`.
|
134
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
135
|
+
:param Sequence[builtins.str] with_statuses: List only images with the specified status, could contain `creating` or `available`.
|
135
136
|
"""
|
136
137
|
__args__ = dict()
|
137
138
|
__args__['includeDeprecated'] = include_deprecated
|
@@ -150,11 +151,11 @@ def get_images(include_deprecated: Optional[bool] = None,
|
|
150
151
|
with_architectures=pulumi.get(__ret__, 'with_architectures'),
|
151
152
|
with_selector=pulumi.get(__ret__, 'with_selector'),
|
152
153
|
with_statuses=pulumi.get(__ret__, 'with_statuses'))
|
153
|
-
def get_images_output(include_deprecated: Optional[pulumi.Input[Optional[bool]]] = None,
|
154
|
-
most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
|
155
|
-
with_architectures: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
156
|
-
with_selector: Optional[pulumi.Input[Optional[str]]] = None,
|
157
|
-
with_statuses: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
154
|
+
def get_images_output(include_deprecated: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
155
|
+
most_recent: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
156
|
+
with_architectures: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
157
|
+
with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
158
|
+
with_statuses: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
158
159
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetImagesResult]:
|
159
160
|
"""
|
160
161
|
Provides details about multiple Hetzner Cloud Images.
|
@@ -170,11 +171,11 @@ def get_images_output(include_deprecated: Optional[pulumi.Input[Optional[bool]]]
|
|
170
171
|
```
|
171
172
|
|
172
173
|
|
173
|
-
:param bool include_deprecated: Also list images that are marked as deprecated.
|
174
|
-
:param bool most_recent: Sorts list by date.
|
175
|
-
:param Sequence[str] with_architectures: List only images with this architecture, could contain `x86` or `arm`.
|
176
|
-
:param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
177
|
-
:param Sequence[str] with_statuses: List only images with the specified status, could contain `creating` or `available`.
|
174
|
+
:param builtins.bool include_deprecated: Also list images that are marked as deprecated.
|
175
|
+
:param builtins.bool most_recent: Sorts list by date.
|
176
|
+
:param Sequence[builtins.str] with_architectures: List only images with this architecture, could contain `x86` or `arm`.
|
177
|
+
:param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
|
178
|
+
:param Sequence[builtins.str] with_statuses: List only images with the specified status, could contain `creating` or `available`.
|
178
179
|
"""
|
179
180
|
__args__ = dict()
|
180
181
|
__args__['includeDeprecated'] = include_deprecated
|