cdktf-cdktf-provider-upcloud 14.2.3__py3-none-any.whl → 14.4.0__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.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +5 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.4.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +82 -50
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +78 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +403 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +39 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +189 -189
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +330 -376
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +345 -345
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +117 -117
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +221 -130
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1069 -0
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +153 -153
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.2.3.dist-info → cdktf_cdktf_provider_upcloud-14.4.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.4.0.dist-info/RECORD +61 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.2.3.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.2.3.dist-info/RECORD +0 -60
- {cdktf_cdktf_provider_upcloud-14.2.3.dist-info → cdktf_cdktf_provider_upcloud-14.4.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.2.3.dist-info → cdktf_cdktf_provider_upcloud-14.4.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.2.3.dist-info → cdktf_cdktf_provider_upcloud-14.4.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_network`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_network`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_network`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,17 +29,16 @@ class Network(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.network.Network",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network upcloud_network}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
36
36
|
scope: _constructs_77d1e7e8.Construct,
|
|
37
|
-
|
|
37
|
+
id: builtins.str,
|
|
38
38
|
*,
|
|
39
|
-
ip_network: typing.Union["NetworkIpNetwork", typing.Dict[builtins.str, typing.Any]],
|
|
40
39
|
name: builtins.str,
|
|
41
40
|
zone: builtins.str,
|
|
42
|
-
|
|
41
|
+
ip_network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkIpNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
43
42
|
router: typing.Optional[builtins.str] = None,
|
|
44
43
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
45
44
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
@@ -49,15 +48,14 @@ class Network(
|
|
|
49
48
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
50
49
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
51
50
|
) -> None:
|
|
52
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
51
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network upcloud_network} Resource.
|
|
53
52
|
|
|
54
53
|
:param scope: The scope in which to define this construct.
|
|
55
|
-
:param
|
|
56
|
-
:param
|
|
57
|
-
:param
|
|
58
|
-
:param
|
|
59
|
-
:param
|
|
60
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/network#router Network#router}
|
|
54
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
55
|
+
:param name: Name of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#name Network#name}
|
|
56
|
+
:param zone: The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#zone Network#zone}
|
|
57
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#ip_network Network#ip_network}
|
|
58
|
+
:param router: UUID of a router to attach to this network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#router Network#router}
|
|
61
59
|
:param connection:
|
|
62
60
|
:param count:
|
|
63
61
|
:param depends_on:
|
|
@@ -69,12 +67,11 @@ class Network(
|
|
|
69
67
|
if __debug__:
|
|
70
68
|
type_hints = typing.get_type_hints(_typecheckingstub__fc3c34873f1a44cebcb9435310e62bfc7abed9c849834686c99e43fdc9dc5dfe)
|
|
71
69
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
72
|
-
check_type(argname="argument
|
|
70
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
73
71
|
config = NetworkConfig(
|
|
74
|
-
ip_network=ip_network,
|
|
75
72
|
name=name,
|
|
76
73
|
zone=zone,
|
|
77
|
-
|
|
74
|
+
ip_network=ip_network,
|
|
78
75
|
router=router,
|
|
79
76
|
connection=connection,
|
|
80
77
|
count=count,
|
|
@@ -85,7 +82,7 @@ class Network(
|
|
|
85
82
|
provisioners=provisioners,
|
|
86
83
|
)
|
|
87
84
|
|
|
88
|
-
jsii.create(self.__class__, self, [scope,
|
|
85
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
|
89
86
|
|
|
90
87
|
@jsii.member(jsii_name="generateConfigForImport")
|
|
91
88
|
@builtins.classmethod
|
|
@@ -100,7 +97,7 @@ class Network(
|
|
|
100
97
|
|
|
101
98
|
:param scope: The scope in which to define this construct.
|
|
102
99
|
:param import_to_id: The construct id used in the generated config for the Network to import.
|
|
103
|
-
:param import_from_id: The id of the existing Network that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
100
|
+
:param import_from_id: The id of the existing Network that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#import import section} in the documentation of this resource for the id to use
|
|
104
101
|
:param provider: ? Optional instance of the provider where the Network to import is found.
|
|
105
102
|
'''
|
|
106
103
|
if __debug__:
|
|
@@ -114,39 +111,19 @@ class Network(
|
|
|
114
111
|
@jsii.member(jsii_name="putIpNetwork")
|
|
115
112
|
def put_ip_network(
|
|
116
113
|
self,
|
|
117
|
-
|
|
118
|
-
address: builtins.str,
|
|
119
|
-
dhcp: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
120
|
-
family: builtins.str,
|
|
121
|
-
dhcp_default_route: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
122
|
-
dhcp_dns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
123
|
-
dhcp_routes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
124
|
-
gateway: typing.Optional[builtins.str] = None,
|
|
114
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkIpNetwork", typing.Dict[builtins.str, typing.Any]]]],
|
|
125
115
|
) -> None:
|
|
126
116
|
'''
|
|
127
|
-
:param
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
133
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/network#gateway Network#gateway}
|
|
134
|
-
'''
|
|
135
|
-
value = NetworkIpNetwork(
|
|
136
|
-
address=address,
|
|
137
|
-
dhcp=dhcp,
|
|
138
|
-
family=family,
|
|
139
|
-
dhcp_default_route=dhcp_default_route,
|
|
140
|
-
dhcp_dns=dhcp_dns,
|
|
141
|
-
dhcp_routes=dhcp_routes,
|
|
142
|
-
gateway=gateway,
|
|
143
|
-
)
|
|
144
|
-
|
|
117
|
+
:param value: -
|
|
118
|
+
'''
|
|
119
|
+
if __debug__:
|
|
120
|
+
type_hints = typing.get_type_hints(_typecheckingstub__772f1f7aac799c8c1bc1c2a4a8ab58540d306d5db2324b89b1ca5f214a272a9c)
|
|
121
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
145
122
|
return typing.cast(None, jsii.invoke(self, "putIpNetwork", [value]))
|
|
146
123
|
|
|
147
|
-
@jsii.member(jsii_name="
|
|
148
|
-
def
|
|
149
|
-
return typing.cast(None, jsii.invoke(self, "
|
|
124
|
+
@jsii.member(jsii_name="resetIpNetwork")
|
|
125
|
+
def reset_ip_network(self) -> None:
|
|
126
|
+
return typing.cast(None, jsii.invoke(self, "resetIpNetwork", []))
|
|
150
127
|
|
|
151
128
|
@jsii.member(jsii_name="resetRouter")
|
|
152
129
|
def reset_router(self) -> None:
|
|
@@ -165,25 +142,27 @@ class Network(
|
|
|
165
142
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
166
143
|
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
167
144
|
|
|
145
|
+
@builtins.property
|
|
146
|
+
@jsii.member(jsii_name="id")
|
|
147
|
+
def id(self) -> builtins.str:
|
|
148
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
149
|
+
|
|
168
150
|
@builtins.property
|
|
169
151
|
@jsii.member(jsii_name="ipNetwork")
|
|
170
|
-
def ip_network(self) -> "
|
|
171
|
-
return typing.cast("
|
|
152
|
+
def ip_network(self) -> "NetworkIpNetworkList":
|
|
153
|
+
return typing.cast("NetworkIpNetworkList", jsii.get(self, "ipNetwork"))
|
|
172
154
|
|
|
173
155
|
@builtins.property
|
|
174
156
|
@jsii.member(jsii_name="type")
|
|
175
157
|
def type(self) -> builtins.str:
|
|
176
158
|
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
177
159
|
|
|
178
|
-
@builtins.property
|
|
179
|
-
@jsii.member(jsii_name="idInput")
|
|
180
|
-
def id_input(self) -> typing.Optional[builtins.str]:
|
|
181
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
182
|
-
|
|
183
160
|
@builtins.property
|
|
184
161
|
@jsii.member(jsii_name="ipNetworkInput")
|
|
185
|
-
def ip_network_input(
|
|
186
|
-
|
|
162
|
+
def ip_network_input(
|
|
163
|
+
self,
|
|
164
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkIpNetwork"]]]:
|
|
165
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkIpNetwork"]]], jsii.get(self, "ipNetworkInput"))
|
|
187
166
|
|
|
188
167
|
@builtins.property
|
|
189
168
|
@jsii.member(jsii_name="nameInput")
|
|
@@ -200,18 +179,6 @@ class Network(
|
|
|
200
179
|
def zone_input(self) -> typing.Optional[builtins.str]:
|
|
201
180
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "zoneInput"))
|
|
202
181
|
|
|
203
|
-
@builtins.property
|
|
204
|
-
@jsii.member(jsii_name="id")
|
|
205
|
-
def id(self) -> builtins.str:
|
|
206
|
-
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
207
|
-
|
|
208
|
-
@id.setter
|
|
209
|
-
def id(self, value: builtins.str) -> None:
|
|
210
|
-
if __debug__:
|
|
211
|
-
type_hints = typing.get_type_hints(_typecheckingstub__d31eec369908375dc080f9eb6a1c7b3a4fd6b0ab7f0ea191df07db38f4d19722)
|
|
212
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
213
|
-
jsii.set(self, "id", value)
|
|
214
|
-
|
|
215
182
|
@builtins.property
|
|
216
183
|
@jsii.member(jsii_name="name")
|
|
217
184
|
def name(self) -> builtins.str:
|
|
@@ -260,10 +227,9 @@ class Network(
|
|
|
260
227
|
"lifecycle": "lifecycle",
|
|
261
228
|
"provider": "provider",
|
|
262
229
|
"provisioners": "provisioners",
|
|
263
|
-
"ip_network": "ipNetwork",
|
|
264
230
|
"name": "name",
|
|
265
231
|
"zone": "zone",
|
|
266
|
-
"
|
|
232
|
+
"ip_network": "ipNetwork",
|
|
267
233
|
"router": "router",
|
|
268
234
|
},
|
|
269
235
|
)
|
|
@@ -278,10 +244,9 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
278
244
|
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
279
245
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
280
246
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
281
|
-
ip_network: typing.Union["NetworkIpNetwork", typing.Dict[builtins.str, typing.Any]],
|
|
282
247
|
name: builtins.str,
|
|
283
248
|
zone: builtins.str,
|
|
284
|
-
|
|
249
|
+
ip_network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["NetworkIpNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
285
250
|
router: typing.Optional[builtins.str] = None,
|
|
286
251
|
) -> None:
|
|
287
252
|
'''
|
|
@@ -292,16 +257,13 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
292
257
|
:param lifecycle:
|
|
293
258
|
:param provider:
|
|
294
259
|
:param provisioners:
|
|
295
|
-
:param
|
|
296
|
-
:param
|
|
297
|
-
:param
|
|
298
|
-
:param
|
|
299
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/network#router Network#router}
|
|
260
|
+
:param name: Name of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#name Network#name}
|
|
261
|
+
:param zone: The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#zone Network#zone}
|
|
262
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#ip_network Network#ip_network}
|
|
263
|
+
:param router: UUID of a router to attach to this network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#router Network#router}
|
|
300
264
|
'''
|
|
301
265
|
if isinstance(lifecycle, dict):
|
|
302
266
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
303
|
-
if isinstance(ip_network, dict):
|
|
304
|
-
ip_network = NetworkIpNetwork(**ip_network)
|
|
305
267
|
if __debug__:
|
|
306
268
|
type_hints = typing.get_type_hints(_typecheckingstub__4cc92d326e1ef59bd0e2ec2f892be6fcdb6c8e18178d334cdf36f1a0c82e48f6)
|
|
307
269
|
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
@@ -311,13 +273,11 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
311
273
|
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
312
274
|
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
313
275
|
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
314
|
-
check_type(argname="argument ip_network", value=ip_network, expected_type=type_hints["ip_network"])
|
|
315
276
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
316
277
|
check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
|
|
317
|
-
check_type(argname="argument
|
|
278
|
+
check_type(argname="argument ip_network", value=ip_network, expected_type=type_hints["ip_network"])
|
|
318
279
|
check_type(argname="argument router", value=router, expected_type=type_hints["router"])
|
|
319
280
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
320
|
-
"ip_network": ip_network,
|
|
321
281
|
"name": name,
|
|
322
282
|
"zone": zone,
|
|
323
283
|
}
|
|
@@ -335,8 +295,8 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
335
295
|
self._values["provider"] = provider
|
|
336
296
|
if provisioners is not None:
|
|
337
297
|
self._values["provisioners"] = provisioners
|
|
338
|
-
if
|
|
339
|
-
self._values["
|
|
298
|
+
if ip_network is not None:
|
|
299
|
+
self._values["ip_network"] = ip_network
|
|
340
300
|
if router is not None:
|
|
341
301
|
self._values["router"] = router
|
|
342
302
|
|
|
@@ -404,21 +364,11 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
404
364
|
result = self._values.get("provisioners")
|
|
405
365
|
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
406
366
|
|
|
407
|
-
@builtins.property
|
|
408
|
-
def ip_network(self) -> "NetworkIpNetwork":
|
|
409
|
-
'''ip_network block.
|
|
410
|
-
|
|
411
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/network#ip_network Network#ip_network}
|
|
412
|
-
'''
|
|
413
|
-
result = self._values.get("ip_network")
|
|
414
|
-
assert result is not None, "Required property 'ip_network' is missing"
|
|
415
|
-
return typing.cast("NetworkIpNetwork", result)
|
|
416
|
-
|
|
417
367
|
@builtins.property
|
|
418
368
|
def name(self) -> builtins.str:
|
|
419
|
-
'''
|
|
369
|
+
'''Name of the network.
|
|
420
370
|
|
|
421
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
371
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#name Network#name}
|
|
422
372
|
'''
|
|
423
373
|
result = self._values.get("name")
|
|
424
374
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -428,27 +378,28 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
428
378
|
def zone(self) -> builtins.str:
|
|
429
379
|
'''The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
430
380
|
|
|
431
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
381
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#zone Network#zone}
|
|
432
382
|
'''
|
|
433
383
|
result = self._values.get("zone")
|
|
434
384
|
assert result is not None, "Required property 'zone' is missing"
|
|
435
385
|
return typing.cast(builtins.str, result)
|
|
436
386
|
|
|
437
387
|
@builtins.property
|
|
438
|
-
def
|
|
439
|
-
|
|
388
|
+
def ip_network(
|
|
389
|
+
self,
|
|
390
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkIpNetwork"]]]:
|
|
391
|
+
'''ip_network block.
|
|
440
392
|
|
|
441
|
-
|
|
442
|
-
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
393
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#ip_network Network#ip_network}
|
|
443
394
|
'''
|
|
444
|
-
result = self._values.get("
|
|
445
|
-
return typing.cast(typing.Optional[
|
|
395
|
+
result = self._values.get("ip_network")
|
|
396
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkIpNetwork"]]], result)
|
|
446
397
|
|
|
447
398
|
@builtins.property
|
|
448
399
|
def router(self) -> typing.Optional[builtins.str]:
|
|
449
|
-
'''
|
|
400
|
+
'''UUID of a router to attach to this network.
|
|
450
401
|
|
|
451
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
402
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#router Network#router}
|
|
452
403
|
'''
|
|
453
404
|
result = self._values.get("router")
|
|
454
405
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -491,13 +442,13 @@ class NetworkIpNetwork:
|
|
|
491
442
|
gateway: typing.Optional[builtins.str] = None,
|
|
492
443
|
) -> None:
|
|
493
444
|
'''
|
|
494
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
495
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
496
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
497
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
498
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
499
|
-
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
500
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
445
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#address Network#address}
|
|
446
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#dhcp Network#dhcp}
|
|
447
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#family Network#family}
|
|
448
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
449
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
450
|
+
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
451
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#gateway Network#gateway}
|
|
501
452
|
'''
|
|
502
453
|
if __debug__:
|
|
503
454
|
type_hints = typing.get_type_hints(_typecheckingstub__a0ad6fbb444600379383ae462fe5ae2d8f24c848db9a320e7d111545c9b44b65)
|
|
@@ -526,7 +477,7 @@ class NetworkIpNetwork:
|
|
|
526
477
|
def address(self) -> builtins.str:
|
|
527
478
|
'''The CIDR range of the subnet.
|
|
528
479
|
|
|
529
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
480
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#address Network#address}
|
|
530
481
|
'''
|
|
531
482
|
result = self._values.get("address")
|
|
532
483
|
assert result is not None, "Required property 'address' is missing"
|
|
@@ -536,7 +487,7 @@ class NetworkIpNetwork:
|
|
|
536
487
|
def dhcp(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
537
488
|
'''Is DHCP enabled?
|
|
538
489
|
|
|
539
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
490
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#dhcp Network#dhcp}
|
|
540
491
|
'''
|
|
541
492
|
result = self._values.get("dhcp")
|
|
542
493
|
assert result is not None, "Required property 'dhcp' is missing"
|
|
@@ -546,7 +497,7 @@ class NetworkIpNetwork:
|
|
|
546
497
|
def family(self) -> builtins.str:
|
|
547
498
|
'''IP address family.
|
|
548
499
|
|
|
549
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
500
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#family Network#family}
|
|
550
501
|
'''
|
|
551
502
|
result = self._values.get("family")
|
|
552
503
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -558,7 +509,7 @@ class NetworkIpNetwork:
|
|
|
558
509
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
559
510
|
'''Is the gateway the DHCP default route?
|
|
560
511
|
|
|
561
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
512
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
562
513
|
'''
|
|
563
514
|
result = self._values.get("dhcp_default_route")
|
|
564
515
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -567,7 +518,7 @@ class NetworkIpNetwork:
|
|
|
567
518
|
def dhcp_dns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
568
519
|
'''The DNS servers given by DHCP.
|
|
569
520
|
|
|
570
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
521
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
571
522
|
'''
|
|
572
523
|
result = self._values.get("dhcp_dns")
|
|
573
524
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -576,7 +527,7 @@ class NetworkIpNetwork:
|
|
|
576
527
|
def dhcp_routes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
577
528
|
'''The additional DHCP classless static routes given by DHCP.
|
|
578
529
|
|
|
579
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
530
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
580
531
|
'''
|
|
581
532
|
result = self._values.get("dhcp_routes")
|
|
582
533
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -585,7 +536,7 @@ class NetworkIpNetwork:
|
|
|
585
536
|
def gateway(self) -> typing.Optional[builtins.str]:
|
|
586
537
|
'''Gateway address given by DHCP.
|
|
587
538
|
|
|
588
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
539
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.4.0/docs/resources/network#gateway Network#gateway}
|
|
589
540
|
'''
|
|
590
541
|
result = self._values.get("gateway")
|
|
591
542
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -602,6 +553,96 @@ class NetworkIpNetwork:
|
|
|
602
553
|
)
|
|
603
554
|
|
|
604
555
|
|
|
556
|
+
class NetworkIpNetworkList(
|
|
557
|
+
_cdktf_9a9027ec.ComplexList,
|
|
558
|
+
metaclass=jsii.JSIIMeta,
|
|
559
|
+
jsii_type="@cdktf/provider-upcloud.network.NetworkIpNetworkList",
|
|
560
|
+
):
|
|
561
|
+
def __init__(
|
|
562
|
+
self,
|
|
563
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
564
|
+
terraform_attribute: builtins.str,
|
|
565
|
+
wraps_set: builtins.bool,
|
|
566
|
+
) -> None:
|
|
567
|
+
'''
|
|
568
|
+
:param terraform_resource: The parent resource.
|
|
569
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
570
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
571
|
+
'''
|
|
572
|
+
if __debug__:
|
|
573
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d075c5e124ac073e3ebfbc4057a65313dec6e4845a13341f7cf80b6c0d2c183c)
|
|
574
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
575
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
576
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
577
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
578
|
+
|
|
579
|
+
@jsii.member(jsii_name="get")
|
|
580
|
+
def get(self, index: jsii.Number) -> "NetworkIpNetworkOutputReference":
|
|
581
|
+
'''
|
|
582
|
+
:param index: the index of the item to return.
|
|
583
|
+
'''
|
|
584
|
+
if __debug__:
|
|
585
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a7d85699481e6b13c867cf958a4cce2973b18c4db26aa8989818d2a0968b8740)
|
|
586
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
587
|
+
return typing.cast("NetworkIpNetworkOutputReference", jsii.invoke(self, "get", [index]))
|
|
588
|
+
|
|
589
|
+
@builtins.property
|
|
590
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
591
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
592
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
593
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
594
|
+
|
|
595
|
+
@_terraform_attribute.setter
|
|
596
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
597
|
+
if __debug__:
|
|
598
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1c85bf15d1657bb96cf2ef12a9b6207e6c9ab4a2e345a8bbd127e71fa75ea49d)
|
|
599
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
600
|
+
jsii.set(self, "terraformAttribute", value)
|
|
601
|
+
|
|
602
|
+
@builtins.property
|
|
603
|
+
@jsii.member(jsii_name="terraformResource")
|
|
604
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
605
|
+
'''The parent resource.'''
|
|
606
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
607
|
+
|
|
608
|
+
@_terraform_resource.setter
|
|
609
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
610
|
+
if __debug__:
|
|
611
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b28c3bdd0ec7fa14db2b4d6060016bddf190bd71a49e3ed5973f3e98448cfe9c)
|
|
612
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
613
|
+
jsii.set(self, "terraformResource", value)
|
|
614
|
+
|
|
615
|
+
@builtins.property
|
|
616
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
617
|
+
def _wraps_set(self) -> builtins.bool:
|
|
618
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
619
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
620
|
+
|
|
621
|
+
@_wraps_set.setter
|
|
622
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
623
|
+
if __debug__:
|
|
624
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5e3e4fd3fa56c5c742e15eab7d901779a9ea715f6723d07b8df3724bf88bfb8a)
|
|
625
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
626
|
+
jsii.set(self, "wrapsSet", value)
|
|
627
|
+
|
|
628
|
+
@builtins.property
|
|
629
|
+
@jsii.member(jsii_name="internalValue")
|
|
630
|
+
def internal_value(
|
|
631
|
+
self,
|
|
632
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkIpNetwork]]]:
|
|
633
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkIpNetwork]]], jsii.get(self, "internalValue"))
|
|
634
|
+
|
|
635
|
+
@internal_value.setter
|
|
636
|
+
def internal_value(
|
|
637
|
+
self,
|
|
638
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkIpNetwork]]],
|
|
639
|
+
) -> None:
|
|
640
|
+
if __debug__:
|
|
641
|
+
type_hints = typing.get_type_hints(_typecheckingstub__41ee6f00009a56057ce68aadd9a41df0ff2176a1af2ca17891a9f2a37b263110)
|
|
642
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
643
|
+
jsii.set(self, "internalValue", value)
|
|
644
|
+
|
|
645
|
+
|
|
605
646
|
class NetworkIpNetworkOutputReference(
|
|
606
647
|
_cdktf_9a9027ec.ComplexObject,
|
|
607
648
|
metaclass=jsii.JSIIMeta,
|
|
@@ -611,16 +652,22 @@ class NetworkIpNetworkOutputReference(
|
|
|
611
652
|
self,
|
|
612
653
|
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
613
654
|
terraform_attribute: builtins.str,
|
|
655
|
+
complex_object_index: jsii.Number,
|
|
656
|
+
complex_object_is_from_set: builtins.bool,
|
|
614
657
|
) -> None:
|
|
615
658
|
'''
|
|
616
659
|
:param terraform_resource: The parent resource.
|
|
617
660
|
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
661
|
+
:param complex_object_index: the index of this item in the list.
|
|
662
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
618
663
|
'''
|
|
619
664
|
if __debug__:
|
|
620
665
|
type_hints = typing.get_type_hints(_typecheckingstub__2a12f361ef69a87d82a3e09aad2d4c09d101a558a1be10f0c16c249cd75f062b)
|
|
621
666
|
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
622
667
|
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
623
|
-
|
|
668
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
669
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
670
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
624
671
|
|
|
625
672
|
@jsii.member(jsii_name="resetDhcpDefaultRoute")
|
|
626
673
|
def reset_dhcp_default_route(self) -> None:
|
|
@@ -771,11 +818,16 @@ class NetworkIpNetworkOutputReference(
|
|
|
771
818
|
|
|
772
819
|
@builtins.property
|
|
773
820
|
@jsii.member(jsii_name="internalValue")
|
|
774
|
-
def internal_value(
|
|
775
|
-
|
|
821
|
+
def internal_value(
|
|
822
|
+
self,
|
|
823
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkIpNetwork]]:
|
|
824
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkIpNetwork]], jsii.get(self, "internalValue"))
|
|
776
825
|
|
|
777
826
|
@internal_value.setter
|
|
778
|
-
def internal_value(
|
|
827
|
+
def internal_value(
|
|
828
|
+
self,
|
|
829
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkIpNetwork]],
|
|
830
|
+
) -> None:
|
|
779
831
|
if __debug__:
|
|
780
832
|
type_hints = typing.get_type_hints(_typecheckingstub__6f3d5daace718b26b0329feea7bc156a63f953ccc7782c7c71ccd92c60d09747)
|
|
781
833
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -786,6 +838,7 @@ __all__ = [
|
|
|
786
838
|
"Network",
|
|
787
839
|
"NetworkConfig",
|
|
788
840
|
"NetworkIpNetwork",
|
|
841
|
+
"NetworkIpNetworkList",
|
|
789
842
|
"NetworkIpNetworkOutputReference",
|
|
790
843
|
]
|
|
791
844
|
|
|
@@ -793,12 +846,11 @@ publication.publish()
|
|
|
793
846
|
|
|
794
847
|
def _typecheckingstub__fc3c34873f1a44cebcb9435310e62bfc7abed9c849834686c99e43fdc9dc5dfe(
|
|
795
848
|
scope: _constructs_77d1e7e8.Construct,
|
|
796
|
-
|
|
849
|
+
id: builtins.str,
|
|
797
850
|
*,
|
|
798
|
-
ip_network: typing.Union[NetworkIpNetwork, typing.Dict[builtins.str, typing.Any]],
|
|
799
851
|
name: builtins.str,
|
|
800
852
|
zone: builtins.str,
|
|
801
|
-
|
|
853
|
+
ip_network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkIpNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
802
854
|
router: typing.Optional[builtins.str] = None,
|
|
803
855
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
804
856
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
@@ -820,8 +872,8 @@ def _typecheckingstub__34d350c769978d0c9ab3237f53446732ef5d38ad7d552c3bc28796d75
|
|
|
820
872
|
"""Type checking stubs"""
|
|
821
873
|
pass
|
|
822
874
|
|
|
823
|
-
def
|
|
824
|
-
value: builtins.str,
|
|
875
|
+
def _typecheckingstub__772f1f7aac799c8c1bc1c2a4a8ab58540d306d5db2324b89b1ca5f214a272a9c(
|
|
876
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkIpNetwork, typing.Dict[builtins.str, typing.Any]]]],
|
|
825
877
|
) -> None:
|
|
826
878
|
"""Type checking stubs"""
|
|
827
879
|
pass
|
|
@@ -853,10 +905,9 @@ def _typecheckingstub__4cc92d326e1ef59bd0e2ec2f892be6fcdb6c8e18178d334cdf36f1a0c
|
|
|
853
905
|
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
854
906
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
855
907
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
856
|
-
ip_network: typing.Union[NetworkIpNetwork, typing.Dict[builtins.str, typing.Any]],
|
|
857
908
|
name: builtins.str,
|
|
858
909
|
zone: builtins.str,
|
|
859
|
-
|
|
910
|
+
ip_network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[NetworkIpNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
860
911
|
router: typing.Optional[builtins.str] = None,
|
|
861
912
|
) -> None:
|
|
862
913
|
"""Type checking stubs"""
|
|
@@ -875,9 +926,49 @@ def _typecheckingstub__a0ad6fbb444600379383ae462fe5ae2d8f24c848db9a320e7d111545c
|
|
|
875
926
|
"""Type checking stubs"""
|
|
876
927
|
pass
|
|
877
928
|
|
|
929
|
+
def _typecheckingstub__d075c5e124ac073e3ebfbc4057a65313dec6e4845a13341f7cf80b6c0d2c183c(
|
|
930
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
931
|
+
terraform_attribute: builtins.str,
|
|
932
|
+
wraps_set: builtins.bool,
|
|
933
|
+
) -> None:
|
|
934
|
+
"""Type checking stubs"""
|
|
935
|
+
pass
|
|
936
|
+
|
|
937
|
+
def _typecheckingstub__a7d85699481e6b13c867cf958a4cce2973b18c4db26aa8989818d2a0968b8740(
|
|
938
|
+
index: jsii.Number,
|
|
939
|
+
) -> None:
|
|
940
|
+
"""Type checking stubs"""
|
|
941
|
+
pass
|
|
942
|
+
|
|
943
|
+
def _typecheckingstub__1c85bf15d1657bb96cf2ef12a9b6207e6c9ab4a2e345a8bbd127e71fa75ea49d(
|
|
944
|
+
value: builtins.str,
|
|
945
|
+
) -> None:
|
|
946
|
+
"""Type checking stubs"""
|
|
947
|
+
pass
|
|
948
|
+
|
|
949
|
+
def _typecheckingstub__b28c3bdd0ec7fa14db2b4d6060016bddf190bd71a49e3ed5973f3e98448cfe9c(
|
|
950
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
951
|
+
) -> None:
|
|
952
|
+
"""Type checking stubs"""
|
|
953
|
+
pass
|
|
954
|
+
|
|
955
|
+
def _typecheckingstub__5e3e4fd3fa56c5c742e15eab7d901779a9ea715f6723d07b8df3724bf88bfb8a(
|
|
956
|
+
value: builtins.bool,
|
|
957
|
+
) -> None:
|
|
958
|
+
"""Type checking stubs"""
|
|
959
|
+
pass
|
|
960
|
+
|
|
961
|
+
def _typecheckingstub__41ee6f00009a56057ce68aadd9a41df0ff2176a1af2ca17891a9f2a37b263110(
|
|
962
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[NetworkIpNetwork]]],
|
|
963
|
+
) -> None:
|
|
964
|
+
"""Type checking stubs"""
|
|
965
|
+
pass
|
|
966
|
+
|
|
878
967
|
def _typecheckingstub__2a12f361ef69a87d82a3e09aad2d4c09d101a558a1be10f0c16c249cd75f062b(
|
|
879
968
|
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
880
969
|
terraform_attribute: builtins.str,
|
|
970
|
+
complex_object_index: jsii.Number,
|
|
971
|
+
complex_object_is_from_set: builtins.bool,
|
|
881
972
|
) -> None:
|
|
882
973
|
"""Type checking stubs"""
|
|
883
974
|
pass
|
|
@@ -925,7 +1016,7 @@ def _typecheckingstub__85fbb1fa23b5ade0741c3445f03ff27b197d489175a64995ecf629777
|
|
|
925
1016
|
pass
|
|
926
1017
|
|
|
927
1018
|
def _typecheckingstub__6f3d5daace718b26b0329feea7bc156a63f953ccc7782c7c71ccd92c60d09747(
|
|
928
|
-
value: typing.Optional[NetworkIpNetwork],
|
|
1019
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, NetworkIpNetwork]],
|
|
929
1020
|
) -> None:
|
|
930
1021
|
"""Type checking stubs"""
|
|
931
1022
|
pass
|