pulumi-hcloud 1.24.0a1752904698__py3-none-any.whl → 1.24.0a1753509442__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 -1
- pulumi_hcloud/_inputs.py +281 -282
- pulumi_hcloud/certificate.py +95 -96
- pulumi_hcloud/config/__init__.py +1 -1
- pulumi_hcloud/config/__init__.pyi +1 -2
- pulumi_hcloud/config/vars.py +5 -6
- pulumi_hcloud/firewall.py +41 -42
- pulumi_hcloud/firewall_attachment.py +52 -53
- pulumi_hcloud/floating_ip.py +138 -139
- pulumi_hcloud/floating_ip_assignment.py +35 -36
- pulumi_hcloud/get_certificate.py +35 -36
- pulumi_hcloud/get_certificates.py +10 -11
- pulumi_hcloud/get_datacenter.py +21 -22
- pulumi_hcloud/get_datacenters.py +10 -11
- pulumi_hcloud/get_firewall.py +33 -34
- pulumi_hcloud/get_firewalls.py +16 -17
- pulumi_hcloud/get_floating_ip.py +43 -44
- pulumi_hcloud/get_floating_ips.py +10 -11
- pulumi_hcloud/get_image.py +65 -66
- pulumi_hcloud/get_images.py +34 -35
- pulumi_hcloud/get_load_balancer.py +40 -41
- pulumi_hcloud/get_load_balancer_type.py +23 -24
- pulumi_hcloud/get_load_balancer_types.py +4 -5
- pulumi_hcloud/get_load_balancers.py +10 -11
- pulumi_hcloud/get_location.py +25 -26
- pulumi_hcloud/get_locations.py +10 -11
- pulumi_hcloud/get_network.py +37 -38
- pulumi_hcloud/get_networks.py +10 -11
- pulumi_hcloud/get_placement_group.py +39 -40
- pulumi_hcloud/get_placement_groups.py +16 -17
- pulumi_hcloud/get_primary_ip.py +45 -46
- pulumi_hcloud/get_primary_ips.py +10 -11
- pulumi_hcloud/get_server.py +70 -71
- pulumi_hcloud/get_server_type.py +35 -36
- pulumi_hcloud/get_server_types.py +10 -11
- pulumi_hcloud/get_servers.py +16 -17
- pulumi_hcloud/get_ssh_key.py +35 -36
- pulumi_hcloud/get_ssh_keys.py +14 -15
- pulumi_hcloud/get_volume.py +49 -50
- pulumi_hcloud/get_volumes.py +16 -17
- pulumi_hcloud/load_balancer.py +145 -146
- pulumi_hcloud/load_balancer_network.py +86 -87
- pulumi_hcloud/load_balancer_service.py +92 -93
- pulumi_hcloud/load_balancer_target.py +103 -104
- pulumi_hcloud/managed_certificate.py +104 -105
- pulumi_hcloud/network.py +86 -87
- pulumi_hcloud/network_route.py +52 -53
- pulumi_hcloud/network_subnet.py +93 -94
- pulumi_hcloud/outputs.py +847 -848
- pulumi_hcloud/placement_group.py +59 -60
- pulumi_hcloud/primary_ip.py +155 -156
- pulumi_hcloud/provider.py +42 -43
- pulumi_hcloud/pulumi-plugin.json +1 -1
- pulumi_hcloud/rdns.py +103 -104
- pulumi_hcloud/server.py +380 -381
- pulumi_hcloud/server_network.py +93 -94
- pulumi_hcloud/snapshot.py +52 -53
- pulumi_hcloud/ssh_key.py +61 -62
- pulumi_hcloud/uploaded_certificate.py +121 -122
- pulumi_hcloud/volume.py +146 -147
- pulumi_hcloud/volume_attachment.py +52 -53
- {pulumi_hcloud-1.24.0a1752904698.dist-info → pulumi_hcloud-1.24.0a1753509442.dist-info}/METADATA +1 -1
- pulumi_hcloud-1.24.0a1753509442.dist-info/RECORD +67 -0
- pulumi_hcloud-1.24.0a1752904698.dist-info/RECORD +0 -67
- {pulumi_hcloud-1.24.0a1752904698.dist-info → pulumi_hcloud-1.24.0a1753509442.dist-info}/WHEEL +0 -0
- {pulumi_hcloud-1.24.0a1752904698.dist-info → pulumi_hcloud-1.24.0a1753509442.dist-info}/top_level.txt +0 -0
pulumi_hcloud/network_subnet.py
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -20,18 +19,18 @@ __all__ = ['NetworkSubnetArgs', 'NetworkSubnet']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class NetworkSubnetArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
ip_range: pulumi.Input[
|
24
|
-
network_id: pulumi.Input[
|
25
|
-
network_zone: pulumi.Input[
|
26
|
-
type: pulumi.Input[
|
27
|
-
vswitch_id: Optional[pulumi.Input[
|
22
|
+
ip_range: pulumi.Input[_builtins.str],
|
23
|
+
network_id: pulumi.Input[_builtins.int],
|
24
|
+
network_zone: pulumi.Input[_builtins.str],
|
25
|
+
type: pulumi.Input[_builtins.str],
|
26
|
+
vswitch_id: Optional[pulumi.Input[_builtins.int]] = None):
|
28
27
|
"""
|
29
28
|
The set of arguments for constructing a NetworkSubnet resource.
|
30
|
-
:param pulumi.Input[
|
31
|
-
:param pulumi.Input[
|
32
|
-
:param pulumi.Input[
|
33
|
-
:param pulumi.Input[
|
34
|
-
:param pulumi.Input[
|
29
|
+
: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.
|
30
|
+
:param pulumi.Input[_builtins.int] network_id: ID of the Network the subnet should be added to.
|
31
|
+
:param pulumi.Input[_builtins.str] network_zone: Name of network zone.
|
32
|
+
:param pulumi.Input[_builtins.str] type: Type of subnet. `server`, `cloud` or `vswitch`
|
33
|
+
:param pulumi.Input[_builtins.int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
|
35
34
|
"""
|
36
35
|
pulumi.set(__self__, "ip_range", ip_range)
|
37
36
|
pulumi.set(__self__, "network_id", network_id)
|
@@ -40,83 +39,83 @@ class NetworkSubnetArgs:
|
|
40
39
|
if vswitch_id is not None:
|
41
40
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
42
41
|
|
43
|
-
@property
|
42
|
+
@_builtins.property
|
44
43
|
@pulumi.getter(name="ipRange")
|
45
|
-
def ip_range(self) -> pulumi.Input[
|
44
|
+
def ip_range(self) -> pulumi.Input[_builtins.str]:
|
46
45
|
"""
|
47
46
|
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.
|
48
47
|
"""
|
49
48
|
return pulumi.get(self, "ip_range")
|
50
49
|
|
51
50
|
@ip_range.setter
|
52
|
-
def ip_range(self, value: pulumi.Input[
|
51
|
+
def ip_range(self, value: pulumi.Input[_builtins.str]):
|
53
52
|
pulumi.set(self, "ip_range", value)
|
54
53
|
|
55
|
-
@property
|
54
|
+
@_builtins.property
|
56
55
|
@pulumi.getter(name="networkId")
|
57
|
-
def network_id(self) -> pulumi.Input[
|
56
|
+
def network_id(self) -> pulumi.Input[_builtins.int]:
|
58
57
|
"""
|
59
58
|
ID of the Network the subnet should be added to.
|
60
59
|
"""
|
61
60
|
return pulumi.get(self, "network_id")
|
62
61
|
|
63
62
|
@network_id.setter
|
64
|
-
def network_id(self, value: pulumi.Input[
|
63
|
+
def network_id(self, value: pulumi.Input[_builtins.int]):
|
65
64
|
pulumi.set(self, "network_id", value)
|
66
65
|
|
67
|
-
@property
|
66
|
+
@_builtins.property
|
68
67
|
@pulumi.getter(name="networkZone")
|
69
|
-
def network_zone(self) -> pulumi.Input[
|
68
|
+
def network_zone(self) -> pulumi.Input[_builtins.str]:
|
70
69
|
"""
|
71
70
|
Name of network zone.
|
72
71
|
"""
|
73
72
|
return pulumi.get(self, "network_zone")
|
74
73
|
|
75
74
|
@network_zone.setter
|
76
|
-
def network_zone(self, value: pulumi.Input[
|
75
|
+
def network_zone(self, value: pulumi.Input[_builtins.str]):
|
77
76
|
pulumi.set(self, "network_zone", value)
|
78
77
|
|
79
|
-
@property
|
78
|
+
@_builtins.property
|
80
79
|
@pulumi.getter
|
81
|
-
def type(self) -> pulumi.Input[
|
80
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
82
81
|
"""
|
83
82
|
Type of subnet. `server`, `cloud` or `vswitch`
|
84
83
|
"""
|
85
84
|
return pulumi.get(self, "type")
|
86
85
|
|
87
86
|
@type.setter
|
88
|
-
def type(self, value: pulumi.Input[
|
87
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
89
88
|
pulumi.set(self, "type", value)
|
90
89
|
|
91
|
-
@property
|
90
|
+
@_builtins.property
|
92
91
|
@pulumi.getter(name="vswitchId")
|
93
|
-
def vswitch_id(self) -> Optional[pulumi.Input[
|
92
|
+
def vswitch_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
94
93
|
"""
|
95
94
|
ID of the vswitch, Required if type is `vswitch`
|
96
95
|
"""
|
97
96
|
return pulumi.get(self, "vswitch_id")
|
98
97
|
|
99
98
|
@vswitch_id.setter
|
100
|
-
def vswitch_id(self, value: Optional[pulumi.Input[
|
99
|
+
def vswitch_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
101
100
|
pulumi.set(self, "vswitch_id", value)
|
102
101
|
|
103
102
|
|
104
103
|
@pulumi.input_type
|
105
104
|
class _NetworkSubnetState:
|
106
105
|
def __init__(__self__, *,
|
107
|
-
gateway: Optional[pulumi.Input[
|
108
|
-
ip_range: Optional[pulumi.Input[
|
109
|
-
network_id: Optional[pulumi.Input[
|
110
|
-
network_zone: Optional[pulumi.Input[
|
111
|
-
type: Optional[pulumi.Input[
|
112
|
-
vswitch_id: Optional[pulumi.Input[
|
106
|
+
gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
107
|
+
ip_range: Optional[pulumi.Input[_builtins.str]] = None,
|
108
|
+
network_id: Optional[pulumi.Input[_builtins.int]] = None,
|
109
|
+
network_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
110
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
111
|
+
vswitch_id: Optional[pulumi.Input[_builtins.int]] = None):
|
113
112
|
"""
|
114
113
|
Input properties used for looking up and filtering NetworkSubnet resources.
|
115
|
-
:param pulumi.Input[
|
116
|
-
:param pulumi.Input[
|
117
|
-
:param pulumi.Input[
|
118
|
-
:param pulumi.Input[
|
119
|
-
:param pulumi.Input[
|
114
|
+
: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.
|
115
|
+
:param pulumi.Input[_builtins.int] network_id: ID of the Network the subnet should be added to.
|
116
|
+
:param pulumi.Input[_builtins.str] network_zone: Name of network zone.
|
117
|
+
:param pulumi.Input[_builtins.str] type: Type of subnet. `server`, `cloud` or `vswitch`
|
118
|
+
:param pulumi.Input[_builtins.int] vswitch_id: ID of the vswitch, Required if type is `vswitch`
|
120
119
|
"""
|
121
120
|
if gateway is not None:
|
122
121
|
pulumi.set(__self__, "gateway", gateway)
|
@@ -131,73 +130,73 @@ class _NetworkSubnetState:
|
|
131
130
|
if vswitch_id is not None:
|
132
131
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
133
132
|
|
134
|
-
@property
|
133
|
+
@_builtins.property
|
135
134
|
@pulumi.getter
|
136
|
-
def gateway(self) -> Optional[pulumi.Input[
|
135
|
+
def gateway(self) -> Optional[pulumi.Input[_builtins.str]]:
|
137
136
|
return pulumi.get(self, "gateway")
|
138
137
|
|
139
138
|
@gateway.setter
|
140
|
-
def gateway(self, value: Optional[pulumi.Input[
|
139
|
+
def gateway(self, value: Optional[pulumi.Input[_builtins.str]]):
|
141
140
|
pulumi.set(self, "gateway", value)
|
142
141
|
|
143
|
-
@property
|
142
|
+
@_builtins.property
|
144
143
|
@pulumi.getter(name="ipRange")
|
145
|
-
def ip_range(self) -> Optional[pulumi.Input[
|
144
|
+
def ip_range(self) -> Optional[pulumi.Input[_builtins.str]]:
|
146
145
|
"""
|
147
146
|
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.
|
148
147
|
"""
|
149
148
|
return pulumi.get(self, "ip_range")
|
150
149
|
|
151
150
|
@ip_range.setter
|
152
|
-
def ip_range(self, value: Optional[pulumi.Input[
|
151
|
+
def ip_range(self, value: Optional[pulumi.Input[_builtins.str]]):
|
153
152
|
pulumi.set(self, "ip_range", value)
|
154
153
|
|
155
|
-
@property
|
154
|
+
@_builtins.property
|
156
155
|
@pulumi.getter(name="networkId")
|
157
|
-
def network_id(self) -> Optional[pulumi.Input[
|
156
|
+
def network_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
158
157
|
"""
|
159
158
|
ID of the Network the subnet should be added to.
|
160
159
|
"""
|
161
160
|
return pulumi.get(self, "network_id")
|
162
161
|
|
163
162
|
@network_id.setter
|
164
|
-
def network_id(self, value: Optional[pulumi.Input[
|
163
|
+
def network_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
165
164
|
pulumi.set(self, "network_id", value)
|
166
165
|
|
167
|
-
@property
|
166
|
+
@_builtins.property
|
168
167
|
@pulumi.getter(name="networkZone")
|
169
|
-
def network_zone(self) -> Optional[pulumi.Input[
|
168
|
+
def network_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
170
169
|
"""
|
171
170
|
Name of network zone.
|
172
171
|
"""
|
173
172
|
return pulumi.get(self, "network_zone")
|
174
173
|
|
175
174
|
@network_zone.setter
|
176
|
-
def network_zone(self, value: Optional[pulumi.Input[
|
175
|
+
def network_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
177
176
|
pulumi.set(self, "network_zone", value)
|
178
177
|
|
179
|
-
@property
|
178
|
+
@_builtins.property
|
180
179
|
@pulumi.getter
|
181
|
-
def type(self) -> Optional[pulumi.Input[
|
180
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
182
181
|
"""
|
183
182
|
Type of subnet. `server`, `cloud` or `vswitch`
|
184
183
|
"""
|
185
184
|
return pulumi.get(self, "type")
|
186
185
|
|
187
186
|
@type.setter
|
188
|
-
def type(self, value: Optional[pulumi.Input[
|
187
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
189
188
|
pulumi.set(self, "type", value)
|
190
189
|
|
191
|
-
@property
|
190
|
+
@_builtins.property
|
192
191
|
@pulumi.getter(name="vswitchId")
|
193
|
-
def vswitch_id(self) -> Optional[pulumi.Input[
|
192
|
+
def vswitch_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
194
193
|
"""
|
195
194
|
ID of the vswitch, Required if type is `vswitch`
|
196
195
|
"""
|
197
196
|
return pulumi.get(self, "vswitch_id")
|
198
197
|
|
199
198
|
@vswitch_id.setter
|
200
|
-
def vswitch_id(self, value: Optional[pulumi.Input[
|
199
|
+
def vswitch_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
201
200
|
pulumi.set(self, "vswitch_id", value)
|
202
201
|
|
203
202
|
|
@@ -207,11 +206,11 @@ class NetworkSubnet(pulumi.CustomResource):
|
|
207
206
|
def __init__(__self__,
|
208
207
|
resource_name: str,
|
209
208
|
opts: Optional[pulumi.ResourceOptions] = None,
|
210
|
-
ip_range: Optional[pulumi.Input[
|
211
|
-
network_id: Optional[pulumi.Input[
|
212
|
-
network_zone: Optional[pulumi.Input[
|
213
|
-
type: Optional[pulumi.Input[
|
214
|
-
vswitch_id: Optional[pulumi.Input[
|
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,
|
215
214
|
__props__=None):
|
216
215
|
"""
|
217
216
|
Provides a Hetzner Cloud Network Subnet to represent a Subnet in the Hetzner Cloud.
|
@@ -244,11 +243,11 @@ class NetworkSubnet(pulumi.CustomResource):
|
|
244
243
|
|
245
244
|
:param str resource_name: The name of the resource.
|
246
245
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
247
|
-
:param pulumi.Input[
|
248
|
-
:param pulumi.Input[
|
249
|
-
:param pulumi.Input[
|
250
|
-
:param pulumi.Input[
|
251
|
-
:param pulumi.Input[
|
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`
|
252
251
|
"""
|
253
252
|
...
|
254
253
|
@overload
|
@@ -300,11 +299,11 @@ class NetworkSubnet(pulumi.CustomResource):
|
|
300
299
|
def _internal_init(__self__,
|
301
300
|
resource_name: str,
|
302
301
|
opts: Optional[pulumi.ResourceOptions] = None,
|
303
|
-
ip_range: Optional[pulumi.Input[
|
304
|
-
network_id: Optional[pulumi.Input[
|
305
|
-
network_zone: Optional[pulumi.Input[
|
306
|
-
type: Optional[pulumi.Input[
|
307
|
-
vswitch_id: Optional[pulumi.Input[
|
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,
|
308
307
|
__props__=None):
|
309
308
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
310
309
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -338,12 +337,12 @@ class NetworkSubnet(pulumi.CustomResource):
|
|
338
337
|
def get(resource_name: str,
|
339
338
|
id: pulumi.Input[str],
|
340
339
|
opts: Optional[pulumi.ResourceOptions] = None,
|
341
|
-
gateway: Optional[pulumi.Input[
|
342
|
-
ip_range: Optional[pulumi.Input[
|
343
|
-
network_id: Optional[pulumi.Input[
|
344
|
-
network_zone: Optional[pulumi.Input[
|
345
|
-
type: Optional[pulumi.Input[
|
346
|
-
vswitch_id: Optional[pulumi.Input[
|
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':
|
347
346
|
"""
|
348
347
|
Get an existing NetworkSubnet resource's state with the given name, id, and optional extra
|
349
348
|
properties used to qualify the lookup.
|
@@ -351,11 +350,11 @@ class NetworkSubnet(pulumi.CustomResource):
|
|
351
350
|
:param str resource_name: The unique name of the resulting resource.
|
352
351
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
353
352
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
354
|
-
:param pulumi.Input[
|
355
|
-
:param pulumi.Input[
|
356
|
-
:param pulumi.Input[
|
357
|
-
:param pulumi.Input[
|
358
|
-
:param pulumi.Input[
|
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`
|
359
358
|
"""
|
360
359
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
361
360
|
|
@@ -369,46 +368,46 @@ class NetworkSubnet(pulumi.CustomResource):
|
|
369
368
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
370
369
|
return NetworkSubnet(resource_name, opts=opts, __props__=__props__)
|
371
370
|
|
372
|
-
@property
|
371
|
+
@_builtins.property
|
373
372
|
@pulumi.getter
|
374
|
-
def gateway(self) -> pulumi.Output[
|
373
|
+
def gateway(self) -> pulumi.Output[_builtins.str]:
|
375
374
|
return pulumi.get(self, "gateway")
|
376
375
|
|
377
|
-
@property
|
376
|
+
@_builtins.property
|
378
377
|
@pulumi.getter(name="ipRange")
|
379
|
-
def ip_range(self) -> pulumi.Output[
|
378
|
+
def ip_range(self) -> pulumi.Output[_builtins.str]:
|
380
379
|
"""
|
381
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.
|
382
381
|
"""
|
383
382
|
return pulumi.get(self, "ip_range")
|
384
383
|
|
385
|
-
@property
|
384
|
+
@_builtins.property
|
386
385
|
@pulumi.getter(name="networkId")
|
387
|
-
def network_id(self) -> pulumi.Output[
|
386
|
+
def network_id(self) -> pulumi.Output[_builtins.int]:
|
388
387
|
"""
|
389
388
|
ID of the Network the subnet should be added to.
|
390
389
|
"""
|
391
390
|
return pulumi.get(self, "network_id")
|
392
391
|
|
393
|
-
@property
|
392
|
+
@_builtins.property
|
394
393
|
@pulumi.getter(name="networkZone")
|
395
|
-
def network_zone(self) -> pulumi.Output[
|
394
|
+
def network_zone(self) -> pulumi.Output[_builtins.str]:
|
396
395
|
"""
|
397
396
|
Name of network zone.
|
398
397
|
"""
|
399
398
|
return pulumi.get(self, "network_zone")
|
400
399
|
|
401
|
-
@property
|
400
|
+
@_builtins.property
|
402
401
|
@pulumi.getter
|
403
|
-
def type(self) -> pulumi.Output[
|
402
|
+
def type(self) -> pulumi.Output[_builtins.str]:
|
404
403
|
"""
|
405
404
|
Type of subnet. `server`, `cloud` or `vswitch`
|
406
405
|
"""
|
407
406
|
return pulumi.get(self, "type")
|
408
407
|
|
409
|
-
@property
|
408
|
+
@_builtins.property
|
410
409
|
@pulumi.getter(name="vswitchId")
|
411
|
-
def vswitch_id(self) -> pulumi.Output[Optional[
|
410
|
+
def vswitch_id(self) -> pulumi.Output[Optional[_builtins.int]]:
|
412
411
|
"""
|
413
412
|
ID of the vswitch, Required if type is `vswitch`
|
414
413
|
"""
|