cdktf-cdktf-provider-upcloud 11.0.1__py3-none-any.whl → 11.0.2__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 +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.0.2.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_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 +28 -28
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +36 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +52 -52
- 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 +36 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +165 -165
- 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 +172 -172
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +73 -73
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +289 -289
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +97 -97
- 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_user_access_key/__init__.py +19 -19
- 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 +22 -22
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +133 -133
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +55 -55
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-11.0.1.dist-info → cdktf_cdktf_provider_upcloud-11.0.2.dist-info}/METADATA +5 -6
- cdktf_cdktf_provider_upcloud-11.0.2.dist-info/RECORD +53 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.0.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-11.0.1.dist-info/RECORD +0 -53
- {cdktf_cdktf_provider_upcloud-11.0.1.dist-info → cdktf_cdktf_provider_upcloud-11.0.2.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.1.dist-info → cdktf_cdktf_provider_upcloud-11.0.2.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.1.dist-info → cdktf_cdktf_provider_upcloud-11.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_server`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registory for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.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/3.1.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server upcloud_server}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -62,31 +62,31 @@ class Server(
|
|
|
62
62
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
63
63
|
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,
|
|
64
64
|
) -> None:
|
|
65
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
65
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server upcloud_server} Resource.
|
|
66
66
|
|
|
67
67
|
:param scope: The scope in which to define this construct.
|
|
68
68
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
69
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
70
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
71
|
-
: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/3.1.
|
|
72
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
73
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
74
|
-
: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/3.1.
|
|
75
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
76
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
77
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
78
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
79
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
80
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
81
|
-
: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/3.1.
|
|
82
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
83
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
84
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
85
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
86
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
87
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
88
|
-
: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/3.1.
|
|
89
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
69
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#hostname Server#hostname}
|
|
70
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#network_interface Server#network_interface}
|
|
71
|
+
: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/3.1.1/docs/resources/server#zone Server#zone}
|
|
72
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#cpu Server#cpu}
|
|
73
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#firewall Server#firewall}
|
|
74
|
+
: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/3.1.1/docs/resources/server#host Server#host}
|
|
75
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.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.
|
|
76
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#labels Server#labels}
|
|
77
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#login Server#login}
|
|
78
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#mem Server#mem}
|
|
79
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#metadata Server#metadata}
|
|
80
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#nic_model Server#nic_model}
|
|
81
|
+
: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/3.1.1/docs/resources/server#plan Server#plan}
|
|
82
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
83
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
84
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#tags Server#tags}
|
|
85
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#template Server#template}
|
|
86
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#timezone Server#timezone}
|
|
87
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#title Server#title}
|
|
88
|
+
: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/3.1.1/docs/resources/server#user_data Server#user_data}
|
|
89
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#video_model Server#video_model}
|
|
90
90
|
:param connection:
|
|
91
91
|
:param count:
|
|
92
92
|
:param depends_on:
|
|
@@ -145,7 +145,7 @@ class Server(
|
|
|
145
145
|
|
|
146
146
|
:param scope: The scope in which to define this construct.
|
|
147
147
|
:param import_to_id: The construct id used in the generated config for the Server to import.
|
|
148
|
-
: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/3.1.
|
|
148
|
+
: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/3.1.1/docs/resources/server#import import section} in the documentation of this resource for the id to use
|
|
149
149
|
:param provider: ? Optional instance of the provider where the Server to import is found.
|
|
150
150
|
'''
|
|
151
151
|
if __debug__:
|
|
@@ -166,10 +166,10 @@ class Server(
|
|
|
166
166
|
user: typing.Optional[builtins.str] = None,
|
|
167
167
|
) -> None:
|
|
168
168
|
'''
|
|
169
|
-
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
170
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
171
|
-
: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/3.1.
|
|
172
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
169
|
+
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#create_password Server#create_password}
|
|
170
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#keys Server#keys}
|
|
171
|
+
: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/3.1.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
172
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#user Server#user}
|
|
173
173
|
'''
|
|
174
174
|
value = ServerLogin(
|
|
175
175
|
create_password=create_password,
|
|
@@ -196,8 +196,8 @@ class Server(
|
|
|
196
196
|
@jsii.member(jsii_name="putSimpleBackup")
|
|
197
197
|
def put_simple_backup(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
198
198
|
'''
|
|
199
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
200
|
-
: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/3.1.
|
|
199
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#plan Server#plan}
|
|
200
|
+
: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/3.1.1/docs/resources/server#time Server#time}
|
|
201
201
|
'''
|
|
202
202
|
value = ServerSimpleBackup(plan=plan, time=time)
|
|
203
203
|
|
|
@@ -229,13 +229,13 @@ class Server(
|
|
|
229
229
|
title: typing.Optional[builtins.str] = None,
|
|
230
230
|
) -> None:
|
|
231
231
|
'''
|
|
232
|
-
: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/3.1.
|
|
233
|
-
:param address: The device address the storage will be attached to. Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
234
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
235
|
-
: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/3.1.
|
|
236
|
-
: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/3.1.
|
|
237
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
238
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
232
|
+
: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/3.1.1/docs/resources/server#storage Server#storage}
|
|
233
|
+
:param address: The device address the storage will be attached to. Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#address Server#address}
|
|
234
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
235
|
+
: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/3.1.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
236
|
+
: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/3.1.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
237
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#size Server#size}
|
|
238
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#title Server#title}
|
|
239
239
|
'''
|
|
240
240
|
value = ServerTemplate(
|
|
241
241
|
storage=storage,
|
|
@@ -744,27 +744,27 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
744
744
|
:param lifecycle:
|
|
745
745
|
:param provider:
|
|
746
746
|
:param provisioners:
|
|
747
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
748
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
749
|
-
: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/3.1.
|
|
750
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
751
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
752
|
-
: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/3.1.
|
|
753
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
754
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
755
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
756
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
757
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
758
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
759
|
-
: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/3.1.
|
|
760
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
761
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
762
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
763
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
764
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
765
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
766
|
-
: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/3.1.
|
|
767
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
747
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#hostname Server#hostname}
|
|
748
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#network_interface Server#network_interface}
|
|
749
|
+
: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/3.1.1/docs/resources/server#zone Server#zone}
|
|
750
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#cpu Server#cpu}
|
|
751
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#firewall Server#firewall}
|
|
752
|
+
: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/3.1.1/docs/resources/server#host Server#host}
|
|
753
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.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.
|
|
754
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#labels Server#labels}
|
|
755
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#login Server#login}
|
|
756
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#mem Server#mem}
|
|
757
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#metadata Server#metadata}
|
|
758
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#nic_model Server#nic_model}
|
|
759
|
+
: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/3.1.1/docs/resources/server#plan Server#plan}
|
|
760
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
761
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
762
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#tags Server#tags}
|
|
763
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#template Server#template}
|
|
764
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#timezone Server#timezone}
|
|
765
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#title Server#title}
|
|
766
|
+
: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/3.1.1/docs/resources/server#user_data Server#user_data}
|
|
767
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#video_model Server#video_model}
|
|
768
768
|
'''
|
|
769
769
|
if isinstance(lifecycle, dict):
|
|
770
770
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -928,7 +928,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
928
928
|
def hostname(self) -> builtins.str:
|
|
929
929
|
'''A valid domain name.
|
|
930
930
|
|
|
931
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
931
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#hostname Server#hostname}
|
|
932
932
|
'''
|
|
933
933
|
result = self._values.get("hostname")
|
|
934
934
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -940,7 +940,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
940
940
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]:
|
|
941
941
|
'''network_interface block.
|
|
942
942
|
|
|
943
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
943
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#network_interface Server#network_interface}
|
|
944
944
|
'''
|
|
945
945
|
result = self._values.get("network_interface")
|
|
946
946
|
assert result is not None, "Required property 'network_interface' is missing"
|
|
@@ -950,7 +950,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
950
950
|
def zone(self) -> builtins.str:
|
|
951
951
|
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
952
952
|
|
|
953
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
953
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#zone Server#zone}
|
|
954
954
|
'''
|
|
955
955
|
result = self._values.get("zone")
|
|
956
956
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -960,7 +960,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
960
960
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
961
961
|
'''The number of CPU for the server.
|
|
962
962
|
|
|
963
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
963
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#cpu Server#cpu}
|
|
964
964
|
'''
|
|
965
965
|
result = self._values.get("cpu")
|
|
966
966
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -971,7 +971,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
971
971
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
972
972
|
'''Are firewall rules active for the server.
|
|
973
973
|
|
|
974
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
974
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#firewall Server#firewall}
|
|
975
975
|
'''
|
|
976
976
|
result = self._values.get("firewall")
|
|
977
977
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -982,14 +982,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
982
982
|
|
|
983
983
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
984
984
|
|
|
985
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
985
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#host Server#host}
|
|
986
986
|
'''
|
|
987
987
|
result = self._values.get("host")
|
|
988
988
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
989
989
|
|
|
990
990
|
@builtins.property
|
|
991
991
|
def id(self) -> typing.Optional[builtins.str]:
|
|
992
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
992
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#id Server#id}.
|
|
993
993
|
|
|
994
994
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
995
995
|
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.
|
|
@@ -1001,7 +1001,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1001
1001
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1002
1002
|
'''Key-value pairs to classify the server.
|
|
1003
1003
|
|
|
1004
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1004
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#labels Server#labels}
|
|
1005
1005
|
'''
|
|
1006
1006
|
result = self._values.get("labels")
|
|
1007
1007
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1010,7 +1010,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1010
1010
|
def login(self) -> typing.Optional["ServerLogin"]:
|
|
1011
1011
|
'''login block.
|
|
1012
1012
|
|
|
1013
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1013
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#login Server#login}
|
|
1014
1014
|
'''
|
|
1015
1015
|
result = self._values.get("login")
|
|
1016
1016
|
return typing.cast(typing.Optional["ServerLogin"], result)
|
|
@@ -1019,7 +1019,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1019
1019
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
1020
1020
|
'''The size of memory for the server (in megabytes).
|
|
1021
1021
|
|
|
1022
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1022
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#mem Server#mem}
|
|
1023
1023
|
'''
|
|
1024
1024
|
result = self._values.get("mem")
|
|
1025
1025
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1030,7 +1030,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1030
1030
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1031
1031
|
'''Is the metadata service active for the server.
|
|
1032
1032
|
|
|
1033
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1033
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#metadata Server#metadata}
|
|
1034
1034
|
'''
|
|
1035
1035
|
result = self._values.get("metadata")
|
|
1036
1036
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1039,7 +1039,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1039
1039
|
def nic_model(self) -> typing.Optional[builtins.str]:
|
|
1040
1040
|
'''The model of the server's network interfaces.
|
|
1041
1041
|
|
|
1042
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1042
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#nic_model Server#nic_model}
|
|
1043
1043
|
'''
|
|
1044
1044
|
result = self._values.get("nic_model")
|
|
1045
1045
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1048,7 +1048,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1048
1048
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
1049
1049
|
'''The pricing plan used for the server. You can list available server plans with ``upctl server plans``.
|
|
1050
1050
|
|
|
1051
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1051
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#plan Server#plan}
|
|
1052
1052
|
'''
|
|
1053
1053
|
result = self._values.get("plan")
|
|
1054
1054
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1057,7 +1057,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1057
1057
|
def simple_backup(self) -> typing.Optional["ServerSimpleBackup"]:
|
|
1058
1058
|
'''simple_backup block.
|
|
1059
1059
|
|
|
1060
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1060
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
1061
1061
|
'''
|
|
1062
1062
|
result = self._values.get("simple_backup")
|
|
1063
1063
|
return typing.cast(typing.Optional["ServerSimpleBackup"], result)
|
|
@@ -1068,7 +1068,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1068
1068
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
1069
1069
|
'''storage_devices block.
|
|
1070
1070
|
|
|
1071
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1071
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
1072
1072
|
'''
|
|
1073
1073
|
result = self._values.get("storage_devices")
|
|
1074
1074
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -1077,7 +1077,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1077
1077
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1078
1078
|
'''The server related tags.
|
|
1079
1079
|
|
|
1080
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1080
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#tags Server#tags}
|
|
1081
1081
|
'''
|
|
1082
1082
|
result = self._values.get("tags")
|
|
1083
1083
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1086,7 +1086,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1086
1086
|
def template(self) -> typing.Optional["ServerTemplate"]:
|
|
1087
1087
|
'''template block.
|
|
1088
1088
|
|
|
1089
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1089
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#template Server#template}
|
|
1090
1090
|
'''
|
|
1091
1091
|
result = self._values.get("template")
|
|
1092
1092
|
return typing.cast(typing.Optional["ServerTemplate"], result)
|
|
@@ -1095,7 +1095,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1095
1095
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1096
1096
|
'''A timezone identifier, e.g. ``Europe/Helsinki``.
|
|
1097
1097
|
|
|
1098
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1098
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#timezone Server#timezone}
|
|
1099
1099
|
'''
|
|
1100
1100
|
result = self._values.get("timezone")
|
|
1101
1101
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1104,7 +1104,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1104
1104
|
def title(self) -> typing.Optional[builtins.str]:
|
|
1105
1105
|
'''A short, informational description.
|
|
1106
1106
|
|
|
1107
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1107
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#title Server#title}
|
|
1108
1108
|
'''
|
|
1109
1109
|
result = self._values.get("title")
|
|
1110
1110
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1113,7 +1113,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1113
1113
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
1114
1114
|
'''Defines URL for a server setup script, or the script body itself.
|
|
1115
1115
|
|
|
1116
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1116
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#user_data Server#user_data}
|
|
1117
1117
|
'''
|
|
1118
1118
|
result = self._values.get("user_data")
|
|
1119
1119
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1122,7 +1122,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1122
1122
|
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1123
1123
|
'''The model of the server's video interface.
|
|
1124
1124
|
|
|
1125
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1125
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#video_model Server#video_model}
|
|
1126
1126
|
'''
|
|
1127
1127
|
result = self._values.get("video_model")
|
|
1128
1128
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1159,10 +1159,10 @@ class ServerLogin:
|
|
|
1159
1159
|
user: typing.Optional[builtins.str] = None,
|
|
1160
1160
|
) -> None:
|
|
1161
1161
|
'''
|
|
1162
|
-
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1163
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1164
|
-
: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/3.1.
|
|
1165
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1162
|
+
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#create_password Server#create_password}
|
|
1163
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#keys Server#keys}
|
|
1164
|
+
: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/3.1.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1165
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#user Server#user}
|
|
1166
1166
|
'''
|
|
1167
1167
|
if __debug__:
|
|
1168
1168
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1186,7 +1186,7 @@ class ServerLogin:
|
|
|
1186
1186
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1187
1187
|
'''Indicates a password should be create to allow access.
|
|
1188
1188
|
|
|
1189
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1189
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#create_password Server#create_password}
|
|
1190
1190
|
'''
|
|
1191
1191
|
result = self._values.get("create_password")
|
|
1192
1192
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1195,7 +1195,7 @@ class ServerLogin:
|
|
|
1195
1195
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1196
1196
|
'''A list of ssh keys to access the server.
|
|
1197
1197
|
|
|
1198
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1198
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#keys Server#keys}
|
|
1199
1199
|
'''
|
|
1200
1200
|
result = self._values.get("keys")
|
|
1201
1201
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1204,7 +1204,7 @@ class ServerLogin:
|
|
|
1204
1204
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1205
1205
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1206
1206
|
|
|
1207
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1207
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1208
1208
|
'''
|
|
1209
1209
|
result = self._values.get("password_delivery")
|
|
1210
1210
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1213,7 +1213,7 @@ class ServerLogin:
|
|
|
1213
1213
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1214
1214
|
'''Username to be create to access the server.
|
|
1215
1215
|
|
|
1216
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1216
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#user Server#user}
|
|
1217
1217
|
'''
|
|
1218
1218
|
result = self._values.get("user")
|
|
1219
1219
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1378,12 +1378,12 @@ class ServerNetworkInterface:
|
|
|
1378
1378
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1379
1379
|
) -> None:
|
|
1380
1380
|
'''
|
|
1381
|
-
: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/3.1.
|
|
1382
|
-
:param bootable: ``true`` if this interface should be used for network booting. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1383
|
-
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1384
|
-
: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/3.1.
|
|
1385
|
-
: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/3.1.
|
|
1386
|
-
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1381
|
+
: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/3.1.1/docs/resources/server#type Server#type}
|
|
1382
|
+
:param bootable: ``true`` if this interface should be used for network booting. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#bootable Server#bootable}
|
|
1383
|
+
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#ip_address Server#ip_address}
|
|
1384
|
+
: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/3.1.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1385
|
+
: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/3.1.1/docs/resources/server#network Server#network}
|
|
1386
|
+
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1387
1387
|
'''
|
|
1388
1388
|
if __debug__:
|
|
1389
1389
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
@@ -1411,7 +1411,7 @@ class ServerNetworkInterface:
|
|
|
1411
1411
|
def type(self) -> builtins.str:
|
|
1412
1412
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1413
1413
|
|
|
1414
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1414
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#type Server#type}
|
|
1415
1415
|
'''
|
|
1416
1416
|
result = self._values.get("type")
|
|
1417
1417
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1423,7 +1423,7 @@ class ServerNetworkInterface:
|
|
|
1423
1423
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1424
1424
|
'''``true`` if this interface should be used for network booting.
|
|
1425
1425
|
|
|
1426
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1426
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#bootable Server#bootable}
|
|
1427
1427
|
'''
|
|
1428
1428
|
result = self._values.get("bootable")
|
|
1429
1429
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1432,7 +1432,7 @@ class ServerNetworkInterface:
|
|
|
1432
1432
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1433
1433
|
'''The assigned IP address.
|
|
1434
1434
|
|
|
1435
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1435
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#ip_address Server#ip_address}
|
|
1436
1436
|
'''
|
|
1437
1437
|
result = self._values.get("ip_address")
|
|
1438
1438
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1441,7 +1441,7 @@ class ServerNetworkInterface:
|
|
|
1441
1441
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1442
1442
|
'''The IP address type of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1443
1443
|
|
|
1444
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1444
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1445
1445
|
'''
|
|
1446
1446
|
result = self._values.get("ip_address_family")
|
|
1447
1447
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1450,7 +1450,7 @@ class ServerNetworkInterface:
|
|
|
1450
1450
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1451
1451
|
'''The unique ID of a network to attach this network to.
|
|
1452
1452
|
|
|
1453
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1453
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#network Server#network}
|
|
1454
1454
|
'''
|
|
1455
1455
|
result = self._values.get("network")
|
|
1456
1456
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1461,7 +1461,7 @@ class ServerNetworkInterface:
|
|
|
1461
1461
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1462
1462
|
'''``true`` if source IP should be filtered.
|
|
1463
1463
|
|
|
1464
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1464
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1465
1465
|
'''
|
|
1466
1466
|
result = self._values.get("source_ip_filtering")
|
|
1467
1467
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1764,8 +1764,8 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1764
1764
|
class ServerSimpleBackup:
|
|
1765
1765
|
def __init__(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
1766
1766
|
'''
|
|
1767
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1768
|
-
: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/3.1.
|
|
1767
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#plan Server#plan}
|
|
1768
|
+
: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/3.1.1/docs/resources/server#time Server#time}
|
|
1769
1769
|
'''
|
|
1770
1770
|
if __debug__:
|
|
1771
1771
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -1780,7 +1780,7 @@ class ServerSimpleBackup:
|
|
|
1780
1780
|
def plan(self) -> builtins.str:
|
|
1781
1781
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
1782
1782
|
|
|
1783
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1783
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#plan Server#plan}
|
|
1784
1784
|
'''
|
|
1785
1785
|
result = self._values.get("plan")
|
|
1786
1786
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1790,7 +1790,7 @@ class ServerSimpleBackup:
|
|
|
1790
1790
|
def time(self) -> builtins.str:
|
|
1791
1791
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
1792
1792
|
|
|
1793
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1793
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#time Server#time}
|
|
1794
1794
|
'''
|
|
1795
1795
|
result = self._values.get("time")
|
|
1796
1796
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -1889,9 +1889,9 @@ class ServerStorageDevices:
|
|
|
1889
1889
|
type: typing.Optional[builtins.str] = None,
|
|
1890
1890
|
) -> None:
|
|
1891
1891
|
'''
|
|
1892
|
-
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1893
|
-
:param address: The device address the storage will be attached to. Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1894
|
-
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1892
|
+
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#storage Server#storage}
|
|
1893
|
+
:param address: The device address the storage will be attached to. Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#address Server#address}
|
|
1894
|
+
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#type Server#type}
|
|
1895
1895
|
'''
|
|
1896
1896
|
if __debug__:
|
|
1897
1897
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -1910,7 +1910,7 @@ class ServerStorageDevices:
|
|
|
1910
1910
|
def storage(self) -> builtins.str:
|
|
1911
1911
|
'''A valid storage UUID.
|
|
1912
1912
|
|
|
1913
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1913
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#storage Server#storage}
|
|
1914
1914
|
'''
|
|
1915
1915
|
result = self._values.get("storage")
|
|
1916
1916
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -1922,7 +1922,7 @@ class ServerStorageDevices:
|
|
|
1922
1922
|
|
|
1923
1923
|
Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus.
|
|
1924
1924
|
|
|
1925
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1925
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#address Server#address}
|
|
1926
1926
|
'''
|
|
1927
1927
|
result = self._values.get("address")
|
|
1928
1928
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1931,7 +1931,7 @@ class ServerStorageDevices:
|
|
|
1931
1931
|
def type(self) -> typing.Optional[builtins.str]:
|
|
1932
1932
|
'''The device type the storage will be attached as.
|
|
1933
1933
|
|
|
1934
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
1934
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#type Server#type}
|
|
1935
1935
|
'''
|
|
1936
1936
|
result = self._values.get("type")
|
|
1937
1937
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2167,13 +2167,13 @@ class ServerTemplate:
|
|
|
2167
2167
|
title: typing.Optional[builtins.str] = None,
|
|
2168
2168
|
) -> None:
|
|
2169
2169
|
'''
|
|
2170
|
-
: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/3.1.
|
|
2171
|
-
:param address: The device address the storage will be attached to. Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2172
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2173
|
-
: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/3.1.
|
|
2174
|
-
: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/3.1.
|
|
2175
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2176
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2170
|
+
: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/3.1.1/docs/resources/server#storage Server#storage}
|
|
2171
|
+
:param address: The device address the storage will be attached to. Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#address Server#address}
|
|
2172
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2173
|
+
: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/3.1.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2174
|
+
: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/3.1.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2175
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#size Server#size}
|
|
2176
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#title Server#title}
|
|
2177
2177
|
'''
|
|
2178
2178
|
if isinstance(backup_rule, dict):
|
|
2179
2179
|
backup_rule = ServerTemplateBackupRule(**backup_rule)
|
|
@@ -2208,7 +2208,7 @@ class ServerTemplate:
|
|
|
2208
2208
|
|
|
2209
2209
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2210
2210
|
|
|
2211
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2211
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#storage Server#storage}
|
|
2212
2212
|
'''
|
|
2213
2213
|
result = self._values.get("storage")
|
|
2214
2214
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2220,7 +2220,7 @@ class ServerTemplate:
|
|
|
2220
2220
|
|
|
2221
2221
|
Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus.
|
|
2222
2222
|
|
|
2223
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2223
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#address Server#address}
|
|
2224
2224
|
'''
|
|
2225
2225
|
result = self._values.get("address")
|
|
2226
2226
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2229,7 +2229,7 @@ class ServerTemplate:
|
|
|
2229
2229
|
def backup_rule(self) -> typing.Optional["ServerTemplateBackupRule"]:
|
|
2230
2230
|
'''backup_rule block.
|
|
2231
2231
|
|
|
2232
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2232
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2233
2233
|
'''
|
|
2234
2234
|
result = self._values.get("backup_rule")
|
|
2235
2235
|
return typing.cast(typing.Optional["ServerTemplateBackupRule"], result)
|
|
@@ -2240,7 +2240,7 @@ class ServerTemplate:
|
|
|
2240
2240
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2241
2241
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2242
2242
|
|
|
2243
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2243
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2244
2244
|
'''
|
|
2245
2245
|
result = self._values.get("delete_autoresize_backup")
|
|
2246
2246
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2255,7 +2255,7 @@ class ServerTemplate:
|
|
|
2255
2255
|
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).
|
|
2256
2256
|
Taking and keeping backups incure costs.
|
|
2257
2257
|
|
|
2258
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2258
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2259
2259
|
'''
|
|
2260
2260
|
result = self._values.get("filesystem_autoresize")
|
|
2261
2261
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2264,7 +2264,7 @@ class ServerTemplate:
|
|
|
2264
2264
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2265
2265
|
'''The size of the storage in gigabytes.
|
|
2266
2266
|
|
|
2267
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2267
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#size Server#size}
|
|
2268
2268
|
'''
|
|
2269
2269
|
result = self._values.get("size")
|
|
2270
2270
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2273,7 +2273,7 @@ class ServerTemplate:
|
|
|
2273
2273
|
def title(self) -> typing.Optional[builtins.str]:
|
|
2274
2274
|
'''A short, informative description.
|
|
2275
2275
|
|
|
2276
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2276
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#title Server#title}
|
|
2277
2277
|
'''
|
|
2278
2278
|
result = self._values.get("title")
|
|
2279
2279
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2304,9 +2304,9 @@ class ServerTemplateBackupRule:
|
|
|
2304
2304
|
time: builtins.str,
|
|
2305
2305
|
) -> None:
|
|
2306
2306
|
'''
|
|
2307
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2308
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2309
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2307
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#interval Server#interval}
|
|
2308
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#retention Server#retention}
|
|
2309
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#time Server#time}
|
|
2310
2310
|
'''
|
|
2311
2311
|
if __debug__:
|
|
2312
2312
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -2323,7 +2323,7 @@ class ServerTemplateBackupRule:
|
|
|
2323
2323
|
def interval(self) -> builtins.str:
|
|
2324
2324
|
'''The weekday when the backup is created.
|
|
2325
2325
|
|
|
2326
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2326
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#interval Server#interval}
|
|
2327
2327
|
'''
|
|
2328
2328
|
result = self._values.get("interval")
|
|
2329
2329
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -2333,7 +2333,7 @@ class ServerTemplateBackupRule:
|
|
|
2333
2333
|
def retention(self) -> jsii.Number:
|
|
2334
2334
|
'''The number of days before a backup is automatically deleted.
|
|
2335
2335
|
|
|
2336
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2336
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#retention Server#retention}
|
|
2337
2337
|
'''
|
|
2338
2338
|
result = self._values.get("retention")
|
|
2339
2339
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -2343,7 +2343,7 @@ class ServerTemplateBackupRule:
|
|
|
2343
2343
|
def time(self) -> builtins.str:
|
|
2344
2344
|
'''The time of day when the backup is created.
|
|
2345
2345
|
|
|
2346
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2346
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#time Server#time}
|
|
2347
2347
|
'''
|
|
2348
2348
|
result = self._values.get("time")
|
|
2349
2349
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2474,9 +2474,9 @@ class ServerTemplateOutputReference(
|
|
|
2474
2474
|
time: builtins.str,
|
|
2475
2475
|
) -> None:
|
|
2476
2476
|
'''
|
|
2477
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2478
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2479
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.
|
|
2477
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#interval Server#interval}
|
|
2478
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#retention Server#retention}
|
|
2479
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.1.1/docs/resources/server#time Server#time}
|
|
2480
2480
|
'''
|
|
2481
2481
|
value = ServerTemplateBackupRule(
|
|
2482
2482
|
interval=interval, retention=retention, time=time
|