cdktf-cdktf-provider-upcloud 6.0.2__py3-none-any.whl → 7.0.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 +4 -0
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@7.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +6 -6
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +6 -6
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +6 -6
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +662 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +12 -12
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +6 -6
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +27 -27
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +78 -20
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +44 -44
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +36 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +48 -48
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +27 -27
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +15 -15
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +35 -35
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +164 -164
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +15 -15
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +18 -18
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +27 -27
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +18 -18
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +175 -173
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +2017 -0
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +292 -290
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +100 -98
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +529 -39
- cdktf_cdktf_provider_upcloud/network/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +21 -21
- cdktf_cdktf_provider_upcloud/router/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/server/__init__.py +265 -124
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +57 -59
- cdktf_cdktf_provider_upcloud/storage/__init__.py +55 -55
- cdktf_cdktf_provider_upcloud/tag/__init__.py +15 -15
- {cdktf_cdktf_provider_upcloud-6.0.2.dist-info → cdktf_cdktf_provider_upcloud-7.0.0.dist-info}/METADATA +3 -3
- cdktf_cdktf_provider_upcloud-7.0.0.dist-info/RECORD +47 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@6.0.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-6.0.2.dist-info/RECORD +0 -45
- {cdktf_cdktf_provider_upcloud-6.0.2.dist-info → cdktf_cdktf_provider_upcloud-7.0.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-6.0.2.dist-info → cdktf_cdktf_provider_upcloud-7.0.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-6.0.2.dist-info → cdktf_cdktf_provider_upcloud-7.0.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 Registory for docs: [`upcloud_network`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_network`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Network(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.network.Network",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network upcloud_network}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -46,15 +46,15 @@ class Network(
|
|
|
46
46
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
47
47
|
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,
|
|
48
48
|
) -> None:
|
|
49
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network upcloud_network} Resource.
|
|
50
50
|
|
|
51
51
|
:param scope: The scope in which to define this construct.
|
|
52
52
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
53
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
54
|
-
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
55
|
-
:param zone: The zone the network is in. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
56
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
57
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
53
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#ip_network Network#ip_network}
|
|
54
|
+
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#name Network#name}
|
|
55
|
+
: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/2.11.0/docs/resources/network#zone Network#zone}
|
|
56
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#id Network#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. 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.
|
|
57
|
+
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#router Network#router}
|
|
58
58
|
:param connection:
|
|
59
59
|
:param count:
|
|
60
60
|
:param depends_on:
|
|
@@ -96,12 +96,12 @@ class Network(
|
|
|
96
96
|
gateway: typing.Optional[builtins.str] = None,
|
|
97
97
|
) -> None:
|
|
98
98
|
'''
|
|
99
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
100
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
101
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
102
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
103
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
104
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
99
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#address Network#address}
|
|
100
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp Network#dhcp}
|
|
101
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#family Network#family}
|
|
102
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
103
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
104
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#gateway Network#gateway}
|
|
105
105
|
'''
|
|
106
106
|
value = NetworkIpNetwork(
|
|
107
107
|
address=address,
|
|
@@ -258,11 +258,11 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
258
258
|
:param lifecycle:
|
|
259
259
|
:param provider:
|
|
260
260
|
:param provisioners:
|
|
261
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
262
|
-
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
263
|
-
:param zone: The zone the network is in. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
264
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
265
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
261
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#ip_network Network#ip_network}
|
|
262
|
+
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#name Network#name}
|
|
263
|
+
: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/2.11.0/docs/resources/network#zone Network#zone}
|
|
264
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#id Network#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. 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.
|
|
265
|
+
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#router Network#router}
|
|
266
266
|
'''
|
|
267
267
|
if isinstance(lifecycle, dict):
|
|
268
268
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -374,7 +374,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
374
374
|
def ip_network(self) -> "NetworkIpNetwork":
|
|
375
375
|
'''ip_network block.
|
|
376
376
|
|
|
377
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
377
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#ip_network Network#ip_network}
|
|
378
378
|
'''
|
|
379
379
|
result = self._values.get("ip_network")
|
|
380
380
|
assert result is not None, "Required property 'ip_network' is missing"
|
|
@@ -384,7 +384,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
384
384
|
def name(self) -> builtins.str:
|
|
385
385
|
'''A valid name for the network.
|
|
386
386
|
|
|
387
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
387
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#name Network#name}
|
|
388
388
|
'''
|
|
389
389
|
result = self._values.get("name")
|
|
390
390
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -392,9 +392,9 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
392
392
|
|
|
393
393
|
@builtins.property
|
|
394
394
|
def zone(self) -> builtins.str:
|
|
395
|
-
'''The zone the network is in.
|
|
395
|
+
'''The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
396
396
|
|
|
397
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
397
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#zone Network#zone}
|
|
398
398
|
'''
|
|
399
399
|
result = self._values.get("zone")
|
|
400
400
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -402,7 +402,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
402
402
|
|
|
403
403
|
@builtins.property
|
|
404
404
|
def id(self) -> typing.Optional[builtins.str]:
|
|
405
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
405
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#id Network#id}.
|
|
406
406
|
|
|
407
407
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
408
408
|
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.
|
|
@@ -414,7 +414,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
414
414
|
def router(self) -> typing.Optional[builtins.str]:
|
|
415
415
|
'''The UUID of a router.
|
|
416
416
|
|
|
417
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
417
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#router Network#router}
|
|
418
418
|
'''
|
|
419
419
|
result = self._values.get("router")
|
|
420
420
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -455,12 +455,12 @@ class NetworkIpNetwork:
|
|
|
455
455
|
gateway: typing.Optional[builtins.str] = None,
|
|
456
456
|
) -> None:
|
|
457
457
|
'''
|
|
458
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
459
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
460
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
461
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
462
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
463
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
458
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#address Network#address}
|
|
459
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp Network#dhcp}
|
|
460
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#family Network#family}
|
|
461
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
462
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
463
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#gateway Network#gateway}
|
|
464
464
|
'''
|
|
465
465
|
if __debug__:
|
|
466
466
|
type_hints = typing.get_type_hints(_typecheckingstub__a0ad6fbb444600379383ae462fe5ae2d8f24c848db9a320e7d111545c9b44b65)
|
|
@@ -486,7 +486,7 @@ class NetworkIpNetwork:
|
|
|
486
486
|
def address(self) -> builtins.str:
|
|
487
487
|
'''The CIDR range of the subnet.
|
|
488
488
|
|
|
489
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
489
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#address Network#address}
|
|
490
490
|
'''
|
|
491
491
|
result = self._values.get("address")
|
|
492
492
|
assert result is not None, "Required property 'address' is missing"
|
|
@@ -496,7 +496,7 @@ class NetworkIpNetwork:
|
|
|
496
496
|
def dhcp(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
497
497
|
'''Is DHCP enabled?
|
|
498
498
|
|
|
499
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
499
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp Network#dhcp}
|
|
500
500
|
'''
|
|
501
501
|
result = self._values.get("dhcp")
|
|
502
502
|
assert result is not None, "Required property 'dhcp' is missing"
|
|
@@ -506,7 +506,7 @@ class NetworkIpNetwork:
|
|
|
506
506
|
def family(self) -> builtins.str:
|
|
507
507
|
'''IP address family.
|
|
508
508
|
|
|
509
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
509
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#family Network#family}
|
|
510
510
|
'''
|
|
511
511
|
result = self._values.get("family")
|
|
512
512
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -518,7 +518,7 @@ class NetworkIpNetwork:
|
|
|
518
518
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
519
519
|
'''Is the gateway the DHCP default route?
|
|
520
520
|
|
|
521
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
521
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
522
522
|
'''
|
|
523
523
|
result = self._values.get("dhcp_default_route")
|
|
524
524
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -527,7 +527,7 @@ class NetworkIpNetwork:
|
|
|
527
527
|
def dhcp_dns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
528
528
|
'''The DNS servers given by DHCP.
|
|
529
529
|
|
|
530
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
530
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
531
531
|
'''
|
|
532
532
|
result = self._values.get("dhcp_dns")
|
|
533
533
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -536,7 +536,7 @@ class NetworkIpNetwork:
|
|
|
536
536
|
def gateway(self) -> typing.Optional[builtins.str]:
|
|
537
537
|
'''Gateway address given by DHCP.
|
|
538
538
|
|
|
539
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
539
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/network#gateway Network#gateway}
|
|
540
540
|
'''
|
|
541
541
|
result = self._values.get("gateway")
|
|
542
542
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_object_storage`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registory for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class ObjectStorage(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.objectStorage.ObjectStorage",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage upcloud_object_storage}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -49,18 +49,18 @@ class ObjectStorage(
|
|
|
49
49
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
50
50
|
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
51
|
) -> None:
|
|
52
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
52
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage upcloud_object_storage} Resource.
|
|
53
53
|
|
|
54
54
|
:param scope: The scope in which to define this construct.
|
|
55
55
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
56
|
-
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
57
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
58
|
-
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
59
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
60
|
-
:param zone: The zone in which the object storage instance will be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
61
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
62
|
-
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
63
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
56
|
+
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
57
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
58
|
+
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
59
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
60
|
+
:param zone: The zone in which the object storage instance will be created, 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/2.11.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
61
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
62
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
63
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#id ObjectStorage#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. 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.
|
|
64
64
|
:param connection:
|
|
65
65
|
:param count:
|
|
66
66
|
:param depends_on:
|
|
@@ -287,7 +287,7 @@ class ObjectStorage(
|
|
|
287
287
|
class ObjectStorageBucket:
|
|
288
288
|
def __init__(self, *, name: builtins.str) -> None:
|
|
289
289
|
'''
|
|
290
|
-
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
290
|
+
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
291
291
|
'''
|
|
292
292
|
if __debug__:
|
|
293
293
|
type_hints = typing.get_type_hints(_typecheckingstub__76363c1fb14ca2363d352380e624359e962fa25498e592051a720a4f8b2e2470)
|
|
@@ -300,7 +300,7 @@ class ObjectStorageBucket:
|
|
|
300
300
|
def name(self) -> builtins.str:
|
|
301
301
|
'''The name of the bucket.
|
|
302
302
|
|
|
303
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
303
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
304
304
|
'''
|
|
305
305
|
result = self._values.get("name")
|
|
306
306
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -518,14 +518,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
518
518
|
:param lifecycle:
|
|
519
519
|
:param provider:
|
|
520
520
|
:param provisioners:
|
|
521
|
-
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
522
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
523
|
-
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
524
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
525
|
-
:param zone: The zone in which the object storage instance will be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
526
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
527
|
-
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
528
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
521
|
+
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
522
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
523
|
+
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
524
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
525
|
+
:param zone: The zone in which the object storage instance will be created, 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/2.11.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
526
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
527
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
528
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#id ObjectStorage#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. 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.
|
|
529
529
|
'''
|
|
530
530
|
if isinstance(lifecycle, dict):
|
|
531
531
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -648,7 +648,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
648
648
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
649
649
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES".
|
|
650
650
|
|
|
651
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
651
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
652
652
|
'''
|
|
653
653
|
result = self._values.get("access_key")
|
|
654
654
|
assert result is not None, "Required property 'access_key' is missing"
|
|
@@ -658,7 +658,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
658
658
|
def name(self) -> builtins.str:
|
|
659
659
|
'''The name of the object storage instance to be created.
|
|
660
660
|
|
|
661
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
661
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
662
662
|
'''
|
|
663
663
|
result = self._values.get("name")
|
|
664
664
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -674,7 +674,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
674
674
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
675
675
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES".
|
|
676
676
|
|
|
677
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
677
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
678
678
|
'''
|
|
679
679
|
result = self._values.get("secret_key")
|
|
680
680
|
assert result is not None, "Required property 'secret_key' is missing"
|
|
@@ -684,7 +684,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
684
684
|
def size(self) -> jsii.Number:
|
|
685
685
|
'''The size of the object storage instance in gigabytes.
|
|
686
686
|
|
|
687
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
687
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
688
688
|
'''
|
|
689
689
|
result = self._values.get("size")
|
|
690
690
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -692,9 +692,9 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
692
692
|
|
|
693
693
|
@builtins.property
|
|
694
694
|
def zone(self) -> builtins.str:
|
|
695
|
-
'''The zone in which the object storage instance will be created.
|
|
695
|
+
'''The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
696
696
|
|
|
697
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
697
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
698
698
|
'''
|
|
699
699
|
result = self._values.get("zone")
|
|
700
700
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -706,7 +706,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
706
706
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]]:
|
|
707
707
|
'''bucket block.
|
|
708
708
|
|
|
709
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
709
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
710
710
|
'''
|
|
711
711
|
result = self._values.get("bucket")
|
|
712
712
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]], result)
|
|
@@ -715,14 +715,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
715
715
|
def description(self) -> typing.Optional[builtins.str]:
|
|
716
716
|
'''The description of the object storage instance to be created.
|
|
717
717
|
|
|
718
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
718
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
719
719
|
'''
|
|
720
720
|
result = self._values.get("description")
|
|
721
721
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
722
722
|
|
|
723
723
|
@builtins.property
|
|
724
724
|
def id(self) -> typing.Optional[builtins.str]:
|
|
725
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
725
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/object_storage#id ObjectStorage#id}.
|
|
726
726
|
|
|
727
727
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
728
728
|
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.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `provider`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registory for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class UpcloudProvider(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.provider.UpcloudProvider",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs upcloud}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -40,16 +40,16 @@ class UpcloudProvider(
|
|
|
40
40
|
retry_wait_min_sec: typing.Optional[jsii.Number] = None,
|
|
41
41
|
username: typing.Optional[builtins.str] = None,
|
|
42
42
|
) -> None:
|
|
43
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
43
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs upcloud} Resource.
|
|
44
44
|
|
|
45
45
|
:param scope: The scope in which to define this construct.
|
|
46
46
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
47
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
48
|
-
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
49
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
50
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
51
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
52
|
-
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
47
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#alias UpcloudProvider#alias}
|
|
48
|
+
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#password UpcloudProvider#password}
|
|
49
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_max UpcloudProvider#retry_max}
|
|
50
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
51
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
52
|
+
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#username UpcloudProvider#username}
|
|
53
53
|
'''
|
|
54
54
|
if __debug__:
|
|
55
55
|
type_hints = typing.get_type_hints(_typecheckingstub__786d7492fb6ccdc4fc75b22452f182f0009c6f7041f055f198f8ab4750003c16)
|
|
@@ -226,12 +226,12 @@ class UpcloudProviderConfig:
|
|
|
226
226
|
username: typing.Optional[builtins.str] = None,
|
|
227
227
|
) -> None:
|
|
228
228
|
'''
|
|
229
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
230
|
-
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
231
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
232
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
233
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
234
|
-
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
229
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#alias UpcloudProvider#alias}
|
|
230
|
+
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#password UpcloudProvider#password}
|
|
231
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_max UpcloudProvider#retry_max}
|
|
232
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
233
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
234
|
+
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#username UpcloudProvider#username}
|
|
235
235
|
'''
|
|
236
236
|
if __debug__:
|
|
237
237
|
type_hints = typing.get_type_hints(_typecheckingstub__e59a8dbe0e889be0d58fa19f6443e5c6def71ffe937d944a0b10dbe3c74b4005)
|
|
@@ -259,7 +259,7 @@ class UpcloudProviderConfig:
|
|
|
259
259
|
def alias(self) -> typing.Optional[builtins.str]:
|
|
260
260
|
'''Alias name.
|
|
261
261
|
|
|
262
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
262
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#alias UpcloudProvider#alias}
|
|
263
263
|
'''
|
|
264
264
|
result = self._values.get("alias")
|
|
265
265
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -268,7 +268,7 @@ class UpcloudProviderConfig:
|
|
|
268
268
|
def password(self) -> typing.Optional[builtins.str]:
|
|
269
269
|
'''Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable.
|
|
270
270
|
|
|
271
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
271
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#password UpcloudProvider#password}
|
|
272
272
|
'''
|
|
273
273
|
result = self._values.get("password")
|
|
274
274
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -277,7 +277,7 @@ class UpcloudProviderConfig:
|
|
|
277
277
|
def retry_max(self) -> typing.Optional[jsii.Number]:
|
|
278
278
|
'''Maximum number of retries.
|
|
279
279
|
|
|
280
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
280
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_max UpcloudProvider#retry_max}
|
|
281
281
|
'''
|
|
282
282
|
result = self._values.get("retry_max")
|
|
283
283
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -286,7 +286,7 @@ class UpcloudProviderConfig:
|
|
|
286
286
|
def retry_wait_max_sec(self) -> typing.Optional[jsii.Number]:
|
|
287
287
|
'''Maximum time to wait between retries.
|
|
288
288
|
|
|
289
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
289
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
290
290
|
'''
|
|
291
291
|
result = self._values.get("retry_wait_max_sec")
|
|
292
292
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -295,7 +295,7 @@ class UpcloudProviderConfig:
|
|
|
295
295
|
def retry_wait_min_sec(self) -> typing.Optional[jsii.Number]:
|
|
296
296
|
'''Minimum time to wait between retries.
|
|
297
297
|
|
|
298
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
298
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
299
299
|
'''
|
|
300
300
|
result = self._values.get("retry_wait_min_sec")
|
|
301
301
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -304,7 +304,7 @@ class UpcloudProviderConfig:
|
|
|
304
304
|
def username(self) -> typing.Optional[builtins.str]:
|
|
305
305
|
'''UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable.
|
|
306
306
|
|
|
307
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
307
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs#username UpcloudProvider#username}
|
|
308
308
|
'''
|
|
309
309
|
result = self._values.get("username")
|
|
310
310
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_router`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registory for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Router(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.router.Router",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router upcloud_router}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -43,12 +43,12 @@ class Router(
|
|
|
43
43
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
44
44
|
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,
|
|
45
45
|
) -> None:
|
|
46
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
46
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router upcloud_router} Resource.
|
|
47
47
|
|
|
48
48
|
:param scope: The scope in which to define this construct.
|
|
49
49
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
50
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
51
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
50
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router#name Router#name}
|
|
51
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router#id Router#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. 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.
|
|
52
52
|
:param connection:
|
|
53
53
|
:param count:
|
|
54
54
|
:param depends_on:
|
|
@@ -170,8 +170,8 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
170
170
|
:param lifecycle:
|
|
171
171
|
:param provider:
|
|
172
172
|
:param provisioners:
|
|
173
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
174
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
173
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router#name Router#name}
|
|
174
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router#id Router#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. 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.
|
|
175
175
|
'''
|
|
176
176
|
if isinstance(lifecycle, dict):
|
|
177
177
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -274,7 +274,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
274
274
|
def name(self) -> builtins.str:
|
|
275
275
|
'''Name of the router.
|
|
276
276
|
|
|
277
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
277
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router#name Router#name}
|
|
278
278
|
'''
|
|
279
279
|
result = self._values.get("name")
|
|
280
280
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -282,7 +282,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
282
282
|
|
|
283
283
|
@builtins.property
|
|
284
284
|
def id(self) -> typing.Optional[builtins.str]:
|
|
285
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
285
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/router#id Router#id}.
|
|
286
286
|
|
|
287
287
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
288
288
|
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.
|