pulumi-hcloud 1.21.0a1723453978__py3-none-any.whl → 1.21.0a1724218966__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.
@@ -15,13 +15,13 @@ __all__ = ['ManagedCertificateArgs', 'ManagedCertificate']
15
15
  class ManagedCertificateArgs:
16
16
  def __init__(__self__, *,
17
17
  domain_names: pulumi.Input[Sequence[pulumi.Input[str]]],
18
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
18
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
19
19
  name: Optional[pulumi.Input[str]] = None):
20
20
  """
21
21
  The set of arguments for constructing a ManagedCertificate resource.
22
22
  :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_names: Domain names for which a certificate
23
23
  should be obtained.
24
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) the
24
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) the
25
25
  certificate should be created with.
26
26
  :param pulumi.Input[str] name: Name of the Certificate.
27
27
  """
@@ -46,7 +46,7 @@ class ManagedCertificateArgs:
46
46
 
47
47
  @property
48
48
  @pulumi.getter
49
- def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
49
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
50
50
  """
51
51
  User-defined labels (key-value pairs) the
52
52
  certificate should be created with.
@@ -54,7 +54,7 @@ class ManagedCertificateArgs:
54
54
  return pulumi.get(self, "labels")
55
55
 
56
56
  @labels.setter
57
- def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
57
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
58
58
  pulumi.set(self, "labels", value)
59
59
 
60
60
  @property
@@ -77,7 +77,7 @@ class _ManagedCertificateState:
77
77
  created: Optional[pulumi.Input[str]] = None,
78
78
  domain_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
79
79
  fingerprint: Optional[pulumi.Input[str]] = None,
80
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
80
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
81
81
  name: Optional[pulumi.Input[str]] = None,
82
82
  not_valid_after: Optional[pulumi.Input[str]] = None,
83
83
  not_valid_before: Optional[pulumi.Input[str]] = None,
@@ -89,7 +89,7 @@ class _ManagedCertificateState:
89
89
  :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_names: Domain names for which a certificate
90
90
  should be obtained.
91
91
  :param pulumi.Input[str] fingerprint: (string) Fingerprint of the certificate.
92
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) the
92
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) the
93
93
  certificate should be created with.
94
94
  :param pulumi.Input[str] name: Name of the Certificate.
95
95
  :param pulumi.Input[str] not_valid_after: (string) Point in time when the Certificate stops being valid (in ISO-8601 format).
@@ -165,7 +165,7 @@ class _ManagedCertificateState:
165
165
 
166
166
  @property
167
167
  @pulumi.getter
168
- def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
168
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
169
169
  """
170
170
  User-defined labels (key-value pairs) the
171
171
  certificate should be created with.
@@ -173,7 +173,7 @@ class _ManagedCertificateState:
173
173
  return pulumi.get(self, "labels")
174
174
 
175
175
  @labels.setter
176
- def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
176
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
177
177
  pulumi.set(self, "labels", value)
178
178
 
179
179
  @property
@@ -228,7 +228,7 @@ class ManagedCertificate(pulumi.CustomResource):
228
228
  resource_name: str,
229
229
  opts: Optional[pulumi.ResourceOptions] = None,
230
230
  domain_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
231
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
231
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
232
232
  name: Optional[pulumi.Input[str]] = None,
233
233
  __props__=None):
234
234
  """
@@ -248,7 +248,7 @@ class ManagedCertificate(pulumi.CustomResource):
248
248
  :param pulumi.ResourceOptions opts: Options for the resource.
249
249
  :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_names: Domain names for which a certificate
250
250
  should be obtained.
251
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) the
251
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) the
252
252
  certificate should be created with.
253
253
  :param pulumi.Input[str] name: Name of the Certificate.
254
254
  """
@@ -287,7 +287,7 @@ class ManagedCertificate(pulumi.CustomResource):
287
287
  resource_name: str,
288
288
  opts: Optional[pulumi.ResourceOptions] = None,
289
289
  domain_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
290
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
290
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
291
291
  name: Optional[pulumi.Input[str]] = None,
292
292
  __props__=None):
293
293
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -323,7 +323,7 @@ class ManagedCertificate(pulumi.CustomResource):
323
323
  created: Optional[pulumi.Input[str]] = None,
324
324
  domain_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
325
325
  fingerprint: Optional[pulumi.Input[str]] = None,
326
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
326
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
327
327
  name: Optional[pulumi.Input[str]] = None,
328
328
  not_valid_after: Optional[pulumi.Input[str]] = None,
329
329
  not_valid_before: Optional[pulumi.Input[str]] = None,
@@ -340,7 +340,7 @@ class ManagedCertificate(pulumi.CustomResource):
340
340
  :param pulumi.Input[Sequence[pulumi.Input[str]]] domain_names: Domain names for which a certificate
341
341
  should be obtained.
342
342
  :param pulumi.Input[str] fingerprint: (string) Fingerprint of the certificate.
343
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) the
343
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) the
344
344
  certificate should be created with.
345
345
  :param pulumi.Input[str] name: Name of the Certificate.
346
346
  :param pulumi.Input[str] not_valid_after: (string) Point in time when the Certificate stops being valid (in ISO-8601 format).
@@ -396,7 +396,7 @@ class ManagedCertificate(pulumi.CustomResource):
396
396
 
397
397
  @property
398
398
  @pulumi.getter
399
- def labels(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
399
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
400
400
  """
401
401
  User-defined labels (key-value pairs) the
402
402
  certificate should be created with.
pulumi_hcloud/network.py CHANGED
@@ -17,14 +17,14 @@ class NetworkArgs:
17
17
  ip_range: pulumi.Input[str],
18
18
  delete_protection: Optional[pulumi.Input[bool]] = None,
19
19
  expose_routes_to_vswitch: Optional[pulumi.Input[bool]] = None,
20
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
20
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
21
21
  name: Optional[pulumi.Input[str]] = None):
22
22
  """
23
23
  The set of arguments for constructing a Network resource.
24
24
  :param pulumi.Input[str] ip_range: IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918.
25
25
  :param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
26
26
  :param pulumi.Input[bool] expose_routes_to_vswitch: Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
27
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) should be created with.
27
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
28
28
  :param pulumi.Input[str] name: Name of the Network to create (must be unique per project).
29
29
  """
30
30
  pulumi.set(__self__, "ip_range", ip_range)
@@ -75,14 +75,14 @@ class NetworkArgs:
75
75
 
76
76
  @property
77
77
  @pulumi.getter
78
- def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
78
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
79
79
  """
80
80
  User-defined labels (key-value pairs) should be created with.
81
81
  """
82
82
  return pulumi.get(self, "labels")
83
83
 
84
84
  @labels.setter
85
- def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
85
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
86
86
  pulumi.set(self, "labels", value)
87
87
 
88
88
  @property
@@ -104,14 +104,14 @@ class _NetworkState:
104
104
  delete_protection: Optional[pulumi.Input[bool]] = None,
105
105
  expose_routes_to_vswitch: Optional[pulumi.Input[bool]] = None,
106
106
  ip_range: Optional[pulumi.Input[str]] = None,
107
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
107
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
108
108
  name: Optional[pulumi.Input[str]] = None):
109
109
  """
110
110
  Input properties used for looking up and filtering Network resources.
111
111
  :param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
112
112
  :param pulumi.Input[bool] expose_routes_to_vswitch: Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
113
113
  :param pulumi.Input[str] ip_range: IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918.
114
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) should be created with.
114
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
115
115
  :param pulumi.Input[str] name: Name of the Network to create (must be unique per project).
116
116
  """
117
117
  if delete_protection is not None:
@@ -163,14 +163,14 @@ class _NetworkState:
163
163
 
164
164
  @property
165
165
  @pulumi.getter
166
- def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
166
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
167
167
  """
168
168
  User-defined labels (key-value pairs) should be created with.
169
169
  """
170
170
  return pulumi.get(self, "labels")
171
171
 
172
172
  @labels.setter
173
- def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
173
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
174
174
  pulumi.set(self, "labels", value)
175
175
 
176
176
  @property
@@ -194,7 +194,7 @@ class Network(pulumi.CustomResource):
194
194
  delete_protection: Optional[pulumi.Input[bool]] = None,
195
195
  expose_routes_to_vswitch: Optional[pulumi.Input[bool]] = None,
196
196
  ip_range: Optional[pulumi.Input[str]] = None,
197
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
197
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
198
198
  name: Optional[pulumi.Input[str]] = None,
199
199
  __props__=None):
200
200
  """
@@ -224,7 +224,7 @@ class Network(pulumi.CustomResource):
224
224
  :param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
225
225
  :param pulumi.Input[bool] expose_routes_to_vswitch: Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
226
226
  :param pulumi.Input[str] ip_range: IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918.
227
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) should be created with.
227
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
228
228
  :param pulumi.Input[str] name: Name of the Network to create (must be unique per project).
229
229
  """
230
230
  ...
@@ -273,7 +273,7 @@ class Network(pulumi.CustomResource):
273
273
  delete_protection: Optional[pulumi.Input[bool]] = None,
274
274
  expose_routes_to_vswitch: Optional[pulumi.Input[bool]] = None,
275
275
  ip_range: Optional[pulumi.Input[str]] = None,
276
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
276
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
277
277
  name: Optional[pulumi.Input[str]] = None,
278
278
  __props__=None):
279
279
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -304,7 +304,7 @@ class Network(pulumi.CustomResource):
304
304
  delete_protection: Optional[pulumi.Input[bool]] = None,
305
305
  expose_routes_to_vswitch: Optional[pulumi.Input[bool]] = None,
306
306
  ip_range: Optional[pulumi.Input[str]] = None,
307
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
307
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
308
308
  name: Optional[pulumi.Input[str]] = None) -> 'Network':
309
309
  """
310
310
  Get an existing Network resource's state with the given name, id, and optional extra
@@ -316,7 +316,7 @@ class Network(pulumi.CustomResource):
316
316
  :param pulumi.Input[bool] delete_protection: Enable or disable delete protection. See "Delete Protection" in the Provider Docs for details.
317
317
  :param pulumi.Input[bool] expose_routes_to_vswitch: Enable or disable exposing the routes to the vSwitch connection. The exposing only takes effect if a vSwitch connection is active.
318
318
  :param pulumi.Input[str] ip_range: IP Range of the whole Network which must span all included subnets and route destinations. Must be one of the private ipv4 ranges of RFC1918.
319
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) should be created with.
319
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
320
320
  :param pulumi.Input[str] name: Name of the Network to create (must be unique per project).
321
321
  """
322
322
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -356,7 +356,7 @@ class Network(pulumi.CustomResource):
356
356
 
357
357
  @property
358
358
  @pulumi.getter
359
- def labels(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
359
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
360
360
  """
361
361
  User-defined labels (key-value pairs) should be created with.
362
362
  """
pulumi_hcloud/outputs.py CHANGED
@@ -663,7 +663,7 @@ class GetCertificatesCertificateResult(dict):
663
663
  domain_names: Sequence[str],
664
664
  fingerprint: str,
665
665
  id: int,
666
- labels: Mapping[str, Any],
666
+ labels: Mapping[str, str],
667
667
  not_valid_after: str,
668
668
  not_valid_before: str,
669
669
  type: str,
@@ -707,7 +707,7 @@ class GetCertificatesCertificateResult(dict):
707
707
 
708
708
  @property
709
709
  @pulumi.getter
710
- def labels(self) -> Mapping[str, Any]:
710
+ def labels(self) -> Mapping[str, str]:
711
711
  return pulumi.get(self, "labels")
712
712
 
713
713
  @property
@@ -893,7 +893,7 @@ class GetFirewallsFirewallResult(dict):
893
893
  name: str,
894
894
  apply_tos: Optional[Sequence['outputs.GetFirewallsFirewallApplyToResult']] = None,
895
895
  id: Optional[int] = None,
896
- labels: Optional[Mapping[str, Any]] = None,
896
+ labels: Optional[Mapping[str, str]] = None,
897
897
  rules: Optional[Sequence['outputs.GetFirewallsFirewallRuleResult']] = None):
898
898
  pulumi.set(__self__, "name", name)
899
899
  if apply_tos is not None:
@@ -922,7 +922,7 @@ class GetFirewallsFirewallResult(dict):
922
922
 
923
923
  @property
924
924
  @pulumi.getter
925
- def labels(self) -> Optional[Mapping[str, Any]]:
925
+ def labels(self) -> Optional[Mapping[str, str]]:
926
926
  return pulumi.get(self, "labels")
927
927
 
928
928
  @property
@@ -1011,7 +1011,7 @@ class GetFloatingIpsFloatingIpResult(dict):
1011
1011
  id: int,
1012
1012
  ip_address: str,
1013
1013
  ip_network: str,
1014
- labels: Mapping[str, Any],
1014
+ labels: Mapping[str, str],
1015
1015
  server_id: int,
1016
1016
  type: str,
1017
1017
  name: Optional[str] = None):
@@ -1059,7 +1059,7 @@ class GetFloatingIpsFloatingIpResult(dict):
1059
1059
 
1060
1060
  @property
1061
1061
  @pulumi.getter
1062
- def labels(self) -> Mapping[str, Any]:
1062
+ def labels(self) -> Mapping[str, str]:
1063
1063
  return pulumi.get(self, "labels")
1064
1064
 
1065
1065
  @property
@@ -1086,7 +1086,7 @@ class GetImagesImageResult(dict):
1086
1086
  deprecated: str,
1087
1087
  description: str,
1088
1088
  id: int,
1089
- labels: Mapping[str, Any],
1089
+ labels: Mapping[str, str],
1090
1090
  name: str,
1091
1091
  os_flavor: str,
1092
1092
  os_version: str,
@@ -1134,7 +1134,7 @@ class GetImagesImageResult(dict):
1134
1134
 
1135
1135
  @property
1136
1136
  @pulumi.getter
1137
- def labels(self) -> Mapping[str, Any]:
1137
+ def labels(self) -> Mapping[str, str]:
1138
1138
  return pulumi.get(self, "labels")
1139
1139
 
1140
1140
  @property
@@ -1505,7 +1505,7 @@ class GetLoadBalancersLoadBalancerResult(dict):
1505
1505
  id: int,
1506
1506
  ipv4: str,
1507
1507
  ipv6: str,
1508
- labels: Mapping[str, Any],
1508
+ labels: Mapping[str, str],
1509
1509
  load_balancer_type: str,
1510
1510
  location: str,
1511
1511
  network_id: int,
@@ -1557,7 +1557,7 @@ class GetLoadBalancersLoadBalancerResult(dict):
1557
1557
 
1558
1558
  @property
1559
1559
  @pulumi.getter
1560
- def labels(self) -> Mapping[str, Any]:
1560
+ def labels(self) -> Mapping[str, str]:
1561
1561
  return pulumi.get(self, "labels")
1562
1562
 
1563
1563
  @property
@@ -1881,7 +1881,7 @@ class GetNetworksNetworkResult(dict):
1881
1881
  expose_routes_to_vswitch: bool,
1882
1882
  id: int,
1883
1883
  ip_range: str,
1884
- labels: Mapping[str, Any],
1884
+ labels: Mapping[str, str],
1885
1885
  name: str):
1886
1886
  """
1887
1887
  :param bool expose_routes_to_vswitch: 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.
@@ -1918,7 +1918,7 @@ class GetNetworksNetworkResult(dict):
1918
1918
 
1919
1919
  @property
1920
1920
  @pulumi.getter
1921
- def labels(self) -> Mapping[str, Any]:
1921
+ def labels(self) -> Mapping[str, str]:
1922
1922
  return pulumi.get(self, "labels")
1923
1923
 
1924
1924
  @property
@@ -1931,7 +1931,7 @@ class GetNetworksNetworkResult(dict):
1931
1931
  class GetPlacementGroupsPlacementGroupResult(dict):
1932
1932
  def __init__(__self__, *,
1933
1933
  id: int,
1934
- labels: Mapping[str, Any],
1934
+ labels: Mapping[str, str],
1935
1935
  name: str,
1936
1936
  servers: Sequence[int],
1937
1937
  type: str):
@@ -1948,7 +1948,7 @@ class GetPlacementGroupsPlacementGroupResult(dict):
1948
1948
 
1949
1949
  @property
1950
1950
  @pulumi.getter
1951
- def labels(self) -> Mapping[str, Any]:
1951
+ def labels(self) -> Mapping[str, str]:
1952
1952
  return pulumi.get(self, "labels")
1953
1953
 
1954
1954
  @property
@@ -1978,7 +1978,7 @@ class GetPrimaryIpsPrimaryIpResult(dict):
1978
1978
  id: int,
1979
1979
  ip_address: str,
1980
1980
  ip_network: str,
1981
- labels: Mapping[str, Any],
1981
+ labels: Mapping[str, str],
1982
1982
  type: str,
1983
1983
  name: Optional[str] = None):
1984
1984
  pulumi.set(__self__, "assignee_id", assignee_id)
@@ -2036,7 +2036,7 @@ class GetPrimaryIpsPrimaryIpResult(dict):
2036
2036
 
2037
2037
  @property
2038
2038
  @pulumi.getter
2039
- def labels(self) -> Mapping[str, Any]:
2039
+ def labels(self) -> Mapping[str, str]:
2040
2040
  return pulumi.get(self, "labels")
2041
2041
 
2042
2042
  @property
@@ -2161,7 +2161,7 @@ class GetServersServerResult(dict):
2161
2161
  ipv6_address: str,
2162
2162
  ipv6_network: str,
2163
2163
  iso: str,
2164
- labels: Mapping[str, Any],
2164
+ labels: Mapping[str, str],
2165
2165
  location: str,
2166
2166
  name: str,
2167
2167
  primary_disk_size: int,
@@ -2249,7 +2249,7 @@ class GetServersServerResult(dict):
2249
2249
 
2250
2250
  @property
2251
2251
  @pulumi.getter
2252
- def labels(self) -> Mapping[str, Any]:
2252
+ def labels(self) -> Mapping[str, str]:
2253
2253
  return pulumi.get(self, "labels")
2254
2254
 
2255
2255
  @property
@@ -2360,7 +2360,7 @@ class GetVolumesVolumeResult(dict):
2360
2360
  def __init__(__self__, *,
2361
2361
  delete_protection: bool,
2362
2362
  id: int,
2363
- labels: Mapping[str, Any],
2363
+ labels: Mapping[str, str],
2364
2364
  linux_device: str,
2365
2365
  name: str,
2366
2366
  size: int,
@@ -2389,7 +2389,7 @@ class GetVolumesVolumeResult(dict):
2389
2389
 
2390
2390
  @property
2391
2391
  @pulumi.getter
2392
- def labels(self) -> Mapping[str, Any]:
2392
+ def labels(self) -> Mapping[str, str]:
2393
2393
  return pulumi.get(self, "labels")
2394
2394
 
2395
2395
  @property
@@ -15,12 +15,12 @@ __all__ = ['PlacementGroupArgs', 'PlacementGroup']
15
15
  class PlacementGroupArgs:
16
16
  def __init__(__self__, *,
17
17
  type: pulumi.Input[str],
18
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
18
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
19
19
  name: Optional[pulumi.Input[str]] = None):
20
20
  """
21
21
  The set of arguments for constructing a PlacementGroup resource.
22
22
  :param pulumi.Input[str] type: Type of the Placement Group.
23
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) should be created with.
23
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
24
24
  :param pulumi.Input[str] name: Name of the Placement Group.
25
25
  """
26
26
  pulumi.set(__self__, "type", type)
@@ -43,14 +43,14 @@ class PlacementGroupArgs:
43
43
 
44
44
  @property
45
45
  @pulumi.getter
46
- def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
46
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
47
47
  """
48
48
  User-defined labels (key-value pairs) should be created with.
49
49
  """
50
50
  return pulumi.get(self, "labels")
51
51
 
52
52
  @labels.setter
53
- def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
53
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
54
54
  pulumi.set(self, "labels", value)
55
55
 
56
56
  @property
@@ -69,13 +69,13 @@ class PlacementGroupArgs:
69
69
  @pulumi.input_type
70
70
  class _PlacementGroupState:
71
71
  def __init__(__self__, *,
72
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
72
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
73
73
  name: Optional[pulumi.Input[str]] = None,
74
74
  servers: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
75
75
  type: Optional[pulumi.Input[str]] = None):
76
76
  """
77
77
  Input properties used for looking up and filtering PlacementGroup resources.
78
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) should be created with.
78
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
79
79
  :param pulumi.Input[str] name: Name of the Placement Group.
80
80
  :param pulumi.Input[str] type: Type of the Placement Group.
81
81
  """
@@ -90,14 +90,14 @@ class _PlacementGroupState:
90
90
 
91
91
  @property
92
92
  @pulumi.getter
93
- def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
93
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
94
94
  """
95
95
  User-defined labels (key-value pairs) should be created with.
96
96
  """
97
97
  return pulumi.get(self, "labels")
98
98
 
99
99
  @labels.setter
100
- def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
100
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
101
101
  pulumi.set(self, "labels", value)
102
102
 
103
103
  @property
@@ -139,7 +139,7 @@ class PlacementGroup(pulumi.CustomResource):
139
139
  def __init__(__self__,
140
140
  resource_name: str,
141
141
  opts: Optional[pulumi.ResourceOptions] = None,
142
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
142
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
143
143
  name: Optional[pulumi.Input[str]] = None,
144
144
  type: Optional[pulumi.Input[str]] = None,
145
145
  __props__=None):
@@ -175,7 +175,7 @@ class PlacementGroup(pulumi.CustomResource):
175
175
 
176
176
  :param str resource_name: The name of the resource.
177
177
  :param pulumi.ResourceOptions opts: Options for the resource.
178
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) should be created with.
178
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
179
179
  :param pulumi.Input[str] name: Name of the Placement Group.
180
180
  :param pulumi.Input[str] type: Type of the Placement Group.
181
181
  """
@@ -230,7 +230,7 @@ class PlacementGroup(pulumi.CustomResource):
230
230
  def _internal_init(__self__,
231
231
  resource_name: str,
232
232
  opts: Optional[pulumi.ResourceOptions] = None,
233
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
233
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
234
234
  name: Optional[pulumi.Input[str]] = None,
235
235
  type: Optional[pulumi.Input[str]] = None,
236
236
  __props__=None):
@@ -258,7 +258,7 @@ class PlacementGroup(pulumi.CustomResource):
258
258
  def get(resource_name: str,
259
259
  id: pulumi.Input[str],
260
260
  opts: Optional[pulumi.ResourceOptions] = None,
261
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
261
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
262
262
  name: Optional[pulumi.Input[str]] = None,
263
263
  servers: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
264
264
  type: Optional[pulumi.Input[str]] = None) -> 'PlacementGroup':
@@ -269,7 +269,7 @@ class PlacementGroup(pulumi.CustomResource):
269
269
  :param str resource_name: The unique name of the resulting resource.
270
270
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
271
271
  :param pulumi.ResourceOptions opts: Options for the resource.
272
- :param pulumi.Input[Mapping[str, Any]] labels: User-defined labels (key-value pairs) should be created with.
272
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels (key-value pairs) should be created with.
273
273
  :param pulumi.Input[str] name: Name of the Placement Group.
274
274
  :param pulumi.Input[str] type: Type of the Placement Group.
275
275
  """
@@ -285,7 +285,7 @@ class PlacementGroup(pulumi.CustomResource):
285
285
 
286
286
  @property
287
287
  @pulumi.getter
288
- def labels(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
288
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
289
289
  """
290
290
  User-defined labels (key-value pairs) should be created with.
291
291
  """
@@ -20,7 +20,7 @@ class PrimaryIpArgs:
20
20
  assignee_id: Optional[pulumi.Input[int]] = None,
21
21
  datacenter: Optional[pulumi.Input[str]] = None,
22
22
  delete_protection: Optional[pulumi.Input[bool]] = None,
23
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
23
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
24
24
  name: Optional[pulumi.Input[str]] = None):
25
25
  """
26
26
  The set of arguments for constructing a PrimaryIp resource.
@@ -31,7 +31,7 @@ class PrimaryIpArgs:
31
31
  :param pulumi.Input[int] assignee_id: ID of the assigned resource
32
32
  :param pulumi.Input[str] datacenter: The datacenter name to create the resource in.
33
33
  :param pulumi.Input[bool] delete_protection: Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
34
- :param pulumi.Input[Mapping[str, Any]] labels: Description of the Primary IP.
34
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Description of the Primary IP.
35
35
  :param pulumi.Input[str] name: Name of the Primary IP.
36
36
  """
37
37
  pulumi.set(__self__, "assignee_type", assignee_type)
@@ -123,14 +123,14 @@ class PrimaryIpArgs:
123
123
 
124
124
  @property
125
125
  @pulumi.getter
126
- def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
126
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
127
127
  """
128
128
  Description of the Primary IP.
129
129
  """
130
130
  return pulumi.get(self, "labels")
131
131
 
132
132
  @labels.setter
133
- def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
133
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
134
134
  pulumi.set(self, "labels", value)
135
135
 
136
136
  @property
@@ -156,7 +156,7 @@ class _PrimaryIpState:
156
156
  delete_protection: Optional[pulumi.Input[bool]] = None,
157
157
  ip_address: Optional[pulumi.Input[str]] = None,
158
158
  ip_network: Optional[pulumi.Input[str]] = None,
159
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
159
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
160
160
  name: Optional[pulumi.Input[str]] = None,
161
161
  type: Optional[pulumi.Input[str]] = None):
162
162
  """
@@ -169,7 +169,7 @@ class _PrimaryIpState:
169
169
  :param pulumi.Input[bool] delete_protection: Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
170
170
  :param pulumi.Input[str] ip_address: (string) IP Address of the Primary IP.
171
171
  :param pulumi.Input[str] ip_network: (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
172
- :param pulumi.Input[Mapping[str, Any]] labels: Description of the Primary IP.
172
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Description of the Primary IP.
173
173
  :param pulumi.Input[str] name: Name of the Primary IP.
174
174
  :param pulumi.Input[str] type: Type of the Primary IP. `ipv4` or `ipv6`
175
175
  """
@@ -281,14 +281,14 @@ class _PrimaryIpState:
281
281
 
282
282
  @property
283
283
  @pulumi.getter
284
- def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
284
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
285
285
  """
286
286
  Description of the Primary IP.
287
287
  """
288
288
  return pulumi.get(self, "labels")
289
289
 
290
290
  @labels.setter
291
- def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
291
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
292
292
  pulumi.set(self, "labels", value)
293
293
 
294
294
  @property
@@ -326,7 +326,7 @@ class PrimaryIp(pulumi.CustomResource):
326
326
  auto_delete: Optional[pulumi.Input[bool]] = None,
327
327
  datacenter: Optional[pulumi.Input[str]] = None,
328
328
  delete_protection: Optional[pulumi.Input[bool]] = None,
329
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
329
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
330
330
  name: Optional[pulumi.Input[str]] = None,
331
331
  type: Optional[pulumi.Input[str]] = None,
332
332
  __props__=None):
@@ -381,7 +381,7 @@ class PrimaryIp(pulumi.CustomResource):
381
381
  `Important note:`It is recommended to set `auto_delete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
382
382
  :param pulumi.Input[str] datacenter: The datacenter name to create the resource in.
383
383
  :param pulumi.Input[bool] delete_protection: Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
384
- :param pulumi.Input[Mapping[str, Any]] labels: Description of the Primary IP.
384
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Description of the Primary IP.
385
385
  :param pulumi.Input[str] name: Name of the Primary IP.
386
386
  :param pulumi.Input[str] type: Type of the Primary IP. `ipv4` or `ipv6`
387
387
  """
@@ -454,7 +454,7 @@ class PrimaryIp(pulumi.CustomResource):
454
454
  auto_delete: Optional[pulumi.Input[bool]] = None,
455
455
  datacenter: Optional[pulumi.Input[str]] = None,
456
456
  delete_protection: Optional[pulumi.Input[bool]] = None,
457
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
457
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
458
458
  name: Optional[pulumi.Input[str]] = None,
459
459
  type: Optional[pulumi.Input[str]] = None,
460
460
  __props__=None):
@@ -499,7 +499,7 @@ class PrimaryIp(pulumi.CustomResource):
499
499
  delete_protection: Optional[pulumi.Input[bool]] = None,
500
500
  ip_address: Optional[pulumi.Input[str]] = None,
501
501
  ip_network: Optional[pulumi.Input[str]] = None,
502
- labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
502
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
503
503
  name: Optional[pulumi.Input[str]] = None,
504
504
  type: Optional[pulumi.Input[str]] = None) -> 'PrimaryIp':
505
505
  """
@@ -517,7 +517,7 @@ class PrimaryIp(pulumi.CustomResource):
517
517
  :param pulumi.Input[bool] delete_protection: Whether delete protection is enabled. See "Delete Protection" in the Provider Docs for details.
518
518
  :param pulumi.Input[str] ip_address: (string) IP Address of the Primary IP.
519
519
  :param pulumi.Input[str] ip_network: (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
520
- :param pulumi.Input[Mapping[str, Any]] labels: Description of the Primary IP.
520
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Description of the Primary IP.
521
521
  :param pulumi.Input[str] name: Name of the Primary IP.
522
522
  :param pulumi.Input[str] type: Type of the Primary IP. `ipv4` or `ipv6`
523
523
  """
@@ -596,7 +596,7 @@ class PrimaryIp(pulumi.CustomResource):
596
596
 
597
597
  @property
598
598
  @pulumi.getter
599
- def labels(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
599
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
600
600
  """
601
601
  Description of the Primary IP.
602
602
  """
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "hcloud",
4
- "version": "1.21.0-alpha.1723453978"
4
+ "version": "1.21.0-alpha.1724218966"
5
5
  }