pulumi-hcloud 1.23.0a1743573250__py3-none-any.whl → 1.23.0a1744264383__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.
Files changed (66) hide show
  1. pulumi_hcloud/__init__.py +1 -0
  2. pulumi_hcloud/_inputs.py +213 -212
  3. pulumi_hcloud/certificate.py +71 -70
  4. pulumi_hcloud/config/__init__.py +1 -0
  5. pulumi_hcloud/config/__init__.pyi +1 -0
  6. pulumi_hcloud/config/vars.py +1 -0
  7. pulumi_hcloud/firewall.py +29 -28
  8. pulumi_hcloud/firewall_attachment.py +43 -42
  9. pulumi_hcloud/floating_ip.py +113 -112
  10. pulumi_hcloud/floating_ip_assignment.py +29 -28
  11. pulumi_hcloud/get_certificate.py +24 -23
  12. pulumi_hcloud/get_certificates.py +7 -6
  13. pulumi_hcloud/get_datacenter.py +15 -14
  14. pulumi_hcloud/get_datacenters.py +5 -4
  15. pulumi_hcloud/get_firewall.py +26 -25
  16. pulumi_hcloud/get_firewalls.py +12 -11
  17. pulumi_hcloud/get_floating_ip.py +31 -30
  18. pulumi_hcloud/get_floating_ips.py +7 -6
  19. pulumi_hcloud/get_image.py +48 -47
  20. pulumi_hcloud/get_images.py +27 -26
  21. pulumi_hcloud/get_load_balancer.py +25 -24
  22. pulumi_hcloud/get_load_balancer_type.py +16 -15
  23. pulumi_hcloud/get_load_balancer_types.py +2 -1
  24. pulumi_hcloud/get_load_balancers.py +7 -6
  25. pulumi_hcloud/get_location.py +17 -16
  26. pulumi_hcloud/get_locations.py +5 -4
  27. pulumi_hcloud/get_network.py +29 -28
  28. pulumi_hcloud/get_networks.py +7 -6
  29. pulumi_hcloud/get_placement_group.py +32 -31
  30. pulumi_hcloud/get_placement_groups.py +12 -11
  31. pulumi_hcloud/get_primary_ip.py +33 -32
  32. pulumi_hcloud/get_primary_ips.py +7 -6
  33. pulumi_hcloud/get_server.py +46 -45
  34. pulumi_hcloud/get_server_type.py +22 -21
  35. pulumi_hcloud/get_server_types.py +5 -4
  36. pulumi_hcloud/get_servers.py +12 -11
  37. pulumi_hcloud/get_ssh_key.py +28 -27
  38. pulumi_hcloud/get_ssh_keys.py +11 -10
  39. pulumi_hcloud/get_volume.py +38 -37
  40. pulumi_hcloud/get_volumes.py +12 -11
  41. pulumi_hcloud/load_balancer.py +113 -112
  42. pulumi_hcloud/load_balancer_network.py +71 -70
  43. pulumi_hcloud/load_balancer_service.py +71 -70
  44. pulumi_hcloud/load_balancer_target.py +85 -84
  45. pulumi_hcloud/managed_certificate.py +83 -82
  46. pulumi_hcloud/network.py +71 -70
  47. pulumi_hcloud/network_route.py +43 -42
  48. pulumi_hcloud/network_subnet.py +76 -75
  49. pulumi_hcloud/outputs.py +574 -573
  50. pulumi_hcloud/placement_group.py +48 -47
  51. pulumi_hcloud/primary_ip.py +127 -126
  52. pulumi_hcloud/provider.py +33 -32
  53. pulumi_hcloud/pulumi-plugin.json +1 -1
  54. pulumi_hcloud/rdns.py +85 -84
  55. pulumi_hcloud/server.py +305 -304
  56. pulumi_hcloud/server_network.py +76 -75
  57. pulumi_hcloud/snapshot.py +43 -42
  58. pulumi_hcloud/ssh_key.py +50 -49
  59. pulumi_hcloud/uploaded_certificate.py +97 -96
  60. pulumi_hcloud/volume.py +120 -119
  61. pulumi_hcloud/volume_attachment.py +43 -42
  62. {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744264383.dist-info}/METADATA +1 -1
  63. pulumi_hcloud-1.23.0a1744264383.dist-info/RECORD +67 -0
  64. pulumi_hcloud-1.23.0a1743573250.dist-info/RECORD +0 -67
  65. {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744264383.dist-info}/WHEEL +0 -0
  66. {pulumi_hcloud-1.23.0a1743573250.dist-info → pulumi_hcloud-1.23.0a1744264383.dist-info}/top_level.txt +0 -0
@@ -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
@@ -84,7 +85,7 @@ class GetLoadBalancerResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter(name="deleteProtection")
87
- def delete_protection(self) -> bool:
88
+ def delete_protection(self) -> builtins.bool:
88
89
  """
89
90
  (bool) Whether delete protection is enabled.
90
91
  """
@@ -92,7 +93,7 @@ class GetLoadBalancerResult:
92
93
 
93
94
  @property
94
95
  @pulumi.getter
95
- def id(self) -> int:
96
+ def id(self) -> builtins.int:
96
97
  """
97
98
  (int) Unique ID of the Load Balancer.
98
99
  """
@@ -100,7 +101,7 @@ class GetLoadBalancerResult:
100
101
 
101
102
  @property
102
103
  @pulumi.getter
103
- def ipv4(self) -> str:
104
+ def ipv4(self) -> builtins.str:
104
105
  """
105
106
  (string) IPv4 Address of the Load Balancer.
106
107
  """
@@ -108,7 +109,7 @@ class GetLoadBalancerResult:
108
109
 
109
110
  @property
110
111
  @pulumi.getter
111
- def ipv6(self) -> str:
112
+ def ipv6(self) -> builtins.str:
112
113
  """
113
114
  (string) IPv4 Address of the Load Balancer.
114
115
  """
@@ -116,7 +117,7 @@ class GetLoadBalancerResult:
116
117
 
117
118
  @property
118
119
  @pulumi.getter
119
- def labels(self) -> Mapping[str, str]:
120
+ def labels(self) -> Mapping[str, builtins.str]:
120
121
  """
121
122
  (map) User-defined labels (key-value pairs) .
122
123
  """
@@ -124,7 +125,7 @@ class GetLoadBalancerResult:
124
125
 
125
126
  @property
126
127
  @pulumi.getter(name="loadBalancerType")
127
- def load_balancer_type(self) -> str:
128
+ def load_balancer_type(self) -> builtins.str:
128
129
  """
129
130
  (string) Name of the Type of the Load Balancer.
130
131
  """
@@ -132,7 +133,7 @@ class GetLoadBalancerResult:
132
133
 
133
134
  @property
134
135
  @pulumi.getter
135
- def location(self) -> str:
136
+ def location(self) -> builtins.str:
136
137
  """
137
138
  (string) Name of the location the Load Balancer is in. See the [Hetzner Docs](https://docs.hetzner.com/cloud/general/locations/#what-locations-are-there) for more details about locations.
138
139
  """
@@ -140,7 +141,7 @@ class GetLoadBalancerResult:
140
141
 
141
142
  @property
142
143
  @pulumi.getter
143
- def name(self) -> Optional[str]:
144
+ def name(self) -> Optional[builtins.str]:
144
145
  """
145
146
  (string) Name of the Load Balancer.
146
147
  """
@@ -148,7 +149,7 @@ class GetLoadBalancerResult:
148
149
 
149
150
  @property
150
151
  @pulumi.getter(name="networkId")
151
- def network_id(self) -> int:
152
+ def network_id(self) -> builtins.int:
152
153
  """
153
154
  (int) ID of the first private network that this Load Balancer is connected to.
154
155
  """
@@ -156,7 +157,7 @@ class GetLoadBalancerResult:
156
157
 
157
158
  @property
158
159
  @pulumi.getter(name="networkIp")
159
- def network_ip(self) -> str:
160
+ def network_ip(self) -> builtins.str:
160
161
  """
161
162
  (string) IP of the Load Balancer in the first private network that it is connected to.
162
163
  """
@@ -164,7 +165,7 @@ class GetLoadBalancerResult:
164
165
 
165
166
  @property
166
167
  @pulumi.getter(name="networkZone")
167
- def network_zone(self) -> str:
168
+ def network_zone(self) -> builtins.str:
168
169
  return pulumi.get(self, "network_zone")
169
170
 
170
171
  @property
@@ -185,7 +186,7 @@ class GetLoadBalancerResult:
185
186
 
186
187
  @property
187
188
  @pulumi.getter(name="withSelector")
188
- def with_selector(self) -> Optional[str]:
189
+ def with_selector(self) -> Optional[builtins.str]:
189
190
  return pulumi.get(self, "with_selector")
190
191
 
191
192
 
@@ -212,9 +213,9 @@ class AwaitableGetLoadBalancerResult(GetLoadBalancerResult):
212
213
  with_selector=self.with_selector)
213
214
 
214
215
 
215
- def get_load_balancer(id: Optional[int] = None,
216
- name: Optional[str] = None,
217
- with_selector: Optional[str] = None,
216
+ def get_load_balancer(id: Optional[builtins.int] = None,
217
+ name: Optional[builtins.str] = None,
218
+ with_selector: Optional[builtins.str] = None,
218
219
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancerResult:
219
220
  """
220
221
  Provides details about a specific Hetzner Cloud Load Balancer.
@@ -231,9 +232,9 @@ def get_load_balancer(id: Optional[int] = None,
231
232
  ```
232
233
 
233
234
 
234
- :param int id: ID of the Load Balancer.
235
- :param str name: Name of the Load Balancer.
236
- :param str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
235
+ :param builtins.int id: ID of the Load Balancer.
236
+ :param builtins.str name: Name of the Load Balancer.
237
+ :param builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
237
238
  """
238
239
  __args__ = dict()
239
240
  __args__['id'] = id
@@ -258,9 +259,9 @@ def get_load_balancer(id: Optional[int] = None,
258
259
  services=pulumi.get(__ret__, 'services'),
259
260
  targets=pulumi.get(__ret__, 'targets'),
260
261
  with_selector=pulumi.get(__ret__, 'with_selector'))
261
- def get_load_balancer_output(id: Optional[pulumi.Input[Optional[int]]] = None,
262
- name: Optional[pulumi.Input[Optional[str]]] = None,
263
- with_selector: Optional[pulumi.Input[Optional[str]]] = None,
262
+ def get_load_balancer_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
263
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
264
+ with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
264
265
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLoadBalancerResult]:
265
266
  """
266
267
  Provides details about a specific Hetzner Cloud Load Balancer.
@@ -277,9 +278,9 @@ def get_load_balancer_output(id: Optional[pulumi.Input[Optional[int]]] = None,
277
278
  ```
278
279
 
279
280
 
280
- :param int id: ID of the Load Balancer.
281
- :param str name: Name of the Load Balancer.
282
- :param str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
281
+ :param builtins.int id: ID of the Load Balancer.
282
+ :param builtins.str name: Name of the Load Balancer.
283
+ :param builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
283
284
  """
284
285
  __args__ = dict()
285
286
  __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
@@ -51,7 +52,7 @@ class GetLoadBalancerTypeResult:
51
52
 
52
53
  @property
53
54
  @pulumi.getter
54
- def description(self) -> str:
55
+ def description(self) -> builtins.str:
55
56
  """
56
57
  Description of the Load Balancer Type.
57
58
  """
@@ -59,7 +60,7 @@ class GetLoadBalancerTypeResult:
59
60
 
60
61
  @property
61
62
  @pulumi.getter
62
- def id(self) -> int:
63
+ def id(self) -> builtins.int:
63
64
  """
64
65
  ID of the Load Balancer Type.
65
66
  """
@@ -67,7 +68,7 @@ class GetLoadBalancerTypeResult:
67
68
 
68
69
  @property
69
70
  @pulumi.getter(name="maxAssignedCertificates")
70
- def max_assigned_certificates(self) -> int:
71
+ def max_assigned_certificates(self) -> builtins.int:
71
72
  """
72
73
  Maximum number of certificates that can be assigned for the Load Balancer of this type.
73
74
  """
@@ -75,7 +76,7 @@ class GetLoadBalancerTypeResult:
75
76
 
76
77
  @property
77
78
  @pulumi.getter(name="maxConnections")
78
- def max_connections(self) -> int:
79
+ def max_connections(self) -> builtins.int:
79
80
  """
80
81
  Maximum number of simultaneous open connections for the Load Balancer of this type.
81
82
  """
@@ -83,7 +84,7 @@ class GetLoadBalancerTypeResult:
83
84
 
84
85
  @property
85
86
  @pulumi.getter(name="maxServices")
86
- def max_services(self) -> int:
87
+ def max_services(self) -> builtins.int:
87
88
  """
88
89
  Maximum number of services for the Load Balancer of this type.
89
90
  """
@@ -91,7 +92,7 @@ class GetLoadBalancerTypeResult:
91
92
 
92
93
  @property
93
94
  @pulumi.getter(name="maxTargets")
94
- def max_targets(self) -> int:
95
+ def max_targets(self) -> builtins.int:
95
96
  """
96
97
  Maximum number of targets for the Load Balancer of this type.
97
98
  """
@@ -99,7 +100,7 @@ class GetLoadBalancerTypeResult:
99
100
 
100
101
  @property
101
102
  @pulumi.getter
102
- def name(self) -> str:
103
+ def name(self) -> builtins.str:
103
104
  """
104
105
  Name of the Load Balancer Type.
105
106
  """
@@ -121,8 +122,8 @@ class AwaitableGetLoadBalancerTypeResult(GetLoadBalancerTypeResult):
121
122
  name=self.name)
122
123
 
123
124
 
124
- def get_load_balancer_type(id: Optional[int] = None,
125
- name: Optional[str] = None,
125
+ def get_load_balancer_type(id: Optional[builtins.int] = None,
126
+ name: Optional[builtins.str] = None,
126
127
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancerTypeResult:
127
128
  """
128
129
  Provides details about a specific Hetzner Cloud Load Balancer Type.
@@ -144,8 +145,8 @@ def get_load_balancer_type(id: Optional[int] = None,
144
145
  ```
145
146
 
146
147
 
147
- :param int id: ID of the Load Balancer Type.
148
- :param str name: Name of the Load Balancer Type.
148
+ :param builtins.int id: ID of the Load Balancer Type.
149
+ :param builtins.str name: Name of the Load Balancer Type.
149
150
  """
150
151
  __args__ = dict()
151
152
  __args__['id'] = id
@@ -161,8 +162,8 @@ def get_load_balancer_type(id: Optional[int] = None,
161
162
  max_services=pulumi.get(__ret__, 'max_services'),
162
163
  max_targets=pulumi.get(__ret__, 'max_targets'),
163
164
  name=pulumi.get(__ret__, 'name'))
164
- def get_load_balancer_type_output(id: Optional[pulumi.Input[Optional[int]]] = None,
165
- name: Optional[pulumi.Input[Optional[str]]] = None,
165
+ def get_load_balancer_type_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
166
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
166
167
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLoadBalancerTypeResult]:
167
168
  """
168
169
  Provides details about a specific Hetzner Cloud Load Balancer Type.
@@ -184,8 +185,8 @@ def get_load_balancer_type_output(id: Optional[pulumi.Input[Optional[int]]] = No
184
185
  ```
185
186
 
186
187
 
187
- :param int id: ID of the Load Balancer Type.
188
- :param str name: Name of the Load Balancer Type.
188
+ :param builtins.int id: ID of the Load Balancer Type.
189
+ :param builtins.str name: Name of the Load Balancer Type.
189
190
  """
190
191
  __args__ = dict()
191
192
  __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
@@ -37,7 +38,7 @@ class GetLoadBalancerTypesResult:
37
38
 
38
39
  @property
39
40
  @pulumi.getter
40
- def id(self) -> str:
41
+ def id(self) -> builtins.str:
41
42
  """
42
43
  The ID of this resource.
43
44
  """
@@ -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
@@ -40,7 +41,7 @@ class GetLoadBalancersResult:
40
41
 
41
42
  @property
42
43
  @pulumi.getter
43
- def id(self) -> str:
44
+ def id(self) -> builtins.str:
44
45
  """
45
46
  The provider-assigned unique ID for this managed resource.
46
47
  """
@@ -56,7 +57,7 @@ class GetLoadBalancersResult:
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 AwaitableGetLoadBalancersResult(GetLoadBalancersResult):
71
72
  with_selector=self.with_selector)
72
73
 
73
74
 
74
- def get_load_balancers(with_selector: Optional[str] = None,
75
+ def get_load_balancers(with_selector: Optional[builtins.str] = None,
75
76
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancersResult:
76
77
  """
77
78
  Provides details about multiple Hetzner Cloud Load Balancers.
@@ -87,7 +88,7 @@ def get_load_balancers(with_selector: Optional[str] = None,
87
88
  ```
88
89
 
89
90
 
90
- :param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
91
+ :param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
91
92
  """
92
93
  __args__ = dict()
93
94
  __args__['withSelector'] = with_selector
@@ -98,7 +99,7 @@ def get_load_balancers(with_selector: Optional[str] = None,
98
99
  id=pulumi.get(__ret__, 'id'),
99
100
  load_balancers=pulumi.get(__ret__, 'load_balancers'),
100
101
  with_selector=pulumi.get(__ret__, 'with_selector'))
101
- def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[str]]] = None,
102
+ def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
102
103
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLoadBalancersResult]:
103
104
  """
104
105
  Provides details about multiple Hetzner Cloud Load Balancers.
@@ -114,7 +115,7 @@ def get_load_balancers_output(with_selector: Optional[pulumi.Input[Optional[str]
114
115
  ```
115
116
 
116
117
 
117
- :param str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
118
+ :param builtins.str with_selector: [Label selector](https://docs.hetzner.cloud/#overview-label-selector)
118
119
  """
119
120
  __args__ = dict()
120
121
  __args__['withSelector'] = with_selector
@@ -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
@@ -54,7 +55,7 @@ class GetLocationResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter
57
- def city(self) -> str:
58
+ def city(self) -> builtins.str:
58
59
  """
59
60
  Name of the closest city to the Location. City name and optionally state in short form.
60
61
  """
@@ -62,7 +63,7 @@ class GetLocationResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter
65
- def country(self) -> str:
66
+ def country(self) -> builtins.str:
66
67
  """
67
68
  Country the Location resides in. ISO 3166-1 alpha-2 code of the country.
68
69
  """
@@ -70,7 +71,7 @@ class GetLocationResult:
70
71
 
71
72
  @property
72
73
  @pulumi.getter
73
- def description(self) -> str:
74
+ def description(self) -> builtins.str:
74
75
  """
75
76
  Description of the Location.
76
77
  """
@@ -78,7 +79,7 @@ class GetLocationResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter
81
- def id(self) -> Optional[int]:
82
+ def id(self) -> Optional[builtins.int]:
82
83
  """
83
84
  ID of the Location.
84
85
  """
@@ -86,7 +87,7 @@ class GetLocationResult:
86
87
 
87
88
  @property
88
89
  @pulumi.getter
89
- def latitude(self) -> float:
90
+ def latitude(self) -> builtins.float:
90
91
  """
91
92
  Latitude of the city closest to the Location.
92
93
  """
@@ -94,7 +95,7 @@ class GetLocationResult:
94
95
 
95
96
  @property
96
97
  @pulumi.getter
97
- def longitude(self) -> float:
98
+ def longitude(self) -> builtins.float:
98
99
  """
99
100
  Longitude of the city closest to the Location.
100
101
  """
@@ -102,7 +103,7 @@ class GetLocationResult:
102
103
 
103
104
  @property
104
105
  @pulumi.getter
105
- def name(self) -> Optional[str]:
106
+ def name(self) -> Optional[builtins.str]:
106
107
  """
107
108
  Name of the Location.
108
109
  """
@@ -110,7 +111,7 @@ class GetLocationResult:
110
111
 
111
112
  @property
112
113
  @pulumi.getter(name="networkZone")
113
- def network_zone(self) -> str:
114
+ def network_zone(self) -> builtins.str:
114
115
  """
115
116
  Name of the Network Zone this Location resides in.
116
117
  """
@@ -133,8 +134,8 @@ class AwaitableGetLocationResult(GetLocationResult):
133
134
  network_zone=self.network_zone)
134
135
 
135
136
 
136
- def get_location(id: Optional[int] = None,
137
- name: Optional[str] = None,
137
+ def get_location(id: Optional[builtins.int] = None,
138
+ name: Optional[builtins.str] = None,
138
139
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLocationResult:
139
140
  """
140
141
  Provides details about a specific Hetzner Cloud Location.
@@ -152,8 +153,8 @@ def get_location(id: Optional[int] = None,
152
153
  ```
153
154
 
154
155
 
155
- :param int id: ID of the Location.
156
- :param str name: Name of the Location.
156
+ :param builtins.int id: ID of the Location.
157
+ :param builtins.str name: Name of the Location.
157
158
  """
158
159
  __args__ = dict()
159
160
  __args__['id'] = id
@@ -170,8 +171,8 @@ def get_location(id: Optional[int] = None,
170
171
  longitude=pulumi.get(__ret__, 'longitude'),
171
172
  name=pulumi.get(__ret__, 'name'),
172
173
  network_zone=pulumi.get(__ret__, 'network_zone'))
173
- def get_location_output(id: Optional[pulumi.Input[Optional[int]]] = None,
174
- name: Optional[pulumi.Input[Optional[str]]] = None,
174
+ def get_location_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
175
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
175
176
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLocationResult]:
176
177
  """
177
178
  Provides details about a specific Hetzner Cloud Location.
@@ -189,8 +190,8 @@ def get_location_output(id: Optional[pulumi.Input[Optional[int]]] = None,
189
190
  ```
190
191
 
191
192
 
192
- :param int id: ID of the Location.
193
- :param str name: Name of the Location.
193
+ :param builtins.int id: ID of the Location.
194
+ :param builtins.str name: Name of the Location.
194
195
  """
195
196
  __args__ = dict()
196
197
  __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
@@ -47,12 +48,12 @@ class GetLocationsResult:
47
48
  @property
48
49
  @pulumi.getter
49
50
  @_utilities.deprecated("""Use locations list instead""")
50
- def descriptions(self) -> Sequence[str]:
51
+ def descriptions(self) -> Sequence[builtins.str]:
51
52
  return pulumi.get(self, "descriptions")
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 ID of this resource.
58
59
  """
@@ -61,7 +62,7 @@ class GetLocationsResult:
61
62
  @property
62
63
  @pulumi.getter(name="locationIds")
63
64
  @_utilities.deprecated("""Use locations list instead""")
64
- def location_ids(self) -> Sequence[str]:
65
+ def location_ids(self) -> Sequence[builtins.str]:
65
66
  return pulumi.get(self, "location_ids")
66
67
 
67
68
  @property
@@ -72,7 +73,7 @@ class GetLocationsResult:
72
73
  @property
73
74
  @pulumi.getter
74
75
  @_utilities.deprecated("""Use locations list instead""")
75
- def names(self) -> Sequence[str]:
76
+ def names(self) -> Sequence[builtins.str]:
76
77
  return pulumi.get(self, "names")
77
78
 
78
79
 
@@ -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
@@ -54,7 +55,7 @@ class GetNetworkResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter(name="deleteProtection")
57
- def delete_protection(self) -> bool:
58
+ def delete_protection(self) -> builtins.bool:
58
59
  """
59
60
  (bool) Whether delete protection is enabled.
60
61
  """
@@ -62,7 +63,7 @@ class GetNetworkResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter(name="exposeRoutesToVswitch")
65
- def expose_routes_to_vswitch(self) -> bool:
66
+ def expose_routes_to_vswitch(self) -> builtins.bool:
66
67
  """
67
68
  (bool) Indicates if the routes from this network should be exposed to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
68
69
  """
@@ -70,7 +71,7 @@ class GetNetworkResult:
70
71
 
71
72
  @property
72
73
  @pulumi.getter
73
- def id(self) -> int:
74
+ def id(self) -> builtins.int:
74
75
  """
75
76
  Unique ID of the Network.
76
77
  """
@@ -78,7 +79,7 @@ class GetNetworkResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter(name="ipRange")
81
- def ip_range(self) -> str:
82
+ def ip_range(self) -> builtins.str:
82
83
  """
83
84
  IPv4 prefix of the Network.
84
85
  """
@@ -86,18 +87,18 @@ class GetNetworkResult:
86
87
 
87
88
  @property
88
89
  @pulumi.getter
89
- def labels(self) -> Mapping[str, str]:
90
+ def labels(self) -> Mapping[str, builtins.str]:
90
91
  return pulumi.get(self, "labels")
91
92
 
92
93
  @property
93
94
  @pulumi.getter(name="mostRecent")
94
95
  @_utilities.deprecated("""This attribute has no purpose.""")
95
- def most_recent(self) -> Optional[bool]:
96
+ def most_recent(self) -> Optional[builtins.bool]:
96
97
  return pulumi.get(self, "most_recent")
97
98
 
98
99
  @property
99
100
  @pulumi.getter
100
- def name(self) -> str:
101
+ def name(self) -> builtins.str:
101
102
  """
102
103
  Name of the Network.
103
104
  """
@@ -105,7 +106,7 @@ class GetNetworkResult:
105
106
 
106
107
  @property
107
108
  @pulumi.getter(name="withSelector")
108
- def with_selector(self) -> Optional[str]:
109
+ def with_selector(self) -> Optional[builtins.str]:
109
110
  return pulumi.get(self, "with_selector")
110
111
 
111
112
 
@@ -125,12 +126,12 @@ class AwaitableGetNetworkResult(GetNetworkResult):
125
126
  with_selector=self.with_selector)
126
127
 
127
128
 
128
- def get_network(id: Optional[int] = None,
129
- ip_range: Optional[str] = None,
130
- labels: Optional[Mapping[str, str]] = None,
131
- most_recent: Optional[bool] = None,
132
- name: Optional[str] = None,
133
- with_selector: Optional[str] = None,
129
+ def get_network(id: Optional[builtins.int] = None,
130
+ ip_range: Optional[builtins.str] = None,
131
+ labels: Optional[Mapping[str, builtins.str]] = None,
132
+ most_recent: Optional[builtins.bool] = None,
133
+ name: Optional[builtins.str] = None,
134
+ with_selector: Optional[builtins.str] = None,
134
135
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkResult:
135
136
  """
136
137
  ## Example Usage
@@ -145,10 +146,10 @@ def get_network(id: Optional[int] = None,
145
146
  ```
146
147
 
147
148
 
148
- :param int id: ID of the Network.
149
- :param str ip_range: IPv4 prefix of the Network.
150
- :param str name: Name of the Network.
151
- :param str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
149
+ :param builtins.int id: ID of the Network.
150
+ :param builtins.str ip_range: IPv4 prefix of the Network.
151
+ :param builtins.str name: Name of the Network.
152
+ :param builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
152
153
  """
153
154
  __args__ = dict()
154
155
  __args__['id'] = id
@@ -169,12 +170,12 @@ def get_network(id: Optional[int] = None,
169
170
  most_recent=pulumi.get(__ret__, 'most_recent'),
170
171
  name=pulumi.get(__ret__, 'name'),
171
172
  with_selector=pulumi.get(__ret__, 'with_selector'))
172
- def get_network_output(id: Optional[pulumi.Input[Optional[int]]] = None,
173
- ip_range: Optional[pulumi.Input[Optional[str]]] = None,
174
- labels: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
175
- most_recent: Optional[pulumi.Input[Optional[bool]]] = None,
176
- name: Optional[pulumi.Input[Optional[str]]] = None,
177
- with_selector: Optional[pulumi.Input[Optional[str]]] = None,
173
+ def get_network_output(id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
174
+ ip_range: Optional[pulumi.Input[Optional[builtins.str]]] = None,
175
+ labels: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
176
+ most_recent: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
177
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
178
+ with_selector: Optional[pulumi.Input[Optional[builtins.str]]] = None,
178
179
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkResult]:
179
180
  """
180
181
  ## Example Usage
@@ -189,10 +190,10 @@ def get_network_output(id: Optional[pulumi.Input[Optional[int]]] = None,
189
190
  ```
190
191
 
191
192
 
192
- :param int id: ID of the Network.
193
- :param str ip_range: IPv4 prefix of the Network.
194
- :param str name: Name of the Network.
195
- :param str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
193
+ :param builtins.int id: ID of the Network.
194
+ :param builtins.str ip_range: IPv4 prefix of the Network.
195
+ :param builtins.str name: Name of the Network.
196
+ :param builtins.str with_selector: Label Selector. For more information about possible values, visit the [Hetzner Cloud Documentation](https://docs.hetzner.cloud/#overview-label-selector).
196
197
  """
197
198
  __args__ = dict()
198
199
  __args__['id'] = id