cdktf-cdktf-provider-upcloud 14.11.2__py3-none-any.whl → 14.12.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 +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.12.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +4 -4
- 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 +28 -28
- 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 +7 -7
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +32 -32
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +37 -83
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +586 -334
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +40 -84
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +73 -111
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +195 -195
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +441 -441
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +309 -309
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +123 -123
- 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_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- 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 +33 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +153 -153
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.11.2.dist-info → cdktf_cdktf_provider_upcloud-14.12.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.12.0.dist-info/RECORD +64 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.11.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.11.2.dist-info/RECORD +0 -64
- {cdktf_cdktf_provider_upcloud-14.11.2.dist-info → cdktf_cdktf_provider_upcloud-14.12.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.11.2.dist-info → cdktf_cdktf_provider_upcloud-14.12.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.11.2.dist-info → cdktf_cdktf_provider_upcloud-14.12.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
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.12.0/docs/resources/network).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class Network(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.network.Network",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network upcloud_network}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -64,15 +64,15 @@ class Network(
|
|
|
64
64
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
65
65
|
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,
|
|
66
66
|
) -> None:
|
|
67
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
67
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network upcloud_network} Resource.
|
|
68
68
|
|
|
69
69
|
:param scope: The scope in which to define this construct.
|
|
70
70
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
71
|
-
:param name: Name of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
72
|
-
: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.
|
|
73
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
74
|
-
:param labels: User defined key-value pairs to classify the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
75
|
-
:param router: UUID of a router to attach to this network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
71
|
+
:param name: Name of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#name Network#name}
|
|
72
|
+
: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.12.0/docs/resources/network#zone Network#zone}
|
|
73
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#ip_network Network#ip_network}
|
|
74
|
+
:param labels: User defined key-value pairs to classify the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#labels Network#labels}
|
|
75
|
+
:param router: UUID of a router to attach to this network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#router Network#router}
|
|
76
76
|
:param connection:
|
|
77
77
|
:param count:
|
|
78
78
|
:param depends_on:
|
|
@@ -115,7 +115,7 @@ class Network(
|
|
|
115
115
|
|
|
116
116
|
:param scope: The scope in which to define this construct.
|
|
117
117
|
:param import_to_id: The construct id used in the generated config for the Network to import.
|
|
118
|
-
: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.
|
|
118
|
+
: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.12.0/docs/resources/network#import import section} in the documentation of this resource for the id to use
|
|
119
119
|
:param provider: ? Optional instance of the provider where the Network to import is found.
|
|
120
120
|
'''
|
|
121
121
|
if __debug__:
|
|
@@ -300,11 +300,11 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
300
300
|
:param lifecycle:
|
|
301
301
|
:param provider:
|
|
302
302
|
:param provisioners:
|
|
303
|
-
:param name: Name of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
304
|
-
: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.
|
|
305
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
306
|
-
:param labels: User defined key-value pairs to classify the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
307
|
-
:param router: UUID of a router to attach to this network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
303
|
+
:param name: Name of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#name Network#name}
|
|
304
|
+
: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.12.0/docs/resources/network#zone Network#zone}
|
|
305
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#ip_network Network#ip_network}
|
|
306
|
+
:param labels: User defined key-value pairs to classify the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#labels Network#labels}
|
|
307
|
+
:param router: UUID of a router to attach to this network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#router Network#router}
|
|
308
308
|
'''
|
|
309
309
|
if isinstance(lifecycle, dict):
|
|
310
310
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -415,7 +415,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
415
415
|
def name(self) -> builtins.str:
|
|
416
416
|
'''Name of 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.12.0/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.12.0/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"
|
|
@@ -437,7 +437,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
437
437
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkIpNetwork"]]]:
|
|
438
438
|
'''ip_network block.
|
|
439
439
|
|
|
440
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
440
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#ip_network Network#ip_network}
|
|
441
441
|
'''
|
|
442
442
|
result = self._values.get("ip_network")
|
|
443
443
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkIpNetwork"]]], result)
|
|
@@ -446,7 +446,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
446
446
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
447
447
|
'''User defined key-value pairs to classify the network.
|
|
448
448
|
|
|
449
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
449
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#labels Network#labels}
|
|
450
450
|
'''
|
|
451
451
|
result = self._values.get("labels")
|
|
452
452
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -455,7 +455,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
455
455
|
def router(self) -> typing.Optional[builtins.str]:
|
|
456
456
|
'''UUID of a router to attach to this network.
|
|
457
457
|
|
|
458
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
458
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#router Network#router}
|
|
459
459
|
'''
|
|
460
460
|
result = self._values.get("router")
|
|
461
461
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -498,13 +498,13 @@ class NetworkIpNetwork:
|
|
|
498
498
|
gateway: typing.Optional[builtins.str] = None,
|
|
499
499
|
) -> None:
|
|
500
500
|
'''
|
|
501
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
502
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
503
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
504
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
505
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
506
|
-
: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.
|
|
507
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
501
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#address Network#address}
|
|
502
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#dhcp Network#dhcp}
|
|
503
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#family Network#family}
|
|
504
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
505
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
506
|
+
: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.12.0/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
507
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#gateway Network#gateway}
|
|
508
508
|
'''
|
|
509
509
|
if __debug__:
|
|
510
510
|
type_hints = typing.get_type_hints(_typecheckingstub__a0ad6fbb444600379383ae462fe5ae2d8f24c848db9a320e7d111545c9b44b65)
|
|
@@ -533,7 +533,7 @@ class NetworkIpNetwork:
|
|
|
533
533
|
def address(self) -> builtins.str:
|
|
534
534
|
'''The CIDR range of the subnet.
|
|
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.12.0/docs/resources/network#address Network#address}
|
|
537
537
|
'''
|
|
538
538
|
result = self._values.get("address")
|
|
539
539
|
assert result is not None, "Required property 'address' is missing"
|
|
@@ -543,7 +543,7 @@ class NetworkIpNetwork:
|
|
|
543
543
|
def dhcp(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
544
544
|
'''Is DHCP enabled?
|
|
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.12.0/docs/resources/network#dhcp Network#dhcp}
|
|
547
547
|
'''
|
|
548
548
|
result = self._values.get("dhcp")
|
|
549
549
|
assert result is not None, "Required property 'dhcp' is missing"
|
|
@@ -553,7 +553,7 @@ class NetworkIpNetwork:
|
|
|
553
553
|
def family(self) -> builtins.str:
|
|
554
554
|
'''IP address family.
|
|
555
555
|
|
|
556
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
556
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#family Network#family}
|
|
557
557
|
'''
|
|
558
558
|
result = self._values.get("family")
|
|
559
559
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -565,7 +565,7 @@ class NetworkIpNetwork:
|
|
|
565
565
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
566
566
|
'''Is the gateway the DHCP default route?
|
|
567
567
|
|
|
568
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
568
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
569
569
|
'''
|
|
570
570
|
result = self._values.get("dhcp_default_route")
|
|
571
571
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -574,7 +574,7 @@ class NetworkIpNetwork:
|
|
|
574
574
|
def dhcp_dns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
575
575
|
'''The DNS servers given by DHCP.
|
|
576
576
|
|
|
577
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
577
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
578
578
|
'''
|
|
579
579
|
result = self._values.get("dhcp_dns")
|
|
580
580
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -583,7 +583,7 @@ class NetworkIpNetwork:
|
|
|
583
583
|
def dhcp_routes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
584
584
|
'''The additional DHCP classless static routes given by DHCP.
|
|
585
585
|
|
|
586
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
586
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
587
587
|
'''
|
|
588
588
|
result = self._values.get("dhcp_routes")
|
|
589
589
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -592,7 +592,7 @@ class NetworkIpNetwork:
|
|
|
592
592
|
def gateway(self) -> typing.Optional[builtins.str]:
|
|
593
593
|
'''Gateway address given by DHCP.
|
|
594
594
|
|
|
595
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
595
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network#gateway Network#gateway}
|
|
596
596
|
'''
|
|
597
597
|
result = self._values.get("gateway")
|
|
598
598
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_network_peering`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_network_peering`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_network_peering`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class NetworkPeering(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.networkPeering.NetworkPeering",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering upcloud_network_peering}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -64,15 +64,15 @@ class NetworkPeering(
|
|
|
64
64
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
65
65
|
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,
|
|
66
66
|
) -> None:
|
|
67
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
67
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering upcloud_network_peering} Resource.
|
|
68
68
|
|
|
69
69
|
:param scope: The scope in which to define this construct.
|
|
70
70
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
71
|
-
:param name: Name of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
72
|
-
:param configured_status: Configured status of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
73
|
-
:param labels: User defined key-value pairs to classify the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
74
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
75
|
-
:param peer_network: peer_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
71
|
+
:param name: Name of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#name NetworkPeering#name}
|
|
72
|
+
:param configured_status: Configured status of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#configured_status NetworkPeering#configured_status}
|
|
73
|
+
:param labels: User defined key-value pairs to classify the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#labels NetworkPeering#labels}
|
|
74
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#network NetworkPeering#network}
|
|
75
|
+
:param peer_network: peer_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#peer_network NetworkPeering#peer_network}
|
|
76
76
|
:param connection:
|
|
77
77
|
:param count:
|
|
78
78
|
:param depends_on:
|
|
@@ -115,7 +115,7 @@ class NetworkPeering(
|
|
|
115
115
|
|
|
116
116
|
:param scope: The scope in which to define this construct.
|
|
117
117
|
:param import_to_id: The construct id used in the generated config for the NetworkPeering to import.
|
|
118
|
-
:param import_from_id: The id of the existing NetworkPeering that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
118
|
+
:param import_from_id: The id of the existing NetworkPeering that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#import import section} in the documentation of this resource for the id to use
|
|
119
119
|
:param provider: ? Optional instance of the provider where the NetworkPeering to import is found.
|
|
120
120
|
'''
|
|
121
121
|
if __debug__:
|
|
@@ -307,11 +307,11 @@ class NetworkPeeringConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
307
307
|
:param lifecycle:
|
|
308
308
|
:param provider:
|
|
309
309
|
:param provisioners:
|
|
310
|
-
:param name: Name of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
311
|
-
:param configured_status: Configured status of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
312
|
-
:param labels: User defined key-value pairs to classify the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
313
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
314
|
-
:param peer_network: peer_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
310
|
+
:param name: Name of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#name NetworkPeering#name}
|
|
311
|
+
:param configured_status: Configured status of the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#configured_status NetworkPeering#configured_status}
|
|
312
|
+
:param labels: User defined key-value pairs to classify the network peering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#labels NetworkPeering#labels}
|
|
313
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#network NetworkPeering#network}
|
|
314
|
+
:param peer_network: peer_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#peer_network NetworkPeering#peer_network}
|
|
315
315
|
'''
|
|
316
316
|
if isinstance(lifecycle, dict):
|
|
317
317
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -423,7 +423,7 @@ class NetworkPeeringConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
423
423
|
def name(self) -> builtins.str:
|
|
424
424
|
'''Name of the network peering.
|
|
425
425
|
|
|
426
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
426
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#name NetworkPeering#name}
|
|
427
427
|
'''
|
|
428
428
|
result = self._values.get("name")
|
|
429
429
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -433,7 +433,7 @@ class NetworkPeeringConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
433
433
|
def configured_status(self) -> typing.Optional[builtins.str]:
|
|
434
434
|
'''Configured status of the network peering.
|
|
435
435
|
|
|
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.12.0/docs/resources/network_peering#configured_status NetworkPeering#configured_status}
|
|
437
437
|
'''
|
|
438
438
|
result = self._values.get("configured_status")
|
|
439
439
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -442,7 +442,7 @@ class NetworkPeeringConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
442
442
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
443
443
|
'''User defined key-value pairs to classify the network peering.
|
|
444
444
|
|
|
445
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
445
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#labels NetworkPeering#labels}
|
|
446
446
|
'''
|
|
447
447
|
result = self._values.get("labels")
|
|
448
448
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -453,7 +453,7 @@ class NetworkPeeringConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
453
453
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringNetwork"]]]:
|
|
454
454
|
'''network block.
|
|
455
455
|
|
|
456
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
456
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#network NetworkPeering#network}
|
|
457
457
|
'''
|
|
458
458
|
result = self._values.get("network")
|
|
459
459
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringNetwork"]]], result)
|
|
@@ -464,7 +464,7 @@ class NetworkPeeringConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
464
464
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringPeerNetwork"]]]:
|
|
465
465
|
'''peer_network block.
|
|
466
466
|
|
|
467
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
467
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#peer_network NetworkPeering#peer_network}
|
|
468
468
|
'''
|
|
469
469
|
result = self._values.get("peer_network")
|
|
470
470
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["NetworkPeeringPeerNetwork"]]], result)
|
|
@@ -489,7 +489,7 @@ class NetworkPeeringConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
489
489
|
class NetworkPeeringNetwork:
|
|
490
490
|
def __init__(self, *, uuid: builtins.str) -> None:
|
|
491
491
|
'''
|
|
492
|
-
:param uuid: The UUID of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
492
|
+
:param uuid: The UUID of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#uuid NetworkPeering#uuid}
|
|
493
493
|
'''
|
|
494
494
|
if __debug__:
|
|
495
495
|
type_hints = typing.get_type_hints(_typecheckingstub__55249435854778696115bf63e5ff3cef0bc5e473ffcdec977686b275ccfa8717)
|
|
@@ -502,7 +502,7 @@ class NetworkPeeringNetwork:
|
|
|
502
502
|
def uuid(self) -> builtins.str:
|
|
503
503
|
'''The UUID of the network.
|
|
504
504
|
|
|
505
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
505
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#uuid NetworkPeering#uuid}
|
|
506
506
|
'''
|
|
507
507
|
result = self._values.get("uuid")
|
|
508
508
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -679,7 +679,7 @@ class NetworkPeeringNetworkOutputReference(
|
|
|
679
679
|
class NetworkPeeringPeerNetwork:
|
|
680
680
|
def __init__(self, *, uuid: builtins.str) -> None:
|
|
681
681
|
'''
|
|
682
|
-
:param uuid: The UUID of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
682
|
+
:param uuid: The UUID of the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#uuid NetworkPeering#uuid}
|
|
683
683
|
'''
|
|
684
684
|
if __debug__:
|
|
685
685
|
type_hints = typing.get_type_hints(_typecheckingstub__3d80346f024cbc2ca254e7975912525ac73b543ed8d8c085429350161c6a5c1e)
|
|
@@ -692,7 +692,7 @@ class NetworkPeeringPeerNetwork:
|
|
|
692
692
|
def uuid(self) -> builtins.str:
|
|
693
693
|
'''The UUID of the network.
|
|
694
694
|
|
|
695
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
695
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/network_peering#uuid NetworkPeering#uuid}
|
|
696
696
|
'''
|
|
697
697
|
result = self._values.get("uuid")
|
|
698
698
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
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.12.0/docs/resources/object_storage).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class ObjectStorage(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.objectStorage.ObjectStorage",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage upcloud_object_storage}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -67,18 +67,18 @@ class ObjectStorage(
|
|
|
67
67
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
68
68
|
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,
|
|
69
69
|
) -> None:
|
|
70
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
70
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage upcloud_object_storage} Resource.
|
|
71
71
|
|
|
72
72
|
:param scope: The scope in which to define this construct.
|
|
73
73
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
74
|
-
: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.
|
|
75
|
-
: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.
|
|
76
|
-
: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.
|
|
77
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
78
|
-
: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.
|
|
79
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
80
|
-
: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.
|
|
81
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
74
|
+
: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.12.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
75
|
+
: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.12.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
76
|
+
: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.12.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
77
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
78
|
+
: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.12.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
79
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
80
|
+
: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.12.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
81
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.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.
|
|
82
82
|
:param connection:
|
|
83
83
|
:param count:
|
|
84
84
|
:param depends_on:
|
|
@@ -124,7 +124,7 @@ class ObjectStorage(
|
|
|
124
124
|
|
|
125
125
|
:param scope: The scope in which to define this construct.
|
|
126
126
|
:param import_to_id: The construct id used in the generated config for the ObjectStorage to import.
|
|
127
|
-
: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.
|
|
127
|
+
: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.12.0/docs/resources/object_storage#import import section} in the documentation of this resource for the id to use
|
|
128
128
|
:param provider: ? Optional instance of the provider where the ObjectStorage to import is found.
|
|
129
129
|
'''
|
|
130
130
|
if __debug__:
|
|
@@ -333,7 +333,7 @@ class ObjectStorage(
|
|
|
333
333
|
class ObjectStorageBucket:
|
|
334
334
|
def __init__(self, *, name: builtins.str) -> None:
|
|
335
335
|
'''
|
|
336
|
-
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
336
|
+
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
337
337
|
'''
|
|
338
338
|
if __debug__:
|
|
339
339
|
type_hints = typing.get_type_hints(_typecheckingstub__76363c1fb14ca2363d352380e624359e962fa25498e592051a720a4f8b2e2470)
|
|
@@ -346,7 +346,7 @@ class ObjectStorageBucket:
|
|
|
346
346
|
def name(self) -> builtins.str:
|
|
347
347
|
'''The name of the bucket.
|
|
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.12.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
350
350
|
'''
|
|
351
351
|
result = self._values.get("name")
|
|
352
352
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -564,14 +564,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
564
564
|
:param lifecycle:
|
|
565
565
|
:param provider:
|
|
566
566
|
:param provisioners:
|
|
567
|
-
: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.
|
|
568
|
-
: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.
|
|
569
|
-
: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.
|
|
570
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
571
|
-
: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.
|
|
572
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
573
|
-
: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.
|
|
574
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
567
|
+
: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.12.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
568
|
+
: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.12.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
569
|
+
: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.12.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
570
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
571
|
+
: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.12.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
572
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
573
|
+
: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.12.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
574
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.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.
|
|
575
575
|
'''
|
|
576
576
|
if isinstance(lifecycle, dict):
|
|
577
577
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -694,7 +694,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
694
694
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
695
695
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES".
|
|
696
696
|
|
|
697
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
697
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
698
698
|
'''
|
|
699
699
|
result = self._values.get("access_key")
|
|
700
700
|
assert result is not None, "Required property 'access_key' is missing"
|
|
@@ -704,7 +704,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
704
704
|
def name(self) -> builtins.str:
|
|
705
705
|
'''The name of the object storage instance to be created.
|
|
706
706
|
|
|
707
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
707
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
708
708
|
'''
|
|
709
709
|
result = self._values.get("name")
|
|
710
710
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -720,7 +720,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
720
720
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
721
721
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES".
|
|
722
722
|
|
|
723
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
723
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
724
724
|
'''
|
|
725
725
|
result = self._values.get("secret_key")
|
|
726
726
|
assert result is not None, "Required property 'secret_key' is missing"
|
|
@@ -730,7 +730,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
730
730
|
def size(self) -> jsii.Number:
|
|
731
731
|
'''The size of the object storage instance in gigabytes.
|
|
732
732
|
|
|
733
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
733
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
734
734
|
'''
|
|
735
735
|
result = self._values.get("size")
|
|
736
736
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -740,7 +740,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
740
740
|
def zone(self) -> builtins.str:
|
|
741
741
|
'''The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
742
742
|
|
|
743
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
743
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
744
744
|
'''
|
|
745
745
|
result = self._values.get("zone")
|
|
746
746
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -752,7 +752,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
752
752
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]]:
|
|
753
753
|
'''bucket block.
|
|
754
754
|
|
|
755
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
755
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
756
756
|
'''
|
|
757
757
|
result = self._values.get("bucket")
|
|
758
758
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]], result)
|
|
@@ -761,14 +761,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
761
761
|
def description(self) -> typing.Optional[builtins.str]:
|
|
762
762
|
'''The description of the object storage instance to be created.
|
|
763
763
|
|
|
764
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
764
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
765
765
|
'''
|
|
766
766
|
result = self._values.get("description")
|
|
767
767
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
768
768
|
|
|
769
769
|
@builtins.property
|
|
770
770
|
def id(self) -> typing.Optional[builtins.str]:
|
|
771
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
771
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/object_storage#id ObjectStorage#id}.
|
|
772
772
|
|
|
773
773
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
774
774
|
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.
|