cdktf-cdktf-provider-upcloud 14.13.2__py3-none-any.whl → 14.15.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 +9 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.15.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_load_balancer_dns_challenge_domain/__init__.py +4 -4
- 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_database_valkey_sessions/__init__.py +898 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +28 -28
- 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 +7 -7
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +55 -308
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +226 -226
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +245 -199
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +4165 -1034
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +309 -309
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +219 -123
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +371 -50
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3147 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- 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 +196 -153
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.13.2.dist-info → cdktf_cdktf_provider_upcloud-14.15.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.15.0.dist-info/RECORD +67 -0
- {cdktf_cdktf_provider_upcloud-14.13.2.dist-info → cdktf_cdktf_provider_upcloud-14.15.0.dist-info}/WHEEL +1 -1
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.13.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.13.2.dist-info/RECORD +0 -64
- {cdktf_cdktf_provider_upcloud-14.13.2.dist-info → cdktf_cdktf_provider_upcloud-14.15.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.13.2.dist-info → cdktf_cdktf_provider_upcloud-14.15.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_server`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class Server(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.server.Server",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server upcloud_server}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -82,33 +82,33 @@ class Server(
|
|
|
82
82
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
83
83
|
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,
|
|
84
84
|
) -> None:
|
|
85
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
85
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server upcloud_server} Resource.
|
|
86
86
|
|
|
87
87
|
:param scope: The scope in which to define this construct.
|
|
88
88
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
89
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
90
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
91
|
-
:param zone: The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
92
|
-
:param boot_order: The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
93
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
94
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
95
|
-
:param host: Use this to start the VM on a specific host. Refers to value from host -attribute. Only available for private cloud hosts Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
96
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
97
|
-
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
98
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
99
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
100
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
101
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
102
|
-
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
103
|
-
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
104
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
105
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
106
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
107
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
108
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
109
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
110
|
-
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
111
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
89
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#hostname Server#hostname}
|
|
90
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#network_interface Server#network_interface}
|
|
91
|
+
:param zone: The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#zone Server#zone}
|
|
92
|
+
:param boot_order: The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#boot_order Server#boot_order}
|
|
93
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#cpu Server#cpu}
|
|
94
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#firewall Server#firewall}
|
|
95
|
+
:param host: Use this to start the VM on a specific host. Refers to value from host -attribute. Only available for private cloud hosts Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#host Server#host}
|
|
96
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.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.
|
|
97
|
+
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#labels Server#labels}
|
|
98
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#login Server#login}
|
|
99
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#mem Server#mem}
|
|
100
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#metadata Server#metadata}
|
|
101
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#nic_model Server#nic_model}
|
|
102
|
+
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#plan Server#plan}
|
|
103
|
+
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#server_group Server#server_group}
|
|
104
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#simple_backup Server#simple_backup}
|
|
105
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#storage_devices Server#storage_devices}
|
|
106
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#tags Server#tags}
|
|
107
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#template Server#template}
|
|
108
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#timezone Server#timezone}
|
|
109
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#title Server#title}
|
|
110
|
+
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#user_data Server#user_data}
|
|
111
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#video_model Server#video_model}
|
|
112
112
|
:param connection:
|
|
113
113
|
:param count:
|
|
114
114
|
:param depends_on:
|
|
@@ -169,7 +169,7 @@ class Server(
|
|
|
169
169
|
|
|
170
170
|
:param scope: The scope in which to define this construct.
|
|
171
171
|
:param import_to_id: The construct id used in the generated config for the Server to import.
|
|
172
|
-
:param import_from_id: The id of the existing Server that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
172
|
+
:param import_from_id: The id of the existing Server that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#import import section} in the documentation of this resource for the id to use
|
|
173
173
|
:param provider: ? Optional instance of the provider where the Server to import is found.
|
|
174
174
|
'''
|
|
175
175
|
if __debug__:
|
|
@@ -190,10 +190,10 @@ class Server(
|
|
|
190
190
|
user: typing.Optional[builtins.str] = None,
|
|
191
191
|
) -> None:
|
|
192
192
|
'''
|
|
193
|
-
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
194
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
195
|
-
:param password_delivery: The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
196
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
193
|
+
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#create_password Server#create_password}
|
|
194
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#keys Server#keys}
|
|
195
|
+
:param password_delivery: The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
196
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#user Server#user}
|
|
197
197
|
'''
|
|
198
198
|
value = ServerLogin(
|
|
199
199
|
create_password=create_password,
|
|
@@ -220,8 +220,8 @@ class Server(
|
|
|
220
220
|
@jsii.member(jsii_name="putSimpleBackup")
|
|
221
221
|
def put_simple_backup(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
222
222
|
'''
|
|
223
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
224
|
-
:param time: Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
223
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#plan Server#plan}
|
|
224
|
+
:param time: Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#time Server#time}
|
|
225
225
|
'''
|
|
226
226
|
value = ServerSimpleBackup(plan=plan, time=time)
|
|
227
227
|
|
|
@@ -255,15 +255,15 @@ class Server(
|
|
|
255
255
|
title: typing.Optional[builtins.str] = None,
|
|
256
256
|
) -> None:
|
|
257
257
|
'''
|
|
258
|
-
:param storage: A valid storage UUID or template name. You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
259
|
-
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
260
|
-
:param address_position: The device position in the given bus (defined via field ``address``). For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
261
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
262
|
-
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
263
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
264
|
-
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
265
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
266
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
258
|
+
:param storage: A valid storage UUID or template name. You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#storage Server#storage}
|
|
259
|
+
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address Server#address}
|
|
260
|
+
:param address_position: The device position in the given bus (defined via field ``address``). For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address_position Server#address_position}
|
|
261
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
262
|
+
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
263
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#encrypt Server#encrypt}
|
|
264
|
+
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
265
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#size Server#size}
|
|
266
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#title Server#title}
|
|
267
267
|
'''
|
|
268
268
|
value = ServerTemplate(
|
|
269
269
|
storage=storage,
|
|
@@ -824,29 +824,29 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
824
824
|
:param lifecycle:
|
|
825
825
|
:param provider:
|
|
826
826
|
:param provisioners:
|
|
827
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
828
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
829
|
-
:param zone: The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
830
|
-
:param boot_order: The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
831
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
832
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
833
|
-
:param host: Use this to start the VM on a specific host. Refers to value from host -attribute. Only available for private cloud hosts Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
834
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
835
|
-
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
836
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
837
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
838
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
839
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
840
|
-
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
841
|
-
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
842
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
843
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
844
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
845
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
846
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
847
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
848
|
-
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
849
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
827
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#hostname Server#hostname}
|
|
828
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#network_interface Server#network_interface}
|
|
829
|
+
:param zone: The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#zone Server#zone}
|
|
830
|
+
:param boot_order: The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#boot_order Server#boot_order}
|
|
831
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#cpu Server#cpu}
|
|
832
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#firewall Server#firewall}
|
|
833
|
+
:param host: Use this to start the VM on a specific host. Refers to value from host -attribute. Only available for private cloud hosts Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#host Server#host}
|
|
834
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.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.
|
|
835
|
+
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#labels Server#labels}
|
|
836
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#login Server#login}
|
|
837
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#mem Server#mem}
|
|
838
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#metadata Server#metadata}
|
|
839
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#nic_model Server#nic_model}
|
|
840
|
+
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#plan Server#plan}
|
|
841
|
+
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#server_group Server#server_group}
|
|
842
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#simple_backup Server#simple_backup}
|
|
843
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#storage_devices Server#storage_devices}
|
|
844
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#tags Server#tags}
|
|
845
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#template Server#template}
|
|
846
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#timezone Server#timezone}
|
|
847
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#title Server#title}
|
|
848
|
+
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#user_data Server#user_data}
|
|
849
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#video_model Server#video_model}
|
|
850
850
|
'''
|
|
851
851
|
if isinstance(lifecycle, dict):
|
|
852
852
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -1016,7 +1016,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1016
1016
|
def hostname(self) -> builtins.str:
|
|
1017
1017
|
'''A valid domain name.
|
|
1018
1018
|
|
|
1019
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1019
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#hostname Server#hostname}
|
|
1020
1020
|
'''
|
|
1021
1021
|
result = self._values.get("hostname")
|
|
1022
1022
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -1028,7 +1028,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1028
1028
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]:
|
|
1029
1029
|
'''network_interface block.
|
|
1030
1030
|
|
|
1031
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1031
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#network_interface Server#network_interface}
|
|
1032
1032
|
'''
|
|
1033
1033
|
result = self._values.get("network_interface")
|
|
1034
1034
|
assert result is not None, "Required property 'network_interface' is missing"
|
|
@@ -1038,7 +1038,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1038
1038
|
def zone(self) -> builtins.str:
|
|
1039
1039
|
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1040
1040
|
|
|
1041
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1041
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#zone Server#zone}
|
|
1042
1042
|
'''
|
|
1043
1043
|
result = self._values.get("zone")
|
|
1044
1044
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1048,7 +1048,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1048
1048
|
def boot_order(self) -> typing.Optional[builtins.str]:
|
|
1049
1049
|
'''The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``.
|
|
1050
1050
|
|
|
1051
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1051
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#boot_order Server#boot_order}
|
|
1052
1052
|
'''
|
|
1053
1053
|
result = self._values.get("boot_order")
|
|
1054
1054
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1057,7 +1057,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1057
1057
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
1058
1058
|
'''The number of CPU for the server.
|
|
1059
1059
|
|
|
1060
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1060
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#cpu Server#cpu}
|
|
1061
1061
|
'''
|
|
1062
1062
|
result = self._values.get("cpu")
|
|
1063
1063
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1068,7 +1068,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1068
1068
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1069
1069
|
'''Are firewall rules active for the server.
|
|
1070
1070
|
|
|
1071
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1071
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#firewall Server#firewall}
|
|
1072
1072
|
'''
|
|
1073
1073
|
result = self._values.get("firewall")
|
|
1074
1074
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1079,14 +1079,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1079
1079
|
|
|
1080
1080
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
1081
1081
|
|
|
1082
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1082
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#host Server#host}
|
|
1083
1083
|
'''
|
|
1084
1084
|
result = self._values.get("host")
|
|
1085
1085
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1086
1086
|
|
|
1087
1087
|
@builtins.property
|
|
1088
1088
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1089
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1089
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#id Server#id}.
|
|
1090
1090
|
|
|
1091
1091
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1092
1092
|
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.
|
|
@@ -1098,7 +1098,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1098
1098
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1099
1099
|
'''User defined key-value pairs to classify the server.
|
|
1100
1100
|
|
|
1101
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1101
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#labels Server#labels}
|
|
1102
1102
|
'''
|
|
1103
1103
|
result = self._values.get("labels")
|
|
1104
1104
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1107,7 +1107,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1107
1107
|
def login(self) -> typing.Optional["ServerLogin"]:
|
|
1108
1108
|
'''login block.
|
|
1109
1109
|
|
|
1110
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1110
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#login Server#login}
|
|
1111
1111
|
'''
|
|
1112
1112
|
result = self._values.get("login")
|
|
1113
1113
|
return typing.cast(typing.Optional["ServerLogin"], result)
|
|
@@ -1116,7 +1116,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1116
1116
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
1117
1117
|
'''The size of memory for the server (in megabytes).
|
|
1118
1118
|
|
|
1119
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1119
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#mem Server#mem}
|
|
1120
1120
|
'''
|
|
1121
1121
|
result = self._values.get("mem")
|
|
1122
1122
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1127,7 +1127,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1127
1127
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1128
1128
|
'''Is the metadata service active for the server.
|
|
1129
1129
|
|
|
1130
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1130
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#metadata Server#metadata}
|
|
1131
1131
|
'''
|
|
1132
1132
|
result = self._values.get("metadata")
|
|
1133
1133
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1136,7 +1136,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1136
1136
|
def nic_model(self) -> typing.Optional[builtins.str]:
|
|
1137
1137
|
'''The model of the server's network interfaces.
|
|
1138
1138
|
|
|
1139
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1139
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#nic_model Server#nic_model}
|
|
1140
1140
|
'''
|
|
1141
1141
|
result = self._values.get("nic_model")
|
|
1142
1142
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1145,7 +1145,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1145
1145
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
1146
1146
|
'''The pricing plan used for the server. You can list available server plans with ``upctl server plans``.
|
|
1147
1147
|
|
|
1148
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1148
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#plan Server#plan}
|
|
1149
1149
|
'''
|
|
1150
1150
|
result = self._values.get("plan")
|
|
1151
1151
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1156,7 +1156,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1156
1156
|
|
|
1157
1157
|
Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value.
|
|
1158
1158
|
|
|
1159
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1159
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#server_group Server#server_group}
|
|
1160
1160
|
'''
|
|
1161
1161
|
result = self._values.get("server_group")
|
|
1162
1162
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1165,7 +1165,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1165
1165
|
def simple_backup(self) -> typing.Optional["ServerSimpleBackup"]:
|
|
1166
1166
|
'''simple_backup block.
|
|
1167
1167
|
|
|
1168
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1168
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#simple_backup Server#simple_backup}
|
|
1169
1169
|
'''
|
|
1170
1170
|
result = self._values.get("simple_backup")
|
|
1171
1171
|
return typing.cast(typing.Optional["ServerSimpleBackup"], result)
|
|
@@ -1176,7 +1176,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1176
1176
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
1177
1177
|
'''storage_devices block.
|
|
1178
1178
|
|
|
1179
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1179
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#storage_devices Server#storage_devices}
|
|
1180
1180
|
'''
|
|
1181
1181
|
result = self._values.get("storage_devices")
|
|
1182
1182
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -1185,7 +1185,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1185
1185
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1186
1186
|
'''The server related tags.
|
|
1187
1187
|
|
|
1188
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1188
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#tags Server#tags}
|
|
1189
1189
|
'''
|
|
1190
1190
|
result = self._values.get("tags")
|
|
1191
1191
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1194,7 +1194,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1194
1194
|
def template(self) -> typing.Optional["ServerTemplate"]:
|
|
1195
1195
|
'''template block.
|
|
1196
1196
|
|
|
1197
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1197
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#template Server#template}
|
|
1198
1198
|
'''
|
|
1199
1199
|
result = self._values.get("template")
|
|
1200
1200
|
return typing.cast(typing.Optional["ServerTemplate"], result)
|
|
@@ -1203,7 +1203,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1203
1203
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1204
1204
|
'''A timezone identifier, e.g. ``Europe/Helsinki``.
|
|
1205
1205
|
|
|
1206
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1206
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#timezone Server#timezone}
|
|
1207
1207
|
'''
|
|
1208
1208
|
result = self._values.get("timezone")
|
|
1209
1209
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1212,7 +1212,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1212
1212
|
def title(self) -> typing.Optional[builtins.str]:
|
|
1213
1213
|
'''A short, informational description.
|
|
1214
1214
|
|
|
1215
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1215
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#title Server#title}
|
|
1216
1216
|
'''
|
|
1217
1217
|
result = self._values.get("title")
|
|
1218
1218
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1221,7 +1221,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1221
1221
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
1222
1222
|
'''Defines URL for a server setup script, or the script body itself.
|
|
1223
1223
|
|
|
1224
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1224
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#user_data Server#user_data}
|
|
1225
1225
|
'''
|
|
1226
1226
|
result = self._values.get("user_data")
|
|
1227
1227
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1230,7 +1230,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1230
1230
|
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1231
1231
|
'''The model of the server's video interface.
|
|
1232
1232
|
|
|
1233
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1233
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#video_model Server#video_model}
|
|
1234
1234
|
'''
|
|
1235
1235
|
result = self._values.get("video_model")
|
|
1236
1236
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1267,10 +1267,10 @@ class ServerLogin:
|
|
|
1267
1267
|
user: typing.Optional[builtins.str] = None,
|
|
1268
1268
|
) -> None:
|
|
1269
1269
|
'''
|
|
1270
|
-
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1271
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1272
|
-
:param password_delivery: The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1273
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1270
|
+
:param create_password: Indicates a password should be create to allow access. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#create_password Server#create_password}
|
|
1271
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#keys Server#keys}
|
|
1272
|
+
:param password_delivery: The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
1273
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#user Server#user}
|
|
1274
1274
|
'''
|
|
1275
1275
|
if __debug__:
|
|
1276
1276
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1294,7 +1294,7 @@ class ServerLogin:
|
|
|
1294
1294
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1295
1295
|
'''Indicates a password should be create to allow access.
|
|
1296
1296
|
|
|
1297
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1297
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#create_password Server#create_password}
|
|
1298
1298
|
'''
|
|
1299
1299
|
result = self._values.get("create_password")
|
|
1300
1300
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1303,7 +1303,7 @@ class ServerLogin:
|
|
|
1303
1303
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1304
1304
|
'''A list of ssh keys to access the server.
|
|
1305
1305
|
|
|
1306
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1306
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#keys Server#keys}
|
|
1307
1307
|
'''
|
|
1308
1308
|
result = self._values.get("keys")
|
|
1309
1309
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1312,7 +1312,7 @@ class ServerLogin:
|
|
|
1312
1312
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1313
1313
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1314
1314
|
|
|
1315
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1315
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#password_delivery Server#password_delivery}
|
|
1316
1316
|
'''
|
|
1317
1317
|
result = self._values.get("password_delivery")
|
|
1318
1318
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1321,7 +1321,7 @@ class ServerLogin:
|
|
|
1321
1321
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1322
1322
|
'''Username to be create to access the server.
|
|
1323
1323
|
|
|
1324
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1324
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#user Server#user}
|
|
1325
1325
|
'''
|
|
1326
1326
|
result = self._values.get("user")
|
|
1327
1327
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1469,6 +1469,7 @@ class ServerLoginOutputReference(
|
|
|
1469
1469
|
"type": "type",
|
|
1470
1470
|
"additional_ip_address": "additionalIpAddress",
|
|
1471
1471
|
"bootable": "bootable",
|
|
1472
|
+
"index": "index",
|
|
1472
1473
|
"ip_address": "ipAddress",
|
|
1473
1474
|
"ip_address_family": "ipAddressFamily",
|
|
1474
1475
|
"network": "network",
|
|
@@ -1482,25 +1483,28 @@ class ServerNetworkInterface:
|
|
|
1482
1483
|
type: builtins.str,
|
|
1483
1484
|
additional_ip_address: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ServerNetworkInterfaceAdditionalIpAddress", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1484
1485
|
bootable: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1486
|
+
index: typing.Optional[jsii.Number] = None,
|
|
1485
1487
|
ip_address: typing.Optional[builtins.str] = None,
|
|
1486
1488
|
ip_address_family: typing.Optional[builtins.str] = None,
|
|
1487
1489
|
network: typing.Optional[builtins.str] = None,
|
|
1488
1490
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1489
1491
|
) -> None:
|
|
1490
1492
|
'''
|
|
1491
|
-
:param type: Network interface type. For private network interfaces, a network must be specified with an existing network id. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1492
|
-
:param additional_ip_address: additional_ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1493
|
-
:param bootable: ``true`` if this interface should be used for network booting. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1494
|
-
:param
|
|
1495
|
-
:param
|
|
1496
|
-
:param
|
|
1497
|
-
:param
|
|
1493
|
+
:param type: Network interface type. For private network interfaces, a network must be specified with an existing network id. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#type Server#type}
|
|
1494
|
+
:param additional_ip_address: additional_ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#additional_ip_address Server#additional_ip_address}
|
|
1495
|
+
:param bootable: ``true`` if this interface should be used for network booting. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#bootable Server#bootable}
|
|
1496
|
+
:param index: The interface index. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#index Server#index}
|
|
1497
|
+
:param ip_address: The assigned primary IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#ip_address Server#ip_address}
|
|
1498
|
+
:param ip_address_family: The type of the primary IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1499
|
+
:param network: The unique ID of a network to attach this network to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#network Server#network}
|
|
1500
|
+
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1498
1501
|
'''
|
|
1499
1502
|
if __debug__:
|
|
1500
1503
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
1501
1504
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
1502
1505
|
check_type(argname="argument additional_ip_address", value=additional_ip_address, expected_type=type_hints["additional_ip_address"])
|
|
1503
1506
|
check_type(argname="argument bootable", value=bootable, expected_type=type_hints["bootable"])
|
|
1507
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1504
1508
|
check_type(argname="argument ip_address", value=ip_address, expected_type=type_hints["ip_address"])
|
|
1505
1509
|
check_type(argname="argument ip_address_family", value=ip_address_family, expected_type=type_hints["ip_address_family"])
|
|
1506
1510
|
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
@@ -1512,6 +1516,8 @@ class ServerNetworkInterface:
|
|
|
1512
1516
|
self._values["additional_ip_address"] = additional_ip_address
|
|
1513
1517
|
if bootable is not None:
|
|
1514
1518
|
self._values["bootable"] = bootable
|
|
1519
|
+
if index is not None:
|
|
1520
|
+
self._values["index"] = index
|
|
1515
1521
|
if ip_address is not None:
|
|
1516
1522
|
self._values["ip_address"] = ip_address
|
|
1517
1523
|
if ip_address_family is not None:
|
|
@@ -1525,7 +1531,7 @@ class ServerNetworkInterface:
|
|
|
1525
1531
|
def type(self) -> builtins.str:
|
|
1526
1532
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1527
1533
|
|
|
1528
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1534
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#type Server#type}
|
|
1529
1535
|
'''
|
|
1530
1536
|
result = self._values.get("type")
|
|
1531
1537
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1537,7 +1543,7 @@ class ServerNetworkInterface:
|
|
|
1537
1543
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterfaceAdditionalIpAddress"]]]:
|
|
1538
1544
|
'''additional_ip_address block.
|
|
1539
1545
|
|
|
1540
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1546
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#additional_ip_address Server#additional_ip_address}
|
|
1541
1547
|
'''
|
|
1542
1548
|
result = self._values.get("additional_ip_address")
|
|
1543
1549
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterfaceAdditionalIpAddress"]]], result)
|
|
@@ -1548,16 +1554,25 @@ class ServerNetworkInterface:
|
|
|
1548
1554
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1549
1555
|
'''``true`` if this interface should be used for network booting.
|
|
1550
1556
|
|
|
1551
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1557
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#bootable Server#bootable}
|
|
1552
1558
|
'''
|
|
1553
1559
|
result = self._values.get("bootable")
|
|
1554
1560
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
1555
1561
|
|
|
1562
|
+
@builtins.property
|
|
1563
|
+
def index(self) -> typing.Optional[jsii.Number]:
|
|
1564
|
+
'''The interface index.
|
|
1565
|
+
|
|
1566
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#index Server#index}
|
|
1567
|
+
'''
|
|
1568
|
+
result = self._values.get("index")
|
|
1569
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1570
|
+
|
|
1556
1571
|
@builtins.property
|
|
1557
1572
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1558
1573
|
'''The assigned primary IP address.
|
|
1559
1574
|
|
|
1560
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1575
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#ip_address Server#ip_address}
|
|
1561
1576
|
'''
|
|
1562
1577
|
result = self._values.get("ip_address")
|
|
1563
1578
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1566,7 +1581,7 @@ class ServerNetworkInterface:
|
|
|
1566
1581
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1567
1582
|
'''The type of the primary IP address of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1568
1583
|
|
|
1569
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1584
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1570
1585
|
'''
|
|
1571
1586
|
result = self._values.get("ip_address_family")
|
|
1572
1587
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1575,7 +1590,7 @@ class ServerNetworkInterface:
|
|
|
1575
1590
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1576
1591
|
'''The unique ID of a network to attach this network to.
|
|
1577
1592
|
|
|
1578
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1593
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#network Server#network}
|
|
1579
1594
|
'''
|
|
1580
1595
|
result = self._values.get("network")
|
|
1581
1596
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1586,7 +1601,7 @@ class ServerNetworkInterface:
|
|
|
1586
1601
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1587
1602
|
'''``true`` if source IP should be filtered.
|
|
1588
1603
|
|
|
1589
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1604
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1590
1605
|
'''
|
|
1591
1606
|
result = self._values.get("source_ip_filtering")
|
|
1592
1607
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1616,8 +1631,8 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1616
1631
|
ip_address_family: typing.Optional[builtins.str] = None,
|
|
1617
1632
|
) -> None:
|
|
1618
1633
|
'''
|
|
1619
|
-
:param ip_address: The assigned additional IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1620
|
-
:param ip_address_family: The type of this additional IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1634
|
+
:param ip_address: The assigned additional IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#ip_address Server#ip_address}
|
|
1635
|
+
:param ip_address_family: The type of this additional IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1621
1636
|
'''
|
|
1622
1637
|
if __debug__:
|
|
1623
1638
|
type_hints = typing.get_type_hints(_typecheckingstub__0b6048ebfe8d4aeae43994c82a3e7294ab414eb1a49571fd3fff63238f2a288c)
|
|
@@ -1633,7 +1648,7 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1633
1648
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1634
1649
|
'''The assigned additional IP address.
|
|
1635
1650
|
|
|
1636
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1651
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#ip_address Server#ip_address}
|
|
1637
1652
|
'''
|
|
1638
1653
|
result = self._values.get("ip_address")
|
|
1639
1654
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1642,7 +1657,7 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1642
1657
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1643
1658
|
'''The type of this additional IP address of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1644
1659
|
|
|
1645
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1660
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1646
1661
|
'''
|
|
1647
1662
|
result = self._values.get("ip_address_family")
|
|
1648
1663
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1980,6 +1995,10 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1980
1995
|
def reset_bootable(self) -> None:
|
|
1981
1996
|
return typing.cast(None, jsii.invoke(self, "resetBootable", []))
|
|
1982
1997
|
|
|
1998
|
+
@jsii.member(jsii_name="resetIndex")
|
|
1999
|
+
def reset_index(self) -> None:
|
|
2000
|
+
return typing.cast(None, jsii.invoke(self, "resetIndex", []))
|
|
2001
|
+
|
|
1983
2002
|
@jsii.member(jsii_name="resetIpAddress")
|
|
1984
2003
|
def reset_ip_address(self) -> None:
|
|
1985
2004
|
return typing.cast(None, jsii.invoke(self, "resetIpAddress", []))
|
|
@@ -2025,6 +2044,11 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
2025
2044
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2026
2045
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "bootableInput"))
|
|
2027
2046
|
|
|
2047
|
+
@builtins.property
|
|
2048
|
+
@jsii.member(jsii_name="indexInput")
|
|
2049
|
+
def index_input(self) -> typing.Optional[jsii.Number]:
|
|
2050
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "indexInput"))
|
|
2051
|
+
|
|
2028
2052
|
@builtins.property
|
|
2029
2053
|
@jsii.member(jsii_name="ipAddressFamilyInput")
|
|
2030
2054
|
def ip_address_family_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -2067,6 +2091,18 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
2067
2091
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2068
2092
|
jsii.set(self, "bootable", value) # pyright: ignore[reportArgumentType]
|
|
2069
2093
|
|
|
2094
|
+
@builtins.property
|
|
2095
|
+
@jsii.member(jsii_name="index")
|
|
2096
|
+
def index(self) -> jsii.Number:
|
|
2097
|
+
return typing.cast(jsii.Number, jsii.get(self, "index"))
|
|
2098
|
+
|
|
2099
|
+
@index.setter
|
|
2100
|
+
def index(self, value: jsii.Number) -> None:
|
|
2101
|
+
if __debug__:
|
|
2102
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fdbcdae3ed9796bc912ec8884fdad7902fba09438df21f8c4b45f4765d8623c2)
|
|
2103
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2104
|
+
jsii.set(self, "index", value) # pyright: ignore[reportArgumentType]
|
|
2105
|
+
|
|
2070
2106
|
@builtins.property
|
|
2071
2107
|
@jsii.member(jsii_name="ipAddress")
|
|
2072
2108
|
def ip_address(self) -> builtins.str:
|
|
@@ -2158,8 +2194,8 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
2158
2194
|
class ServerSimpleBackup:
|
|
2159
2195
|
def __init__(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
2160
2196
|
'''
|
|
2161
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2162
|
-
:param time: Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2197
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#plan Server#plan}
|
|
2198
|
+
:param time: Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#time Server#time}
|
|
2163
2199
|
'''
|
|
2164
2200
|
if __debug__:
|
|
2165
2201
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -2174,7 +2210,7 @@ class ServerSimpleBackup:
|
|
|
2174
2210
|
def plan(self) -> builtins.str:
|
|
2175
2211
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
2176
2212
|
|
|
2177
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2213
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#plan Server#plan}
|
|
2178
2214
|
'''
|
|
2179
2215
|
result = self._values.get("plan")
|
|
2180
2216
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -2184,7 +2220,7 @@ class ServerSimpleBackup:
|
|
|
2184
2220
|
def time(self) -> builtins.str:
|
|
2185
2221
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
2186
2222
|
|
|
2187
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2223
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#time Server#time}
|
|
2188
2224
|
'''
|
|
2189
2225
|
result = self._values.get("time")
|
|
2190
2226
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2289,10 +2325,10 @@ class ServerStorageDevices:
|
|
|
2289
2325
|
type: typing.Optional[builtins.str] = None,
|
|
2290
2326
|
) -> None:
|
|
2291
2327
|
'''
|
|
2292
|
-
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2293
|
-
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2294
|
-
:param address_position: The device position in the given bus (defined via field ``address``). Valid values for address ``virtio`` are ``0-15`` (``0``, for example). Valid values for ``scsi`` or ``ide`` are ``0-1:0-1`` (``0:0``, for example). Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2295
|
-
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2328
|
+
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#storage Server#storage}
|
|
2329
|
+
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address Server#address}
|
|
2330
|
+
:param address_position: The device position in the given bus (defined via field ``address``). Valid values for address ``virtio`` are ``0-15`` (``0``, for example). Valid values for ``scsi`` or ``ide`` are ``0-1:0-1`` (``0:0``, for example). Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address_position Server#address_position}
|
|
2331
|
+
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#type Server#type}
|
|
2296
2332
|
'''
|
|
2297
2333
|
if __debug__:
|
|
2298
2334
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -2314,7 +2350,7 @@ class ServerStorageDevices:
|
|
|
2314
2350
|
def storage(self) -> builtins.str:
|
|
2315
2351
|
'''A valid storage UUID.
|
|
2316
2352
|
|
|
2317
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2353
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#storage Server#storage}
|
|
2318
2354
|
'''
|
|
2319
2355
|
result = self._values.get("storage")
|
|
2320
2356
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2326,7 +2362,7 @@ class ServerStorageDevices:
|
|
|
2326
2362
|
|
|
2327
2363
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2328
2364
|
|
|
2329
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2365
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address Server#address}
|
|
2330
2366
|
'''
|
|
2331
2367
|
result = self._values.get("address")
|
|
2332
2368
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2337,7 +2373,7 @@ class ServerStorageDevices:
|
|
|
2337
2373
|
|
|
2338
2374
|
Valid values for address ``virtio`` are ``0-15`` (``0``, for example). Valid values for ``scsi`` or ``ide`` are ``0-1:0-1`` (``0:0``, for example). Leave empty to auto-select next available address in the given bus.
|
|
2339
2375
|
|
|
2340
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2376
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address_position Server#address_position}
|
|
2341
2377
|
'''
|
|
2342
2378
|
result = self._values.get("address_position")
|
|
2343
2379
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2346,7 +2382,7 @@ class ServerStorageDevices:
|
|
|
2346
2382
|
def type(self) -> typing.Optional[builtins.str]:
|
|
2347
2383
|
'''The device type the storage will be attached as.
|
|
2348
2384
|
|
|
2349
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2385
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#type Server#type}
|
|
2350
2386
|
'''
|
|
2351
2387
|
result = self._values.get("type")
|
|
2352
2388
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2607,15 +2643,15 @@ class ServerTemplate:
|
|
|
2607
2643
|
title: typing.Optional[builtins.str] = None,
|
|
2608
2644
|
) -> None:
|
|
2609
2645
|
'''
|
|
2610
|
-
:param storage: A valid storage UUID or template name. You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2611
|
-
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2612
|
-
:param address_position: The device position in the given bus (defined via field ``address``). For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2613
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2614
|
-
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2615
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2616
|
-
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2617
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2618
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2646
|
+
:param storage: A valid storage UUID or template name. You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#storage Server#storage}
|
|
2647
|
+
:param address: The device address the storage will be attached to (``scsi``|``virtio``|``ide``). Leave ``address_position`` field empty to auto-select next available address from that bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address Server#address}
|
|
2648
|
+
:param address_position: The device position in the given bus (defined via field ``address``). For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address_position Server#address_position}
|
|
2649
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
2650
|
+
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2651
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#encrypt Server#encrypt}
|
|
2652
|
+
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of template storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2653
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#size Server#size}
|
|
2654
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#title Server#title}
|
|
2619
2655
|
'''
|
|
2620
2656
|
if isinstance(backup_rule, dict):
|
|
2621
2657
|
backup_rule = ServerTemplateBackupRule(**backup_rule)
|
|
@@ -2656,7 +2692,7 @@ class ServerTemplate:
|
|
|
2656
2692
|
|
|
2657
2693
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2658
2694
|
|
|
2659
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2695
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#storage Server#storage}
|
|
2660
2696
|
'''
|
|
2661
2697
|
result = self._values.get("storage")
|
|
2662
2698
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2668,7 +2704,7 @@ class ServerTemplate:
|
|
|
2668
2704
|
|
|
2669
2705
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2670
2706
|
|
|
2671
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2707
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address Server#address}
|
|
2672
2708
|
'''
|
|
2673
2709
|
result = self._values.get("address")
|
|
2674
2710
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2679,7 +2715,7 @@ class ServerTemplate:
|
|
|
2679
2715
|
|
|
2680
2716
|
For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus.
|
|
2681
2717
|
|
|
2682
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2718
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#address_position Server#address_position}
|
|
2683
2719
|
'''
|
|
2684
2720
|
result = self._values.get("address_position")
|
|
2685
2721
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2688,7 +2724,7 @@ class ServerTemplate:
|
|
|
2688
2724
|
def backup_rule(self) -> typing.Optional["ServerTemplateBackupRule"]:
|
|
2689
2725
|
'''backup_rule block.
|
|
2690
2726
|
|
|
2691
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2727
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#backup_rule Server#backup_rule}
|
|
2692
2728
|
'''
|
|
2693
2729
|
result = self._values.get("backup_rule")
|
|
2694
2730
|
return typing.cast(typing.Optional["ServerTemplateBackupRule"], result)
|
|
@@ -2699,7 +2735,7 @@ class ServerTemplate:
|
|
|
2699
2735
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2700
2736
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2701
2737
|
|
|
2702
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2738
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2703
2739
|
'''
|
|
2704
2740
|
result = self._values.get("delete_autoresize_backup")
|
|
2705
2741
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2710,7 +2746,7 @@ class ServerTemplate:
|
|
|
2710
2746
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2711
2747
|
'''Sets if the storage is encrypted at rest.
|
|
2712
2748
|
|
|
2713
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2749
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#encrypt Server#encrypt}
|
|
2714
2750
|
'''
|
|
2715
2751
|
result = self._values.get("encrypt")
|
|
2716
2752
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2725,7 +2761,7 @@ class ServerTemplate:
|
|
|
2725
2761
|
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).
|
|
2726
2762
|
Taking and keeping backups incure costs.
|
|
2727
2763
|
|
|
2728
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2764
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2729
2765
|
'''
|
|
2730
2766
|
result = self._values.get("filesystem_autoresize")
|
|
2731
2767
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2734,7 +2770,7 @@ class ServerTemplate:
|
|
|
2734
2770
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2735
2771
|
'''The size of the storage in gigabytes.
|
|
2736
2772
|
|
|
2737
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2773
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#size Server#size}
|
|
2738
2774
|
'''
|
|
2739
2775
|
result = self._values.get("size")
|
|
2740
2776
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2743,7 +2779,7 @@ class ServerTemplate:
|
|
|
2743
2779
|
def title(self) -> typing.Optional[builtins.str]:
|
|
2744
2780
|
'''A short, informative description.
|
|
2745
2781
|
|
|
2746
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2782
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#title Server#title}
|
|
2747
2783
|
'''
|
|
2748
2784
|
result = self._values.get("title")
|
|
2749
2785
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2774,9 +2810,9 @@ class ServerTemplateBackupRule:
|
|
|
2774
2810
|
time: builtins.str,
|
|
2775
2811
|
) -> None:
|
|
2776
2812
|
'''
|
|
2777
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2778
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2779
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2813
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#interval Server#interval}
|
|
2814
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#retention Server#retention}
|
|
2815
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#time Server#time}
|
|
2780
2816
|
'''
|
|
2781
2817
|
if __debug__:
|
|
2782
2818
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -2793,7 +2829,7 @@ class ServerTemplateBackupRule:
|
|
|
2793
2829
|
def interval(self) -> builtins.str:
|
|
2794
2830
|
'''The weekday when the backup is created.
|
|
2795
2831
|
|
|
2796
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2832
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#interval Server#interval}
|
|
2797
2833
|
'''
|
|
2798
2834
|
result = self._values.get("interval")
|
|
2799
2835
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -2803,7 +2839,7 @@ class ServerTemplateBackupRule:
|
|
|
2803
2839
|
def retention(self) -> jsii.Number:
|
|
2804
2840
|
'''The number of days before a backup is automatically deleted.
|
|
2805
2841
|
|
|
2806
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2842
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#retention Server#retention}
|
|
2807
2843
|
'''
|
|
2808
2844
|
result = self._values.get("retention")
|
|
2809
2845
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -2813,7 +2849,7 @@ class ServerTemplateBackupRule:
|
|
|
2813
2849
|
def time(self) -> builtins.str:
|
|
2814
2850
|
'''The time of day when the backup is created.
|
|
2815
2851
|
|
|
2816
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2852
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#time Server#time}
|
|
2817
2853
|
'''
|
|
2818
2854
|
result = self._values.get("time")
|
|
2819
2855
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2944,9 +2980,9 @@ class ServerTemplateOutputReference(
|
|
|
2944
2980
|
time: builtins.str,
|
|
2945
2981
|
) -> None:
|
|
2946
2982
|
'''
|
|
2947
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2948
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2949
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2983
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#interval Server#interval}
|
|
2984
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#retention Server#retention}
|
|
2985
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.15.0/docs/resources/server#time Server#time}
|
|
2950
2986
|
'''
|
|
2951
2987
|
value = ServerTemplateBackupRule(
|
|
2952
2988
|
interval=interval, retention=retention, time=time
|
|
@@ -3453,6 +3489,7 @@ def _typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfb
|
|
|
3453
3489
|
type: builtins.str,
|
|
3454
3490
|
additional_ip_address: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ServerNetworkInterfaceAdditionalIpAddress, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
3455
3491
|
bootable: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3492
|
+
index: typing.Optional[jsii.Number] = None,
|
|
3456
3493
|
ip_address: typing.Optional[builtins.str] = None,
|
|
3457
3494
|
ip_address_family: typing.Optional[builtins.str] = None,
|
|
3458
3495
|
network: typing.Optional[builtins.str] = None,
|
|
@@ -3593,6 +3630,12 @@ def _typecheckingstub__47ed0e3d16bdd5428b4c7adf673350899ade00d8859059ed0f26439a5
|
|
|
3593
3630
|
"""Type checking stubs"""
|
|
3594
3631
|
pass
|
|
3595
3632
|
|
|
3633
|
+
def _typecheckingstub__fdbcdae3ed9796bc912ec8884fdad7902fba09438df21f8c4b45f4765d8623c2(
|
|
3634
|
+
value: jsii.Number,
|
|
3635
|
+
) -> None:
|
|
3636
|
+
"""Type checking stubs"""
|
|
3637
|
+
pass
|
|
3638
|
+
|
|
3596
3639
|
def _typecheckingstub__97b4cbf583d41648739b128bd01df2684cfe29bc55efc08b02280697b7207be3(
|
|
3597
3640
|
value: builtins.str,
|
|
3598
3641
|
) -> None:
|