cdktf-cdktf-provider-upcloud 11.0.3__py3-none-any.whl → 12.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@12.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +26 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +17 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +34 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +26 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +17 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +29 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +14 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +14 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +45 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +32 -28
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +32 -28
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +51 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +40 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +68 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +20 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +32 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +20 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +43 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +169 -165
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +20 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +35 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +32 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +179 -175
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +77 -73
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +296 -292
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +104 -100
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +54 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +77 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/network/__init__.py +44 -40
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +34 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +29 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +145 -141
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +59 -55
- cdktf_cdktf_provider_upcloud/tag/__init__.py +20 -16
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/LICENSE +1 -1
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-12.0.0.dist-info/RECORD +54 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.0.3.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-11.0.3.dist-info/RECORD +0 -54
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_firewall_rules`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_firewall_rules`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class FirewallRules(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.firewallRules.FirewallRules",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules upcloud_firewall_rules}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -44,13 +44,13 @@ class FirewallRules(
|
|
|
44
44
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
45
45
|
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,
|
|
46
46
|
) -> None:
|
|
47
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
47
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules upcloud_firewall_rules} Resource.
|
|
48
48
|
|
|
49
49
|
:param scope: The scope in which to define this construct.
|
|
50
50
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
51
|
-
:param firewall_rule: firewall_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
52
|
-
:param server_id: The unique id of the server to be protected the firewall rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
53
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
51
|
+
:param firewall_rule: firewall_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#firewall_rule FirewallRules#firewall_rule}
|
|
52
|
+
:param server_id: The unique id of the server to be protected the firewall rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#server_id FirewallRules#server_id}
|
|
53
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#id FirewallRules#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.
|
|
54
54
|
:param connection:
|
|
55
55
|
:param count:
|
|
56
56
|
:param depends_on:
|
|
@@ -91,7 +91,7 @@ class FirewallRules(
|
|
|
91
91
|
|
|
92
92
|
:param scope: The scope in which to define this construct.
|
|
93
93
|
:param import_to_id: The construct id used in the generated config for the FirewallRules to import.
|
|
94
|
-
:param import_from_id: The id of the existing FirewallRules that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
94
|
+
:param import_from_id: The id of the existing FirewallRules that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#import import section} in the documentation of this resource for the id to use
|
|
95
95
|
:param provider: ? Optional instance of the provider where the FirewallRules to import is found.
|
|
96
96
|
'''
|
|
97
97
|
if __debug__:
|
|
@@ -123,6 +123,10 @@ class FirewallRules(
|
|
|
123
123
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
124
124
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
125
125
|
|
|
126
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
127
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
128
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
129
|
+
|
|
126
130
|
@jsii.python.classproperty
|
|
127
131
|
@jsii.member(jsii_name="tfResourceType")
|
|
128
132
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
@@ -214,9 +218,9 @@ class FirewallRulesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
214
218
|
:param lifecycle:
|
|
215
219
|
:param provider:
|
|
216
220
|
:param provisioners:
|
|
217
|
-
:param firewall_rule: firewall_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
218
|
-
:param server_id: The unique id of the server to be protected the firewall rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
219
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
221
|
+
:param firewall_rule: firewall_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#firewall_rule FirewallRules#firewall_rule}
|
|
222
|
+
:param server_id: The unique id of the server to be protected the firewall rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#server_id FirewallRules#server_id}
|
|
223
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#id FirewallRules#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.
|
|
220
224
|
'''
|
|
221
225
|
if isinstance(lifecycle, dict):
|
|
222
226
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -323,7 +327,7 @@ class FirewallRulesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
323
327
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FirewallRulesFirewallRule"]]:
|
|
324
328
|
'''firewall_rule block.
|
|
325
329
|
|
|
326
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
330
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#firewall_rule FirewallRules#firewall_rule}
|
|
327
331
|
'''
|
|
328
332
|
result = self._values.get("firewall_rule")
|
|
329
333
|
assert result is not None, "Required property 'firewall_rule' is missing"
|
|
@@ -333,7 +337,7 @@ class FirewallRulesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
333
337
|
def server_id(self) -> builtins.str:
|
|
334
338
|
'''The unique id of the server to be protected the firewall rules.
|
|
335
339
|
|
|
336
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
340
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#server_id FirewallRules#server_id}
|
|
337
341
|
'''
|
|
338
342
|
result = self._values.get("server_id")
|
|
339
343
|
assert result is not None, "Required property 'server_id' is missing"
|
|
@@ -341,7 +345,7 @@ class FirewallRulesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
341
345
|
|
|
342
346
|
@builtins.property
|
|
343
347
|
def id(self) -> typing.Optional[builtins.str]:
|
|
344
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
348
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#id FirewallRules#id}.
|
|
345
349
|
|
|
346
350
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
347
351
|
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.
|
|
@@ -401,20 +405,20 @@ class FirewallRulesFirewallRule:
|
|
|
401
405
|
source_port_start: typing.Optional[builtins.str] = None,
|
|
402
406
|
) -> None:
|
|
403
407
|
'''
|
|
404
|
-
:param action: Action to take if the rule conditions are met. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
405
|
-
:param direction: The direction of network traffic this rule will be applied to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
406
|
-
:param comment: Freeform comment string for the rule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
407
|
-
:param destination_address_end: The destination address range ends from this address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
408
|
-
:param destination_address_start: The destination address range starts from this address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
409
|
-
:param destination_port_end: The destination port range ends from this port number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
410
|
-
:param destination_port_start: The destination port range starts from this port number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
411
|
-
:param family: The address family of new firewall rule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
412
|
-
:param icmp_type: The ICMP type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
413
|
-
:param protocol: The protocol this rule will be applied to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
414
|
-
:param source_address_end: The source address range ends from this address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
415
|
-
:param source_address_start: The source address range starts from this address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
416
|
-
:param source_port_end: The source port range ends from this port number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
417
|
-
:param source_port_start: The source port range starts from this port number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
408
|
+
:param action: Action to take if the rule conditions are met. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#action FirewallRules#action}
|
|
409
|
+
:param direction: The direction of network traffic this rule will be applied to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#direction FirewallRules#direction}
|
|
410
|
+
:param comment: Freeform comment string for the rule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#comment FirewallRules#comment}
|
|
411
|
+
:param destination_address_end: The destination address range ends from this address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#destination_address_end FirewallRules#destination_address_end}
|
|
412
|
+
:param destination_address_start: The destination address range starts from this address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#destination_address_start FirewallRules#destination_address_start}
|
|
413
|
+
:param destination_port_end: The destination port range ends from this port number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#destination_port_end FirewallRules#destination_port_end}
|
|
414
|
+
:param destination_port_start: The destination port range starts from this port number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#destination_port_start FirewallRules#destination_port_start}
|
|
415
|
+
:param family: The address family of new firewall rule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#family FirewallRules#family}
|
|
416
|
+
:param icmp_type: The ICMP type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#icmp_type FirewallRules#icmp_type}
|
|
417
|
+
:param protocol: The protocol this rule will be applied to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#protocol FirewallRules#protocol}
|
|
418
|
+
:param source_address_end: The source address range ends from this address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#source_address_end FirewallRules#source_address_end}
|
|
419
|
+
:param source_address_start: The source address range starts from this address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#source_address_start FirewallRules#source_address_start}
|
|
420
|
+
:param source_port_end: The source port range ends from this port number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#source_port_end FirewallRules#source_port_end}
|
|
421
|
+
:param source_port_start: The source port range starts from this port number. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#source_port_start FirewallRules#source_port_start}
|
|
418
422
|
'''
|
|
419
423
|
if __debug__:
|
|
420
424
|
type_hints = typing.get_type_hints(_typecheckingstub__9b77e978fb66d25b46f06da19493b15c4f42527dec58b7335729cf86141901af)
|
|
@@ -465,7 +469,7 @@ class FirewallRulesFirewallRule:
|
|
|
465
469
|
def action(self) -> builtins.str:
|
|
466
470
|
'''Action to take if the rule conditions are met.
|
|
467
471
|
|
|
468
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
472
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#action FirewallRules#action}
|
|
469
473
|
'''
|
|
470
474
|
result = self._values.get("action")
|
|
471
475
|
assert result is not None, "Required property 'action' is missing"
|
|
@@ -475,7 +479,7 @@ class FirewallRulesFirewallRule:
|
|
|
475
479
|
def direction(self) -> builtins.str:
|
|
476
480
|
'''The direction of network traffic this rule will be applied to.
|
|
477
481
|
|
|
478
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
482
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#direction FirewallRules#direction}
|
|
479
483
|
'''
|
|
480
484
|
result = self._values.get("direction")
|
|
481
485
|
assert result is not None, "Required property 'direction' is missing"
|
|
@@ -485,7 +489,7 @@ class FirewallRulesFirewallRule:
|
|
|
485
489
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
486
490
|
'''Freeform comment string for the rule.
|
|
487
491
|
|
|
488
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
492
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#comment FirewallRules#comment}
|
|
489
493
|
'''
|
|
490
494
|
result = self._values.get("comment")
|
|
491
495
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -494,7 +498,7 @@ class FirewallRulesFirewallRule:
|
|
|
494
498
|
def destination_address_end(self) -> typing.Optional[builtins.str]:
|
|
495
499
|
'''The destination address range ends from this address.
|
|
496
500
|
|
|
497
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
501
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#destination_address_end FirewallRules#destination_address_end}
|
|
498
502
|
'''
|
|
499
503
|
result = self._values.get("destination_address_end")
|
|
500
504
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -503,7 +507,7 @@ class FirewallRulesFirewallRule:
|
|
|
503
507
|
def destination_address_start(self) -> typing.Optional[builtins.str]:
|
|
504
508
|
'''The destination address range starts from this address.
|
|
505
509
|
|
|
506
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
510
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#destination_address_start FirewallRules#destination_address_start}
|
|
507
511
|
'''
|
|
508
512
|
result = self._values.get("destination_address_start")
|
|
509
513
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -512,7 +516,7 @@ class FirewallRulesFirewallRule:
|
|
|
512
516
|
def destination_port_end(self) -> typing.Optional[builtins.str]:
|
|
513
517
|
'''The destination port range ends from this port number.
|
|
514
518
|
|
|
515
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
519
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#destination_port_end FirewallRules#destination_port_end}
|
|
516
520
|
'''
|
|
517
521
|
result = self._values.get("destination_port_end")
|
|
518
522
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -521,7 +525,7 @@ class FirewallRulesFirewallRule:
|
|
|
521
525
|
def destination_port_start(self) -> typing.Optional[builtins.str]:
|
|
522
526
|
'''The destination port range starts from this port number.
|
|
523
527
|
|
|
524
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
528
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#destination_port_start FirewallRules#destination_port_start}
|
|
525
529
|
'''
|
|
526
530
|
result = self._values.get("destination_port_start")
|
|
527
531
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -530,7 +534,7 @@ class FirewallRulesFirewallRule:
|
|
|
530
534
|
def family(self) -> typing.Optional[builtins.str]:
|
|
531
535
|
'''The address family of new firewall rule.
|
|
532
536
|
|
|
533
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
537
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#family FirewallRules#family}
|
|
534
538
|
'''
|
|
535
539
|
result = self._values.get("family")
|
|
536
540
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -539,7 +543,7 @@ class FirewallRulesFirewallRule:
|
|
|
539
543
|
def icmp_type(self) -> typing.Optional[builtins.str]:
|
|
540
544
|
'''The ICMP type.
|
|
541
545
|
|
|
542
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
546
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#icmp_type FirewallRules#icmp_type}
|
|
543
547
|
'''
|
|
544
548
|
result = self._values.get("icmp_type")
|
|
545
549
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -548,7 +552,7 @@ class FirewallRulesFirewallRule:
|
|
|
548
552
|
def protocol(self) -> typing.Optional[builtins.str]:
|
|
549
553
|
'''The protocol this rule will be applied to.
|
|
550
554
|
|
|
551
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
555
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#protocol FirewallRules#protocol}
|
|
552
556
|
'''
|
|
553
557
|
result = self._values.get("protocol")
|
|
554
558
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -557,7 +561,7 @@ class FirewallRulesFirewallRule:
|
|
|
557
561
|
def source_address_end(self) -> typing.Optional[builtins.str]:
|
|
558
562
|
'''The source address range ends from this address.
|
|
559
563
|
|
|
560
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
564
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#source_address_end FirewallRules#source_address_end}
|
|
561
565
|
'''
|
|
562
566
|
result = self._values.get("source_address_end")
|
|
563
567
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -566,7 +570,7 @@ class FirewallRulesFirewallRule:
|
|
|
566
570
|
def source_address_start(self) -> typing.Optional[builtins.str]:
|
|
567
571
|
'''The source address range starts from this address.
|
|
568
572
|
|
|
569
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
573
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#source_address_start FirewallRules#source_address_start}
|
|
570
574
|
'''
|
|
571
575
|
result = self._values.get("source_address_start")
|
|
572
576
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -575,7 +579,7 @@ class FirewallRulesFirewallRule:
|
|
|
575
579
|
def source_port_end(self) -> typing.Optional[builtins.str]:
|
|
576
580
|
'''The source port range ends from this port number.
|
|
577
581
|
|
|
578
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
582
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#source_port_end FirewallRules#source_port_end}
|
|
579
583
|
'''
|
|
580
584
|
result = self._values.get("source_port_end")
|
|
581
585
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -584,7 +588,7 @@ class FirewallRulesFirewallRule:
|
|
|
584
588
|
def source_port_start(self) -> typing.Optional[builtins.str]:
|
|
585
589
|
'''The source port range starts from this port number.
|
|
586
590
|
|
|
587
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
591
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/firewall_rules#source_port_start FirewallRules#source_port_start}
|
|
588
592
|
'''
|
|
589
593
|
result = self._values.get("source_port_start")
|
|
590
594
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_floating_ip_address`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_floating_ip_address`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class FloatingIpAddress(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.floatingIpAddress.FloatingIpAddress",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address upcloud_floating_ip_address}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -46,15 +46,15 @@ class FloatingIpAddress(
|
|
|
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/3.
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address upcloud_floating_ip_address} 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 access: Network access for the floating IP address. Supported value: ``public``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
54
|
-
:param family: The address family of new IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
55
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
56
|
-
:param mac_address: MAC address of server interface to assign address to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
57
|
-
:param zone: Zone of address, required when assigning a detached floating IP address, 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/3.
|
|
53
|
+
:param access: Network access for the floating IP address. Supported value: ``public``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#access FloatingIpAddress#access}
|
|
54
|
+
:param family: The address family of new IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#family FloatingIpAddress#family}
|
|
55
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#id FloatingIpAddress#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.
|
|
56
|
+
:param mac_address: MAC address of server interface to assign address to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#mac_address FloatingIpAddress#mac_address}
|
|
57
|
+
:param zone: Zone of address, required when assigning a detached floating IP address, 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/3.3.0/docs/resources/floating_ip_address#zone FloatingIpAddress#zone}
|
|
58
58
|
:param connection:
|
|
59
59
|
:param count:
|
|
60
60
|
:param depends_on:
|
|
@@ -97,7 +97,7 @@ class FloatingIpAddress(
|
|
|
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 FloatingIpAddress to import.
|
|
100
|
-
:param import_from_id: The id of the existing FloatingIpAddress that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
100
|
+
:param import_from_id: The id of the existing FloatingIpAddress that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#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 FloatingIpAddress to import is found.
|
|
102
102
|
'''
|
|
103
103
|
if __debug__:
|
|
@@ -132,6 +132,10 @@ class FloatingIpAddress(
|
|
|
132
132
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
133
133
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
134
134
|
|
|
135
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
136
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
137
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
138
|
+
|
|
135
139
|
@jsii.python.classproperty
|
|
136
140
|
@jsii.member(jsii_name="tfResourceType")
|
|
137
141
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
@@ -271,11 +275,11 @@ class FloatingIpAddressConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
271
275
|
:param lifecycle:
|
|
272
276
|
:param provider:
|
|
273
277
|
:param provisioners:
|
|
274
|
-
:param access: Network access for the floating IP address. Supported value: ``public``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
275
|
-
:param family: The address family of new IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
276
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
277
|
-
:param mac_address: MAC address of server interface to assign address to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
278
|
-
:param zone: Zone of address, required when assigning a detached floating IP address, 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/3.
|
|
278
|
+
:param access: Network access for the floating IP address. Supported value: ``public``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#access FloatingIpAddress#access}
|
|
279
|
+
:param family: The address family of new IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#family FloatingIpAddress#family}
|
|
280
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#id FloatingIpAddress#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.
|
|
281
|
+
:param mac_address: MAC address of server interface to assign address to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#mac_address FloatingIpAddress#mac_address}
|
|
282
|
+
:param zone: Zone of address, required when assigning a detached floating IP address, 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/3.3.0/docs/resources/floating_ip_address#zone FloatingIpAddress#zone}
|
|
279
283
|
'''
|
|
280
284
|
if isinstance(lifecycle, dict):
|
|
281
285
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -387,7 +391,7 @@ class FloatingIpAddressConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
387
391
|
def access(self) -> typing.Optional[builtins.str]:
|
|
388
392
|
'''Network access for the floating IP address. Supported value: ``public``.
|
|
389
393
|
|
|
390
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
394
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#access FloatingIpAddress#access}
|
|
391
395
|
'''
|
|
392
396
|
result = self._values.get("access")
|
|
393
397
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -396,14 +400,14 @@ class FloatingIpAddressConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
396
400
|
def family(self) -> typing.Optional[builtins.str]:
|
|
397
401
|
'''The address family of new IP address.
|
|
398
402
|
|
|
399
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
403
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#family FloatingIpAddress#family}
|
|
400
404
|
'''
|
|
401
405
|
result = self._values.get("family")
|
|
402
406
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
403
407
|
|
|
404
408
|
@builtins.property
|
|
405
409
|
def id(self) -> typing.Optional[builtins.str]:
|
|
406
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
410
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#id FloatingIpAddress#id}.
|
|
407
411
|
|
|
408
412
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
409
413
|
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.
|
|
@@ -415,7 +419,7 @@ class FloatingIpAddressConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
415
419
|
def mac_address(self) -> typing.Optional[builtins.str]:
|
|
416
420
|
'''MAC address of server interface to assign address to.
|
|
417
421
|
|
|
418
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
422
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#mac_address FloatingIpAddress#mac_address}
|
|
419
423
|
'''
|
|
420
424
|
result = self._values.get("mac_address")
|
|
421
425
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -424,7 +428,7 @@ class FloatingIpAddressConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
424
428
|
def zone(self) -> typing.Optional[builtins.str]:
|
|
425
429
|
'''Zone of address, required when assigning a detached floating IP address, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
426
430
|
|
|
427
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
431
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/floating_ip_address#zone FloatingIpAddress#zone}
|
|
428
432
|
'''
|
|
429
433
|
result = self._values.get("zone")
|
|
430
434
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_gateway`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_gateway`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Gateway(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.gateway.Gateway",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway upcloud_gateway}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -48,17 +48,17 @@ class Gateway(
|
|
|
48
48
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
49
49
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
50
50
|
) -> None:
|
|
51
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
51
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway upcloud_gateway} Resource.
|
|
52
52
|
|
|
53
53
|
:param scope: The scope in which to define this construct.
|
|
54
54
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
55
|
-
:param features: Features enabled for the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
56
|
-
:param name: Gateway name. Needs to be unique within the account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
57
|
-
:param router: router block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
58
|
-
:param zone: Zone in which the gateway will be hosted, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
59
|
-
:param configured_status: The service configured status indicates the service's current intended status. Managed by the customer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
60
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
61
|
-
:param labels: Key-value pairs to classify the network gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
55
|
+
:param features: Features enabled for the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#features Gateway#features}
|
|
56
|
+
:param name: Gateway name. Needs to be unique within the account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#name Gateway#name}
|
|
57
|
+
:param router: router block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#router Gateway#router}
|
|
58
|
+
:param zone: Zone in which the gateway will be hosted, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#zone Gateway#zone}
|
|
59
|
+
:param configured_status: The service configured status indicates the service's current intended status. Managed by the customer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#configured_status Gateway#configured_status}
|
|
60
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#id Gateway#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.
|
|
61
|
+
:param labels: Key-value pairs to classify the network gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#labels Gateway#labels}
|
|
62
62
|
:param connection:
|
|
63
63
|
:param count:
|
|
64
64
|
:param depends_on:
|
|
@@ -103,7 +103,7 @@ class Gateway(
|
|
|
103
103
|
|
|
104
104
|
:param scope: The scope in which to define this construct.
|
|
105
105
|
:param import_to_id: The construct id used in the generated config for the Gateway to import.
|
|
106
|
-
:param import_from_id: The id of the existing Gateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
106
|
+
:param import_from_id: The id of the existing Gateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#import import section} in the documentation of this resource for the id to use
|
|
107
107
|
:param provider: ? Optional instance of the provider where the Gateway to import is found.
|
|
108
108
|
'''
|
|
109
109
|
if __debug__:
|
|
@@ -117,7 +117,7 @@ class Gateway(
|
|
|
117
117
|
@jsii.member(jsii_name="putRouter")
|
|
118
118
|
def put_router(self, *, id: builtins.str) -> None:
|
|
119
119
|
'''
|
|
120
|
-
:param id: ID of the router attached to the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
120
|
+
:param id: ID of the router attached to the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#id Gateway#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.
|
|
121
121
|
'''
|
|
122
122
|
value = GatewayRouter(id=id)
|
|
123
123
|
|
|
@@ -139,6 +139,10 @@ class Gateway(
|
|
|
139
139
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
140
140
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
141
141
|
|
|
142
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
143
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
144
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
145
|
+
|
|
142
146
|
@jsii.python.classproperty
|
|
143
147
|
@jsii.member(jsii_name="tfResourceType")
|
|
144
148
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
@@ -459,13 +463,13 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
459
463
|
:param lifecycle:
|
|
460
464
|
:param provider:
|
|
461
465
|
:param provisioners:
|
|
462
|
-
:param features: Features enabled for the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
463
|
-
:param name: Gateway name. Needs to be unique within the account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
464
|
-
:param router: router block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
465
|
-
:param zone: Zone in which the gateway will be hosted, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
466
|
-
:param configured_status: The service configured status indicates the service's current intended status. Managed by the customer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
467
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
468
|
-
:param labels: Key-value pairs to classify the network gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
466
|
+
:param features: Features enabled for the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#features Gateway#features}
|
|
467
|
+
:param name: Gateway name. Needs to be unique within the account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#name Gateway#name}
|
|
468
|
+
:param router: router block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#router Gateway#router}
|
|
469
|
+
:param zone: Zone in which the gateway will be hosted, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#zone Gateway#zone}
|
|
470
|
+
:param configured_status: The service configured status indicates the service's current intended status. Managed by the customer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#configured_status Gateway#configured_status}
|
|
471
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#id Gateway#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.
|
|
472
|
+
:param labels: Key-value pairs to classify the network gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#labels Gateway#labels}
|
|
469
473
|
'''
|
|
470
474
|
if isinstance(lifecycle, dict):
|
|
471
475
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -582,7 +586,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
582
586
|
def features(self) -> typing.List[builtins.str]:
|
|
583
587
|
'''Features enabled for the gateway.
|
|
584
588
|
|
|
585
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
589
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#features Gateway#features}
|
|
586
590
|
'''
|
|
587
591
|
result = self._values.get("features")
|
|
588
592
|
assert result is not None, "Required property 'features' is missing"
|
|
@@ -592,7 +596,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
592
596
|
def name(self) -> builtins.str:
|
|
593
597
|
'''Gateway name. Needs to be unique within the account.
|
|
594
598
|
|
|
595
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
599
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#name Gateway#name}
|
|
596
600
|
'''
|
|
597
601
|
result = self._values.get("name")
|
|
598
602
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -602,7 +606,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
602
606
|
def router(self) -> "GatewayRouter":
|
|
603
607
|
'''router block.
|
|
604
608
|
|
|
605
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
609
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#router Gateway#router}
|
|
606
610
|
'''
|
|
607
611
|
result = self._values.get("router")
|
|
608
612
|
assert result is not None, "Required property 'router' is missing"
|
|
@@ -612,7 +616,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
612
616
|
def zone(self) -> builtins.str:
|
|
613
617
|
'''Zone in which the gateway will be hosted, e.g. ``de-fra1``.
|
|
614
618
|
|
|
615
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
619
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#zone Gateway#zone}
|
|
616
620
|
'''
|
|
617
621
|
result = self._values.get("zone")
|
|
618
622
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -622,14 +626,14 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
622
626
|
def configured_status(self) -> typing.Optional[builtins.str]:
|
|
623
627
|
'''The service configured status indicates the service's current intended status. Managed by the customer.
|
|
624
628
|
|
|
625
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
629
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#configured_status Gateway#configured_status}
|
|
626
630
|
'''
|
|
627
631
|
result = self._values.get("configured_status")
|
|
628
632
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
629
633
|
|
|
630
634
|
@builtins.property
|
|
631
635
|
def id(self) -> typing.Optional[builtins.str]:
|
|
632
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
636
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#id Gateway#id}.
|
|
633
637
|
|
|
634
638
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
635
639
|
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.
|
|
@@ -641,7 +645,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
641
645
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
642
646
|
'''Key-value pairs to classify the network gateway.
|
|
643
647
|
|
|
644
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
648
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#labels Gateway#labels}
|
|
645
649
|
'''
|
|
646
650
|
result = self._values.get("labels")
|
|
647
651
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -666,7 +670,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
666
670
|
class GatewayRouter:
|
|
667
671
|
def __init__(self, *, id: builtins.str) -> None:
|
|
668
672
|
'''
|
|
669
|
-
:param id: ID of the router attached to the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
673
|
+
:param id: ID of the router attached to the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#id Gateway#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.
|
|
670
674
|
'''
|
|
671
675
|
if __debug__:
|
|
672
676
|
type_hints = typing.get_type_hints(_typecheckingstub__ec6d5ccf3e805f30e341a3cd9f4f396b1b94f09fded4ca2733934ac1d447f38b)
|
|
@@ -679,7 +683,7 @@ class GatewayRouter:
|
|
|
679
683
|
def id(self) -> builtins.str:
|
|
680
684
|
'''ID of the router attached to the gateway.
|
|
681
685
|
|
|
682
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
686
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/gateway#id Gateway#id}
|
|
683
687
|
|
|
684
688
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
685
689
|
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.
|