cdktf-cdktf-provider-upcloud 14.0.2__py3-none-any.whl → 14.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.1.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +39 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +679 -194
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +5610 -609
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +1665 -329
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +596 -116
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +147 -147
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.0.2.dist-info → cdktf_cdktf_provider_upcloud-14.1.1.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.1.1.dist-info/RECORD +58 -0
- {cdktf_cdktf_provider_upcloud-14.0.2.dist-info → cdktf_cdktf_provider_upcloud-14.1.1.dist-info}/WHEEL +1 -1
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.0.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.0.2.dist-info/RECORD +0 -58
- {cdktf_cdktf_provider_upcloud-14.0.2.dist-info → cdktf_cdktf_provider_upcloud-14.1.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.0.2.dist-info → cdktf_cdktf_provider_upcloud-14.1.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_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.1.1/docs/resources/server).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Server(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.server.Server",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server upcloud_server}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -64,33 +64,33 @@ class Server(
|
|
|
64
64
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
65
65
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
66
66
|
) -> None:
|
|
67
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
67
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server upcloud_server} Resource.
|
|
68
68
|
|
|
69
69
|
:param scope: The scope in which to define this construct.
|
|
70
70
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
71
|
-
:param 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.
|
|
71
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#hostname Server#hostname}
|
|
72
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#network_interface Server#network_interface}
|
|
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.1.1/docs/resources/server#zone Server#zone}
|
|
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.1.1/docs/resources/server#boot_order Server#boot_order}
|
|
75
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#cpu Server#cpu}
|
|
76
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#firewall Server#firewall}
|
|
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.1.1/docs/resources/server#host Server#host}
|
|
78
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.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.
|
|
79
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#labels Server#labels}
|
|
80
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#login Server#login}
|
|
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.1.1/docs/resources/server#mem Server#mem}
|
|
82
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#metadata Server#metadata}
|
|
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.1.1/docs/resources/server#nic_model Server#nic_model}
|
|
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.1.1/docs/resources/server#plan Server#plan}
|
|
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.1.1/docs/resources/server#server_group Server#server_group}
|
|
86
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
87
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
88
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#tags Server#tags}
|
|
89
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#template Server#template}
|
|
90
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#timezone Server#timezone}
|
|
91
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#title Server#title}
|
|
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.1.1/docs/resources/server#user_data Server#user_data}
|
|
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.1.1/docs/resources/server#video_model Server#video_model}
|
|
94
94
|
:param connection:
|
|
95
95
|
:param count:
|
|
96
96
|
:param depends_on:
|
|
@@ -151,7 +151,7 @@ class Server(
|
|
|
151
151
|
|
|
152
152
|
:param scope: The scope in which to define this construct.
|
|
153
153
|
: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.
|
|
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.1.1/docs/resources/server#import import section} in the documentation of this resource for the id to use
|
|
155
155
|
:param provider: ? Optional instance of the provider where the Server to import is found.
|
|
156
156
|
'''
|
|
157
157
|
if __debug__:
|
|
@@ -172,10 +172,10 @@ class Server(
|
|
|
172
172
|
user: typing.Optional[builtins.str] = None,
|
|
173
173
|
) -> None:
|
|
174
174
|
'''
|
|
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.
|
|
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.1.1/docs/resources/server#create_password Server#create_password}
|
|
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.1.1/docs/resources/server#keys Server#keys}
|
|
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.1.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
178
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#user Server#user}
|
|
179
179
|
'''
|
|
180
180
|
value = ServerLogin(
|
|
181
181
|
create_password=create_password,
|
|
@@ -202,8 +202,8 @@ class Server(
|
|
|
202
202
|
@jsii.member(jsii_name="putSimpleBackup")
|
|
203
203
|
def put_simple_backup(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
204
204
|
'''
|
|
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.
|
|
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.1.1/docs/resources/server#plan Server#plan}
|
|
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.1.1/docs/resources/server#time Server#time}
|
|
207
207
|
'''
|
|
208
208
|
value = ServerSimpleBackup(plan=plan, time=time)
|
|
209
209
|
|
|
@@ -237,15 +237,15 @@ class Server(
|
|
|
237
237
|
title: typing.Optional[builtins.str] = None,
|
|
238
238
|
) -> None:
|
|
239
239
|
'''
|
|
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.
|
|
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.1.1/docs/resources/server#storage Server#storage}
|
|
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.1.1/docs/resources/server#address Server#address}
|
|
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.1.1/docs/resources/server#address_position Server#address_position}
|
|
243
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
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.1.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
245
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#encrypt Server#encrypt}
|
|
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.1.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
247
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#size Server#size}
|
|
248
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#title Server#title}
|
|
249
249
|
'''
|
|
250
250
|
value = ServerTemplate(
|
|
251
251
|
storage=storage,
|
|
@@ -806,29 +806,29 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
806
806
|
:param lifecycle:
|
|
807
807
|
:param provider:
|
|
808
808
|
: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.
|
|
809
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#hostname Server#hostname}
|
|
810
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#network_interface Server#network_interface}
|
|
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.1.1/docs/resources/server#zone Server#zone}
|
|
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.1.1/docs/resources/server#boot_order Server#boot_order}
|
|
813
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#cpu Server#cpu}
|
|
814
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#firewall Server#firewall}
|
|
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.1.1/docs/resources/server#host Server#host}
|
|
816
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.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.
|
|
817
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#labels Server#labels}
|
|
818
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#login Server#login}
|
|
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.1.1/docs/resources/server#mem Server#mem}
|
|
820
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#metadata Server#metadata}
|
|
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.1.1/docs/resources/server#nic_model Server#nic_model}
|
|
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.1.1/docs/resources/server#plan Server#plan}
|
|
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.1.1/docs/resources/server#server_group Server#server_group}
|
|
824
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
825
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
826
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#tags Server#tags}
|
|
827
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#template Server#template}
|
|
828
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#timezone Server#timezone}
|
|
829
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#title Server#title}
|
|
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.1.1/docs/resources/server#user_data Server#user_data}
|
|
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.1.1/docs/resources/server#video_model Server#video_model}
|
|
832
832
|
'''
|
|
833
833
|
if isinstance(lifecycle, dict):
|
|
834
834
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -998,7 +998,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
998
998
|
def hostname(self) -> builtins.str:
|
|
999
999
|
'''A valid domain name.
|
|
1000
1000
|
|
|
1001
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1001
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#hostname Server#hostname}
|
|
1002
1002
|
'''
|
|
1003
1003
|
result = self._values.get("hostname")
|
|
1004
1004
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -1010,7 +1010,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1010
1010
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]:
|
|
1011
1011
|
'''network_interface block.
|
|
1012
1012
|
|
|
1013
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1013
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#network_interface Server#network_interface}
|
|
1014
1014
|
'''
|
|
1015
1015
|
result = self._values.get("network_interface")
|
|
1016
1016
|
assert result is not None, "Required property 'network_interface' is missing"
|
|
@@ -1020,7 +1020,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1020
1020
|
def zone(self) -> builtins.str:
|
|
1021
1021
|
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1022
1022
|
|
|
1023
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1023
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#zone Server#zone}
|
|
1024
1024
|
'''
|
|
1025
1025
|
result = self._values.get("zone")
|
|
1026
1026
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1030,7 +1030,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1030
1030
|
def boot_order(self) -> typing.Optional[builtins.str]:
|
|
1031
1031
|
'''The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``.
|
|
1032
1032
|
|
|
1033
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1033
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#boot_order Server#boot_order}
|
|
1034
1034
|
'''
|
|
1035
1035
|
result = self._values.get("boot_order")
|
|
1036
1036
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1039,7 +1039,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1039
1039
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
1040
1040
|
'''The number of CPU for the server.
|
|
1041
1041
|
|
|
1042
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1042
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#cpu Server#cpu}
|
|
1043
1043
|
'''
|
|
1044
1044
|
result = self._values.get("cpu")
|
|
1045
1045
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1050,7 +1050,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1050
1050
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1051
1051
|
'''Are firewall rules active for the server.
|
|
1052
1052
|
|
|
1053
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1053
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#firewall Server#firewall}
|
|
1054
1054
|
'''
|
|
1055
1055
|
result = self._values.get("firewall")
|
|
1056
1056
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1061,14 +1061,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1061
1061
|
|
|
1062
1062
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
1063
1063
|
|
|
1064
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1064
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#host Server#host}
|
|
1065
1065
|
'''
|
|
1066
1066
|
result = self._values.get("host")
|
|
1067
1067
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1068
1068
|
|
|
1069
1069
|
@builtins.property
|
|
1070
1070
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1071
|
-
'''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.1.1/docs/resources/server#id Server#id}.
|
|
1072
1072
|
|
|
1073
1073
|
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
1074
|
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 +1080,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1080
1080
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1081
1081
|
'''Key-value pairs to classify the server.
|
|
1082
1082
|
|
|
1083
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1083
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#labels Server#labels}
|
|
1084
1084
|
'''
|
|
1085
1085
|
result = self._values.get("labels")
|
|
1086
1086
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1089,7 +1089,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1089
1089
|
def login(self) -> typing.Optional["ServerLogin"]:
|
|
1090
1090
|
'''login block.
|
|
1091
1091
|
|
|
1092
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1092
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#login Server#login}
|
|
1093
1093
|
'''
|
|
1094
1094
|
result = self._values.get("login")
|
|
1095
1095
|
return typing.cast(typing.Optional["ServerLogin"], result)
|
|
@@ -1098,7 +1098,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1098
1098
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
1099
1099
|
'''The size of memory for the server (in megabytes).
|
|
1100
1100
|
|
|
1101
|
-
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.1.1/docs/resources/server#mem Server#mem}
|
|
1102
1102
|
'''
|
|
1103
1103
|
result = self._values.get("mem")
|
|
1104
1104
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1109,7 +1109,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1109
1109
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1110
1110
|
'''Is the metadata service active for the server.
|
|
1111
1111
|
|
|
1112
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1112
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#metadata Server#metadata}
|
|
1113
1113
|
'''
|
|
1114
1114
|
result = self._values.get("metadata")
|
|
1115
1115
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1118,7 +1118,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1118
1118
|
def nic_model(self) -> typing.Optional[builtins.str]:
|
|
1119
1119
|
'''The model of the server's network interfaces.
|
|
1120
1120
|
|
|
1121
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1121
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#nic_model Server#nic_model}
|
|
1122
1122
|
'''
|
|
1123
1123
|
result = self._values.get("nic_model")
|
|
1124
1124
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1127,7 +1127,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1127
1127
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
1128
1128
|
'''The pricing plan used for the server. You can list available server plans with ``upctl server plans``.
|
|
1129
1129
|
|
|
1130
|
-
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.1.1/docs/resources/server#plan Server#plan}
|
|
1131
1131
|
'''
|
|
1132
1132
|
result = self._values.get("plan")
|
|
1133
1133
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1138,7 +1138,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1138
1138
|
|
|
1139
1139
|
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
1140
|
|
|
1141
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1141
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#server_group Server#server_group}
|
|
1142
1142
|
'''
|
|
1143
1143
|
result = self._values.get("server_group")
|
|
1144
1144
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1147,7 +1147,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1147
1147
|
def simple_backup(self) -> typing.Optional["ServerSimpleBackup"]:
|
|
1148
1148
|
'''simple_backup block.
|
|
1149
1149
|
|
|
1150
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1150
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
1151
1151
|
'''
|
|
1152
1152
|
result = self._values.get("simple_backup")
|
|
1153
1153
|
return typing.cast(typing.Optional["ServerSimpleBackup"], result)
|
|
@@ -1158,7 +1158,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1158
1158
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
1159
1159
|
'''storage_devices block.
|
|
1160
1160
|
|
|
1161
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1161
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
1162
1162
|
'''
|
|
1163
1163
|
result = self._values.get("storage_devices")
|
|
1164
1164
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -1167,7 +1167,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1167
1167
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1168
1168
|
'''The server related tags.
|
|
1169
1169
|
|
|
1170
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1170
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#tags Server#tags}
|
|
1171
1171
|
'''
|
|
1172
1172
|
result = self._values.get("tags")
|
|
1173
1173
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1176,7 +1176,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1176
1176
|
def template(self) -> typing.Optional["ServerTemplate"]:
|
|
1177
1177
|
'''template block.
|
|
1178
1178
|
|
|
1179
|
-
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.1.1/docs/resources/server#template Server#template}
|
|
1180
1180
|
'''
|
|
1181
1181
|
result = self._values.get("template")
|
|
1182
1182
|
return typing.cast(typing.Optional["ServerTemplate"], result)
|
|
@@ -1185,7 +1185,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1185
1185
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1186
1186
|
'''A timezone identifier, e.g. ``Europe/Helsinki``.
|
|
1187
1187
|
|
|
1188
|
-
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.1.1/docs/resources/server#timezone Server#timezone}
|
|
1189
1189
|
'''
|
|
1190
1190
|
result = self._values.get("timezone")
|
|
1191
1191
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1194,7 +1194,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1194
1194
|
def title(self) -> typing.Optional[builtins.str]:
|
|
1195
1195
|
'''A short, informational description.
|
|
1196
1196
|
|
|
1197
|
-
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.1.1/docs/resources/server#title Server#title}
|
|
1198
1198
|
'''
|
|
1199
1199
|
result = self._values.get("title")
|
|
1200
1200
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1203,7 +1203,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1203
1203
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
1204
1204
|
'''Defines URL for a server setup script, or the script body itself.
|
|
1205
1205
|
|
|
1206
|
-
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.1.1/docs/resources/server#user_data Server#user_data}
|
|
1207
1207
|
'''
|
|
1208
1208
|
result = self._values.get("user_data")
|
|
1209
1209
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1212,7 +1212,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1212
1212
|
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1213
1213
|
'''The model of the server's video interface.
|
|
1214
1214
|
|
|
1215
|
-
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.1.1/docs/resources/server#video_model Server#video_model}
|
|
1216
1216
|
'''
|
|
1217
1217
|
result = self._values.get("video_model")
|
|
1218
1218
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1249,10 +1249,10 @@ class ServerLogin:
|
|
|
1249
1249
|
user: typing.Optional[builtins.str] = None,
|
|
1250
1250
|
) -> None:
|
|
1251
1251
|
'''
|
|
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.
|
|
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.1.1/docs/resources/server#create_password Server#create_password}
|
|
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.1.1/docs/resources/server#keys Server#keys}
|
|
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.1.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1255
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#user Server#user}
|
|
1256
1256
|
'''
|
|
1257
1257
|
if __debug__:
|
|
1258
1258
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1276,7 +1276,7 @@ class ServerLogin:
|
|
|
1276
1276
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1277
1277
|
'''Indicates a password should be create to allow access.
|
|
1278
1278
|
|
|
1279
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1279
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#create_password Server#create_password}
|
|
1280
1280
|
'''
|
|
1281
1281
|
result = self._values.get("create_password")
|
|
1282
1282
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1285,7 +1285,7 @@ class ServerLogin:
|
|
|
1285
1285
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1286
1286
|
'''A list of ssh keys to access the server.
|
|
1287
1287
|
|
|
1288
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1288
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#keys Server#keys}
|
|
1289
1289
|
'''
|
|
1290
1290
|
result = self._values.get("keys")
|
|
1291
1291
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1294,7 +1294,7 @@ class ServerLogin:
|
|
|
1294
1294
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1295
1295
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1296
1296
|
|
|
1297
|
-
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.1.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1298
1298
|
'''
|
|
1299
1299
|
result = self._values.get("password_delivery")
|
|
1300
1300
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1303,7 +1303,7 @@ class ServerLogin:
|
|
|
1303
1303
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1304
1304
|
'''Username to be create to access the server.
|
|
1305
1305
|
|
|
1306
|
-
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.1.1/docs/resources/server#user Server#user}
|
|
1307
1307
|
'''
|
|
1308
1308
|
result = self._values.get("user")
|
|
1309
1309
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1468,12 +1468,12 @@ class ServerNetworkInterface:
|
|
|
1468
1468
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1469
1469
|
) -> None:
|
|
1470
1470
|
'''
|
|
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.
|
|
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.1.1/docs/resources/server#type Server#type}
|
|
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.1.1/docs/resources/server#bootable Server#bootable}
|
|
1473
|
+
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#ip_address Server#ip_address}
|
|
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.1.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
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.1.1/docs/resources/server#network Server#network}
|
|
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.1.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1477
1477
|
'''
|
|
1478
1478
|
if __debug__:
|
|
1479
1479
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
@@ -1501,7 +1501,7 @@ class ServerNetworkInterface:
|
|
|
1501
1501
|
def type(self) -> builtins.str:
|
|
1502
1502
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1503
1503
|
|
|
1504
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1504
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#type Server#type}
|
|
1505
1505
|
'''
|
|
1506
1506
|
result = self._values.get("type")
|
|
1507
1507
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1513,7 +1513,7 @@ class ServerNetworkInterface:
|
|
|
1513
1513
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1514
1514
|
'''``true`` if this interface should be used for network booting.
|
|
1515
1515
|
|
|
1516
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1516
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#bootable Server#bootable}
|
|
1517
1517
|
'''
|
|
1518
1518
|
result = self._values.get("bootable")
|
|
1519
1519
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1522,7 +1522,7 @@ class ServerNetworkInterface:
|
|
|
1522
1522
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1523
1523
|
'''The assigned IP address.
|
|
1524
1524
|
|
|
1525
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1525
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#ip_address Server#ip_address}
|
|
1526
1526
|
'''
|
|
1527
1527
|
result = self._values.get("ip_address")
|
|
1528
1528
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1531,7 +1531,7 @@ class ServerNetworkInterface:
|
|
|
1531
1531
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1532
1532
|
'''The IP address type of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1533
1533
|
|
|
1534
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1534
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1535
1535
|
'''
|
|
1536
1536
|
result = self._values.get("ip_address_family")
|
|
1537
1537
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1540,7 +1540,7 @@ class ServerNetworkInterface:
|
|
|
1540
1540
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1541
1541
|
'''The unique ID of a network to attach this network to.
|
|
1542
1542
|
|
|
1543
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1543
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#network Server#network}
|
|
1544
1544
|
'''
|
|
1545
1545
|
result = self._values.get("network")
|
|
1546
1546
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1551,7 +1551,7 @@ class ServerNetworkInterface:
|
|
|
1551
1551
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1552
1552
|
'''``true`` if source IP should be filtered.
|
|
1553
1553
|
|
|
1554
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1554
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1555
1555
|
'''
|
|
1556
1556
|
result = self._values.get("source_ip_filtering")
|
|
1557
1557
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1854,8 +1854,8 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1854
1854
|
class ServerSimpleBackup:
|
|
1855
1855
|
def __init__(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
1856
1856
|
'''
|
|
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.
|
|
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.1.1/docs/resources/server#plan Server#plan}
|
|
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.1.1/docs/resources/server#time Server#time}
|
|
1859
1859
|
'''
|
|
1860
1860
|
if __debug__:
|
|
1861
1861
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -1870,7 +1870,7 @@ class ServerSimpleBackup:
|
|
|
1870
1870
|
def plan(self) -> builtins.str:
|
|
1871
1871
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
1872
1872
|
|
|
1873
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1873
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#plan Server#plan}
|
|
1874
1874
|
'''
|
|
1875
1875
|
result = self._values.get("plan")
|
|
1876
1876
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1880,7 +1880,7 @@ class ServerSimpleBackup:
|
|
|
1880
1880
|
def time(self) -> builtins.str:
|
|
1881
1881
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
1882
1882
|
|
|
1883
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1883
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#time Server#time}
|
|
1884
1884
|
'''
|
|
1885
1885
|
result = self._values.get("time")
|
|
1886
1886
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -1985,10 +1985,10 @@ class ServerStorageDevices:
|
|
|
1985
1985
|
type: typing.Optional[builtins.str] = None,
|
|
1986
1986
|
) -> None:
|
|
1987
1987
|
'''
|
|
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.
|
|
1988
|
+
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#storage Server#storage}
|
|
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.1.1/docs/resources/server#address Server#address}
|
|
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.1.1/docs/resources/server#address_position Server#address_position}
|
|
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.1.1/docs/resources/server#type Server#type}
|
|
1992
1992
|
'''
|
|
1993
1993
|
if __debug__:
|
|
1994
1994
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -2010,7 +2010,7 @@ class ServerStorageDevices:
|
|
|
2010
2010
|
def storage(self) -> builtins.str:
|
|
2011
2011
|
'''A valid storage UUID.
|
|
2012
2012
|
|
|
2013
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2013
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#storage Server#storage}
|
|
2014
2014
|
'''
|
|
2015
2015
|
result = self._values.get("storage")
|
|
2016
2016
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2022,7 +2022,7 @@ class ServerStorageDevices:
|
|
|
2022
2022
|
|
|
2023
2023
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2024
2024
|
|
|
2025
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2025
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#address Server#address}
|
|
2026
2026
|
'''
|
|
2027
2027
|
result = self._values.get("address")
|
|
2028
2028
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2033,7 +2033,7 @@ class ServerStorageDevices:
|
|
|
2033
2033
|
|
|
2034
2034
|
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
2035
|
|
|
2036
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2036
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#address_position Server#address_position}
|
|
2037
2037
|
'''
|
|
2038
2038
|
result = self._values.get("address_position")
|
|
2039
2039
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2042,7 +2042,7 @@ class ServerStorageDevices:
|
|
|
2042
2042
|
def type(self) -> typing.Optional[builtins.str]:
|
|
2043
2043
|
'''The device type the storage will be attached as.
|
|
2044
2044
|
|
|
2045
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2045
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#type Server#type}
|
|
2046
2046
|
'''
|
|
2047
2047
|
result = self._values.get("type")
|
|
2048
2048
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2303,15 +2303,15 @@ class ServerTemplate:
|
|
|
2303
2303
|
title: typing.Optional[builtins.str] = None,
|
|
2304
2304
|
) -> None:
|
|
2305
2305
|
'''
|
|
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.
|
|
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.1.1/docs/resources/server#storage Server#storage}
|
|
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.1.1/docs/resources/server#address Server#address}
|
|
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.1.1/docs/resources/server#address_position Server#address_position}
|
|
2309
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
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.1.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2311
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#encrypt Server#encrypt}
|
|
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.1.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2313
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#size Server#size}
|
|
2314
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#title Server#title}
|
|
2315
2315
|
'''
|
|
2316
2316
|
if isinstance(backup_rule, dict):
|
|
2317
2317
|
backup_rule = ServerTemplateBackupRule(**backup_rule)
|
|
@@ -2352,7 +2352,7 @@ class ServerTemplate:
|
|
|
2352
2352
|
|
|
2353
2353
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2354
2354
|
|
|
2355
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2355
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#storage Server#storage}
|
|
2356
2356
|
'''
|
|
2357
2357
|
result = self._values.get("storage")
|
|
2358
2358
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2364,7 +2364,7 @@ class ServerTemplate:
|
|
|
2364
2364
|
|
|
2365
2365
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2366
2366
|
|
|
2367
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2367
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#address Server#address}
|
|
2368
2368
|
'''
|
|
2369
2369
|
result = self._values.get("address")
|
|
2370
2370
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2375,7 +2375,7 @@ class ServerTemplate:
|
|
|
2375
2375
|
|
|
2376
2376
|
For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus.
|
|
2377
2377
|
|
|
2378
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2378
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#address_position Server#address_position}
|
|
2379
2379
|
'''
|
|
2380
2380
|
result = self._values.get("address_position")
|
|
2381
2381
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2384,7 +2384,7 @@ class ServerTemplate:
|
|
|
2384
2384
|
def backup_rule(self) -> typing.Optional["ServerTemplateBackupRule"]:
|
|
2385
2385
|
'''backup_rule block.
|
|
2386
2386
|
|
|
2387
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2387
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2388
2388
|
'''
|
|
2389
2389
|
result = self._values.get("backup_rule")
|
|
2390
2390
|
return typing.cast(typing.Optional["ServerTemplateBackupRule"], result)
|
|
@@ -2395,7 +2395,7 @@ class ServerTemplate:
|
|
|
2395
2395
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2396
2396
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2397
2397
|
|
|
2398
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2398
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2399
2399
|
'''
|
|
2400
2400
|
result = self._values.get("delete_autoresize_backup")
|
|
2401
2401
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2406,7 +2406,7 @@ class ServerTemplate:
|
|
|
2406
2406
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2407
2407
|
'''Sets if the storage is encrypted at rest.
|
|
2408
2408
|
|
|
2409
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2409
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#encrypt Server#encrypt}
|
|
2410
2410
|
'''
|
|
2411
2411
|
result = self._values.get("encrypt")
|
|
2412
2412
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2421,7 +2421,7 @@ class ServerTemplate:
|
|
|
2421
2421
|
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
2422
|
Taking and keeping backups incure costs.
|
|
2423
2423
|
|
|
2424
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2424
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2425
2425
|
'''
|
|
2426
2426
|
result = self._values.get("filesystem_autoresize")
|
|
2427
2427
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2430,7 +2430,7 @@ class ServerTemplate:
|
|
|
2430
2430
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2431
2431
|
'''The size of the storage in gigabytes.
|
|
2432
2432
|
|
|
2433
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2433
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#size Server#size}
|
|
2434
2434
|
'''
|
|
2435
2435
|
result = self._values.get("size")
|
|
2436
2436
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2439,7 +2439,7 @@ class ServerTemplate:
|
|
|
2439
2439
|
def title(self) -> typing.Optional[builtins.str]:
|
|
2440
2440
|
'''A short, informative description.
|
|
2441
2441
|
|
|
2442
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2442
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#title Server#title}
|
|
2443
2443
|
'''
|
|
2444
2444
|
result = self._values.get("title")
|
|
2445
2445
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2470,9 +2470,9 @@ class ServerTemplateBackupRule:
|
|
|
2470
2470
|
time: builtins.str,
|
|
2471
2471
|
) -> None:
|
|
2472
2472
|
'''
|
|
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.
|
|
2473
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#interval Server#interval}
|
|
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.1.1/docs/resources/server#retention Server#retention}
|
|
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.1.1/docs/resources/server#time Server#time}
|
|
2476
2476
|
'''
|
|
2477
2477
|
if __debug__:
|
|
2478
2478
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -2489,7 +2489,7 @@ class ServerTemplateBackupRule:
|
|
|
2489
2489
|
def interval(self) -> builtins.str:
|
|
2490
2490
|
'''The weekday when the backup is created.
|
|
2491
2491
|
|
|
2492
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2492
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#interval Server#interval}
|
|
2493
2493
|
'''
|
|
2494
2494
|
result = self._values.get("interval")
|
|
2495
2495
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -2499,7 +2499,7 @@ class ServerTemplateBackupRule:
|
|
|
2499
2499
|
def retention(self) -> jsii.Number:
|
|
2500
2500
|
'''The number of days before a backup is automatically deleted.
|
|
2501
2501
|
|
|
2502
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2502
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#retention Server#retention}
|
|
2503
2503
|
'''
|
|
2504
2504
|
result = self._values.get("retention")
|
|
2505
2505
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -2509,7 +2509,7 @@ class ServerTemplateBackupRule:
|
|
|
2509
2509
|
def time(self) -> builtins.str:
|
|
2510
2510
|
'''The time of day when the backup is created.
|
|
2511
2511
|
|
|
2512
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2512
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#time Server#time}
|
|
2513
2513
|
'''
|
|
2514
2514
|
result = self._values.get("time")
|
|
2515
2515
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2640,9 +2640,9 @@ class ServerTemplateOutputReference(
|
|
|
2640
2640
|
time: builtins.str,
|
|
2641
2641
|
) -> None:
|
|
2642
2642
|
'''
|
|
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.
|
|
2643
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.1/docs/resources/server#interval Server#interval}
|
|
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.1.1/docs/resources/server#retention Server#retention}
|
|
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.1.1/docs/resources/server#time Server#time}
|
|
2646
2646
|
'''
|
|
2647
2647
|
value = ServerTemplateBackupRule(
|
|
2648
2648
|
interval=interval, retention=retention, time=time
|