cdktf-cdktf-provider-upcloud 14.1.1__py3-none-any.whl → 14.2.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 +10 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +5 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.2.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +25 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +16 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +33 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +25 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +13 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +16 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +28 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +13 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +13 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +44 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +254 -29
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1279 -0
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1337 -0
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +34 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +50 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +45 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +67 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +31 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +42 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +196 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +34 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +31 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +192 -189
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +336 -333
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +348 -345
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +120 -117
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +53 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +33 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +16 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +43 -40
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +33 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +28 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +150 -147
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +25 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +61 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +19 -16
- {cdktf_cdktf_provider_upcloud-14.1.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.1.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.2.1.dist-info/RECORD +60 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.1.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.1.1.dist-info/RECORD +0 -58
- {cdktf_cdktf_provider_upcloud-14.1.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.1.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.1.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.1.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.1.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
'''
|
|
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.2.1/docs/resources/server).
|
|
5
5
|
'''
|
|
6
|
+
from pkgutil import extend_path
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
6
9
|
import abc
|
|
7
10
|
import builtins
|
|
8
11
|
import datetime
|
|
@@ -26,7 +29,7 @@ class Server(
|
|
|
26
29
|
metaclass=jsii.JSIIMeta,
|
|
27
30
|
jsii_type="@cdktf/provider-upcloud.server.Server",
|
|
28
31
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server upcloud_server}.'''
|
|
30
33
|
|
|
31
34
|
def __init__(
|
|
32
35
|
self,
|
|
@@ -64,33 +67,33 @@ class Server(
|
|
|
64
67
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
65
68
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
66
69
|
) -> None:
|
|
67
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
70
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server upcloud_server} Resource.
|
|
68
71
|
|
|
69
72
|
:param scope: The scope in which to define this construct.
|
|
70
73
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
71
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
72
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
73
|
-
: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.
|
|
74
|
-
: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.
|
|
75
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
76
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
77
|
-
: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.
|
|
78
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
79
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
80
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
81
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
82
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
83
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
84
|
-
: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.
|
|
85
|
-
: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.
|
|
86
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
87
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
88
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
89
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
90
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
91
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
92
|
-
: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.
|
|
93
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
74
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#hostname Server#hostname}
|
|
75
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#network_interface Server#network_interface}
|
|
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.2.1/docs/resources/server#zone Server#zone}
|
|
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.2.1/docs/resources/server#boot_order Server#boot_order}
|
|
78
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#cpu Server#cpu}
|
|
79
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#firewall Server#firewall}
|
|
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.2.1/docs/resources/server#host Server#host}
|
|
81
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.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.
|
|
82
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#labels Server#labels}
|
|
83
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#login Server#login}
|
|
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.2.1/docs/resources/server#mem Server#mem}
|
|
85
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#metadata Server#metadata}
|
|
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.2.1/docs/resources/server#nic_model Server#nic_model}
|
|
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.2.1/docs/resources/server#plan Server#plan}
|
|
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.2.1/docs/resources/server#server_group Server#server_group}
|
|
89
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
90
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
91
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#tags Server#tags}
|
|
92
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#template Server#template}
|
|
93
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#timezone Server#timezone}
|
|
94
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#title Server#title}
|
|
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.2.1/docs/resources/server#user_data Server#user_data}
|
|
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.2.1/docs/resources/server#video_model Server#video_model}
|
|
94
97
|
:param connection:
|
|
95
98
|
:param count:
|
|
96
99
|
:param depends_on:
|
|
@@ -151,7 +154,7 @@ class Server(
|
|
|
151
154
|
|
|
152
155
|
:param scope: The scope in which to define this construct.
|
|
153
156
|
:param import_to_id: The construct id used in the generated config for the Server to import.
|
|
154
|
-
: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.
|
|
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.2.1/docs/resources/server#import import section} in the documentation of this resource for the id to use
|
|
155
158
|
:param provider: ? Optional instance of the provider where the Server to import is found.
|
|
156
159
|
'''
|
|
157
160
|
if __debug__:
|
|
@@ -172,10 +175,10 @@ class Server(
|
|
|
172
175
|
user: typing.Optional[builtins.str] = None,
|
|
173
176
|
) -> None:
|
|
174
177
|
'''
|
|
175
|
-
: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.
|
|
176
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
177
|
-
: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.
|
|
178
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.2.1/docs/resources/server#create_password Server#create_password}
|
|
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.2.1/docs/resources/server#keys Server#keys}
|
|
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.2.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
181
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#user Server#user}
|
|
179
182
|
'''
|
|
180
183
|
value = ServerLogin(
|
|
181
184
|
create_password=create_password,
|
|
@@ -202,8 +205,8 @@ class Server(
|
|
|
202
205
|
@jsii.member(jsii_name="putSimpleBackup")
|
|
203
206
|
def put_simple_backup(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
204
207
|
'''
|
|
205
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
206
|
-
: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.
|
|
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.2.1/docs/resources/server#plan Server#plan}
|
|
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.2.1/docs/resources/server#time Server#time}
|
|
207
210
|
'''
|
|
208
211
|
value = ServerSimpleBackup(plan=plan, time=time)
|
|
209
212
|
|
|
@@ -237,15 +240,15 @@ class Server(
|
|
|
237
240
|
title: typing.Optional[builtins.str] = None,
|
|
238
241
|
) -> None:
|
|
239
242
|
'''
|
|
240
|
-
: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.
|
|
241
|
-
: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.
|
|
242
|
-
: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.
|
|
243
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
244
|
-
: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.
|
|
245
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
246
|
-
: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.
|
|
247
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
248
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.2.1/docs/resources/server#storage Server#storage}
|
|
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.2.1/docs/resources/server#address Server#address}
|
|
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.2.1/docs/resources/server#address_position Server#address_position}
|
|
246
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
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.2.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
248
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#encrypt Server#encrypt}
|
|
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.2.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
250
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#size Server#size}
|
|
251
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#title Server#title}
|
|
249
252
|
'''
|
|
250
253
|
value = ServerTemplate(
|
|
251
254
|
storage=storage,
|
|
@@ -806,29 +809,29 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
806
809
|
:param lifecycle:
|
|
807
810
|
:param provider:
|
|
808
811
|
:param provisioners:
|
|
809
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
810
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
811
|
-
: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.
|
|
812
|
-
: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.
|
|
813
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
814
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
815
|
-
: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.
|
|
816
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
817
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
818
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
819
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
820
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
821
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
822
|
-
: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.
|
|
823
|
-
: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.
|
|
824
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
825
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
826
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
827
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
828
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
829
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
830
|
-
: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.
|
|
831
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
812
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#hostname Server#hostname}
|
|
813
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#network_interface Server#network_interface}
|
|
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.2.1/docs/resources/server#zone Server#zone}
|
|
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.2.1/docs/resources/server#boot_order Server#boot_order}
|
|
816
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#cpu Server#cpu}
|
|
817
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#firewall Server#firewall}
|
|
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.2.1/docs/resources/server#host Server#host}
|
|
819
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.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.
|
|
820
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#labels Server#labels}
|
|
821
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#login Server#login}
|
|
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.2.1/docs/resources/server#mem Server#mem}
|
|
823
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#metadata Server#metadata}
|
|
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.2.1/docs/resources/server#nic_model Server#nic_model}
|
|
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.2.1/docs/resources/server#plan Server#plan}
|
|
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.2.1/docs/resources/server#server_group Server#server_group}
|
|
827
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
828
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
829
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#tags Server#tags}
|
|
830
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#template Server#template}
|
|
831
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#timezone Server#timezone}
|
|
832
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#title Server#title}
|
|
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.2.1/docs/resources/server#user_data Server#user_data}
|
|
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.2.1/docs/resources/server#video_model Server#video_model}
|
|
832
835
|
'''
|
|
833
836
|
if isinstance(lifecycle, dict):
|
|
834
837
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -998,7 +1001,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
998
1001
|
def hostname(self) -> builtins.str:
|
|
999
1002
|
'''A valid domain name.
|
|
1000
1003
|
|
|
1001
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1004
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#hostname Server#hostname}
|
|
1002
1005
|
'''
|
|
1003
1006
|
result = self._values.get("hostname")
|
|
1004
1007
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -1010,7 +1013,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1010
1013
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]:
|
|
1011
1014
|
'''network_interface block.
|
|
1012
1015
|
|
|
1013
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1016
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#network_interface Server#network_interface}
|
|
1014
1017
|
'''
|
|
1015
1018
|
result = self._values.get("network_interface")
|
|
1016
1019
|
assert result is not None, "Required property 'network_interface' is missing"
|
|
@@ -1020,7 +1023,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1020
1023
|
def zone(self) -> builtins.str:
|
|
1021
1024
|
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1022
1025
|
|
|
1023
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1026
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#zone Server#zone}
|
|
1024
1027
|
'''
|
|
1025
1028
|
result = self._values.get("zone")
|
|
1026
1029
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1030,7 +1033,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1030
1033
|
def boot_order(self) -> typing.Optional[builtins.str]:
|
|
1031
1034
|
'''The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``.
|
|
1032
1035
|
|
|
1033
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1036
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#boot_order Server#boot_order}
|
|
1034
1037
|
'''
|
|
1035
1038
|
result = self._values.get("boot_order")
|
|
1036
1039
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1039,7 +1042,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1039
1042
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
1040
1043
|
'''The number of CPU for the server.
|
|
1041
1044
|
|
|
1042
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1045
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#cpu Server#cpu}
|
|
1043
1046
|
'''
|
|
1044
1047
|
result = self._values.get("cpu")
|
|
1045
1048
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1050,7 +1053,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1050
1053
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1051
1054
|
'''Are firewall rules active for the server.
|
|
1052
1055
|
|
|
1053
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1056
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#firewall Server#firewall}
|
|
1054
1057
|
'''
|
|
1055
1058
|
result = self._values.get("firewall")
|
|
1056
1059
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1061,14 +1064,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1061
1064
|
|
|
1062
1065
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
1063
1066
|
|
|
1064
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1067
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#host Server#host}
|
|
1065
1068
|
'''
|
|
1066
1069
|
result = self._values.get("host")
|
|
1067
1070
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1068
1071
|
|
|
1069
1072
|
@builtins.property
|
|
1070
1073
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1071
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1074
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#id Server#id}.
|
|
1072
1075
|
|
|
1073
1076
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1074
1077
|
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.
|
|
@@ -1080,7 +1083,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1080
1083
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1081
1084
|
'''Key-value pairs to classify the server.
|
|
1082
1085
|
|
|
1083
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1086
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#labels Server#labels}
|
|
1084
1087
|
'''
|
|
1085
1088
|
result = self._values.get("labels")
|
|
1086
1089
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1089,7 +1092,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1089
1092
|
def login(self) -> typing.Optional["ServerLogin"]:
|
|
1090
1093
|
'''login block.
|
|
1091
1094
|
|
|
1092
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1095
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#login Server#login}
|
|
1093
1096
|
'''
|
|
1094
1097
|
result = self._values.get("login")
|
|
1095
1098
|
return typing.cast(typing.Optional["ServerLogin"], result)
|
|
@@ -1098,7 +1101,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1098
1101
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
1099
1102
|
'''The size of memory for the server (in megabytes).
|
|
1100
1103
|
|
|
1101
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1104
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#mem Server#mem}
|
|
1102
1105
|
'''
|
|
1103
1106
|
result = self._values.get("mem")
|
|
1104
1107
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1109,7 +1112,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1109
1112
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1110
1113
|
'''Is the metadata service active for the server.
|
|
1111
1114
|
|
|
1112
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1115
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#metadata Server#metadata}
|
|
1113
1116
|
'''
|
|
1114
1117
|
result = self._values.get("metadata")
|
|
1115
1118
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1118,7 +1121,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1118
1121
|
def nic_model(self) -> typing.Optional[builtins.str]:
|
|
1119
1122
|
'''The model of the server's network interfaces.
|
|
1120
1123
|
|
|
1121
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1124
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#nic_model Server#nic_model}
|
|
1122
1125
|
'''
|
|
1123
1126
|
result = self._values.get("nic_model")
|
|
1124
1127
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1127,7 +1130,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1127
1130
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
1128
1131
|
'''The pricing plan used for the server. You can list available server plans with ``upctl server plans``.
|
|
1129
1132
|
|
|
1130
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1133
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#plan Server#plan}
|
|
1131
1134
|
'''
|
|
1132
1135
|
result = self._values.get("plan")
|
|
1133
1136
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1138,7 +1141,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1138
1141
|
|
|
1139
1142
|
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.
|
|
1140
1143
|
|
|
1141
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1144
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#server_group Server#server_group}
|
|
1142
1145
|
'''
|
|
1143
1146
|
result = self._values.get("server_group")
|
|
1144
1147
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1147,7 +1150,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1147
1150
|
def simple_backup(self) -> typing.Optional["ServerSimpleBackup"]:
|
|
1148
1151
|
'''simple_backup block.
|
|
1149
1152
|
|
|
1150
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1153
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
1151
1154
|
'''
|
|
1152
1155
|
result = self._values.get("simple_backup")
|
|
1153
1156
|
return typing.cast(typing.Optional["ServerSimpleBackup"], result)
|
|
@@ -1158,7 +1161,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1158
1161
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
1159
1162
|
'''storage_devices block.
|
|
1160
1163
|
|
|
1161
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1164
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
1162
1165
|
'''
|
|
1163
1166
|
result = self._values.get("storage_devices")
|
|
1164
1167
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -1167,7 +1170,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1167
1170
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1168
1171
|
'''The server related tags.
|
|
1169
1172
|
|
|
1170
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1173
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#tags Server#tags}
|
|
1171
1174
|
'''
|
|
1172
1175
|
result = self._values.get("tags")
|
|
1173
1176
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1176,7 +1179,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1176
1179
|
def template(self) -> typing.Optional["ServerTemplate"]:
|
|
1177
1180
|
'''template block.
|
|
1178
1181
|
|
|
1179
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1182
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#template Server#template}
|
|
1180
1183
|
'''
|
|
1181
1184
|
result = self._values.get("template")
|
|
1182
1185
|
return typing.cast(typing.Optional["ServerTemplate"], result)
|
|
@@ -1185,7 +1188,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1185
1188
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1186
1189
|
'''A timezone identifier, e.g. ``Europe/Helsinki``.
|
|
1187
1190
|
|
|
1188
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1191
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#timezone Server#timezone}
|
|
1189
1192
|
'''
|
|
1190
1193
|
result = self._values.get("timezone")
|
|
1191
1194
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1194,7 +1197,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1194
1197
|
def title(self) -> typing.Optional[builtins.str]:
|
|
1195
1198
|
'''A short, informational description.
|
|
1196
1199
|
|
|
1197
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1200
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#title Server#title}
|
|
1198
1201
|
'''
|
|
1199
1202
|
result = self._values.get("title")
|
|
1200
1203
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1203,7 +1206,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1203
1206
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
1204
1207
|
'''Defines URL for a server setup script, or the script body itself.
|
|
1205
1208
|
|
|
1206
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1209
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#user_data Server#user_data}
|
|
1207
1210
|
'''
|
|
1208
1211
|
result = self._values.get("user_data")
|
|
1209
1212
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1212,7 +1215,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1212
1215
|
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1213
1216
|
'''The model of the server's video interface.
|
|
1214
1217
|
|
|
1215
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1218
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#video_model Server#video_model}
|
|
1216
1219
|
'''
|
|
1217
1220
|
result = self._values.get("video_model")
|
|
1218
1221
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1249,10 +1252,10 @@ class ServerLogin:
|
|
|
1249
1252
|
user: typing.Optional[builtins.str] = None,
|
|
1250
1253
|
) -> None:
|
|
1251
1254
|
'''
|
|
1252
|
-
: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.
|
|
1253
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1254
|
-
: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.
|
|
1255
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.2.1/docs/resources/server#create_password Server#create_password}
|
|
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.2.1/docs/resources/server#keys Server#keys}
|
|
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.2.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1258
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#user Server#user}
|
|
1256
1259
|
'''
|
|
1257
1260
|
if __debug__:
|
|
1258
1261
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1276,7 +1279,7 @@ class ServerLogin:
|
|
|
1276
1279
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1277
1280
|
'''Indicates a password should be create to allow access.
|
|
1278
1281
|
|
|
1279
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1282
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#create_password Server#create_password}
|
|
1280
1283
|
'''
|
|
1281
1284
|
result = self._values.get("create_password")
|
|
1282
1285
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1285,7 +1288,7 @@ class ServerLogin:
|
|
|
1285
1288
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1286
1289
|
'''A list of ssh keys to access the server.
|
|
1287
1290
|
|
|
1288
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1291
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#keys Server#keys}
|
|
1289
1292
|
'''
|
|
1290
1293
|
result = self._values.get("keys")
|
|
1291
1294
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1294,7 +1297,7 @@ class ServerLogin:
|
|
|
1294
1297
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1295
1298
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1296
1299
|
|
|
1297
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1300
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1298
1301
|
'''
|
|
1299
1302
|
result = self._values.get("password_delivery")
|
|
1300
1303
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1303,7 +1306,7 @@ class ServerLogin:
|
|
|
1303
1306
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1304
1307
|
'''Username to be create to access the server.
|
|
1305
1308
|
|
|
1306
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1309
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#user Server#user}
|
|
1307
1310
|
'''
|
|
1308
1311
|
result = self._values.get("user")
|
|
1309
1312
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1468,12 +1471,12 @@ class ServerNetworkInterface:
|
|
|
1468
1471
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1469
1472
|
) -> None:
|
|
1470
1473
|
'''
|
|
1471
|
-
: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.
|
|
1472
|
-
: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.
|
|
1473
|
-
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1474
|
-
:param ip_address_family: The IP address type of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1475
|
-
: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.
|
|
1476
|
-
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1474
|
+
: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.2.1/docs/resources/server#type Server#type}
|
|
1475
|
+
: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.2.1/docs/resources/server#bootable Server#bootable}
|
|
1476
|
+
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#ip_address Server#ip_address}
|
|
1477
|
+
:param ip_address_family: The IP address type of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1478
|
+
: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.2.1/docs/resources/server#network Server#network}
|
|
1479
|
+
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1477
1480
|
'''
|
|
1478
1481
|
if __debug__:
|
|
1479
1482
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
@@ -1501,7 +1504,7 @@ class ServerNetworkInterface:
|
|
|
1501
1504
|
def type(self) -> builtins.str:
|
|
1502
1505
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1503
1506
|
|
|
1504
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1507
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#type Server#type}
|
|
1505
1508
|
'''
|
|
1506
1509
|
result = self._values.get("type")
|
|
1507
1510
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1513,7 +1516,7 @@ class ServerNetworkInterface:
|
|
|
1513
1516
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1514
1517
|
'''``true`` if this interface should be used for network booting.
|
|
1515
1518
|
|
|
1516
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1519
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#bootable Server#bootable}
|
|
1517
1520
|
'''
|
|
1518
1521
|
result = self._values.get("bootable")
|
|
1519
1522
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1522,7 +1525,7 @@ class ServerNetworkInterface:
|
|
|
1522
1525
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1523
1526
|
'''The assigned IP address.
|
|
1524
1527
|
|
|
1525
|
-
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.2.1/docs/resources/server#ip_address Server#ip_address}
|
|
1526
1529
|
'''
|
|
1527
1530
|
result = self._values.get("ip_address")
|
|
1528
1531
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1531,7 +1534,7 @@ class ServerNetworkInterface:
|
|
|
1531
1534
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1532
1535
|
'''The IP address type of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1533
1536
|
|
|
1534
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1537
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1535
1538
|
'''
|
|
1536
1539
|
result = self._values.get("ip_address_family")
|
|
1537
1540
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1540,7 +1543,7 @@ class ServerNetworkInterface:
|
|
|
1540
1543
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1541
1544
|
'''The unique ID of a network to attach this network to.
|
|
1542
1545
|
|
|
1543
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1546
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#network Server#network}
|
|
1544
1547
|
'''
|
|
1545
1548
|
result = self._values.get("network")
|
|
1546
1549
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1551,7 +1554,7 @@ class ServerNetworkInterface:
|
|
|
1551
1554
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1552
1555
|
'''``true`` if source IP should be filtered.
|
|
1553
1556
|
|
|
1554
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1557
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1555
1558
|
'''
|
|
1556
1559
|
result = self._values.get("source_ip_filtering")
|
|
1557
1560
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1854,8 +1857,8 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1854
1857
|
class ServerSimpleBackup:
|
|
1855
1858
|
def __init__(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
1856
1859
|
'''
|
|
1857
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1858
|
-
: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.
|
|
1860
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#plan Server#plan}
|
|
1861
|
+
: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.2.1/docs/resources/server#time Server#time}
|
|
1859
1862
|
'''
|
|
1860
1863
|
if __debug__:
|
|
1861
1864
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -1870,7 +1873,7 @@ class ServerSimpleBackup:
|
|
|
1870
1873
|
def plan(self) -> builtins.str:
|
|
1871
1874
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
1872
1875
|
|
|
1873
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1876
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#plan Server#plan}
|
|
1874
1877
|
'''
|
|
1875
1878
|
result = self._values.get("plan")
|
|
1876
1879
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1880,7 +1883,7 @@ class ServerSimpleBackup:
|
|
|
1880
1883
|
def time(self) -> builtins.str:
|
|
1881
1884
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
1882
1885
|
|
|
1883
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1886
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#time Server#time}
|
|
1884
1887
|
'''
|
|
1885
1888
|
result = self._values.get("time")
|
|
1886
1889
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -1985,10 +1988,10 @@ class ServerStorageDevices:
|
|
|
1985
1988
|
type: typing.Optional[builtins.str] = None,
|
|
1986
1989
|
) -> None:
|
|
1987
1990
|
'''
|
|
1988
|
-
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1989
|
-
: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.
|
|
1990
|
-
: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.
|
|
1991
|
-
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1991
|
+
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#storage Server#storage}
|
|
1992
|
+
: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.2.1/docs/resources/server#address Server#address}
|
|
1993
|
+
: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.2.1/docs/resources/server#address_position Server#address_position}
|
|
1994
|
+
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#type Server#type}
|
|
1992
1995
|
'''
|
|
1993
1996
|
if __debug__:
|
|
1994
1997
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -2010,7 +2013,7 @@ class ServerStorageDevices:
|
|
|
2010
2013
|
def storage(self) -> builtins.str:
|
|
2011
2014
|
'''A valid storage UUID.
|
|
2012
2015
|
|
|
2013
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2016
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#storage Server#storage}
|
|
2014
2017
|
'''
|
|
2015
2018
|
result = self._values.get("storage")
|
|
2016
2019
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2022,7 +2025,7 @@ class ServerStorageDevices:
|
|
|
2022
2025
|
|
|
2023
2026
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2024
2027
|
|
|
2025
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2028
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#address Server#address}
|
|
2026
2029
|
'''
|
|
2027
2030
|
result = self._values.get("address")
|
|
2028
2031
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2033,7 +2036,7 @@ class ServerStorageDevices:
|
|
|
2033
2036
|
|
|
2034
2037
|
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.
|
|
2035
2038
|
|
|
2036
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2039
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#address_position Server#address_position}
|
|
2037
2040
|
'''
|
|
2038
2041
|
result = self._values.get("address_position")
|
|
2039
2042
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2042,7 +2045,7 @@ class ServerStorageDevices:
|
|
|
2042
2045
|
def type(self) -> typing.Optional[builtins.str]:
|
|
2043
2046
|
'''The device type the storage will be attached as.
|
|
2044
2047
|
|
|
2045
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2048
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#type Server#type}
|
|
2046
2049
|
'''
|
|
2047
2050
|
result = self._values.get("type")
|
|
2048
2051
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2303,15 +2306,15 @@ class ServerTemplate:
|
|
|
2303
2306
|
title: typing.Optional[builtins.str] = None,
|
|
2304
2307
|
) -> None:
|
|
2305
2308
|
'''
|
|
2306
|
-
: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.
|
|
2307
|
-
: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.
|
|
2308
|
-
: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.
|
|
2309
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2310
|
-
: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.
|
|
2311
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2312
|
-
: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.
|
|
2313
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2314
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2309
|
+
: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.2.1/docs/resources/server#storage Server#storage}
|
|
2310
|
+
: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.2.1/docs/resources/server#address Server#address}
|
|
2311
|
+
: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.2.1/docs/resources/server#address_position Server#address_position}
|
|
2312
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2313
|
+
: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.2.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2314
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#encrypt Server#encrypt}
|
|
2315
|
+
: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.2.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2316
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#size Server#size}
|
|
2317
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#title Server#title}
|
|
2315
2318
|
'''
|
|
2316
2319
|
if isinstance(backup_rule, dict):
|
|
2317
2320
|
backup_rule = ServerTemplateBackupRule(**backup_rule)
|
|
@@ -2352,7 +2355,7 @@ class ServerTemplate:
|
|
|
2352
2355
|
|
|
2353
2356
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2354
2357
|
|
|
2355
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2358
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#storage Server#storage}
|
|
2356
2359
|
'''
|
|
2357
2360
|
result = self._values.get("storage")
|
|
2358
2361
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2364,7 +2367,7 @@ class ServerTemplate:
|
|
|
2364
2367
|
|
|
2365
2368
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2366
2369
|
|
|
2367
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2370
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#address Server#address}
|
|
2368
2371
|
'''
|
|
2369
2372
|
result = self._values.get("address")
|
|
2370
2373
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2375,7 +2378,7 @@ class ServerTemplate:
|
|
|
2375
2378
|
|
|
2376
2379
|
For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus.
|
|
2377
2380
|
|
|
2378
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2381
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#address_position Server#address_position}
|
|
2379
2382
|
'''
|
|
2380
2383
|
result = self._values.get("address_position")
|
|
2381
2384
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2384,7 +2387,7 @@ class ServerTemplate:
|
|
|
2384
2387
|
def backup_rule(self) -> typing.Optional["ServerTemplateBackupRule"]:
|
|
2385
2388
|
'''backup_rule block.
|
|
2386
2389
|
|
|
2387
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2390
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2388
2391
|
'''
|
|
2389
2392
|
result = self._values.get("backup_rule")
|
|
2390
2393
|
return typing.cast(typing.Optional["ServerTemplateBackupRule"], result)
|
|
@@ -2395,7 +2398,7 @@ class ServerTemplate:
|
|
|
2395
2398
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2396
2399
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2397
2400
|
|
|
2398
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2401
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2399
2402
|
'''
|
|
2400
2403
|
result = self._values.get("delete_autoresize_backup")
|
|
2401
2404
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2406,7 +2409,7 @@ class ServerTemplate:
|
|
|
2406
2409
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2407
2410
|
'''Sets if the storage is encrypted at rest.
|
|
2408
2411
|
|
|
2409
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2412
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#encrypt Server#encrypt}
|
|
2410
2413
|
'''
|
|
2411
2414
|
result = self._values.get("encrypt")
|
|
2412
2415
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2421,7 +2424,7 @@ class ServerTemplate:
|
|
|
2421
2424
|
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).
|
|
2422
2425
|
Taking and keeping backups incure costs.
|
|
2423
2426
|
|
|
2424
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2427
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2425
2428
|
'''
|
|
2426
2429
|
result = self._values.get("filesystem_autoresize")
|
|
2427
2430
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2430,7 +2433,7 @@ class ServerTemplate:
|
|
|
2430
2433
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2431
2434
|
'''The size of the storage in gigabytes.
|
|
2432
2435
|
|
|
2433
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2436
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#size Server#size}
|
|
2434
2437
|
'''
|
|
2435
2438
|
result = self._values.get("size")
|
|
2436
2439
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2439,7 +2442,7 @@ class ServerTemplate:
|
|
|
2439
2442
|
def title(self) -> typing.Optional[builtins.str]:
|
|
2440
2443
|
'''A short, informative description.
|
|
2441
2444
|
|
|
2442
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2445
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#title Server#title}
|
|
2443
2446
|
'''
|
|
2444
2447
|
result = self._values.get("title")
|
|
2445
2448
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2470,9 +2473,9 @@ class ServerTemplateBackupRule:
|
|
|
2470
2473
|
time: builtins.str,
|
|
2471
2474
|
) -> None:
|
|
2472
2475
|
'''
|
|
2473
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2474
|
-
: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.
|
|
2475
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2476
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#interval Server#interval}
|
|
2477
|
+
: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.2.1/docs/resources/server#retention Server#retention}
|
|
2478
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#time Server#time}
|
|
2476
2479
|
'''
|
|
2477
2480
|
if __debug__:
|
|
2478
2481
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -2489,7 +2492,7 @@ class ServerTemplateBackupRule:
|
|
|
2489
2492
|
def interval(self) -> builtins.str:
|
|
2490
2493
|
'''The weekday when the backup is created.
|
|
2491
2494
|
|
|
2492
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2495
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#interval Server#interval}
|
|
2493
2496
|
'''
|
|
2494
2497
|
result = self._values.get("interval")
|
|
2495
2498
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -2499,7 +2502,7 @@ class ServerTemplateBackupRule:
|
|
|
2499
2502
|
def retention(self) -> jsii.Number:
|
|
2500
2503
|
'''The number of days before a backup is automatically deleted.
|
|
2501
2504
|
|
|
2502
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2505
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#retention Server#retention}
|
|
2503
2506
|
'''
|
|
2504
2507
|
result = self._values.get("retention")
|
|
2505
2508
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -2509,7 +2512,7 @@ class ServerTemplateBackupRule:
|
|
|
2509
2512
|
def time(self) -> builtins.str:
|
|
2510
2513
|
'''The time of day when the backup is created.
|
|
2511
2514
|
|
|
2512
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2515
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#time Server#time}
|
|
2513
2516
|
'''
|
|
2514
2517
|
result = self._values.get("time")
|
|
2515
2518
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2640,9 +2643,9 @@ class ServerTemplateOutputReference(
|
|
|
2640
2643
|
time: builtins.str,
|
|
2641
2644
|
) -> None:
|
|
2642
2645
|
'''
|
|
2643
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2644
|
-
: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.
|
|
2645
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2646
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#interval Server#interval}
|
|
2647
|
+
: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.2.1/docs/resources/server#retention Server#retention}
|
|
2648
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server#time Server#time}
|
|
2646
2649
|
'''
|
|
2647
2650
|
value = ServerTemplateBackupRule(
|
|
2648
2651
|
interval=interval, retention=retention, time=time
|