cdktf-cdktf-provider-upcloud 11.0.3__py3-none-any.whl → 11.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.1.0.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 +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 +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 +175 -175
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +73 -73
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +292 -292
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +100 -100
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +73 -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 +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +141 -141
- 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.3.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-11.1.0.dist-info/RECORD +54 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.0.3.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-11.0.3.dist-info/RECORD +0 -54
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.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.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/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.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server upcloud_server}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -63,32 +63,32 @@ class Server(
|
|
|
63
63
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
64
64
|
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,
|
|
65
65
|
) -> None:
|
|
66
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
66
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server upcloud_server} Resource.
|
|
67
67
|
|
|
68
68
|
:param scope: The scope in which to define this construct.
|
|
69
69
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
70
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
71
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
72
|
-
: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.
|
|
73
|
-
: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/3.
|
|
74
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
75
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
76
|
-
: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.
|
|
77
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
78
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
79
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
80
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
81
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
82
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
83
|
-
: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.
|
|
84
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
85
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
86
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
87
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
88
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
89
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
90
|
-
: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.
|
|
91
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
70
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#hostname Server#hostname}
|
|
71
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#network_interface Server#network_interface}
|
|
72
|
+
: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.3.0/docs/resources/server#zone Server#zone}
|
|
73
|
+
: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/3.3.0/docs/resources/server#boot_order Server#boot_order}
|
|
74
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#cpu Server#cpu}
|
|
75
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#firewall Server#firewall}
|
|
76
|
+
: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.3.0/docs/resources/server#host Server#host}
|
|
77
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/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.
|
|
78
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#labels Server#labels}
|
|
79
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#login Server#login}
|
|
80
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#mem Server#mem}
|
|
81
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#metadata Server#metadata}
|
|
82
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#nic_model Server#nic_model}
|
|
83
|
+
: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.3.0/docs/resources/server#plan Server#plan}
|
|
84
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#simple_backup Server#simple_backup}
|
|
85
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#storage_devices Server#storage_devices}
|
|
86
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#tags Server#tags}
|
|
87
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#template Server#template}
|
|
88
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#timezone Server#timezone}
|
|
89
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#title Server#title}
|
|
90
|
+
: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.3.0/docs/resources/server#user_data Server#user_data}
|
|
91
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#video_model Server#video_model}
|
|
92
92
|
:param connection:
|
|
93
93
|
:param count:
|
|
94
94
|
:param depends_on:
|
|
@@ -148,7 +148,7 @@ class Server(
|
|
|
148
148
|
|
|
149
149
|
:param scope: The scope in which to define this construct.
|
|
150
150
|
:param import_to_id: The construct id used in the generated config for the Server to import.
|
|
151
|
-
: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.
|
|
151
|
+
: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.3.0/docs/resources/server#import import section} in the documentation of this resource for the id to use
|
|
152
152
|
:param provider: ? Optional instance of the provider where the Server to import is found.
|
|
153
153
|
'''
|
|
154
154
|
if __debug__:
|
|
@@ -169,10 +169,10 @@ class Server(
|
|
|
169
169
|
user: typing.Optional[builtins.str] = None,
|
|
170
170
|
) -> None:
|
|
171
171
|
'''
|
|
172
|
-
: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.
|
|
173
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
174
|
-
: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.
|
|
175
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
172
|
+
: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.3.0/docs/resources/server#create_password Server#create_password}
|
|
173
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#keys Server#keys}
|
|
174
|
+
: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.3.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
175
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#user Server#user}
|
|
176
176
|
'''
|
|
177
177
|
value = ServerLogin(
|
|
178
178
|
create_password=create_password,
|
|
@@ -199,8 +199,8 @@ class Server(
|
|
|
199
199
|
@jsii.member(jsii_name="putSimpleBackup")
|
|
200
200
|
def put_simple_backup(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
201
201
|
'''
|
|
202
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
203
|
-
: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.
|
|
202
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#plan Server#plan}
|
|
203
|
+
: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.3.0/docs/resources/server#time Server#time}
|
|
204
204
|
'''
|
|
205
205
|
value = ServerSimpleBackup(plan=plan, time=time)
|
|
206
206
|
|
|
@@ -233,14 +233,14 @@ class Server(
|
|
|
233
233
|
title: typing.Optional[builtins.str] = None,
|
|
234
234
|
) -> None:
|
|
235
235
|
'''
|
|
236
|
-
: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.
|
|
237
|
-
: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/3.
|
|
238
|
-
: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/3.
|
|
239
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
240
|
-
: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.
|
|
241
|
-
: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.
|
|
242
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
243
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
236
|
+
: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.3.0/docs/resources/server#storage Server#storage}
|
|
237
|
+
: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/3.3.0/docs/resources/server#address Server#address}
|
|
238
|
+
: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/3.3.0/docs/resources/server#address_position Server#address_position}
|
|
239
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
240
|
+
: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.3.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
241
|
+
: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.3.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
242
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#size Server#size}
|
|
243
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#title Server#title}
|
|
244
244
|
'''
|
|
245
245
|
value = ServerTemplate(
|
|
246
246
|
storage=storage,
|
|
@@ -773,28 +773,28 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
773
773
|
:param lifecycle:
|
|
774
774
|
:param provider:
|
|
775
775
|
:param provisioners:
|
|
776
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
777
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
778
|
-
: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.
|
|
779
|
-
: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/3.
|
|
780
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
781
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
782
|
-
: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.
|
|
783
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
784
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
785
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
786
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
787
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
788
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
789
|
-
: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.
|
|
790
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
791
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
792
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
793
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
794
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
795
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
796
|
-
: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.
|
|
797
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
776
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#hostname Server#hostname}
|
|
777
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#network_interface Server#network_interface}
|
|
778
|
+
: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.3.0/docs/resources/server#zone Server#zone}
|
|
779
|
+
: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/3.3.0/docs/resources/server#boot_order Server#boot_order}
|
|
780
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#cpu Server#cpu}
|
|
781
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#firewall Server#firewall}
|
|
782
|
+
: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.3.0/docs/resources/server#host Server#host}
|
|
783
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/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.
|
|
784
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#labels Server#labels}
|
|
785
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#login Server#login}
|
|
786
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#mem Server#mem}
|
|
787
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#metadata Server#metadata}
|
|
788
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#nic_model Server#nic_model}
|
|
789
|
+
: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.3.0/docs/resources/server#plan Server#plan}
|
|
790
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#simple_backup Server#simple_backup}
|
|
791
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#storage_devices Server#storage_devices}
|
|
792
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#tags Server#tags}
|
|
793
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#template Server#template}
|
|
794
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#timezone Server#timezone}
|
|
795
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#title Server#title}
|
|
796
|
+
: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.3.0/docs/resources/server#user_data Server#user_data}
|
|
797
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#video_model Server#video_model}
|
|
798
798
|
'''
|
|
799
799
|
if isinstance(lifecycle, dict):
|
|
800
800
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -961,7 +961,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
961
961
|
def hostname(self) -> builtins.str:
|
|
962
962
|
'''A valid domain name.
|
|
963
963
|
|
|
964
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
964
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#hostname Server#hostname}
|
|
965
965
|
'''
|
|
966
966
|
result = self._values.get("hostname")
|
|
967
967
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -973,7 +973,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
973
973
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]:
|
|
974
974
|
'''network_interface block.
|
|
975
975
|
|
|
976
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
976
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#network_interface Server#network_interface}
|
|
977
977
|
'''
|
|
978
978
|
result = self._values.get("network_interface")
|
|
979
979
|
assert result is not None, "Required property 'network_interface' is missing"
|
|
@@ -983,7 +983,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
983
983
|
def zone(self) -> builtins.str:
|
|
984
984
|
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
985
985
|
|
|
986
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
986
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#zone Server#zone}
|
|
987
987
|
'''
|
|
988
988
|
result = self._values.get("zone")
|
|
989
989
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -993,7 +993,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
993
993
|
def boot_order(self) -> typing.Optional[builtins.str]:
|
|
994
994
|
'''The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``.
|
|
995
995
|
|
|
996
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
996
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#boot_order Server#boot_order}
|
|
997
997
|
'''
|
|
998
998
|
result = self._values.get("boot_order")
|
|
999
999
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1002,7 +1002,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1002
1002
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
1003
1003
|
'''The number of CPU for the server.
|
|
1004
1004
|
|
|
1005
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1005
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#cpu Server#cpu}
|
|
1006
1006
|
'''
|
|
1007
1007
|
result = self._values.get("cpu")
|
|
1008
1008
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1013,7 +1013,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1013
1013
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1014
1014
|
'''Are firewall rules active for the server.
|
|
1015
1015
|
|
|
1016
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1016
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#firewall Server#firewall}
|
|
1017
1017
|
'''
|
|
1018
1018
|
result = self._values.get("firewall")
|
|
1019
1019
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1024,14 +1024,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1024
1024
|
|
|
1025
1025
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
1026
1026
|
|
|
1027
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1027
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#host Server#host}
|
|
1028
1028
|
'''
|
|
1029
1029
|
result = self._values.get("host")
|
|
1030
1030
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1031
1031
|
|
|
1032
1032
|
@builtins.property
|
|
1033
1033
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1034
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1034
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#id Server#id}.
|
|
1035
1035
|
|
|
1036
1036
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1037
1037
|
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.
|
|
@@ -1043,7 +1043,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1043
1043
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1044
1044
|
'''Key-value pairs to classify the server.
|
|
1045
1045
|
|
|
1046
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1046
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#labels Server#labels}
|
|
1047
1047
|
'''
|
|
1048
1048
|
result = self._values.get("labels")
|
|
1049
1049
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1052,7 +1052,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1052
1052
|
def login(self) -> typing.Optional["ServerLogin"]:
|
|
1053
1053
|
'''login block.
|
|
1054
1054
|
|
|
1055
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1055
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#login Server#login}
|
|
1056
1056
|
'''
|
|
1057
1057
|
result = self._values.get("login")
|
|
1058
1058
|
return typing.cast(typing.Optional["ServerLogin"], result)
|
|
@@ -1061,7 +1061,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1061
1061
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
1062
1062
|
'''The size of memory for the server (in megabytes).
|
|
1063
1063
|
|
|
1064
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1064
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#mem Server#mem}
|
|
1065
1065
|
'''
|
|
1066
1066
|
result = self._values.get("mem")
|
|
1067
1067
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1072,7 +1072,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1072
1072
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1073
1073
|
'''Is the metadata service active for the server.
|
|
1074
1074
|
|
|
1075
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1075
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#metadata Server#metadata}
|
|
1076
1076
|
'''
|
|
1077
1077
|
result = self._values.get("metadata")
|
|
1078
1078
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1081,7 +1081,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1081
1081
|
def nic_model(self) -> typing.Optional[builtins.str]:
|
|
1082
1082
|
'''The model of the server's network interfaces.
|
|
1083
1083
|
|
|
1084
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1084
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#nic_model Server#nic_model}
|
|
1085
1085
|
'''
|
|
1086
1086
|
result = self._values.get("nic_model")
|
|
1087
1087
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1090,7 +1090,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1090
1090
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
1091
1091
|
'''The pricing plan used for the server. You can list available server plans with ``upctl server plans``.
|
|
1092
1092
|
|
|
1093
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1093
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#plan Server#plan}
|
|
1094
1094
|
'''
|
|
1095
1095
|
result = self._values.get("plan")
|
|
1096
1096
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1099,7 +1099,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1099
1099
|
def simple_backup(self) -> typing.Optional["ServerSimpleBackup"]:
|
|
1100
1100
|
'''simple_backup block.
|
|
1101
1101
|
|
|
1102
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1102
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#simple_backup Server#simple_backup}
|
|
1103
1103
|
'''
|
|
1104
1104
|
result = self._values.get("simple_backup")
|
|
1105
1105
|
return typing.cast(typing.Optional["ServerSimpleBackup"], result)
|
|
@@ -1110,7 +1110,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1110
1110
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
1111
1111
|
'''storage_devices block.
|
|
1112
1112
|
|
|
1113
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1113
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#storage_devices Server#storage_devices}
|
|
1114
1114
|
'''
|
|
1115
1115
|
result = self._values.get("storage_devices")
|
|
1116
1116
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -1119,7 +1119,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1119
1119
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1120
1120
|
'''The server related tags.
|
|
1121
1121
|
|
|
1122
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1122
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#tags Server#tags}
|
|
1123
1123
|
'''
|
|
1124
1124
|
result = self._values.get("tags")
|
|
1125
1125
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1128,7 +1128,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1128
1128
|
def template(self) -> typing.Optional["ServerTemplate"]:
|
|
1129
1129
|
'''template block.
|
|
1130
1130
|
|
|
1131
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1131
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#template Server#template}
|
|
1132
1132
|
'''
|
|
1133
1133
|
result = self._values.get("template")
|
|
1134
1134
|
return typing.cast(typing.Optional["ServerTemplate"], result)
|
|
@@ -1137,7 +1137,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1137
1137
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1138
1138
|
'''A timezone identifier, e.g. ``Europe/Helsinki``.
|
|
1139
1139
|
|
|
1140
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1140
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#timezone Server#timezone}
|
|
1141
1141
|
'''
|
|
1142
1142
|
result = self._values.get("timezone")
|
|
1143
1143
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1146,7 +1146,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1146
1146
|
def title(self) -> typing.Optional[builtins.str]:
|
|
1147
1147
|
'''A short, informational description.
|
|
1148
1148
|
|
|
1149
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1149
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#title Server#title}
|
|
1150
1150
|
'''
|
|
1151
1151
|
result = self._values.get("title")
|
|
1152
1152
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1155,7 +1155,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1155
1155
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
1156
1156
|
'''Defines URL for a server setup script, or the script body itself.
|
|
1157
1157
|
|
|
1158
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1158
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#user_data Server#user_data}
|
|
1159
1159
|
'''
|
|
1160
1160
|
result = self._values.get("user_data")
|
|
1161
1161
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1164,7 +1164,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1164
1164
|
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1165
1165
|
'''The model of the server's video interface.
|
|
1166
1166
|
|
|
1167
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1167
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#video_model Server#video_model}
|
|
1168
1168
|
'''
|
|
1169
1169
|
result = self._values.get("video_model")
|
|
1170
1170
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1201,10 +1201,10 @@ class ServerLogin:
|
|
|
1201
1201
|
user: typing.Optional[builtins.str] = None,
|
|
1202
1202
|
) -> None:
|
|
1203
1203
|
'''
|
|
1204
|
-
: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.
|
|
1205
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1206
|
-
: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.
|
|
1207
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1204
|
+
: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.3.0/docs/resources/server#create_password Server#create_password}
|
|
1205
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#keys Server#keys}
|
|
1206
|
+
: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.3.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
1207
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#user Server#user}
|
|
1208
1208
|
'''
|
|
1209
1209
|
if __debug__:
|
|
1210
1210
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1228,7 +1228,7 @@ class ServerLogin:
|
|
|
1228
1228
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1229
1229
|
'''Indicates a password should be create to allow access.
|
|
1230
1230
|
|
|
1231
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1231
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#create_password Server#create_password}
|
|
1232
1232
|
'''
|
|
1233
1233
|
result = self._values.get("create_password")
|
|
1234
1234
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1237,7 +1237,7 @@ class ServerLogin:
|
|
|
1237
1237
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1238
1238
|
'''A list of ssh keys to access the server.
|
|
1239
1239
|
|
|
1240
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1240
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#keys Server#keys}
|
|
1241
1241
|
'''
|
|
1242
1242
|
result = self._values.get("keys")
|
|
1243
1243
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1246,7 +1246,7 @@ class ServerLogin:
|
|
|
1246
1246
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1247
1247
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1248
1248
|
|
|
1249
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1249
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
1250
1250
|
'''
|
|
1251
1251
|
result = self._values.get("password_delivery")
|
|
1252
1252
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1255,7 +1255,7 @@ class ServerLogin:
|
|
|
1255
1255
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1256
1256
|
'''Username to be create to access the server.
|
|
1257
1257
|
|
|
1258
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1258
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#user Server#user}
|
|
1259
1259
|
'''
|
|
1260
1260
|
result = self._values.get("user")
|
|
1261
1261
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1420,12 +1420,12 @@ class ServerNetworkInterface:
|
|
|
1420
1420
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1421
1421
|
) -> None:
|
|
1422
1422
|
'''
|
|
1423
|
-
: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.
|
|
1424
|
-
: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.
|
|
1425
|
-
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1426
|
-
: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.
|
|
1427
|
-
: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.
|
|
1428
|
-
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1423
|
+
: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.3.0/docs/resources/server#type Server#type}
|
|
1424
|
+
: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.3.0/docs/resources/server#bootable Server#bootable}
|
|
1425
|
+
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#ip_address Server#ip_address}
|
|
1426
|
+
: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.3.0/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1427
|
+
: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.3.0/docs/resources/server#network Server#network}
|
|
1428
|
+
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1429
1429
|
'''
|
|
1430
1430
|
if __debug__:
|
|
1431
1431
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
@@ -1453,7 +1453,7 @@ class ServerNetworkInterface:
|
|
|
1453
1453
|
def type(self) -> builtins.str:
|
|
1454
1454
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1455
1455
|
|
|
1456
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1456
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#type Server#type}
|
|
1457
1457
|
'''
|
|
1458
1458
|
result = self._values.get("type")
|
|
1459
1459
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1465,7 +1465,7 @@ class ServerNetworkInterface:
|
|
|
1465
1465
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1466
1466
|
'''``true`` if this interface should be used for network booting.
|
|
1467
1467
|
|
|
1468
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1468
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#bootable Server#bootable}
|
|
1469
1469
|
'''
|
|
1470
1470
|
result = self._values.get("bootable")
|
|
1471
1471
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1474,7 +1474,7 @@ class ServerNetworkInterface:
|
|
|
1474
1474
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1475
1475
|
'''The assigned IP address.
|
|
1476
1476
|
|
|
1477
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1477
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#ip_address Server#ip_address}
|
|
1478
1478
|
'''
|
|
1479
1479
|
result = self._values.get("ip_address")
|
|
1480
1480
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1483,7 +1483,7 @@ class ServerNetworkInterface:
|
|
|
1483
1483
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1484
1484
|
'''The IP address type of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1485
1485
|
|
|
1486
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1486
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1487
1487
|
'''
|
|
1488
1488
|
result = self._values.get("ip_address_family")
|
|
1489
1489
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1492,7 +1492,7 @@ class ServerNetworkInterface:
|
|
|
1492
1492
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1493
1493
|
'''The unique ID of a network to attach this network to.
|
|
1494
1494
|
|
|
1495
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1495
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#network Server#network}
|
|
1496
1496
|
'''
|
|
1497
1497
|
result = self._values.get("network")
|
|
1498
1498
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1503,7 +1503,7 @@ class ServerNetworkInterface:
|
|
|
1503
1503
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1504
1504
|
'''``true`` if source IP should be filtered.
|
|
1505
1505
|
|
|
1506
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1506
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1507
1507
|
'''
|
|
1508
1508
|
result = self._values.get("source_ip_filtering")
|
|
1509
1509
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1806,8 +1806,8 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1806
1806
|
class ServerSimpleBackup:
|
|
1807
1807
|
def __init__(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
1808
1808
|
'''
|
|
1809
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1810
|
-
: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.
|
|
1809
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#plan Server#plan}
|
|
1810
|
+
: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.3.0/docs/resources/server#time Server#time}
|
|
1811
1811
|
'''
|
|
1812
1812
|
if __debug__:
|
|
1813
1813
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -1822,7 +1822,7 @@ class ServerSimpleBackup:
|
|
|
1822
1822
|
def plan(self) -> builtins.str:
|
|
1823
1823
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
1824
1824
|
|
|
1825
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1825
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#plan Server#plan}
|
|
1826
1826
|
'''
|
|
1827
1827
|
result = self._values.get("plan")
|
|
1828
1828
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1832,7 +1832,7 @@ class ServerSimpleBackup:
|
|
|
1832
1832
|
def time(self) -> builtins.str:
|
|
1833
1833
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
1834
1834
|
|
|
1835
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1835
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#time Server#time}
|
|
1836
1836
|
'''
|
|
1837
1837
|
result = self._values.get("time")
|
|
1838
1838
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -1937,10 +1937,10 @@ class ServerStorageDevices:
|
|
|
1937
1937
|
type: typing.Optional[builtins.str] = None,
|
|
1938
1938
|
) -> None:
|
|
1939
1939
|
'''
|
|
1940
|
-
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1941
|
-
: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/3.
|
|
1942
|
-
: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/3.
|
|
1943
|
-
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1940
|
+
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#storage Server#storage}
|
|
1941
|
+
: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/3.3.0/docs/resources/server#address Server#address}
|
|
1942
|
+
: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/3.3.0/docs/resources/server#address_position Server#address_position}
|
|
1943
|
+
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#type Server#type}
|
|
1944
1944
|
'''
|
|
1945
1945
|
if __debug__:
|
|
1946
1946
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -1962,7 +1962,7 @@ class ServerStorageDevices:
|
|
|
1962
1962
|
def storage(self) -> builtins.str:
|
|
1963
1963
|
'''A valid storage UUID.
|
|
1964
1964
|
|
|
1965
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1965
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#storage Server#storage}
|
|
1966
1966
|
'''
|
|
1967
1967
|
result = self._values.get("storage")
|
|
1968
1968
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -1974,7 +1974,7 @@ class ServerStorageDevices:
|
|
|
1974
1974
|
|
|
1975
1975
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
1976
1976
|
|
|
1977
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1977
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#address Server#address}
|
|
1978
1978
|
'''
|
|
1979
1979
|
result = self._values.get("address")
|
|
1980
1980
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1985,7 +1985,7 @@ class ServerStorageDevices:
|
|
|
1985
1985
|
|
|
1986
1986
|
For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus.
|
|
1987
1987
|
|
|
1988
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1988
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#address_position Server#address_position}
|
|
1989
1989
|
'''
|
|
1990
1990
|
result = self._values.get("address_position")
|
|
1991
1991
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1994,7 +1994,7 @@ class ServerStorageDevices:
|
|
|
1994
1994
|
def type(self) -> typing.Optional[builtins.str]:
|
|
1995
1995
|
'''The device type the storage will be attached as.
|
|
1996
1996
|
|
|
1997
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
1997
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#type Server#type}
|
|
1998
1998
|
'''
|
|
1999
1999
|
result = self._values.get("type")
|
|
2000
2000
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2253,14 +2253,14 @@ class ServerTemplate:
|
|
|
2253
2253
|
title: typing.Optional[builtins.str] = None,
|
|
2254
2254
|
) -> None:
|
|
2255
2255
|
'''
|
|
2256
|
-
: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.
|
|
2257
|
-
: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/3.
|
|
2258
|
-
: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/3.
|
|
2259
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2260
|
-
: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.
|
|
2261
|
-
: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.
|
|
2262
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2263
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2256
|
+
: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.3.0/docs/resources/server#storage Server#storage}
|
|
2257
|
+
: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/3.3.0/docs/resources/server#address Server#address}
|
|
2258
|
+
: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/3.3.0/docs/resources/server#address_position Server#address_position}
|
|
2259
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
2260
|
+
: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.3.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2261
|
+
: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.3.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2262
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#size Server#size}
|
|
2263
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#title Server#title}
|
|
2264
2264
|
'''
|
|
2265
2265
|
if isinstance(backup_rule, dict):
|
|
2266
2266
|
backup_rule = ServerTemplateBackupRule(**backup_rule)
|
|
@@ -2298,7 +2298,7 @@ class ServerTemplate:
|
|
|
2298
2298
|
|
|
2299
2299
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2300
2300
|
|
|
2301
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2301
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#storage Server#storage}
|
|
2302
2302
|
'''
|
|
2303
2303
|
result = self._values.get("storage")
|
|
2304
2304
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2310,7 +2310,7 @@ class ServerTemplate:
|
|
|
2310
2310
|
|
|
2311
2311
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2312
2312
|
|
|
2313
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2313
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#address Server#address}
|
|
2314
2314
|
'''
|
|
2315
2315
|
result = self._values.get("address")
|
|
2316
2316
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2321,7 +2321,7 @@ class ServerTemplate:
|
|
|
2321
2321
|
|
|
2322
2322
|
For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus.
|
|
2323
2323
|
|
|
2324
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2324
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#address_position Server#address_position}
|
|
2325
2325
|
'''
|
|
2326
2326
|
result = self._values.get("address_position")
|
|
2327
2327
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2330,7 +2330,7 @@ class ServerTemplate:
|
|
|
2330
2330
|
def backup_rule(self) -> typing.Optional["ServerTemplateBackupRule"]:
|
|
2331
2331
|
'''backup_rule block.
|
|
2332
2332
|
|
|
2333
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2333
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
2334
2334
|
'''
|
|
2335
2335
|
result = self._values.get("backup_rule")
|
|
2336
2336
|
return typing.cast(typing.Optional["ServerTemplateBackupRule"], result)
|
|
@@ -2341,7 +2341,7 @@ class ServerTemplate:
|
|
|
2341
2341
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2342
2342
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2343
2343
|
|
|
2344
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2344
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2345
2345
|
'''
|
|
2346
2346
|
result = self._values.get("delete_autoresize_backup")
|
|
2347
2347
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2356,7 +2356,7 @@ class ServerTemplate:
|
|
|
2356
2356
|
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).
|
|
2357
2357
|
Taking and keeping backups incure costs.
|
|
2358
2358
|
|
|
2359
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2359
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2360
2360
|
'''
|
|
2361
2361
|
result = self._values.get("filesystem_autoresize")
|
|
2362
2362
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2365,7 +2365,7 @@ class ServerTemplate:
|
|
|
2365
2365
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2366
2366
|
'''The size of the storage in gigabytes.
|
|
2367
2367
|
|
|
2368
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2368
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#size Server#size}
|
|
2369
2369
|
'''
|
|
2370
2370
|
result = self._values.get("size")
|
|
2371
2371
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2374,7 +2374,7 @@ class ServerTemplate:
|
|
|
2374
2374
|
def title(self) -> typing.Optional[builtins.str]:
|
|
2375
2375
|
'''A short, informative description.
|
|
2376
2376
|
|
|
2377
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2377
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#title Server#title}
|
|
2378
2378
|
'''
|
|
2379
2379
|
result = self._values.get("title")
|
|
2380
2380
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2405,9 +2405,9 @@ class ServerTemplateBackupRule:
|
|
|
2405
2405
|
time: builtins.str,
|
|
2406
2406
|
) -> None:
|
|
2407
2407
|
'''
|
|
2408
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2409
|
-
: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.
|
|
2410
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2408
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#interval Server#interval}
|
|
2409
|
+
: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.3.0/docs/resources/server#retention Server#retention}
|
|
2410
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#time Server#time}
|
|
2411
2411
|
'''
|
|
2412
2412
|
if __debug__:
|
|
2413
2413
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -2424,7 +2424,7 @@ class ServerTemplateBackupRule:
|
|
|
2424
2424
|
def interval(self) -> builtins.str:
|
|
2425
2425
|
'''The weekday when the backup is created.
|
|
2426
2426
|
|
|
2427
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2427
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#interval Server#interval}
|
|
2428
2428
|
'''
|
|
2429
2429
|
result = self._values.get("interval")
|
|
2430
2430
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -2434,7 +2434,7 @@ class ServerTemplateBackupRule:
|
|
|
2434
2434
|
def retention(self) -> jsii.Number:
|
|
2435
2435
|
'''The number of days before a backup is automatically deleted.
|
|
2436
2436
|
|
|
2437
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2437
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#retention Server#retention}
|
|
2438
2438
|
'''
|
|
2439
2439
|
result = self._values.get("retention")
|
|
2440
2440
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -2444,7 +2444,7 @@ class ServerTemplateBackupRule:
|
|
|
2444
2444
|
def time(self) -> builtins.str:
|
|
2445
2445
|
'''The time of day when the backup is created.
|
|
2446
2446
|
|
|
2447
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2447
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#time Server#time}
|
|
2448
2448
|
'''
|
|
2449
2449
|
result = self._values.get("time")
|
|
2450
2450
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2575,9 +2575,9 @@ class ServerTemplateOutputReference(
|
|
|
2575
2575
|
time: builtins.str,
|
|
2576
2576
|
) -> None:
|
|
2577
2577
|
'''
|
|
2578
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2579
|
-
: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.
|
|
2580
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
2578
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#interval Server#interval}
|
|
2579
|
+
: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.3.0/docs/resources/server#retention Server#retention}
|
|
2580
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server#time Server#time}
|
|
2581
2581
|
'''
|
|
2582
2582
|
value = ServerTemplateBackupRule(
|
|
2583
2583
|
interval=interval, retention=retention, time=time
|