cdktf-cdktf-provider-upcloud 14.0.2__py3-none-any.whl → 14.1.1__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 +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.1.1.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 +7 -7
- 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 +28 -28
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -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 +679 -194
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +5610 -609
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +1665 -329
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +596 -116
- 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 +40 -40
- 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 +147 -147
- 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.0.2.dist-info → cdktf_cdktf_provider_upcloud-14.1.1.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.1.1.dist-info/RECORD +58 -0
- {cdktf_cdktf_provider_upcloud-14.0.2.dist-info → cdktf_cdktf_provider_upcloud-14.1.1.dist-info}/WHEEL +1 -1
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.0.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.0.2.dist-info/RECORD +0 -58
- {cdktf_cdktf_provider_upcloud-14.0.2.dist-info → cdktf_cdktf_provider_upcloud-14.1.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.0.2.dist-info → cdktf_cdktf_provider_upcloud-14.1.1.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.1.1/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/5.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.
|
|
54
|
-
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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/5.
|
|
56
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
57
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
53
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.1.1/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/5.1.1/docs/resources/network#zone Network#zone}
|
|
56
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.1.1/docs/resources/network#router Network#router}
|
|
58
58
|
:param connection:
|
|
59
59
|
:param count:
|
|
60
60
|
:param depends_on:
|
|
@@ -97,7 +97,7 @@ class Network(
|
|
|
97
97
|
|
|
98
98
|
:param scope: The scope in which to define this construct.
|
|
99
99
|
:param import_to_id: The construct id used in the generated config for the Network to import.
|
|
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.
|
|
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.1.1/docs/resources/network#import import section} in the documentation of this resource for the id to use
|
|
101
101
|
:param provider: ? Optional instance of the provider where the Network to import is found.
|
|
102
102
|
'''
|
|
103
103
|
if __debug__:
|
|
@@ -121,13 +121,13 @@ class Network(
|
|
|
121
121
|
gateway: typing.Optional[builtins.str] = None,
|
|
122
122
|
) -> None:
|
|
123
123
|
'''
|
|
124
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
125
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
126
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
127
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
128
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
129
|
-
: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.
|
|
130
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
124
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#address Network#address}
|
|
125
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp Network#dhcp}
|
|
126
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#family Network#family}
|
|
127
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
128
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
129
|
+
: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.1.1/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
130
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#gateway Network#gateway}
|
|
131
131
|
'''
|
|
132
132
|
value = NetworkIpNetwork(
|
|
133
133
|
address=address,
|
|
@@ -289,11 +289,11 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
289
289
|
:param lifecycle:
|
|
290
290
|
:param provider:
|
|
291
291
|
:param provisioners:
|
|
292
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
293
|
-
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
294
|
-
: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.
|
|
295
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
296
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
292
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#ip_network Network#ip_network}
|
|
293
|
+
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#name Network#name}
|
|
294
|
+
: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.1.1/docs/resources/network#zone Network#zone}
|
|
295
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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.
|
|
296
|
+
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#router Network#router}
|
|
297
297
|
'''
|
|
298
298
|
if isinstance(lifecycle, dict):
|
|
299
299
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -405,7 +405,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
405
405
|
def ip_network(self) -> "NetworkIpNetwork":
|
|
406
406
|
'''ip_network block.
|
|
407
407
|
|
|
408
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
408
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#ip_network Network#ip_network}
|
|
409
409
|
'''
|
|
410
410
|
result = self._values.get("ip_network")
|
|
411
411
|
assert result is not None, "Required property 'ip_network' is missing"
|
|
@@ -415,7 +415,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
415
415
|
def name(self) -> builtins.str:
|
|
416
416
|
'''A valid name for the network.
|
|
417
417
|
|
|
418
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
418
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#name Network#name}
|
|
419
419
|
'''
|
|
420
420
|
result = self._values.get("name")
|
|
421
421
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -425,7 +425,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
425
425
|
def zone(self) -> builtins.str:
|
|
426
426
|
'''The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
427
427
|
|
|
428
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
428
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#zone Network#zone}
|
|
429
429
|
'''
|
|
430
430
|
result = self._values.get("zone")
|
|
431
431
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -433,7 +433,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
433
433
|
|
|
434
434
|
@builtins.property
|
|
435
435
|
def id(self) -> typing.Optional[builtins.str]:
|
|
436
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
436
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#id Network#id}.
|
|
437
437
|
|
|
438
438
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
439
439
|
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.
|
|
@@ -445,7 +445,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
445
445
|
def router(self) -> typing.Optional[builtins.str]:
|
|
446
446
|
'''The UUID of a router.
|
|
447
447
|
|
|
448
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
448
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#router Network#router}
|
|
449
449
|
'''
|
|
450
450
|
result = self._values.get("router")
|
|
451
451
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -488,13 +488,13 @@ class NetworkIpNetwork:
|
|
|
488
488
|
gateway: typing.Optional[builtins.str] = None,
|
|
489
489
|
) -> None:
|
|
490
490
|
'''
|
|
491
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
492
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
493
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
494
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
495
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
496
|
-
: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.
|
|
497
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
491
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#address Network#address}
|
|
492
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp Network#dhcp}
|
|
493
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#family Network#family}
|
|
494
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
495
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
496
|
+
: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.1.1/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
497
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#gateway Network#gateway}
|
|
498
498
|
'''
|
|
499
499
|
if __debug__:
|
|
500
500
|
type_hints = typing.get_type_hints(_typecheckingstub__a0ad6fbb444600379383ae462fe5ae2d8f24c848db9a320e7d111545c9b44b65)
|
|
@@ -523,7 +523,7 @@ class NetworkIpNetwork:
|
|
|
523
523
|
def address(self) -> builtins.str:
|
|
524
524
|
'''The CIDR range of the subnet.
|
|
525
525
|
|
|
526
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
526
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#address Network#address}
|
|
527
527
|
'''
|
|
528
528
|
result = self._values.get("address")
|
|
529
529
|
assert result is not None, "Required property 'address' is missing"
|
|
@@ -533,7 +533,7 @@ class NetworkIpNetwork:
|
|
|
533
533
|
def dhcp(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
534
534
|
'''Is DHCP enabled?
|
|
535
535
|
|
|
536
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
536
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp Network#dhcp}
|
|
537
537
|
'''
|
|
538
538
|
result = self._values.get("dhcp")
|
|
539
539
|
assert result is not None, "Required property 'dhcp' is missing"
|
|
@@ -543,7 +543,7 @@ class NetworkIpNetwork:
|
|
|
543
543
|
def family(self) -> builtins.str:
|
|
544
544
|
'''IP address family.
|
|
545
545
|
|
|
546
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
546
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#family Network#family}
|
|
547
547
|
'''
|
|
548
548
|
result = self._values.get("family")
|
|
549
549
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -555,7 +555,7 @@ class NetworkIpNetwork:
|
|
|
555
555
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
556
556
|
'''Is the gateway the DHCP default route?
|
|
557
557
|
|
|
558
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
558
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
559
559
|
'''
|
|
560
560
|
result = self._values.get("dhcp_default_route")
|
|
561
561
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -564,7 +564,7 @@ class NetworkIpNetwork:
|
|
|
564
564
|
def dhcp_dns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
565
565
|
'''The DNS servers given by DHCP.
|
|
566
566
|
|
|
567
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
567
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
568
568
|
'''
|
|
569
569
|
result = self._values.get("dhcp_dns")
|
|
570
570
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -573,7 +573,7 @@ class NetworkIpNetwork:
|
|
|
573
573
|
def dhcp_routes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
574
574
|
'''The additional DHCP classless static routes given by DHCP.
|
|
575
575
|
|
|
576
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
576
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
577
577
|
'''
|
|
578
578
|
result = self._values.get("dhcp_routes")
|
|
579
579
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -582,7 +582,7 @@ class NetworkIpNetwork:
|
|
|
582
582
|
def gateway(self) -> typing.Optional[builtins.str]:
|
|
583
583
|
'''Gateway address given by DHCP.
|
|
584
584
|
|
|
585
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
585
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/network#gateway Network#gateway}
|
|
586
586
|
'''
|
|
587
587
|
result = self._values.get("gateway")
|
|
588
588
|
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 Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.
|
|
52
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.
|
|
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/5.
|
|
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/5.
|
|
59
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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/5.
|
|
61
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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/5.
|
|
63
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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/5.1.1/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/5.1.1/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/5.1.1/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/5.1.1/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/5.1.1/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
61
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.1.1/docs/resources/object_storage#description ObjectStorage#description}
|
|
63
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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:
|
|
@@ -106,7 +106,7 @@ class ObjectStorage(
|
|
|
106
106
|
|
|
107
107
|
:param scope: The scope in which to define this construct.
|
|
108
108
|
:param import_to_id: The construct id used in the generated config for the ObjectStorage to import.
|
|
109
|
-
:param import_from_id: The id of the existing ObjectStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
109
|
+
:param import_from_id: The id of the existing ObjectStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#import import section} in the documentation of this resource for the id to use
|
|
110
110
|
:param provider: ? Optional instance of the provider where the ObjectStorage to import is found.
|
|
111
111
|
'''
|
|
112
112
|
if __debug__:
|
|
@@ -315,7 +315,7 @@ class ObjectStorage(
|
|
|
315
315
|
class ObjectStorageBucket:
|
|
316
316
|
def __init__(self, *, name: builtins.str) -> None:
|
|
317
317
|
'''
|
|
318
|
-
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
318
|
+
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#name ObjectStorage#name}
|
|
319
319
|
'''
|
|
320
320
|
if __debug__:
|
|
321
321
|
type_hints = typing.get_type_hints(_typecheckingstub__76363c1fb14ca2363d352380e624359e962fa25498e592051a720a4f8b2e2470)
|
|
@@ -328,7 +328,7 @@ class ObjectStorageBucket:
|
|
|
328
328
|
def name(self) -> builtins.str:
|
|
329
329
|
'''The name of the bucket.
|
|
330
330
|
|
|
331
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
331
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#name ObjectStorage#name}
|
|
332
332
|
'''
|
|
333
333
|
result = self._values.get("name")
|
|
334
334
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -546,14 +546,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
546
546
|
:param lifecycle:
|
|
547
547
|
:param provider:
|
|
548
548
|
:param provisioners:
|
|
549
|
-
: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/5.
|
|
550
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
551
|
-
: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/5.
|
|
552
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
553
|
-
: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/5.
|
|
554
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
555
|
-
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
556
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
549
|
+
: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/5.1.1/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
550
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#name ObjectStorage#name}
|
|
551
|
+
: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/5.1.1/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
552
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#size ObjectStorage#size}
|
|
553
|
+
: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/5.1.1/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
554
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
555
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#description ObjectStorage#description}
|
|
556
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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.
|
|
557
557
|
'''
|
|
558
558
|
if isinstance(lifecycle, dict):
|
|
559
559
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -676,7 +676,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
676
676
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
677
677
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES".
|
|
678
678
|
|
|
679
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
679
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
680
680
|
'''
|
|
681
681
|
result = self._values.get("access_key")
|
|
682
682
|
assert result is not None, "Required property 'access_key' is missing"
|
|
@@ -686,7 +686,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
686
686
|
def name(self) -> builtins.str:
|
|
687
687
|
'''The name of the object storage instance to be created.
|
|
688
688
|
|
|
689
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
689
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#name ObjectStorage#name}
|
|
690
690
|
'''
|
|
691
691
|
result = self._values.get("name")
|
|
692
692
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -702,7 +702,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
702
702
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
703
703
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES".
|
|
704
704
|
|
|
705
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
705
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
706
706
|
'''
|
|
707
707
|
result = self._values.get("secret_key")
|
|
708
708
|
assert result is not None, "Required property 'secret_key' is missing"
|
|
@@ -712,7 +712,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
712
712
|
def size(self) -> jsii.Number:
|
|
713
713
|
'''The size of the object storage instance in gigabytes.
|
|
714
714
|
|
|
715
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
715
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#size ObjectStorage#size}
|
|
716
716
|
'''
|
|
717
717
|
result = self._values.get("size")
|
|
718
718
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -722,7 +722,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
722
722
|
def zone(self) -> builtins.str:
|
|
723
723
|
'''The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
724
724
|
|
|
725
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
725
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
726
726
|
'''
|
|
727
727
|
result = self._values.get("zone")
|
|
728
728
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -734,7 +734,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
734
734
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]]:
|
|
735
735
|
'''bucket block.
|
|
736
736
|
|
|
737
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
737
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
738
738
|
'''
|
|
739
739
|
result = self._values.get("bucket")
|
|
740
740
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]], result)
|
|
@@ -743,14 +743,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
743
743
|
def description(self) -> typing.Optional[builtins.str]:
|
|
744
744
|
'''The description of the object storage instance to be created.
|
|
745
745
|
|
|
746
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
746
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#description ObjectStorage#description}
|
|
747
747
|
'''
|
|
748
748
|
result = self._values.get("description")
|
|
749
749
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
750
750
|
|
|
751
751
|
@builtins.property
|
|
752
752
|
def id(self) -> typing.Optional[builtins.str]:
|
|
753
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
753
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/object_storage#id ObjectStorage#id}.
|
|
754
754
|
|
|
755
755
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
756
756
|
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 Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/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/5.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs upcloud}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -41,17 +41,17 @@ class UpcloudProvider(
|
|
|
41
41
|
retry_wait_min_sec: typing.Optional[jsii.Number] = None,
|
|
42
42
|
username: typing.Optional[builtins.str] = None,
|
|
43
43
|
) -> None:
|
|
44
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
44
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs upcloud} Resource.
|
|
45
45
|
|
|
46
46
|
:param scope: The scope in which to define this construct.
|
|
47
47
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
48
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
49
|
-
: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/5.
|
|
50
|
-
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
51
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
52
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
53
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
-
: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/5.
|
|
48
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#alias UpcloudProvider#alias}
|
|
49
|
+
: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/5.1.1/docs#password UpcloudProvider#password}
|
|
50
|
+
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
51
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_max UpcloudProvider#retry_max}
|
|
52
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
53
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
54
|
+
: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/5.1.1/docs#username UpcloudProvider#username}
|
|
55
55
|
'''
|
|
56
56
|
if __debug__:
|
|
57
57
|
type_hints = typing.get_type_hints(_typecheckingstub__786d7492fb6ccdc4fc75b22452f182f0009c6f7041f055f198f8ab4750003c16)
|
|
@@ -82,7 +82,7 @@ class UpcloudProvider(
|
|
|
82
82
|
|
|
83
83
|
:param scope: The scope in which to define this construct.
|
|
84
84
|
:param import_to_id: The construct id used in the generated config for the UpcloudProvider to import.
|
|
85
|
-
:param import_from_id: The id of the existing UpcloudProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
85
|
+
:param import_from_id: The id of the existing UpcloudProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#import import section} in the documentation of this resource for the id to use
|
|
86
86
|
:param provider: ? Optional instance of the provider where the UpcloudProvider to import is found.
|
|
87
87
|
'''
|
|
88
88
|
if __debug__:
|
|
@@ -280,13 +280,13 @@ class UpcloudProviderConfig:
|
|
|
280
280
|
username: typing.Optional[builtins.str] = None,
|
|
281
281
|
) -> None:
|
|
282
282
|
'''
|
|
283
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
284
|
-
: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/5.
|
|
285
|
-
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
286
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
287
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
288
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
289
|
-
: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/5.
|
|
283
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#alias UpcloudProvider#alias}
|
|
284
|
+
: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/5.1.1/docs#password UpcloudProvider#password}
|
|
285
|
+
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
286
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_max UpcloudProvider#retry_max}
|
|
287
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
288
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
289
|
+
: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/5.1.1/docs#username UpcloudProvider#username}
|
|
290
290
|
'''
|
|
291
291
|
if __debug__:
|
|
292
292
|
type_hints = typing.get_type_hints(_typecheckingstub__e59a8dbe0e889be0d58fa19f6443e5c6def71ffe937d944a0b10dbe3c74b4005)
|
|
@@ -317,7 +317,7 @@ class UpcloudProviderConfig:
|
|
|
317
317
|
def alias(self) -> typing.Optional[builtins.str]:
|
|
318
318
|
'''Alias name.
|
|
319
319
|
|
|
320
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
320
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#alias UpcloudProvider#alias}
|
|
321
321
|
'''
|
|
322
322
|
result = self._values.get("alias")
|
|
323
323
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -326,7 +326,7 @@ class UpcloudProviderConfig:
|
|
|
326
326
|
def password(self) -> typing.Optional[builtins.str]:
|
|
327
327
|
'''Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable.
|
|
328
328
|
|
|
329
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
329
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#password UpcloudProvider#password}
|
|
330
330
|
'''
|
|
331
331
|
result = self._values.get("password")
|
|
332
332
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -337,7 +337,7 @@ class UpcloudProviderConfig:
|
|
|
337
337
|
|
|
338
338
|
Defaults to 120 seconds
|
|
339
339
|
|
|
340
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
340
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
341
341
|
'''
|
|
342
342
|
result = self._values.get("request_timeout_sec")
|
|
343
343
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -346,7 +346,7 @@ class UpcloudProviderConfig:
|
|
|
346
346
|
def retry_max(self) -> typing.Optional[jsii.Number]:
|
|
347
347
|
'''Maximum number of retries.
|
|
348
348
|
|
|
349
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
349
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_max UpcloudProvider#retry_max}
|
|
350
350
|
'''
|
|
351
351
|
result = self._values.get("retry_max")
|
|
352
352
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -355,7 +355,7 @@ class UpcloudProviderConfig:
|
|
|
355
355
|
def retry_wait_max_sec(self) -> typing.Optional[jsii.Number]:
|
|
356
356
|
'''Maximum time to wait between retries.
|
|
357
357
|
|
|
358
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
358
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
359
359
|
'''
|
|
360
360
|
result = self._values.get("retry_wait_max_sec")
|
|
361
361
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -364,7 +364,7 @@ class UpcloudProviderConfig:
|
|
|
364
364
|
def retry_wait_min_sec(self) -> typing.Optional[jsii.Number]:
|
|
365
365
|
'''Minimum time to wait between retries.
|
|
366
366
|
|
|
367
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
367
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
368
368
|
'''
|
|
369
369
|
result = self._values.get("retry_wait_min_sec")
|
|
370
370
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -373,7 +373,7 @@ class UpcloudProviderConfig:
|
|
|
373
373
|
def username(self) -> typing.Optional[builtins.str]:
|
|
374
374
|
'''UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable.
|
|
375
375
|
|
|
376
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
376
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs#username UpcloudProvider#username}
|
|
377
377
|
'''
|
|
378
378
|
result = self._values.get("username")
|
|
379
379
|
return typing.cast(typing.Optional[builtins.str], result)
|