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
@@ -19,18 +20,18 @@ __all__ = ['NetworkSubnetArgs', 'NetworkSubnet']
19
20
  @pulumi.input_type
20
21
  class NetworkSubnetArgs:
21
22
  def __init__(__self__, *,
22
- ip_range: pulumi.Input[str],
23
- network_id: pulumi.Input[int],
24
- network_zone: pulumi.Input[str],
25
- type: pulumi.Input[str],
26
- vswitch_id: Optional[pulumi.Input[int]] = None):
23
+ ip_range: pulumi.Input[builtins.str],
24
+ network_id: pulumi.Input[builtins.int],
25
+ network_zone: pulumi.Input[builtins.str],
26
+ type: pulumi.Input[builtins.str],
27
+ vswitch_id: Optional[pulumi.Input[builtins.int]] = None):
27
28
  """
28
29
  The set of arguments for constructing a NetworkSubnet resource.
29
- :param pulumi.Input[str] ip_range: Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
30
- :param pulumi.Input[int] network_id: ID of the Network the subnet should be added to.
31
- :param pulumi.Input[str] network_zone: Name of network zone.
32
- :param pulumi.Input[str] type: Type of subnet. `server`, `cloud` or `vswitch`
33
- :param pulumi.Input[int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
30
+ :param pulumi.Input[builtins.str] ip_range: Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
31
+ :param pulumi.Input[builtins.int] network_id: ID of the Network the subnet should be added to.
32
+ :param pulumi.Input[builtins.str] network_zone: Name of network zone.
33
+ :param pulumi.Input[builtins.str] type: Type of subnet. `server`, `cloud` or `vswitch`
34
+ :param pulumi.Input[builtins.int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
34
35
  """
35
36
  pulumi.set(__self__, "ip_range", ip_range)
36
37
  pulumi.set(__self__, "network_id", network_id)
@@ -41,81 +42,81 @@ class NetworkSubnetArgs:
41
42
 
42
43
  @property
43
44
  @pulumi.getter(name="ipRange")
44
- def ip_range(self) -> pulumi.Input[str]:
45
+ def ip_range(self) -> pulumi.Input[builtins.str]:
45
46
  """
46
47
  Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
47
48
  """
48
49
  return pulumi.get(self, "ip_range")
49
50
 
50
51
  @ip_range.setter
51
- def ip_range(self, value: pulumi.Input[str]):
52
+ def ip_range(self, value: pulumi.Input[builtins.str]):
52
53
  pulumi.set(self, "ip_range", value)
53
54
 
54
55
  @property
55
56
  @pulumi.getter(name="networkId")
56
- def network_id(self) -> pulumi.Input[int]:
57
+ def network_id(self) -> pulumi.Input[builtins.int]:
57
58
  """
58
59
  ID of the Network the subnet should be added to.
59
60
  """
60
61
  return pulumi.get(self, "network_id")
61
62
 
62
63
  @network_id.setter
63
- def network_id(self, value: pulumi.Input[int]):
64
+ def network_id(self, value: pulumi.Input[builtins.int]):
64
65
  pulumi.set(self, "network_id", value)
65
66
 
66
67
  @property
67
68
  @pulumi.getter(name="networkZone")
68
- def network_zone(self) -> pulumi.Input[str]:
69
+ def network_zone(self) -> pulumi.Input[builtins.str]:
69
70
  """
70
71
  Name of network zone.
71
72
  """
72
73
  return pulumi.get(self, "network_zone")
73
74
 
74
75
  @network_zone.setter
75
- def network_zone(self, value: pulumi.Input[str]):
76
+ def network_zone(self, value: pulumi.Input[builtins.str]):
76
77
  pulumi.set(self, "network_zone", value)
77
78
 
78
79
  @property
79
80
  @pulumi.getter
80
- def type(self) -> pulumi.Input[str]:
81
+ def type(self) -> pulumi.Input[builtins.str]:
81
82
  """
82
83
  Type of subnet. `server`, `cloud` or `vswitch`
83
84
  """
84
85
  return pulumi.get(self, "type")
85
86
 
86
87
  @type.setter
87
- def type(self, value: pulumi.Input[str]):
88
+ def type(self, value: pulumi.Input[builtins.str]):
88
89
  pulumi.set(self, "type", value)
89
90
 
90
91
  @property
91
92
  @pulumi.getter(name="vswitchId")
92
- def vswitch_id(self) -> Optional[pulumi.Input[int]]:
93
+ def vswitch_id(self) -> Optional[pulumi.Input[builtins.int]]:
93
94
  """
94
95
  ID of the vswitch, Required if type is `vswitch`
95
96
  """
96
97
  return pulumi.get(self, "vswitch_id")
97
98
 
98
99
  @vswitch_id.setter
99
- def vswitch_id(self, value: Optional[pulumi.Input[int]]):
100
+ def vswitch_id(self, value: Optional[pulumi.Input[builtins.int]]):
100
101
  pulumi.set(self, "vswitch_id", value)
101
102
 
102
103
 
103
104
  @pulumi.input_type
104
105
  class _NetworkSubnetState:
105
106
  def __init__(__self__, *,
106
- gateway: Optional[pulumi.Input[str]] = None,
107
- ip_range: Optional[pulumi.Input[str]] = None,
108
- network_id: Optional[pulumi.Input[int]] = None,
109
- network_zone: Optional[pulumi.Input[str]] = None,
110
- type: Optional[pulumi.Input[str]] = None,
111
- vswitch_id: Optional[pulumi.Input[int]] = None):
107
+ gateway: Optional[pulumi.Input[builtins.str]] = None,
108
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
109
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
110
+ network_zone: Optional[pulumi.Input[builtins.str]] = None,
111
+ type: Optional[pulumi.Input[builtins.str]] = None,
112
+ vswitch_id: Optional[pulumi.Input[builtins.int]] = None):
112
113
  """
113
114
  Input properties used for looking up and filtering NetworkSubnet resources.
114
- :param pulumi.Input[str] ip_range: Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
115
- :param pulumi.Input[int] network_id: ID of the Network the subnet should be added to.
116
- :param pulumi.Input[str] network_zone: Name of network zone.
117
- :param pulumi.Input[str] type: Type of subnet. `server`, `cloud` or `vswitch`
118
- :param pulumi.Input[int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
115
+ :param pulumi.Input[builtins.str] ip_range: Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
116
+ :param pulumi.Input[builtins.int] network_id: ID of the Network the subnet should be added to.
117
+ :param pulumi.Input[builtins.str] network_zone: Name of network zone.
118
+ :param pulumi.Input[builtins.str] type: Type of subnet. `server`, `cloud` or `vswitch`
119
+ :param pulumi.Input[builtins.int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
119
120
  """
120
121
  if gateway is not None:
121
122
  pulumi.set(__self__, "gateway", gateway)
@@ -132,71 +133,71 @@ class _NetworkSubnetState:
132
133
 
133
134
  @property
134
135
  @pulumi.getter
135
- def gateway(self) -> Optional[pulumi.Input[str]]:
136
+ def gateway(self) -> Optional[pulumi.Input[builtins.str]]:
136
137
  return pulumi.get(self, "gateway")
137
138
 
138
139
  @gateway.setter
139
- def gateway(self, value: Optional[pulumi.Input[str]]):
140
+ def gateway(self, value: Optional[pulumi.Input[builtins.str]]):
140
141
  pulumi.set(self, "gateway", value)
141
142
 
142
143
  @property
143
144
  @pulumi.getter(name="ipRange")
144
- def ip_range(self) -> Optional[pulumi.Input[str]]:
145
+ def ip_range(self) -> Optional[pulumi.Input[builtins.str]]:
145
146
  """
146
147
  Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
147
148
  """
148
149
  return pulumi.get(self, "ip_range")
149
150
 
150
151
  @ip_range.setter
151
- def ip_range(self, value: Optional[pulumi.Input[str]]):
152
+ def ip_range(self, value: Optional[pulumi.Input[builtins.str]]):
152
153
  pulumi.set(self, "ip_range", value)
153
154
 
154
155
  @property
155
156
  @pulumi.getter(name="networkId")
156
- def network_id(self) -> Optional[pulumi.Input[int]]:
157
+ def network_id(self) -> Optional[pulumi.Input[builtins.int]]:
157
158
  """
158
159
  ID of the Network the subnet should be added to.
159
160
  """
160
161
  return pulumi.get(self, "network_id")
161
162
 
162
163
  @network_id.setter
163
- def network_id(self, value: Optional[pulumi.Input[int]]):
164
+ def network_id(self, value: Optional[pulumi.Input[builtins.int]]):
164
165
  pulumi.set(self, "network_id", value)
165
166
 
166
167
  @property
167
168
  @pulumi.getter(name="networkZone")
168
- def network_zone(self) -> Optional[pulumi.Input[str]]:
169
+ def network_zone(self) -> Optional[pulumi.Input[builtins.str]]:
169
170
  """
170
171
  Name of network zone.
171
172
  """
172
173
  return pulumi.get(self, "network_zone")
173
174
 
174
175
  @network_zone.setter
175
- def network_zone(self, value: Optional[pulumi.Input[str]]):
176
+ def network_zone(self, value: Optional[pulumi.Input[builtins.str]]):
176
177
  pulumi.set(self, "network_zone", value)
177
178
 
178
179
  @property
179
180
  @pulumi.getter
180
- def type(self) -> Optional[pulumi.Input[str]]:
181
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
181
182
  """
182
183
  Type of subnet. `server`, `cloud` or `vswitch`
183
184
  """
184
185
  return pulumi.get(self, "type")
185
186
 
186
187
  @type.setter
187
- def type(self, value: Optional[pulumi.Input[str]]):
188
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
188
189
  pulumi.set(self, "type", value)
189
190
 
190
191
  @property
191
192
  @pulumi.getter(name="vswitchId")
192
- def vswitch_id(self) -> Optional[pulumi.Input[int]]:
193
+ def vswitch_id(self) -> Optional[pulumi.Input[builtins.int]]:
193
194
  """
194
195
  ID of the vswitch, Required if type is `vswitch`
195
196
  """
196
197
  return pulumi.get(self, "vswitch_id")
197
198
 
198
199
  @vswitch_id.setter
199
- def vswitch_id(self, value: Optional[pulumi.Input[int]]):
200
+ def vswitch_id(self, value: Optional[pulumi.Input[builtins.int]]):
200
201
  pulumi.set(self, "vswitch_id", value)
201
202
 
202
203
 
@@ -205,11 +206,11 @@ class NetworkSubnet(pulumi.CustomResource):
205
206
  def __init__(__self__,
206
207
  resource_name: str,
207
208
  opts: Optional[pulumi.ResourceOptions] = None,
208
- ip_range: Optional[pulumi.Input[str]] = None,
209
- network_id: Optional[pulumi.Input[int]] = None,
210
- network_zone: Optional[pulumi.Input[str]] = None,
211
- type: Optional[pulumi.Input[str]] = None,
212
- vswitch_id: Optional[pulumi.Input[int]] = None,
209
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
210
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
211
+ network_zone: Optional[pulumi.Input[builtins.str]] = None,
212
+ type: Optional[pulumi.Input[builtins.str]] = None,
213
+ vswitch_id: Optional[pulumi.Input[builtins.int]] = None,
213
214
  __props__=None):
214
215
  """
215
216
  Provides a Hetzner Cloud Network Subnet to represent a Subnet in the Hetzner Cloud.
@@ -242,11 +243,11 @@ class NetworkSubnet(pulumi.CustomResource):
242
243
 
243
244
  :param str resource_name: The name of the resource.
244
245
  :param pulumi.ResourceOptions opts: Options for the resource.
245
- :param pulumi.Input[str] ip_range: Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
246
- :param pulumi.Input[int] network_id: ID of the Network the subnet should be added to.
247
- :param pulumi.Input[str] network_zone: Name of network zone.
248
- :param pulumi.Input[str] type: Type of subnet. `server`, `cloud` or `vswitch`
249
- :param pulumi.Input[int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
246
+ :param pulumi.Input[builtins.str] ip_range: Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
247
+ :param pulumi.Input[builtins.int] network_id: ID of the Network the subnet should be added to.
248
+ :param pulumi.Input[builtins.str] network_zone: Name of network zone.
249
+ :param pulumi.Input[builtins.str] type: Type of subnet. `server`, `cloud` or `vswitch`
250
+ :param pulumi.Input[builtins.int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
250
251
  """
251
252
  ...
252
253
  @overload
@@ -298,11 +299,11 @@ class NetworkSubnet(pulumi.CustomResource):
298
299
  def _internal_init(__self__,
299
300
  resource_name: str,
300
301
  opts: Optional[pulumi.ResourceOptions] = None,
301
- ip_range: Optional[pulumi.Input[str]] = None,
302
- network_id: Optional[pulumi.Input[int]] = None,
303
- network_zone: Optional[pulumi.Input[str]] = None,
304
- type: Optional[pulumi.Input[str]] = None,
305
- vswitch_id: Optional[pulumi.Input[int]] = None,
302
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
303
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
304
+ network_zone: Optional[pulumi.Input[builtins.str]] = None,
305
+ type: Optional[pulumi.Input[builtins.str]] = None,
306
+ vswitch_id: Optional[pulumi.Input[builtins.int]] = None,
306
307
  __props__=None):
307
308
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
308
309
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -336,12 +337,12 @@ class NetworkSubnet(pulumi.CustomResource):
336
337
  def get(resource_name: str,
337
338
  id: pulumi.Input[str],
338
339
  opts: Optional[pulumi.ResourceOptions] = None,
339
- gateway: Optional[pulumi.Input[str]] = None,
340
- ip_range: Optional[pulumi.Input[str]] = None,
341
- network_id: Optional[pulumi.Input[int]] = None,
342
- network_zone: Optional[pulumi.Input[str]] = None,
343
- type: Optional[pulumi.Input[str]] = None,
344
- vswitch_id: Optional[pulumi.Input[int]] = None) -> 'NetworkSubnet':
340
+ gateway: Optional[pulumi.Input[builtins.str]] = None,
341
+ ip_range: Optional[pulumi.Input[builtins.str]] = None,
342
+ network_id: Optional[pulumi.Input[builtins.int]] = None,
343
+ network_zone: Optional[pulumi.Input[builtins.str]] = None,
344
+ type: Optional[pulumi.Input[builtins.str]] = None,
345
+ vswitch_id: Optional[pulumi.Input[builtins.int]] = None) -> 'NetworkSubnet':
345
346
  """
346
347
  Get an existing NetworkSubnet resource's state with the given name, id, and optional extra
347
348
  properties used to qualify the lookup.
@@ -349,11 +350,11 @@ class NetworkSubnet(pulumi.CustomResource):
349
350
  :param str resource_name: The unique name of the resulting resource.
350
351
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
351
352
  :param pulumi.ResourceOptions opts: Options for the resource.
352
- :param pulumi.Input[str] ip_range: Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
353
- :param pulumi.Input[int] network_id: ID of the Network the subnet should be added to.
354
- :param pulumi.Input[str] network_zone: Name of network zone.
355
- :param pulumi.Input[str] type: Type of subnet. `server`, `cloud` or `vswitch`
356
- :param pulumi.Input[int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
353
+ :param pulumi.Input[builtins.str] ip_range: Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
354
+ :param pulumi.Input[builtins.int] network_id: ID of the Network the subnet should be added to.
355
+ :param pulumi.Input[builtins.str] network_zone: Name of network zone.
356
+ :param pulumi.Input[builtins.str] type: Type of subnet. `server`, `cloud` or `vswitch`
357
+ :param pulumi.Input[builtins.int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
357
358
  """
358
359
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
359
360
 
@@ -369,12 +370,12 @@ class NetworkSubnet(pulumi.CustomResource):
369
370
 
370
371
  @property
371
372
  @pulumi.getter
372
- def gateway(self) -> pulumi.Output[str]:
373
+ def gateway(self) -> pulumi.Output[builtins.str]:
373
374
  return pulumi.get(self, "gateway")
374
375
 
375
376
  @property
376
377
  @pulumi.getter(name="ipRange")
377
- def ip_range(self) -> pulumi.Output[str]:
378
+ def ip_range(self) -> pulumi.Output[builtins.str]:
378
379
  """
379
380
  Range to allocate IPs from. Must be a subnet of the ip_range of the Network and must not overlap with any other subnets or with any destinations in routes.
380
381
  """
@@ -382,7 +383,7 @@ class NetworkSubnet(pulumi.CustomResource):
382
383
 
383
384
  @property
384
385
  @pulumi.getter(name="networkId")
385
- def network_id(self) -> pulumi.Output[int]:
386
+ def network_id(self) -> pulumi.Output[builtins.int]:
386
387
  """
387
388
  ID of the Network the subnet should be added to.
388
389
  """
@@ -390,7 +391,7 @@ class NetworkSubnet(pulumi.CustomResource):
390
391
 
391
392
  @property
392
393
  @pulumi.getter(name="networkZone")
393
- def network_zone(self) -> pulumi.Output[str]:
394
+ def network_zone(self) -> pulumi.Output[builtins.str]:
394
395
  """
395
396
  Name of network zone.
396
397
  """
@@ -398,7 +399,7 @@ class NetworkSubnet(pulumi.CustomResource):
398
399
 
399
400
  @property
400
401
  @pulumi.getter
401
- def type(self) -> pulumi.Output[str]:
402
+ def type(self) -> pulumi.Output[builtins.str]:
402
403
  """
403
404
  Type of subnet. `server`, `cloud` or `vswitch`
404
405
  """
@@ -406,7 +407,7 @@ class NetworkSubnet(pulumi.CustomResource):
406
407
 
407
408
  @property
408
409
  @pulumi.getter(name="vswitchId")
409
- def vswitch_id(self) -> pulumi.Output[Optional[int]]:
410
+ def vswitch_id(self) -> pulumi.Output[Optional[builtins.int]]:
410
411
  """
411
412
  ID of the vswitch, Required if type is `vswitch`
412
413
  """