cdktf-cdktf-provider-upcloud 14.10.1__py3-none-any.whl → 14.11.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +23 -4
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +18 -3
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.11.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +38 -23
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +38 -23
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +26 -11
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +131 -54
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +26 -11
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +57 -42
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +53 -38
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +50 -35
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +77 -62
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +47 -32
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +74 -59
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +58 -43
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +245 -175
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +44 -29
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +49 -34
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +209 -194
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +47 -32
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +44 -29
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +211 -196
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +457 -442
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +325 -310
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +139 -124
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +66 -51
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/network/__init__.py +49 -34
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +39 -24
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/provider/__init__.py +41 -26
- cdktf_cdktf_provider_upcloud/router/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/server/__init__.py +169 -154
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/storage/__init__.py +70 -53
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/tag/__init__.py +32 -17
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/METADATA +6 -6
- cdktf_cdktf_provider_upcloud-14.11.1.dist-info/RECORD +64 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.10.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.10.1.dist-info/RECORD +0 -62
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_server`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -16,7 +16,22 @@ import jsii
|
|
|
16
16
|
import publication
|
|
17
17
|
import typing_extensions
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
import typeguard
|
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
22
|
+
|
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
26
|
+
else:
|
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
28
|
+
pass
|
|
29
|
+
else:
|
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
33
|
+
else:
|
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
20
35
|
|
|
21
36
|
from .._jsii import *
|
|
22
37
|
|
|
@@ -29,7 +44,7 @@ class Server(
|
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
|
30
45
|
jsii_type="@cdktf/provider-upcloud.server.Server",
|
|
31
46
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server upcloud_server}.'''
|
|
33
48
|
|
|
34
49
|
def __init__(
|
|
35
50
|
self,
|
|
@@ -67,33 +82,33 @@ class Server(
|
|
|
67
82
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
68
83
|
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
84
|
) -> None:
|
|
70
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
85
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server upcloud_server} Resource.
|
|
71
86
|
|
|
72
87
|
:param scope: The scope in which to define this construct.
|
|
73
88
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
74
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
75
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
76
|
-
:param zone: The zone in which the server will be hosted, 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.
|
|
77
|
-
:param boot_order: The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
78
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
79
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
80
|
-
:param host: Use this to start the VM on a specific host. Refers to value from host -attribute. Only available for private cloud hosts 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.
|
|
82
|
-
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
83
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
84
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
85
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
86
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
87
|
-
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
88
|
-
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
89
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
90
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
91
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
92
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
93
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
94
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
95
|
-
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
96
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
89
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#hostname Server#hostname}
|
|
90
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#network_interface Server#network_interface}
|
|
91
|
+
:param zone: The zone in which the server will be hosted, 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.11.1/docs/resources/server#zone Server#zone}
|
|
92
|
+
:param boot_order: The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#boot_order Server#boot_order}
|
|
93
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#cpu Server#cpu}
|
|
94
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#firewall Server#firewall}
|
|
95
|
+
:param host: Use this to start the VM on a specific host. Refers to value from host -attribute. Only available for private cloud hosts Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#host Server#host}
|
|
96
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#id Server#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.
|
|
97
|
+
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#labels Server#labels}
|
|
98
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#login Server#login}
|
|
99
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#mem Server#mem}
|
|
100
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#metadata Server#metadata}
|
|
101
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#nic_model Server#nic_model}
|
|
102
|
+
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#plan Server#plan}
|
|
103
|
+
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#server_group Server#server_group}
|
|
104
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
105
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
106
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#tags Server#tags}
|
|
107
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#template Server#template}
|
|
108
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#timezone Server#timezone}
|
|
109
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#title Server#title}
|
|
110
|
+
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#user_data Server#user_data}
|
|
111
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#video_model Server#video_model}
|
|
97
112
|
:param connection:
|
|
98
113
|
:param count:
|
|
99
114
|
:param depends_on:
|
|
@@ -154,7 +169,7 @@ class Server(
|
|
|
154
169
|
|
|
155
170
|
:param scope: The scope in which to define this construct.
|
|
156
171
|
:param import_to_id: The construct id used in the generated config for the Server to import.
|
|
157
|
-
:param import_from_id: The id of the existing Server that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
172
|
+
:param import_from_id: The id of the existing Server that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#import import section} in the documentation of this resource for the id to use
|
|
158
173
|
:param provider: ? Optional instance of the provider where the Server to import is found.
|
|
159
174
|
'''
|
|
160
175
|
if __debug__:
|
|
@@ -175,10 +190,10 @@ class Server(
|
|
|
175
190
|
user: typing.Optional[builtins.str] = None,
|
|
176
191
|
) -> None:
|
|
177
192
|
'''
|
|
178
|
-
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
179
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
180
|
-
:param password_delivery: The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
181
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
193
|
+
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#create_password Server#create_password}
|
|
194
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#keys Server#keys}
|
|
195
|
+
:param password_delivery: The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
196
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#user Server#user}
|
|
182
197
|
'''
|
|
183
198
|
value = ServerLogin(
|
|
184
199
|
create_password=create_password,
|
|
@@ -205,8 +220,8 @@ class Server(
|
|
|
205
220
|
@jsii.member(jsii_name="putSimpleBackup")
|
|
206
221
|
def put_simple_backup(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
207
222
|
'''
|
|
208
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
209
|
-
:param time: Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
223
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#plan Server#plan}
|
|
224
|
+
:param time: Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#time Server#time}
|
|
210
225
|
'''
|
|
211
226
|
value = ServerSimpleBackup(plan=plan, time=time)
|
|
212
227
|
|
|
@@ -240,15 +255,15 @@ class Server(
|
|
|
240
255
|
title: typing.Optional[builtins.str] = None,
|
|
241
256
|
) -> None:
|
|
242
257
|
'''
|
|
243
|
-
:param storage: A valid storage UUID or template name. You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
244
|
-
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
245
|
-
:param address_position: The device position in the given bus (defined via field ``address``). For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
246
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
247
|
-
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
248
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
249
|
-
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
250
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
251
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
258
|
+
:param storage: A valid storage UUID or template name. You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#storage Server#storage}
|
|
259
|
+
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address Server#address}
|
|
260
|
+
:param address_position: The device position in the given bus (defined via field ``address``). For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address_position Server#address_position}
|
|
261
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
262
|
+
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
263
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#encrypt Server#encrypt}
|
|
264
|
+
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
265
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#size Server#size}
|
|
266
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#title Server#title}
|
|
252
267
|
'''
|
|
253
268
|
value = ServerTemplate(
|
|
254
269
|
storage=storage,
|
|
@@ -809,29 +824,29 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
809
824
|
:param lifecycle:
|
|
810
825
|
:param provider:
|
|
811
826
|
:param provisioners:
|
|
812
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
813
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
814
|
-
:param zone: The zone in which the server will be hosted, 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.
|
|
815
|
-
:param boot_order: The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
816
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
817
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
818
|
-
:param host: Use this to start the VM on a specific host. Refers to value from host -attribute. Only available for private cloud hosts Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
819
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
820
|
-
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
821
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
822
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
823
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
824
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
825
|
-
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
826
|
-
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
827
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
828
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
829
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
830
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
831
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
832
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
833
|
-
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
834
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
827
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#hostname Server#hostname}
|
|
828
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#network_interface Server#network_interface}
|
|
829
|
+
:param zone: The zone in which the server will be hosted, 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.11.1/docs/resources/server#zone Server#zone}
|
|
830
|
+
:param boot_order: The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#boot_order Server#boot_order}
|
|
831
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#cpu Server#cpu}
|
|
832
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#firewall Server#firewall}
|
|
833
|
+
:param host: Use this to start the VM on a specific host. Refers to value from host -attribute. Only available for private cloud hosts Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#host Server#host}
|
|
834
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#id Server#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.
|
|
835
|
+
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#labels Server#labels}
|
|
836
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#login Server#login}
|
|
837
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#mem Server#mem}
|
|
838
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#metadata Server#metadata}
|
|
839
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#nic_model Server#nic_model}
|
|
840
|
+
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#plan Server#plan}
|
|
841
|
+
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#server_group Server#server_group}
|
|
842
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
843
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
844
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#tags Server#tags}
|
|
845
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#template Server#template}
|
|
846
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#timezone Server#timezone}
|
|
847
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#title Server#title}
|
|
848
|
+
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#user_data Server#user_data}
|
|
849
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#video_model Server#video_model}
|
|
835
850
|
'''
|
|
836
851
|
if isinstance(lifecycle, dict):
|
|
837
852
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -1001,7 +1016,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1001
1016
|
def hostname(self) -> builtins.str:
|
|
1002
1017
|
'''A valid domain name.
|
|
1003
1018
|
|
|
1004
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1019
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#hostname Server#hostname}
|
|
1005
1020
|
'''
|
|
1006
1021
|
result = self._values.get("hostname")
|
|
1007
1022
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -1013,7 +1028,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1013
1028
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]:
|
|
1014
1029
|
'''network_interface block.
|
|
1015
1030
|
|
|
1016
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1031
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#network_interface Server#network_interface}
|
|
1017
1032
|
'''
|
|
1018
1033
|
result = self._values.get("network_interface")
|
|
1019
1034
|
assert result is not None, "Required property 'network_interface' is missing"
|
|
@@ -1023,7 +1038,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1023
1038
|
def zone(self) -> builtins.str:
|
|
1024
1039
|
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1025
1040
|
|
|
1026
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1041
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#zone Server#zone}
|
|
1027
1042
|
'''
|
|
1028
1043
|
result = self._values.get("zone")
|
|
1029
1044
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1033,7 +1048,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1033
1048
|
def boot_order(self) -> typing.Optional[builtins.str]:
|
|
1034
1049
|
'''The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``.
|
|
1035
1050
|
|
|
1036
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1051
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#boot_order Server#boot_order}
|
|
1037
1052
|
'''
|
|
1038
1053
|
result = self._values.get("boot_order")
|
|
1039
1054
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1042,7 +1057,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1042
1057
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
1043
1058
|
'''The number of CPU for the server.
|
|
1044
1059
|
|
|
1045
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1060
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#cpu Server#cpu}
|
|
1046
1061
|
'''
|
|
1047
1062
|
result = self._values.get("cpu")
|
|
1048
1063
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1053,7 +1068,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1053
1068
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1054
1069
|
'''Are firewall rules active for the server.
|
|
1055
1070
|
|
|
1056
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1071
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#firewall Server#firewall}
|
|
1057
1072
|
'''
|
|
1058
1073
|
result = self._values.get("firewall")
|
|
1059
1074
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1064,14 +1079,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1064
1079
|
|
|
1065
1080
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
1066
1081
|
|
|
1067
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1082
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#host Server#host}
|
|
1068
1083
|
'''
|
|
1069
1084
|
result = self._values.get("host")
|
|
1070
1085
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1071
1086
|
|
|
1072
1087
|
@builtins.property
|
|
1073
1088
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1074
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1089
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#id Server#id}.
|
|
1075
1090
|
|
|
1076
1091
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1077
1092
|
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.
|
|
@@ -1083,7 +1098,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1083
1098
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1084
1099
|
'''User defined key-value pairs to classify the server.
|
|
1085
1100
|
|
|
1086
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1101
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#labels Server#labels}
|
|
1087
1102
|
'''
|
|
1088
1103
|
result = self._values.get("labels")
|
|
1089
1104
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1092,7 +1107,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1092
1107
|
def login(self) -> typing.Optional["ServerLogin"]:
|
|
1093
1108
|
'''login block.
|
|
1094
1109
|
|
|
1095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1110
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#login Server#login}
|
|
1096
1111
|
'''
|
|
1097
1112
|
result = self._values.get("login")
|
|
1098
1113
|
return typing.cast(typing.Optional["ServerLogin"], result)
|
|
@@ -1101,7 +1116,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1101
1116
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
1102
1117
|
'''The size of memory for the server (in megabytes).
|
|
1103
1118
|
|
|
1104
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1119
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#mem Server#mem}
|
|
1105
1120
|
'''
|
|
1106
1121
|
result = self._values.get("mem")
|
|
1107
1122
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1112,7 +1127,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1112
1127
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1113
1128
|
'''Is the metadata service active for the server.
|
|
1114
1129
|
|
|
1115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1130
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#metadata Server#metadata}
|
|
1116
1131
|
'''
|
|
1117
1132
|
result = self._values.get("metadata")
|
|
1118
1133
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1121,7 +1136,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1121
1136
|
def nic_model(self) -> typing.Optional[builtins.str]:
|
|
1122
1137
|
'''The model of the server's network interfaces.
|
|
1123
1138
|
|
|
1124
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1139
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#nic_model Server#nic_model}
|
|
1125
1140
|
'''
|
|
1126
1141
|
result = self._values.get("nic_model")
|
|
1127
1142
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1130,7 +1145,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1130
1145
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
1131
1146
|
'''The pricing plan used for the server. You can list available server plans with ``upctl server plans``.
|
|
1132
1147
|
|
|
1133
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1148
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#plan Server#plan}
|
|
1134
1149
|
'''
|
|
1135
1150
|
result = self._values.get("plan")
|
|
1136
1151
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1141,7 +1156,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1141
1156
|
|
|
1142
1157
|
Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value.
|
|
1143
1158
|
|
|
1144
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1159
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#server_group Server#server_group}
|
|
1145
1160
|
'''
|
|
1146
1161
|
result = self._values.get("server_group")
|
|
1147
1162
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1150,7 +1165,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1150
1165
|
def simple_backup(self) -> typing.Optional["ServerSimpleBackup"]:
|
|
1151
1166
|
'''simple_backup block.
|
|
1152
1167
|
|
|
1153
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1168
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
1154
1169
|
'''
|
|
1155
1170
|
result = self._values.get("simple_backup")
|
|
1156
1171
|
return typing.cast(typing.Optional["ServerSimpleBackup"], result)
|
|
@@ -1161,7 +1176,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1161
1176
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
1162
1177
|
'''storage_devices block.
|
|
1163
1178
|
|
|
1164
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1179
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
1165
1180
|
'''
|
|
1166
1181
|
result = self._values.get("storage_devices")
|
|
1167
1182
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -1170,7 +1185,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1170
1185
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1171
1186
|
'''The server related tags.
|
|
1172
1187
|
|
|
1173
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1188
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#tags Server#tags}
|
|
1174
1189
|
'''
|
|
1175
1190
|
result = self._values.get("tags")
|
|
1176
1191
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1179,7 +1194,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1179
1194
|
def template(self) -> typing.Optional["ServerTemplate"]:
|
|
1180
1195
|
'''template block.
|
|
1181
1196
|
|
|
1182
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1197
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#template Server#template}
|
|
1183
1198
|
'''
|
|
1184
1199
|
result = self._values.get("template")
|
|
1185
1200
|
return typing.cast(typing.Optional["ServerTemplate"], result)
|
|
@@ -1188,7 +1203,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1188
1203
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1189
1204
|
'''A timezone identifier, e.g. ``Europe/Helsinki``.
|
|
1190
1205
|
|
|
1191
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1206
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#timezone Server#timezone}
|
|
1192
1207
|
'''
|
|
1193
1208
|
result = self._values.get("timezone")
|
|
1194
1209
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1197,7 +1212,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1197
1212
|
def title(self) -> typing.Optional[builtins.str]:
|
|
1198
1213
|
'''A short, informational description.
|
|
1199
1214
|
|
|
1200
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1215
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#title Server#title}
|
|
1201
1216
|
'''
|
|
1202
1217
|
result = self._values.get("title")
|
|
1203
1218
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1206,7 +1221,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1206
1221
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
1207
1222
|
'''Defines URL for a server setup script, or the script body itself.
|
|
1208
1223
|
|
|
1209
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1224
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#user_data Server#user_data}
|
|
1210
1225
|
'''
|
|
1211
1226
|
result = self._values.get("user_data")
|
|
1212
1227
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1215,7 +1230,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1215
1230
|
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1216
1231
|
'''The model of the server's video interface.
|
|
1217
1232
|
|
|
1218
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1233
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#video_model Server#video_model}
|
|
1219
1234
|
'''
|
|
1220
1235
|
result = self._values.get("video_model")
|
|
1221
1236
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1252,10 +1267,10 @@ class ServerLogin:
|
|
|
1252
1267
|
user: typing.Optional[builtins.str] = None,
|
|
1253
1268
|
) -> None:
|
|
1254
1269
|
'''
|
|
1255
|
-
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1256
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1257
|
-
:param password_delivery: The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1258
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1270
|
+
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#create_password Server#create_password}
|
|
1271
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#keys Server#keys}
|
|
1272
|
+
:param password_delivery: The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1273
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#user Server#user}
|
|
1259
1274
|
'''
|
|
1260
1275
|
if __debug__:
|
|
1261
1276
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1279,7 +1294,7 @@ class ServerLogin:
|
|
|
1279
1294
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1280
1295
|
'''Indicates a password should be create to allow access.
|
|
1281
1296
|
|
|
1282
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1297
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#create_password Server#create_password}
|
|
1283
1298
|
'''
|
|
1284
1299
|
result = self._values.get("create_password")
|
|
1285
1300
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1288,7 +1303,7 @@ class ServerLogin:
|
|
|
1288
1303
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1289
1304
|
'''A list of ssh keys to access the server.
|
|
1290
1305
|
|
|
1291
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1306
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#keys Server#keys}
|
|
1292
1307
|
'''
|
|
1293
1308
|
result = self._values.get("keys")
|
|
1294
1309
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1297,7 +1312,7 @@ class ServerLogin:
|
|
|
1297
1312
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1298
1313
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1299
1314
|
|
|
1300
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1315
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1301
1316
|
'''
|
|
1302
1317
|
result = self._values.get("password_delivery")
|
|
1303
1318
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1306,7 +1321,7 @@ class ServerLogin:
|
|
|
1306
1321
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1307
1322
|
'''Username to be create to access the server.
|
|
1308
1323
|
|
|
1309
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1324
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#user Server#user}
|
|
1310
1325
|
'''
|
|
1311
1326
|
result = self._values.get("user")
|
|
1312
1327
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1473,13 +1488,13 @@ class ServerNetworkInterface:
|
|
|
1473
1488
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1474
1489
|
) -> None:
|
|
1475
1490
|
'''
|
|
1476
|
-
:param type: Network interface type. For private network interfaces, a network must be specified with an existing network id. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1477
|
-
:param additional_ip_address: additional_ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1478
|
-
:param bootable: ``true`` if this interface should be used for network booting. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1479
|
-
:param ip_address: The assigned primary IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1480
|
-
:param ip_address_family: The type of the primary IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1481
|
-
:param network: The unique ID of a network to attach this network to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1482
|
-
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1491
|
+
:param type: Network interface type. For private network interfaces, a network must be specified with an existing network id. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#type Server#type}
|
|
1492
|
+
:param additional_ip_address: additional_ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#additional_ip_address Server#additional_ip_address}
|
|
1493
|
+
:param bootable: ``true`` if this interface should be used for network booting. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#bootable Server#bootable}
|
|
1494
|
+
:param ip_address: The assigned primary IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#ip_address Server#ip_address}
|
|
1495
|
+
:param ip_address_family: The type of the primary IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1496
|
+
:param network: The unique ID of a network to attach this network to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#network Server#network}
|
|
1497
|
+
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1483
1498
|
'''
|
|
1484
1499
|
if __debug__:
|
|
1485
1500
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
@@ -1510,7 +1525,7 @@ class ServerNetworkInterface:
|
|
|
1510
1525
|
def type(self) -> builtins.str:
|
|
1511
1526
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1512
1527
|
|
|
1513
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1528
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#type Server#type}
|
|
1514
1529
|
'''
|
|
1515
1530
|
result = self._values.get("type")
|
|
1516
1531
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1522,7 +1537,7 @@ class ServerNetworkInterface:
|
|
|
1522
1537
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterfaceAdditionalIpAddress"]]]:
|
|
1523
1538
|
'''additional_ip_address block.
|
|
1524
1539
|
|
|
1525
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1540
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#additional_ip_address Server#additional_ip_address}
|
|
1526
1541
|
'''
|
|
1527
1542
|
result = self._values.get("additional_ip_address")
|
|
1528
1543
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterfaceAdditionalIpAddress"]]], result)
|
|
@@ -1533,7 +1548,7 @@ class ServerNetworkInterface:
|
|
|
1533
1548
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1534
1549
|
'''``true`` if this interface should be used for network booting.
|
|
1535
1550
|
|
|
1536
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1551
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#bootable Server#bootable}
|
|
1537
1552
|
'''
|
|
1538
1553
|
result = self._values.get("bootable")
|
|
1539
1554
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1542,7 +1557,7 @@ class ServerNetworkInterface:
|
|
|
1542
1557
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1543
1558
|
'''The assigned primary IP address.
|
|
1544
1559
|
|
|
1545
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1560
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#ip_address Server#ip_address}
|
|
1546
1561
|
'''
|
|
1547
1562
|
result = self._values.get("ip_address")
|
|
1548
1563
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1551,7 +1566,7 @@ class ServerNetworkInterface:
|
|
|
1551
1566
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1552
1567
|
'''The type of the primary IP address of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1553
1568
|
|
|
1554
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1569
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1555
1570
|
'''
|
|
1556
1571
|
result = self._values.get("ip_address_family")
|
|
1557
1572
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1560,7 +1575,7 @@ class ServerNetworkInterface:
|
|
|
1560
1575
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1561
1576
|
'''The unique ID of a network to attach this network to.
|
|
1562
1577
|
|
|
1563
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1578
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#network Server#network}
|
|
1564
1579
|
'''
|
|
1565
1580
|
result = self._values.get("network")
|
|
1566
1581
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1571,7 +1586,7 @@ class ServerNetworkInterface:
|
|
|
1571
1586
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1572
1587
|
'''``true`` if source IP should be filtered.
|
|
1573
1588
|
|
|
1574
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1589
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1575
1590
|
'''
|
|
1576
1591
|
result = self._values.get("source_ip_filtering")
|
|
1577
1592
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1601,8 +1616,8 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1601
1616
|
ip_address_family: typing.Optional[builtins.str] = None,
|
|
1602
1617
|
) -> None:
|
|
1603
1618
|
'''
|
|
1604
|
-
:param ip_address: The assigned additional IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1605
|
-
:param ip_address_family: The type of this additional IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1619
|
+
:param ip_address: The assigned additional IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#ip_address Server#ip_address}
|
|
1620
|
+
:param ip_address_family: The type of this additional IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1606
1621
|
'''
|
|
1607
1622
|
if __debug__:
|
|
1608
1623
|
type_hints = typing.get_type_hints(_typecheckingstub__0b6048ebfe8d4aeae43994c82a3e7294ab414eb1a49571fd3fff63238f2a288c)
|
|
@@ -1618,7 +1633,7 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1618
1633
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1619
1634
|
'''The assigned additional IP address.
|
|
1620
1635
|
|
|
1621
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1636
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#ip_address Server#ip_address}
|
|
1622
1637
|
'''
|
|
1623
1638
|
result = self._values.get("ip_address")
|
|
1624
1639
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1627,7 +1642,7 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1627
1642
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1628
1643
|
'''The type of this additional IP address of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1629
1644
|
|
|
1630
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1645
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1631
1646
|
'''
|
|
1632
1647
|
result = self._values.get("ip_address_family")
|
|
1633
1648
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2143,8 +2158,8 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
2143
2158
|
class ServerSimpleBackup:
|
|
2144
2159
|
def __init__(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
2145
2160
|
'''
|
|
2146
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2147
|
-
:param time: Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2161
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#plan Server#plan}
|
|
2162
|
+
:param time: Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#time Server#time}
|
|
2148
2163
|
'''
|
|
2149
2164
|
if __debug__:
|
|
2150
2165
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -2159,7 +2174,7 @@ class ServerSimpleBackup:
|
|
|
2159
2174
|
def plan(self) -> builtins.str:
|
|
2160
2175
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
2161
2176
|
|
|
2162
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2177
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#plan Server#plan}
|
|
2163
2178
|
'''
|
|
2164
2179
|
result = self._values.get("plan")
|
|
2165
2180
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -2169,7 +2184,7 @@ class ServerSimpleBackup:
|
|
|
2169
2184
|
def time(self) -> builtins.str:
|
|
2170
2185
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
2171
2186
|
|
|
2172
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2187
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#time Server#time}
|
|
2173
2188
|
'''
|
|
2174
2189
|
result = self._values.get("time")
|
|
2175
2190
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2274,10 +2289,10 @@ class ServerStorageDevices:
|
|
|
2274
2289
|
type: typing.Optional[builtins.str] = None,
|
|
2275
2290
|
) -> None:
|
|
2276
2291
|
'''
|
|
2277
|
-
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2278
|
-
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2279
|
-
:param address_position: The device position in the given bus (defined via field ``address``). Valid values for address ``virtio`` are ``0-15`` (``0``, for example). Valid values for ``scsi`` or ``ide`` are ``0-1:0-1`` (``0:0``, for example). Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2280
|
-
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2292
|
+
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#storage Server#storage}
|
|
2293
|
+
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address Server#address}
|
|
2294
|
+
:param address_position: The device position in the given bus (defined via field ``address``). Valid values for address ``virtio`` are ``0-15`` (``0``, for example). Valid values for ``scsi`` or ``ide`` are ``0-1:0-1`` (``0:0``, for example). Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address_position Server#address_position}
|
|
2295
|
+
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#type Server#type}
|
|
2281
2296
|
'''
|
|
2282
2297
|
if __debug__:
|
|
2283
2298
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -2299,7 +2314,7 @@ class ServerStorageDevices:
|
|
|
2299
2314
|
def storage(self) -> builtins.str:
|
|
2300
2315
|
'''A valid storage UUID.
|
|
2301
2316
|
|
|
2302
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2317
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#storage Server#storage}
|
|
2303
2318
|
'''
|
|
2304
2319
|
result = self._values.get("storage")
|
|
2305
2320
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2311,7 +2326,7 @@ class ServerStorageDevices:
|
|
|
2311
2326
|
|
|
2312
2327
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2313
2328
|
|
|
2314
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2329
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address Server#address}
|
|
2315
2330
|
'''
|
|
2316
2331
|
result = self._values.get("address")
|
|
2317
2332
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2322,7 +2337,7 @@ class ServerStorageDevices:
|
|
|
2322
2337
|
|
|
2323
2338
|
Valid values for address ``virtio`` are ``0-15`` (``0``, for example). Valid values for ``scsi`` or ``ide`` are ``0-1:0-1`` (``0:0``, for example). Leave empty to auto-select next available address in the given bus.
|
|
2324
2339
|
|
|
2325
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2340
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address_position Server#address_position}
|
|
2326
2341
|
'''
|
|
2327
2342
|
result = self._values.get("address_position")
|
|
2328
2343
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2331,7 +2346,7 @@ class ServerStorageDevices:
|
|
|
2331
2346
|
def type(self) -> typing.Optional[builtins.str]:
|
|
2332
2347
|
'''The device type the storage will be attached as.
|
|
2333
2348
|
|
|
2334
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2349
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#type Server#type}
|
|
2335
2350
|
'''
|
|
2336
2351
|
result = self._values.get("type")
|
|
2337
2352
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2592,15 +2607,15 @@ class ServerTemplate:
|
|
|
2592
2607
|
title: typing.Optional[builtins.str] = None,
|
|
2593
2608
|
) -> None:
|
|
2594
2609
|
'''
|
|
2595
|
-
:param storage: A valid storage UUID or template name. You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2596
|
-
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2597
|
-
:param address_position: The device position in the given bus (defined via field ``address``). For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2598
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2599
|
-
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2600
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2601
|
-
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2602
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2603
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2610
|
+
:param storage: A valid storage UUID or template name. You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#storage Server#storage}
|
|
2611
|
+
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address Server#address}
|
|
2612
|
+
:param address_position: The device position in the given bus (defined via field ``address``). For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address_position Server#address_position}
|
|
2613
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2614
|
+
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2615
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#encrypt Server#encrypt}
|
|
2616
|
+
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2617
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#size Server#size}
|
|
2618
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#title Server#title}
|
|
2604
2619
|
'''
|
|
2605
2620
|
if isinstance(backup_rule, dict):
|
|
2606
2621
|
backup_rule = ServerTemplateBackupRule(**backup_rule)
|
|
@@ -2641,7 +2656,7 @@ class ServerTemplate:
|
|
|
2641
2656
|
|
|
2642
2657
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2643
2658
|
|
|
2644
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2659
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#storage Server#storage}
|
|
2645
2660
|
'''
|
|
2646
2661
|
result = self._values.get("storage")
|
|
2647
2662
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2653,7 +2668,7 @@ class ServerTemplate:
|
|
|
2653
2668
|
|
|
2654
2669
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2655
2670
|
|
|
2656
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2671
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address Server#address}
|
|
2657
2672
|
'''
|
|
2658
2673
|
result = self._values.get("address")
|
|
2659
2674
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2664,7 +2679,7 @@ class ServerTemplate:
|
|
|
2664
2679
|
|
|
2665
2680
|
For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus.
|
|
2666
2681
|
|
|
2667
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2682
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#address_position Server#address_position}
|
|
2668
2683
|
'''
|
|
2669
2684
|
result = self._values.get("address_position")
|
|
2670
2685
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2673,7 +2688,7 @@ class ServerTemplate:
|
|
|
2673
2688
|
def backup_rule(self) -> typing.Optional["ServerTemplateBackupRule"]:
|
|
2674
2689
|
'''backup_rule block.
|
|
2675
2690
|
|
|
2676
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2691
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2677
2692
|
'''
|
|
2678
2693
|
result = self._values.get("backup_rule")
|
|
2679
2694
|
return typing.cast(typing.Optional["ServerTemplateBackupRule"], result)
|
|
@@ -2684,7 +2699,7 @@ class ServerTemplate:
|
|
|
2684
2699
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2685
2700
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2686
2701
|
|
|
2687
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2702
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2688
2703
|
'''
|
|
2689
2704
|
result = self._values.get("delete_autoresize_backup")
|
|
2690
2705
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2695,7 +2710,7 @@ class ServerTemplate:
|
|
|
2695
2710
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2696
2711
|
'''Sets if the storage is encrypted at rest.
|
|
2697
2712
|
|
|
2698
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2713
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#encrypt Server#encrypt}
|
|
2699
2714
|
'''
|
|
2700
2715
|
result = self._values.get("encrypt")
|
|
2701
2716
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2710,7 +2725,7 @@ class ServerTemplate:
|
|
|
2710
2725
|
to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true).
|
|
2711
2726
|
Taking and keeping backups incure costs.
|
|
2712
2727
|
|
|
2713
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2728
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2714
2729
|
'''
|
|
2715
2730
|
result = self._values.get("filesystem_autoresize")
|
|
2716
2731
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2719,7 +2734,7 @@ class ServerTemplate:
|
|
|
2719
2734
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2720
2735
|
'''The size of the storage in gigabytes.
|
|
2721
2736
|
|
|
2722
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2737
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#size Server#size}
|
|
2723
2738
|
'''
|
|
2724
2739
|
result = self._values.get("size")
|
|
2725
2740
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2728,7 +2743,7 @@ class ServerTemplate:
|
|
|
2728
2743
|
def title(self) -> typing.Optional[builtins.str]:
|
|
2729
2744
|
'''A short, informative description.
|
|
2730
2745
|
|
|
2731
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2746
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#title Server#title}
|
|
2732
2747
|
'''
|
|
2733
2748
|
result = self._values.get("title")
|
|
2734
2749
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2759,9 +2774,9 @@ class ServerTemplateBackupRule:
|
|
|
2759
2774
|
time: builtins.str,
|
|
2760
2775
|
) -> None:
|
|
2761
2776
|
'''
|
|
2762
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2763
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2764
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2777
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#interval Server#interval}
|
|
2778
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#retention Server#retention}
|
|
2779
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#time Server#time}
|
|
2765
2780
|
'''
|
|
2766
2781
|
if __debug__:
|
|
2767
2782
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -2778,7 +2793,7 @@ class ServerTemplateBackupRule:
|
|
|
2778
2793
|
def interval(self) -> builtins.str:
|
|
2779
2794
|
'''The weekday when the backup is created.
|
|
2780
2795
|
|
|
2781
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2796
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#interval Server#interval}
|
|
2782
2797
|
'''
|
|
2783
2798
|
result = self._values.get("interval")
|
|
2784
2799
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -2788,7 +2803,7 @@ class ServerTemplateBackupRule:
|
|
|
2788
2803
|
def retention(self) -> jsii.Number:
|
|
2789
2804
|
'''The number of days before a backup is automatically deleted.
|
|
2790
2805
|
|
|
2791
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2806
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#retention Server#retention}
|
|
2792
2807
|
'''
|
|
2793
2808
|
result = self._values.get("retention")
|
|
2794
2809
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -2798,7 +2813,7 @@ class ServerTemplateBackupRule:
|
|
|
2798
2813
|
def time(self) -> builtins.str:
|
|
2799
2814
|
'''The time of day when the backup is created.
|
|
2800
2815
|
|
|
2801
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2816
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#time Server#time}
|
|
2802
2817
|
'''
|
|
2803
2818
|
result = self._values.get("time")
|
|
2804
2819
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2929,9 +2944,9 @@ class ServerTemplateOutputReference(
|
|
|
2929
2944
|
time: builtins.str,
|
|
2930
2945
|
) -> None:
|
|
2931
2946
|
'''
|
|
2932
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2933
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2934
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2947
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#interval Server#interval}
|
|
2948
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#retention Server#retention}
|
|
2949
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/resources/server#time Server#time}
|
|
2935
2950
|
'''
|
|
2936
2951
|
value = ServerTemplateBackupRule(
|
|
2937
2952
|
interval=interval, retention=retention, time=time
|