cdktf-cdktf-provider-upcloud 6.0.2__py3-none-any.whl → 7.0.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 +4 -0
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@7.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +6 -6
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +6 -6
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +6 -6
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +662 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +12 -12
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +6 -6
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +27 -27
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +78 -20
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +44 -44
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +36 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +48 -48
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +27 -27
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +15 -15
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +35 -35
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +164 -164
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +15 -15
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +18 -18
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +27 -27
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +18 -18
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +175 -173
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +2017 -0
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +292 -290
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +100 -98
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +529 -39
- cdktf_cdktf_provider_upcloud/network/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +21 -21
- cdktf_cdktf_provider_upcloud/router/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/server/__init__.py +265 -124
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +57 -59
- cdktf_cdktf_provider_upcloud/storage/__init__.py +55 -55
- cdktf_cdktf_provider_upcloud/tag/__init__.py +15 -15
- {cdktf_cdktf_provider_upcloud-6.0.2.dist-info → cdktf_cdktf_provider_upcloud-7.0.0.dist-info}/METADATA +3 -3
- cdktf_cdktf_provider_upcloud-7.0.0.dist-info/RECORD +47 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@6.0.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-6.0.2.dist-info/RECORD +0 -45
- {cdktf_cdktf_provider_upcloud-6.0.2.dist-info → cdktf_cdktf_provider_upcloud-7.0.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-6.0.2.dist-info → cdktf_cdktf_provider_upcloud-7.0.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-6.0.2.dist-info → cdktf_cdktf_provider_upcloud-7.0.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/2.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.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/2.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server upcloud_server}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -44,13 +44,16 @@ class Server(
|
|
|
44
44
|
login: typing.Optional[typing.Union["ServerLogin", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
45
45
|
mem: typing.Optional[jsii.Number] = None,
|
|
46
46
|
metadata: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
47
|
+
nic_model: typing.Optional[builtins.str] = None,
|
|
47
48
|
plan: typing.Optional[builtins.str] = None,
|
|
48
49
|
simple_backup: typing.Optional[typing.Union["ServerSimpleBackup", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
49
50
|
storage_devices: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ServerStorageDevices", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
50
51
|
tags: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
51
52
|
template: typing.Optional[typing.Union["ServerTemplate", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
53
|
+
timezone: typing.Optional[builtins.str] = None,
|
|
52
54
|
title: typing.Optional[builtins.str] = None,
|
|
53
55
|
user_data: typing.Optional[builtins.str] = None,
|
|
56
|
+
video_model: typing.Optional[builtins.str] = None,
|
|
54
57
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55
58
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
56
59
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -59,28 +62,31 @@ class Server(
|
|
|
59
62
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
60
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,
|
|
61
64
|
) -> None:
|
|
62
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
65
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server upcloud_server} Resource.
|
|
63
66
|
|
|
64
67
|
:param scope: The scope in which to define this construct.
|
|
65
68
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
66
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
67
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
68
|
-
:param zone: The zone in which the server will be hosted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
69
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
70
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
71
|
-
: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/2.
|
|
72
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
73
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
74
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
75
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
76
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
77
|
-
:param
|
|
78
|
-
:param
|
|
79
|
-
:param
|
|
80
|
-
:param
|
|
81
|
-
:param
|
|
82
|
-
:param
|
|
83
|
-
:param
|
|
69
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/docs/resources/server#host Server#host}
|
|
75
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.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.
|
|
76
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#labels Server#labels}
|
|
77
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/docs/resources/server#tags Server#tags}
|
|
85
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/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/2.11.0/docs/resources/server#video_model Server#video_model}
|
|
84
90
|
:param connection:
|
|
85
91
|
:param count:
|
|
86
92
|
:param depends_on:
|
|
@@ -105,13 +111,16 @@ class Server(
|
|
|
105
111
|
login=login,
|
|
106
112
|
mem=mem,
|
|
107
113
|
metadata=metadata,
|
|
114
|
+
nic_model=nic_model,
|
|
108
115
|
plan=plan,
|
|
109
116
|
simple_backup=simple_backup,
|
|
110
117
|
storage_devices=storage_devices,
|
|
111
118
|
tags=tags,
|
|
112
119
|
template=template,
|
|
120
|
+
timezone=timezone,
|
|
113
121
|
title=title,
|
|
114
122
|
user_data=user_data,
|
|
123
|
+
video_model=video_model,
|
|
115
124
|
connection=connection,
|
|
116
125
|
count=count,
|
|
117
126
|
depends_on=depends_on,
|
|
@@ -133,10 +142,10 @@ class Server(
|
|
|
133
142
|
user: typing.Optional[builtins.str] = None,
|
|
134
143
|
) -> None:
|
|
135
144
|
'''
|
|
136
|
-
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
137
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
138
|
-
: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/2.
|
|
139
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
145
|
+
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#create_password Server#create_password}
|
|
146
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#keys Server#keys}
|
|
147
|
+
: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/2.11.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
148
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#user Server#user}
|
|
140
149
|
'''
|
|
141
150
|
value = ServerLogin(
|
|
142
151
|
create_password=create_password,
|
|
@@ -163,8 +172,8 @@ class Server(
|
|
|
163
172
|
@jsii.member(jsii_name="putSimpleBackup")
|
|
164
173
|
def put_simple_backup(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
165
174
|
'''
|
|
166
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
167
|
-
: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/2.
|
|
175
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#plan Server#plan}
|
|
176
|
+
: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/2.11.0/docs/resources/server#time Server#time}
|
|
168
177
|
'''
|
|
169
178
|
value = ServerSimpleBackup(plan=plan, time=time)
|
|
170
179
|
|
|
@@ -196,13 +205,13 @@ class Server(
|
|
|
196
205
|
title: typing.Optional[builtins.str] = None,
|
|
197
206
|
) -> None:
|
|
198
207
|
'''
|
|
199
|
-
: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/2.
|
|
200
|
-
: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/2.
|
|
201
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
202
|
-
: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/2.
|
|
203
|
-
: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/2.
|
|
204
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
205
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
208
|
+
: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/2.11.0/docs/resources/server#storage Server#storage}
|
|
209
|
+
: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/2.11.0/docs/resources/server#address Server#address}
|
|
210
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
211
|
+
: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/2.11.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
212
|
+
: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/2.11.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
213
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#size Server#size}
|
|
214
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#title Server#title}
|
|
206
215
|
'''
|
|
207
216
|
value = ServerTemplate(
|
|
208
217
|
storage=storage,
|
|
@@ -248,6 +257,10 @@ class Server(
|
|
|
248
257
|
def reset_metadata(self) -> None:
|
|
249
258
|
return typing.cast(None, jsii.invoke(self, "resetMetadata", []))
|
|
250
259
|
|
|
260
|
+
@jsii.member(jsii_name="resetNicModel")
|
|
261
|
+
def reset_nic_model(self) -> None:
|
|
262
|
+
return typing.cast(None, jsii.invoke(self, "resetNicModel", []))
|
|
263
|
+
|
|
251
264
|
@jsii.member(jsii_name="resetPlan")
|
|
252
265
|
def reset_plan(self) -> None:
|
|
253
266
|
return typing.cast(None, jsii.invoke(self, "resetPlan", []))
|
|
@@ -268,6 +281,10 @@ class Server(
|
|
|
268
281
|
def reset_template(self) -> None:
|
|
269
282
|
return typing.cast(None, jsii.invoke(self, "resetTemplate", []))
|
|
270
283
|
|
|
284
|
+
@jsii.member(jsii_name="resetTimezone")
|
|
285
|
+
def reset_timezone(self) -> None:
|
|
286
|
+
return typing.cast(None, jsii.invoke(self, "resetTimezone", []))
|
|
287
|
+
|
|
271
288
|
@jsii.member(jsii_name="resetTitle")
|
|
272
289
|
def reset_title(self) -> None:
|
|
273
290
|
return typing.cast(None, jsii.invoke(self, "resetTitle", []))
|
|
@@ -276,6 +293,10 @@ class Server(
|
|
|
276
293
|
def reset_user_data(self) -> None:
|
|
277
294
|
return typing.cast(None, jsii.invoke(self, "resetUserData", []))
|
|
278
295
|
|
|
296
|
+
@jsii.member(jsii_name="resetVideoModel")
|
|
297
|
+
def reset_video_model(self) -> None:
|
|
298
|
+
return typing.cast(None, jsii.invoke(self, "resetVideoModel", []))
|
|
299
|
+
|
|
279
300
|
@jsii.member(jsii_name="synthesizeAttributes")
|
|
280
301
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
281
302
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
@@ -368,6 +389,11 @@ class Server(
|
|
|
368
389
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]]:
|
|
369
390
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]], jsii.get(self, "networkInterfaceInput"))
|
|
370
391
|
|
|
392
|
+
@builtins.property
|
|
393
|
+
@jsii.member(jsii_name="nicModelInput")
|
|
394
|
+
def nic_model_input(self) -> typing.Optional[builtins.str]:
|
|
395
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nicModelInput"))
|
|
396
|
+
|
|
371
397
|
@builtins.property
|
|
372
398
|
@jsii.member(jsii_name="planInput")
|
|
373
399
|
def plan_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -395,6 +421,11 @@ class Server(
|
|
|
395
421
|
def template_input(self) -> typing.Optional["ServerTemplate"]:
|
|
396
422
|
return typing.cast(typing.Optional["ServerTemplate"], jsii.get(self, "templateInput"))
|
|
397
423
|
|
|
424
|
+
@builtins.property
|
|
425
|
+
@jsii.member(jsii_name="timezoneInput")
|
|
426
|
+
def timezone_input(self) -> typing.Optional[builtins.str]:
|
|
427
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "timezoneInput"))
|
|
428
|
+
|
|
398
429
|
@builtins.property
|
|
399
430
|
@jsii.member(jsii_name="titleInput")
|
|
400
431
|
def title_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -405,6 +436,11 @@ class Server(
|
|
|
405
436
|
def user_data_input(self) -> typing.Optional[builtins.str]:
|
|
406
437
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "userDataInput"))
|
|
407
438
|
|
|
439
|
+
@builtins.property
|
|
440
|
+
@jsii.member(jsii_name="videoModelInput")
|
|
441
|
+
def video_model_input(self) -> typing.Optional[builtins.str]:
|
|
442
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "videoModelInput"))
|
|
443
|
+
|
|
408
444
|
@builtins.property
|
|
409
445
|
@jsii.member(jsii_name="zoneInput")
|
|
410
446
|
def zone_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -512,6 +548,18 @@ class Server(
|
|
|
512
548
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
513
549
|
jsii.set(self, "metadata", value)
|
|
514
550
|
|
|
551
|
+
@builtins.property
|
|
552
|
+
@jsii.member(jsii_name="nicModel")
|
|
553
|
+
def nic_model(self) -> builtins.str:
|
|
554
|
+
return typing.cast(builtins.str, jsii.get(self, "nicModel"))
|
|
555
|
+
|
|
556
|
+
@nic_model.setter
|
|
557
|
+
def nic_model(self, value: builtins.str) -> None:
|
|
558
|
+
if __debug__:
|
|
559
|
+
type_hints = typing.get_type_hints(_typecheckingstub__73873c9b847e096c8d36928cf5ffb48b31ddda7a6e2e85ff16060721788d964a)
|
|
560
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
561
|
+
jsii.set(self, "nicModel", value)
|
|
562
|
+
|
|
515
563
|
@builtins.property
|
|
516
564
|
@jsii.member(jsii_name="plan")
|
|
517
565
|
def plan(self) -> builtins.str:
|
|
@@ -536,6 +584,18 @@ class Server(
|
|
|
536
584
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
537
585
|
jsii.set(self, "tags", value)
|
|
538
586
|
|
|
587
|
+
@builtins.property
|
|
588
|
+
@jsii.member(jsii_name="timezone")
|
|
589
|
+
def timezone(self) -> builtins.str:
|
|
590
|
+
return typing.cast(builtins.str, jsii.get(self, "timezone"))
|
|
591
|
+
|
|
592
|
+
@timezone.setter
|
|
593
|
+
def timezone(self, value: builtins.str) -> None:
|
|
594
|
+
if __debug__:
|
|
595
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b526366a4bae8de79997344422703026d48dfdf7c13035edfebf4e00122087f)
|
|
596
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
597
|
+
jsii.set(self, "timezone", value)
|
|
598
|
+
|
|
539
599
|
@builtins.property
|
|
540
600
|
@jsii.member(jsii_name="title")
|
|
541
601
|
def title(self) -> builtins.str:
|
|
@@ -560,6 +620,18 @@ class Server(
|
|
|
560
620
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
561
621
|
jsii.set(self, "userData", value)
|
|
562
622
|
|
|
623
|
+
@builtins.property
|
|
624
|
+
@jsii.member(jsii_name="videoModel")
|
|
625
|
+
def video_model(self) -> builtins.str:
|
|
626
|
+
return typing.cast(builtins.str, jsii.get(self, "videoModel"))
|
|
627
|
+
|
|
628
|
+
@video_model.setter
|
|
629
|
+
def video_model(self, value: builtins.str) -> None:
|
|
630
|
+
if __debug__:
|
|
631
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9f359cdaa0371668935e486d8df757ecf8422ace07256bfdf4b1dc470679de35)
|
|
632
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
633
|
+
jsii.set(self, "videoModel", value)
|
|
634
|
+
|
|
563
635
|
@builtins.property
|
|
564
636
|
@jsii.member(jsii_name="zone")
|
|
565
637
|
def zone(self) -> builtins.str:
|
|
@@ -595,13 +667,16 @@ class Server(
|
|
|
595
667
|
"login": "login",
|
|
596
668
|
"mem": "mem",
|
|
597
669
|
"metadata": "metadata",
|
|
670
|
+
"nic_model": "nicModel",
|
|
598
671
|
"plan": "plan",
|
|
599
672
|
"simple_backup": "simpleBackup",
|
|
600
673
|
"storage_devices": "storageDevices",
|
|
601
674
|
"tags": "tags",
|
|
602
675
|
"template": "template",
|
|
676
|
+
"timezone": "timezone",
|
|
603
677
|
"title": "title",
|
|
604
678
|
"user_data": "userData",
|
|
679
|
+
"video_model": "videoModel",
|
|
605
680
|
},
|
|
606
681
|
)
|
|
607
682
|
class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
@@ -626,13 +701,16 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
626
701
|
login: typing.Optional[typing.Union["ServerLogin", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
627
702
|
mem: typing.Optional[jsii.Number] = None,
|
|
628
703
|
metadata: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
704
|
+
nic_model: typing.Optional[builtins.str] = None,
|
|
629
705
|
plan: typing.Optional[builtins.str] = None,
|
|
630
706
|
simple_backup: typing.Optional[typing.Union["ServerSimpleBackup", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
631
707
|
storage_devices: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ServerStorageDevices", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
632
708
|
tags: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
633
709
|
template: typing.Optional[typing.Union["ServerTemplate", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
710
|
+
timezone: typing.Optional[builtins.str] = None,
|
|
634
711
|
title: typing.Optional[builtins.str] = None,
|
|
635
712
|
user_data: typing.Optional[builtins.str] = None,
|
|
713
|
+
video_model: typing.Optional[builtins.str] = None,
|
|
636
714
|
) -> None:
|
|
637
715
|
'''
|
|
638
716
|
:param connection:
|
|
@@ -642,24 +720,27 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
642
720
|
:param lifecycle:
|
|
643
721
|
:param provider:
|
|
644
722
|
:param provisioners:
|
|
645
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
646
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
647
|
-
:param zone: The zone in which the server will be hosted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
648
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
649
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
650
|
-
: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/2.
|
|
651
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
652
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
653
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
654
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
655
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
656
|
-
:param
|
|
657
|
-
:param
|
|
658
|
-
:param
|
|
659
|
-
:param
|
|
660
|
-
:param
|
|
661
|
-
:param
|
|
662
|
-
:param
|
|
723
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#hostname Server#hostname}
|
|
724
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#network_interface Server#network_interface}
|
|
725
|
+
: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/2.11.0/docs/resources/server#zone Server#zone}
|
|
726
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#cpu Server#cpu}
|
|
727
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#firewall Server#firewall}
|
|
728
|
+
: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/2.11.0/docs/resources/server#host Server#host}
|
|
729
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.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.
|
|
730
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#labels Server#labels}
|
|
731
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#login Server#login}
|
|
732
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#mem Server#mem}
|
|
733
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#metadata Server#metadata}
|
|
734
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#nic_model Server#nic_model}
|
|
735
|
+
: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/2.11.0/docs/resources/server#plan Server#plan}
|
|
736
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#simple_backup Server#simple_backup}
|
|
737
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#storage_devices Server#storage_devices}
|
|
738
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#tags Server#tags}
|
|
739
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#template Server#template}
|
|
740
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#timezone Server#timezone}
|
|
741
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#title Server#title}
|
|
742
|
+
: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/2.11.0/docs/resources/server#user_data Server#user_data}
|
|
743
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#video_model Server#video_model}
|
|
663
744
|
'''
|
|
664
745
|
if isinstance(lifecycle, dict):
|
|
665
746
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -689,13 +770,16 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
689
770
|
check_type(argname="argument login", value=login, expected_type=type_hints["login"])
|
|
690
771
|
check_type(argname="argument mem", value=mem, expected_type=type_hints["mem"])
|
|
691
772
|
check_type(argname="argument metadata", value=metadata, expected_type=type_hints["metadata"])
|
|
773
|
+
check_type(argname="argument nic_model", value=nic_model, expected_type=type_hints["nic_model"])
|
|
692
774
|
check_type(argname="argument plan", value=plan, expected_type=type_hints["plan"])
|
|
693
775
|
check_type(argname="argument simple_backup", value=simple_backup, expected_type=type_hints["simple_backup"])
|
|
694
776
|
check_type(argname="argument storage_devices", value=storage_devices, expected_type=type_hints["storage_devices"])
|
|
695
777
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
696
778
|
check_type(argname="argument template", value=template, expected_type=type_hints["template"])
|
|
779
|
+
check_type(argname="argument timezone", value=timezone, expected_type=type_hints["timezone"])
|
|
697
780
|
check_type(argname="argument title", value=title, expected_type=type_hints["title"])
|
|
698
781
|
check_type(argname="argument user_data", value=user_data, expected_type=type_hints["user_data"])
|
|
782
|
+
check_type(argname="argument video_model", value=video_model, expected_type=type_hints["video_model"])
|
|
699
783
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
700
784
|
"hostname": hostname,
|
|
701
785
|
"network_interface": network_interface,
|
|
@@ -731,6 +815,8 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
731
815
|
self._values["mem"] = mem
|
|
732
816
|
if metadata is not None:
|
|
733
817
|
self._values["metadata"] = metadata
|
|
818
|
+
if nic_model is not None:
|
|
819
|
+
self._values["nic_model"] = nic_model
|
|
734
820
|
if plan is not None:
|
|
735
821
|
self._values["plan"] = plan
|
|
736
822
|
if simple_backup is not None:
|
|
@@ -741,10 +827,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
741
827
|
self._values["tags"] = tags
|
|
742
828
|
if template is not None:
|
|
743
829
|
self._values["template"] = template
|
|
830
|
+
if timezone is not None:
|
|
831
|
+
self._values["timezone"] = timezone
|
|
744
832
|
if title is not None:
|
|
745
833
|
self._values["title"] = title
|
|
746
834
|
if user_data is not None:
|
|
747
835
|
self._values["user_data"] = user_data
|
|
836
|
+
if video_model is not None:
|
|
837
|
+
self._values["video_model"] = video_model
|
|
748
838
|
|
|
749
839
|
@builtins.property
|
|
750
840
|
def connection(
|
|
@@ -814,7 +904,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
814
904
|
def hostname(self) -> builtins.str:
|
|
815
905
|
'''A valid domain name.
|
|
816
906
|
|
|
817
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
907
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#hostname Server#hostname}
|
|
818
908
|
'''
|
|
819
909
|
result = self._values.get("hostname")
|
|
820
910
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -826,7 +916,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
826
916
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]:
|
|
827
917
|
'''network_interface block.
|
|
828
918
|
|
|
829
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
919
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#network_interface Server#network_interface}
|
|
830
920
|
'''
|
|
831
921
|
result = self._values.get("network_interface")
|
|
832
922
|
assert result is not None, "Required property 'network_interface' is missing"
|
|
@@ -834,9 +924,9 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
834
924
|
|
|
835
925
|
@builtins.property
|
|
836
926
|
def zone(self) -> builtins.str:
|
|
837
|
-
'''The zone in which the server will be hosted.
|
|
927
|
+
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
838
928
|
|
|
839
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
929
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#zone Server#zone}
|
|
840
930
|
'''
|
|
841
931
|
result = self._values.get("zone")
|
|
842
932
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -846,7 +936,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
846
936
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
847
937
|
'''The number of CPU for the server.
|
|
848
938
|
|
|
849
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
939
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#cpu Server#cpu}
|
|
850
940
|
'''
|
|
851
941
|
result = self._values.get("cpu")
|
|
852
942
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -857,7 +947,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
857
947
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
858
948
|
'''Are firewall rules active for the server.
|
|
859
949
|
|
|
860
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
950
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#firewall Server#firewall}
|
|
861
951
|
'''
|
|
862
952
|
result = self._values.get("firewall")
|
|
863
953
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -868,14 +958,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
868
958
|
|
|
869
959
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
870
960
|
|
|
871
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
961
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#host Server#host}
|
|
872
962
|
'''
|
|
873
963
|
result = self._values.get("host")
|
|
874
964
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
875
965
|
|
|
876
966
|
@builtins.property
|
|
877
967
|
def id(self) -> typing.Optional[builtins.str]:
|
|
878
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
968
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#id Server#id}.
|
|
879
969
|
|
|
880
970
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
881
971
|
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.
|
|
@@ -887,7 +977,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
887
977
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
888
978
|
'''Key-value pairs to classify the server.
|
|
889
979
|
|
|
890
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
980
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#labels Server#labels}
|
|
891
981
|
'''
|
|
892
982
|
result = self._values.get("labels")
|
|
893
983
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -896,7 +986,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
896
986
|
def login(self) -> typing.Optional["ServerLogin"]:
|
|
897
987
|
'''login block.
|
|
898
988
|
|
|
899
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
989
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#login Server#login}
|
|
900
990
|
'''
|
|
901
991
|
result = self._values.get("login")
|
|
902
992
|
return typing.cast(typing.Optional["ServerLogin"], result)
|
|
@@ -905,7 +995,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
905
995
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
906
996
|
'''The size of memory for the server (in megabytes).
|
|
907
997
|
|
|
908
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
998
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#mem Server#mem}
|
|
909
999
|
'''
|
|
910
1000
|
result = self._values.get("mem")
|
|
911
1001
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -916,16 +1006,25 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
916
1006
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
917
1007
|
'''Is the metadata service active for the server.
|
|
918
1008
|
|
|
919
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1009
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#metadata Server#metadata}
|
|
920
1010
|
'''
|
|
921
1011
|
result = self._values.get("metadata")
|
|
922
1012
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
923
1013
|
|
|
1014
|
+
@builtins.property
|
|
1015
|
+
def nic_model(self) -> typing.Optional[builtins.str]:
|
|
1016
|
+
'''The model of the server's network interfaces.
|
|
1017
|
+
|
|
1018
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#nic_model Server#nic_model}
|
|
1019
|
+
'''
|
|
1020
|
+
result = self._values.get("nic_model")
|
|
1021
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1022
|
+
|
|
924
1023
|
@builtins.property
|
|
925
1024
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
926
1025
|
'''The pricing plan used for the server. You can list available server plans with ``upctl server plans``.
|
|
927
1026
|
|
|
928
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1027
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#plan Server#plan}
|
|
929
1028
|
'''
|
|
930
1029
|
result = self._values.get("plan")
|
|
931
1030
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -934,7 +1033,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
934
1033
|
def simple_backup(self) -> typing.Optional["ServerSimpleBackup"]:
|
|
935
1034
|
'''simple_backup block.
|
|
936
1035
|
|
|
937
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1036
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#simple_backup Server#simple_backup}
|
|
938
1037
|
'''
|
|
939
1038
|
result = self._values.get("simple_backup")
|
|
940
1039
|
return typing.cast(typing.Optional["ServerSimpleBackup"], result)
|
|
@@ -945,7 +1044,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
945
1044
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
946
1045
|
'''storage_devices block.
|
|
947
1046
|
|
|
948
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1047
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#storage_devices Server#storage_devices}
|
|
949
1048
|
'''
|
|
950
1049
|
result = self._values.get("storage_devices")
|
|
951
1050
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -954,7 +1053,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
954
1053
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
955
1054
|
'''The server related tags.
|
|
956
1055
|
|
|
957
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1056
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#tags Server#tags}
|
|
958
1057
|
'''
|
|
959
1058
|
result = self._values.get("tags")
|
|
960
1059
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -963,16 +1062,25 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
963
1062
|
def template(self) -> typing.Optional["ServerTemplate"]:
|
|
964
1063
|
'''template block.
|
|
965
1064
|
|
|
966
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1065
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#template Server#template}
|
|
967
1066
|
'''
|
|
968
1067
|
result = self._values.get("template")
|
|
969
1068
|
return typing.cast(typing.Optional["ServerTemplate"], result)
|
|
970
1069
|
|
|
1070
|
+
@builtins.property
|
|
1071
|
+
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1072
|
+
'''A timezone identifier, e.g. ``Europe/Helsinki``.
|
|
1073
|
+
|
|
1074
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#timezone Server#timezone}
|
|
1075
|
+
'''
|
|
1076
|
+
result = self._values.get("timezone")
|
|
1077
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1078
|
+
|
|
971
1079
|
@builtins.property
|
|
972
1080
|
def title(self) -> typing.Optional[builtins.str]:
|
|
973
1081
|
'''A short, informational description.
|
|
974
1082
|
|
|
975
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1083
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#title Server#title}
|
|
976
1084
|
'''
|
|
977
1085
|
result = self._values.get("title")
|
|
978
1086
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -981,11 +1089,20 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
981
1089
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
982
1090
|
'''Defines URL for a server setup script, or the script body itself.
|
|
983
1091
|
|
|
984
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1092
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#user_data Server#user_data}
|
|
985
1093
|
'''
|
|
986
1094
|
result = self._values.get("user_data")
|
|
987
1095
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
988
1096
|
|
|
1097
|
+
@builtins.property
|
|
1098
|
+
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1099
|
+
'''The model of the server's video interface.
|
|
1100
|
+
|
|
1101
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#video_model Server#video_model}
|
|
1102
|
+
'''
|
|
1103
|
+
result = self._values.get("video_model")
|
|
1104
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1105
|
+
|
|
989
1106
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
990
1107
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
991
1108
|
|
|
@@ -1018,10 +1135,10 @@ class ServerLogin:
|
|
|
1018
1135
|
user: typing.Optional[builtins.str] = None,
|
|
1019
1136
|
) -> None:
|
|
1020
1137
|
'''
|
|
1021
|
-
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1022
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1023
|
-
: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/2.
|
|
1024
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1138
|
+
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#create_password Server#create_password}
|
|
1139
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#keys Server#keys}
|
|
1140
|
+
: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/2.11.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
1141
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#user Server#user}
|
|
1025
1142
|
'''
|
|
1026
1143
|
if __debug__:
|
|
1027
1144
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1045,7 +1162,7 @@ class ServerLogin:
|
|
|
1045
1162
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1046
1163
|
'''Indicates a password should be create to allow access.
|
|
1047
1164
|
|
|
1048
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1165
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#create_password Server#create_password}
|
|
1049
1166
|
'''
|
|
1050
1167
|
result = self._values.get("create_password")
|
|
1051
1168
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1054,7 +1171,7 @@ class ServerLogin:
|
|
|
1054
1171
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1055
1172
|
'''A list of ssh keys to access the server.
|
|
1056
1173
|
|
|
1057
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1174
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#keys Server#keys}
|
|
1058
1175
|
'''
|
|
1059
1176
|
result = self._values.get("keys")
|
|
1060
1177
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1063,7 +1180,7 @@ class ServerLogin:
|
|
|
1063
1180
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1064
1181
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1065
1182
|
|
|
1066
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1183
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
1067
1184
|
'''
|
|
1068
1185
|
result = self._values.get("password_delivery")
|
|
1069
1186
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1072,7 +1189,7 @@ class ServerLogin:
|
|
|
1072
1189
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1073
1190
|
'''Username to be create to access the server.
|
|
1074
1191
|
|
|
1075
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1192
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#user Server#user}
|
|
1076
1193
|
'''
|
|
1077
1194
|
result = self._values.get("user")
|
|
1078
1195
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1237,12 +1354,12 @@ class ServerNetworkInterface:
|
|
|
1237
1354
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1238
1355
|
) -> None:
|
|
1239
1356
|
'''
|
|
1240
|
-
: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/2.
|
|
1241
|
-
:param bootable: ``true`` if this interface should be used for network booting. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1242
|
-
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1243
|
-
: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/2.
|
|
1244
|
-
: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/2.
|
|
1245
|
-
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1357
|
+
: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/2.11.0/docs/resources/server#type Server#type}
|
|
1358
|
+
:param bootable: ``true`` if this interface should be used for network booting. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#bootable Server#bootable}
|
|
1359
|
+
:param ip_address: The assigned IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#ip_address Server#ip_address}
|
|
1360
|
+
: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/2.11.0/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1361
|
+
: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/2.11.0/docs/resources/server#network Server#network}
|
|
1362
|
+
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1246
1363
|
'''
|
|
1247
1364
|
if __debug__:
|
|
1248
1365
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
@@ -1270,7 +1387,7 @@ class ServerNetworkInterface:
|
|
|
1270
1387
|
def type(self) -> builtins.str:
|
|
1271
1388
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1272
1389
|
|
|
1273
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1390
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#type Server#type}
|
|
1274
1391
|
'''
|
|
1275
1392
|
result = self._values.get("type")
|
|
1276
1393
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1282,7 +1399,7 @@ class ServerNetworkInterface:
|
|
|
1282
1399
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1283
1400
|
'''``true`` if this interface should be used for network booting.
|
|
1284
1401
|
|
|
1285
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1402
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#bootable Server#bootable}
|
|
1286
1403
|
'''
|
|
1287
1404
|
result = self._values.get("bootable")
|
|
1288
1405
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1291,7 +1408,7 @@ class ServerNetworkInterface:
|
|
|
1291
1408
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1292
1409
|
'''The assigned IP address.
|
|
1293
1410
|
|
|
1294
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1411
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#ip_address Server#ip_address}
|
|
1295
1412
|
'''
|
|
1296
1413
|
result = self._values.get("ip_address")
|
|
1297
1414
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1300,7 +1417,7 @@ class ServerNetworkInterface:
|
|
|
1300
1417
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1301
1418
|
'''The IP address type of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1302
1419
|
|
|
1303
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1420
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1304
1421
|
'''
|
|
1305
1422
|
result = self._values.get("ip_address_family")
|
|
1306
1423
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1309,7 +1426,7 @@ class ServerNetworkInterface:
|
|
|
1309
1426
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1310
1427
|
'''The unique ID of a network to attach this network to.
|
|
1311
1428
|
|
|
1312
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1429
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#network Server#network}
|
|
1313
1430
|
'''
|
|
1314
1431
|
result = self._values.get("network")
|
|
1315
1432
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1320,7 +1437,7 @@ class ServerNetworkInterface:
|
|
|
1320
1437
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1321
1438
|
'''``true`` if source IP should be filtered.
|
|
1322
1439
|
|
|
1323
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1440
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1324
1441
|
'''
|
|
1325
1442
|
result = self._values.get("source_ip_filtering")
|
|
1326
1443
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1623,8 +1740,8 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1623
1740
|
class ServerSimpleBackup:
|
|
1624
1741
|
def __init__(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
1625
1742
|
'''
|
|
1626
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1627
|
-
: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/2.
|
|
1743
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#plan Server#plan}
|
|
1744
|
+
: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/2.11.0/docs/resources/server#time Server#time}
|
|
1628
1745
|
'''
|
|
1629
1746
|
if __debug__:
|
|
1630
1747
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -1639,7 +1756,7 @@ class ServerSimpleBackup:
|
|
|
1639
1756
|
def plan(self) -> builtins.str:
|
|
1640
1757
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
1641
1758
|
|
|
1642
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1759
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#plan Server#plan}
|
|
1643
1760
|
'''
|
|
1644
1761
|
result = self._values.get("plan")
|
|
1645
1762
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1649,7 +1766,7 @@ class ServerSimpleBackup:
|
|
|
1649
1766
|
def time(self) -> builtins.str:
|
|
1650
1767
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
1651
1768
|
|
|
1652
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1769
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#time Server#time}
|
|
1653
1770
|
'''
|
|
1654
1771
|
result = self._values.get("time")
|
|
1655
1772
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -1748,9 +1865,9 @@ class ServerStorageDevices:
|
|
|
1748
1865
|
type: typing.Optional[builtins.str] = None,
|
|
1749
1866
|
) -> None:
|
|
1750
1867
|
'''
|
|
1751
|
-
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1752
|
-
: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/2.
|
|
1753
|
-
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1868
|
+
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#storage Server#storage}
|
|
1869
|
+
: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/2.11.0/docs/resources/server#address Server#address}
|
|
1870
|
+
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#type Server#type}
|
|
1754
1871
|
'''
|
|
1755
1872
|
if __debug__:
|
|
1756
1873
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -1769,7 +1886,7 @@ class ServerStorageDevices:
|
|
|
1769
1886
|
def storage(self) -> builtins.str:
|
|
1770
1887
|
'''A valid storage UUID.
|
|
1771
1888
|
|
|
1772
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1889
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#storage Server#storage}
|
|
1773
1890
|
'''
|
|
1774
1891
|
result = self._values.get("storage")
|
|
1775
1892
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -1781,7 +1898,7 @@ class ServerStorageDevices:
|
|
|
1781
1898
|
|
|
1782
1899
|
Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus.
|
|
1783
1900
|
|
|
1784
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1901
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#address Server#address}
|
|
1785
1902
|
'''
|
|
1786
1903
|
result = self._values.get("address")
|
|
1787
1904
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1790,7 +1907,7 @@ class ServerStorageDevices:
|
|
|
1790
1907
|
def type(self) -> typing.Optional[builtins.str]:
|
|
1791
1908
|
'''The device type the storage will be attached as.
|
|
1792
1909
|
|
|
1793
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
1910
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#type Server#type}
|
|
1794
1911
|
'''
|
|
1795
1912
|
result = self._values.get("type")
|
|
1796
1913
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2026,13 +2143,13 @@ class ServerTemplate:
|
|
|
2026
2143
|
title: typing.Optional[builtins.str] = None,
|
|
2027
2144
|
) -> None:
|
|
2028
2145
|
'''
|
|
2029
|
-
: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/2.
|
|
2030
|
-
: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/2.
|
|
2031
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2032
|
-
: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/2.
|
|
2033
|
-
: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/2.
|
|
2034
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2035
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2146
|
+
: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/2.11.0/docs/resources/server#storage Server#storage}
|
|
2147
|
+
: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/2.11.0/docs/resources/server#address Server#address}
|
|
2148
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
2149
|
+
: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/2.11.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2150
|
+
: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/2.11.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2151
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#size Server#size}
|
|
2152
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#title Server#title}
|
|
2036
2153
|
'''
|
|
2037
2154
|
if isinstance(backup_rule, dict):
|
|
2038
2155
|
backup_rule = ServerTemplateBackupRule(**backup_rule)
|
|
@@ -2067,7 +2184,7 @@ class ServerTemplate:
|
|
|
2067
2184
|
|
|
2068
2185
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2069
2186
|
|
|
2070
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2187
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#storage Server#storage}
|
|
2071
2188
|
'''
|
|
2072
2189
|
result = self._values.get("storage")
|
|
2073
2190
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2079,7 +2196,7 @@ class ServerTemplate:
|
|
|
2079
2196
|
|
|
2080
2197
|
Specify only the bus name (ide/scsi/virtio) to auto-select next available address from that bus.
|
|
2081
2198
|
|
|
2082
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2199
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#address Server#address}
|
|
2083
2200
|
'''
|
|
2084
2201
|
result = self._values.get("address")
|
|
2085
2202
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2088,7 +2205,7 @@ class ServerTemplate:
|
|
|
2088
2205
|
def backup_rule(self) -> typing.Optional["ServerTemplateBackupRule"]:
|
|
2089
2206
|
'''backup_rule block.
|
|
2090
2207
|
|
|
2091
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2208
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
2092
2209
|
'''
|
|
2093
2210
|
result = self._values.get("backup_rule")
|
|
2094
2211
|
return typing.cast(typing.Optional["ServerTemplateBackupRule"], result)
|
|
@@ -2099,7 +2216,7 @@ class ServerTemplate:
|
|
|
2099
2216
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2100
2217
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2101
2218
|
|
|
2102
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2219
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2103
2220
|
'''
|
|
2104
2221
|
result = self._values.get("delete_autoresize_backup")
|
|
2105
2222
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2114,7 +2231,7 @@ class ServerTemplate:
|
|
|
2114
2231
|
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).
|
|
2115
2232
|
Taking and keeping backups incure costs.
|
|
2116
2233
|
|
|
2117
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2234
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2118
2235
|
'''
|
|
2119
2236
|
result = self._values.get("filesystem_autoresize")
|
|
2120
2237
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2123,7 +2240,7 @@ class ServerTemplate:
|
|
|
2123
2240
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2124
2241
|
'''The size of the storage in gigabytes.
|
|
2125
2242
|
|
|
2126
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2243
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#size Server#size}
|
|
2127
2244
|
'''
|
|
2128
2245
|
result = self._values.get("size")
|
|
2129
2246
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2132,7 +2249,7 @@ class ServerTemplate:
|
|
|
2132
2249
|
def title(self) -> typing.Optional[builtins.str]:
|
|
2133
2250
|
'''A short, informative description.
|
|
2134
2251
|
|
|
2135
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2252
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#title Server#title}
|
|
2136
2253
|
'''
|
|
2137
2254
|
result = self._values.get("title")
|
|
2138
2255
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2163,9 +2280,9 @@ class ServerTemplateBackupRule:
|
|
|
2163
2280
|
time: builtins.str,
|
|
2164
2281
|
) -> None:
|
|
2165
2282
|
'''
|
|
2166
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2167
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2168
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2283
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#interval Server#interval}
|
|
2284
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#retention Server#retention}
|
|
2285
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#time Server#time}
|
|
2169
2286
|
'''
|
|
2170
2287
|
if __debug__:
|
|
2171
2288
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -2182,7 +2299,7 @@ class ServerTemplateBackupRule:
|
|
|
2182
2299
|
def interval(self) -> builtins.str:
|
|
2183
2300
|
'''The weekday when the backup is created.
|
|
2184
2301
|
|
|
2185
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2302
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#interval Server#interval}
|
|
2186
2303
|
'''
|
|
2187
2304
|
result = self._values.get("interval")
|
|
2188
2305
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -2192,7 +2309,7 @@ class ServerTemplateBackupRule:
|
|
|
2192
2309
|
def retention(self) -> jsii.Number:
|
|
2193
2310
|
'''The number of days before a backup is automatically deleted.
|
|
2194
2311
|
|
|
2195
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2312
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#retention Server#retention}
|
|
2196
2313
|
'''
|
|
2197
2314
|
result = self._values.get("retention")
|
|
2198
2315
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -2202,7 +2319,7 @@ class ServerTemplateBackupRule:
|
|
|
2202
2319
|
def time(self) -> builtins.str:
|
|
2203
2320
|
'''The time of day when the backup is created.
|
|
2204
2321
|
|
|
2205
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2322
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#time Server#time}
|
|
2206
2323
|
'''
|
|
2207
2324
|
result = self._values.get("time")
|
|
2208
2325
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2333,9 +2450,9 @@ class ServerTemplateOutputReference(
|
|
|
2333
2450
|
time: builtins.str,
|
|
2334
2451
|
) -> None:
|
|
2335
2452
|
'''
|
|
2336
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2337
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2338
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.
|
|
2453
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#interval Server#interval}
|
|
2454
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#retention Server#retention}
|
|
2455
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/2.11.0/docs/resources/server#time Server#time}
|
|
2339
2456
|
'''
|
|
2340
2457
|
value = ServerTemplateBackupRule(
|
|
2341
2458
|
interval=interval, retention=retention, time=time
|
|
@@ -2552,13 +2669,16 @@ def _typecheckingstub__6b83690e478f8730a1b183dfb2bf71b179dc55ba8028fd8cc73841eff
|
|
|
2552
2669
|
login: typing.Optional[typing.Union[ServerLogin, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2553
2670
|
mem: typing.Optional[jsii.Number] = None,
|
|
2554
2671
|
metadata: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
2672
|
+
nic_model: typing.Optional[builtins.str] = None,
|
|
2555
2673
|
plan: typing.Optional[builtins.str] = None,
|
|
2556
2674
|
simple_backup: typing.Optional[typing.Union[ServerSimpleBackup, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2557
2675
|
storage_devices: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ServerStorageDevices, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2558
2676
|
tags: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2559
2677
|
template: typing.Optional[typing.Union[ServerTemplate, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2678
|
+
timezone: typing.Optional[builtins.str] = None,
|
|
2560
2679
|
title: typing.Optional[builtins.str] = None,
|
|
2561
2680
|
user_data: typing.Optional[builtins.str] = None,
|
|
2681
|
+
video_model: typing.Optional[builtins.str] = None,
|
|
2562
2682
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2563
2683
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
2564
2684
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -2630,6 +2750,12 @@ def _typecheckingstub__64fa85207ab264b6f079b98afe3eef4ec2bf20d249f7caa10f6ab3156
|
|
|
2630
2750
|
"""Type checking stubs"""
|
|
2631
2751
|
pass
|
|
2632
2752
|
|
|
2753
|
+
def _typecheckingstub__73873c9b847e096c8d36928cf5ffb48b31ddda7a6e2e85ff16060721788d964a(
|
|
2754
|
+
value: builtins.str,
|
|
2755
|
+
) -> None:
|
|
2756
|
+
"""Type checking stubs"""
|
|
2757
|
+
pass
|
|
2758
|
+
|
|
2633
2759
|
def _typecheckingstub__2da76f679e87688e11b6f83fb15ba717554341797b152012a0fb49e67140b935(
|
|
2634
2760
|
value: builtins.str,
|
|
2635
2761
|
) -> None:
|
|
@@ -2642,6 +2768,12 @@ def _typecheckingstub__6e7175151be1c034f617e5043b4a582fa7a23b63257729e9f6b6957e2
|
|
|
2642
2768
|
"""Type checking stubs"""
|
|
2643
2769
|
pass
|
|
2644
2770
|
|
|
2771
|
+
def _typecheckingstub__8b526366a4bae8de79997344422703026d48dfdf7c13035edfebf4e00122087f(
|
|
2772
|
+
value: builtins.str,
|
|
2773
|
+
) -> None:
|
|
2774
|
+
"""Type checking stubs"""
|
|
2775
|
+
pass
|
|
2776
|
+
|
|
2645
2777
|
def _typecheckingstub__ae9bce333377a9eba2c28adc33c40c562a185ced6585b2a01045577d13004430(
|
|
2646
2778
|
value: builtins.str,
|
|
2647
2779
|
) -> None:
|
|
@@ -2654,6 +2786,12 @@ def _typecheckingstub__64b2aea0b37c12d0056c07c0c4281a978b335a3259b4e52cc2e9287e8
|
|
|
2654
2786
|
"""Type checking stubs"""
|
|
2655
2787
|
pass
|
|
2656
2788
|
|
|
2789
|
+
def _typecheckingstub__9f359cdaa0371668935e486d8df757ecf8422ace07256bfdf4b1dc470679de35(
|
|
2790
|
+
value: builtins.str,
|
|
2791
|
+
) -> None:
|
|
2792
|
+
"""Type checking stubs"""
|
|
2793
|
+
pass
|
|
2794
|
+
|
|
2657
2795
|
def _typecheckingstub__189f51a8a94e7de544c3857c63fb20bd2ee94539e95189dafb4bab5cb85e9236(
|
|
2658
2796
|
value: builtins.str,
|
|
2659
2797
|
) -> None:
|
|
@@ -2680,13 +2818,16 @@ def _typecheckingstub__ea0c30195fdb4e86d473d86dcc3b49fe1de4f105b946dcc2035464e29
|
|
|
2680
2818
|
login: typing.Optional[typing.Union[ServerLogin, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2681
2819
|
mem: typing.Optional[jsii.Number] = None,
|
|
2682
2820
|
metadata: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
2821
|
+
nic_model: typing.Optional[builtins.str] = None,
|
|
2683
2822
|
plan: typing.Optional[builtins.str] = None,
|
|
2684
2823
|
simple_backup: typing.Optional[typing.Union[ServerSimpleBackup, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2685
2824
|
storage_devices: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ServerStorageDevices, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
2686
2825
|
tags: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2687
2826
|
template: typing.Optional[typing.Union[ServerTemplate, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2827
|
+
timezone: typing.Optional[builtins.str] = None,
|
|
2688
2828
|
title: typing.Optional[builtins.str] = None,
|
|
2689
2829
|
user_data: typing.Optional[builtins.str] = None,
|
|
2830
|
+
video_model: typing.Optional[builtins.str] = None,
|
|
2690
2831
|
) -> None:
|
|
2691
2832
|
"""Type checking stubs"""
|
|
2692
2833
|
pass
|