cdktf-cdktf-provider-upcloud 14.2.1__py3-none-any.whl → 14.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.2.3.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +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 +47 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +39 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +189 -189
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +333 -333
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +345 -345
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +117 -117
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +518 -149
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.2.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.3.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.2.3.dist-info/RECORD +60 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.2.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.2.1.dist-info/RECORD +0 -60
- {cdktf_cdktf_provider_upcloud-14.2.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.3.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.2.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.3.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.2.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.3.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_server`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class Server(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.server.Server",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server upcloud_server}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -67,33 +67,33 @@ class Server(
|
|
|
67
67
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
68
68
|
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,
|
|
69
69
|
) -> None:
|
|
70
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
70
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server upcloud_server} Resource.
|
|
71
71
|
|
|
72
72
|
:param scope: The scope in which to define this construct.
|
|
73
73
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
74
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
75
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
76
|
-
: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.2.
|
|
77
|
-
: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.2.
|
|
78
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
79
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
80
|
-
: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.2.
|
|
81
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
82
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
83
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
84
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
85
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
86
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
87
|
-
: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.2.
|
|
88
|
-
: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.2.
|
|
89
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
90
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
91
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
92
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
93
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
94
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
95
|
-
: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.2.
|
|
96
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
74
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#hostname Server#hostname}
|
|
75
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#network_interface Server#network_interface}
|
|
76
|
+
: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.2.3/docs/resources/server#zone Server#zone}
|
|
77
|
+
: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.2.3/docs/resources/server#boot_order Server#boot_order}
|
|
78
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#cpu Server#cpu}
|
|
79
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#firewall Server#firewall}
|
|
80
|
+
: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.2.3/docs/resources/server#host Server#host}
|
|
81
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/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.
|
|
82
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#labels Server#labels}
|
|
83
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#login Server#login}
|
|
84
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#mem Server#mem}
|
|
85
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#metadata Server#metadata}
|
|
86
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#nic_model Server#nic_model}
|
|
87
|
+
: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.2.3/docs/resources/server#plan Server#plan}
|
|
88
|
+
: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.2.3/docs/resources/server#server_group Server#server_group}
|
|
89
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#simple_backup Server#simple_backup}
|
|
90
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#storage_devices Server#storage_devices}
|
|
91
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#tags Server#tags}
|
|
92
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#template Server#template}
|
|
93
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#timezone Server#timezone}
|
|
94
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#title Server#title}
|
|
95
|
+
: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.2.3/docs/resources/server#user_data Server#user_data}
|
|
96
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#video_model Server#video_model}
|
|
97
97
|
:param connection:
|
|
98
98
|
:param count:
|
|
99
99
|
:param depends_on:
|
|
@@ -154,7 +154,7 @@ class Server(
|
|
|
154
154
|
|
|
155
155
|
:param scope: The scope in which to define this construct.
|
|
156
156
|
:param import_to_id: The construct id used in the generated config for the Server to import.
|
|
157
|
-
: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.2.
|
|
157
|
+
: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.2.3/docs/resources/server#import import section} in the documentation of this resource for the id to use
|
|
158
158
|
:param provider: ? Optional instance of the provider where the Server to import is found.
|
|
159
159
|
'''
|
|
160
160
|
if __debug__:
|
|
@@ -175,10 +175,10 @@ class Server(
|
|
|
175
175
|
user: typing.Optional[builtins.str] = None,
|
|
176
176
|
) -> None:
|
|
177
177
|
'''
|
|
178
|
-
: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.2.
|
|
179
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
180
|
-
: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.2.
|
|
181
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
178
|
+
: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.2.3/docs/resources/server#create_password Server#create_password}
|
|
179
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#keys Server#keys}
|
|
180
|
+
: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.2.3/docs/resources/server#password_delivery Server#password_delivery}
|
|
181
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#user Server#user}
|
|
182
182
|
'''
|
|
183
183
|
value = ServerLogin(
|
|
184
184
|
create_password=create_password,
|
|
@@ -205,8 +205,8 @@ class Server(
|
|
|
205
205
|
@jsii.member(jsii_name="putSimpleBackup")
|
|
206
206
|
def put_simple_backup(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
207
207
|
'''
|
|
208
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
209
|
-
: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.2.
|
|
208
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#plan Server#plan}
|
|
209
|
+
: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.2.3/docs/resources/server#time Server#time}
|
|
210
210
|
'''
|
|
211
211
|
value = ServerSimpleBackup(plan=plan, time=time)
|
|
212
212
|
|
|
@@ -240,15 +240,15 @@ class Server(
|
|
|
240
240
|
title: typing.Optional[builtins.str] = None,
|
|
241
241
|
) -> None:
|
|
242
242
|
'''
|
|
243
|
-
: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.2.
|
|
244
|
-
: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.2.
|
|
245
|
-
: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.2.
|
|
246
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
247
|
-
: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.2.
|
|
248
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
249
|
-
: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.2.
|
|
250
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
251
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
243
|
+
: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.2.3/docs/resources/server#storage Server#storage}
|
|
244
|
+
: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.2.3/docs/resources/server#address Server#address}
|
|
245
|
+
: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.2.3/docs/resources/server#address_position Server#address_position}
|
|
246
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#backup_rule Server#backup_rule}
|
|
247
|
+
: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.2.3/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
248
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#encrypt Server#encrypt}
|
|
249
|
+
: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.2.3/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
250
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#size Server#size}
|
|
251
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#title Server#title}
|
|
252
252
|
'''
|
|
253
253
|
value = ServerTemplate(
|
|
254
254
|
storage=storage,
|
|
@@ -809,29 +809,29 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
809
809
|
:param lifecycle:
|
|
810
810
|
:param provider:
|
|
811
811
|
:param provisioners:
|
|
812
|
-
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
813
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
814
|
-
: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.2.
|
|
815
|
-
: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.2.
|
|
816
|
-
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
817
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
818
|
-
: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.2.
|
|
819
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
820
|
-
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
821
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
822
|
-
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
823
|
-
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
824
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
825
|
-
: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.2.
|
|
826
|
-
: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.2.
|
|
827
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
828
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
829
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
830
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
831
|
-
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
832
|
-
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
833
|
-
: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.2.
|
|
834
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
812
|
+
:param hostname: A valid domain name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#hostname Server#hostname}
|
|
813
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#network_interface Server#network_interface}
|
|
814
|
+
: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.2.3/docs/resources/server#zone Server#zone}
|
|
815
|
+
: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.2.3/docs/resources/server#boot_order Server#boot_order}
|
|
816
|
+
:param cpu: The number of CPU for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#cpu Server#cpu}
|
|
817
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#firewall Server#firewall}
|
|
818
|
+
: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.2.3/docs/resources/server#host Server#host}
|
|
819
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/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.
|
|
820
|
+
:param labels: Key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#labels Server#labels}
|
|
821
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#login Server#login}
|
|
822
|
+
:param mem: The size of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#mem Server#mem}
|
|
823
|
+
:param metadata: Is the metadata service active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#metadata Server#metadata}
|
|
824
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#nic_model Server#nic_model}
|
|
825
|
+
: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.2.3/docs/resources/server#plan Server#plan}
|
|
826
|
+
: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.2.3/docs/resources/server#server_group Server#server_group}
|
|
827
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#simple_backup Server#simple_backup}
|
|
828
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#storage_devices Server#storage_devices}
|
|
829
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#tags Server#tags}
|
|
830
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#template Server#template}
|
|
831
|
+
:param timezone: A timezone identifier, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#timezone Server#timezone}
|
|
832
|
+
:param title: A short, informational description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#title Server#title}
|
|
833
|
+
: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.2.3/docs/resources/server#user_data Server#user_data}
|
|
834
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#video_model Server#video_model}
|
|
835
835
|
'''
|
|
836
836
|
if isinstance(lifecycle, dict):
|
|
837
837
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -1001,7 +1001,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1001
1001
|
def hostname(self) -> builtins.str:
|
|
1002
1002
|
'''A valid domain name.
|
|
1003
1003
|
|
|
1004
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1004
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#hostname Server#hostname}
|
|
1005
1005
|
'''
|
|
1006
1006
|
result = self._values.get("hostname")
|
|
1007
1007
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -1013,7 +1013,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1013
1013
|
) -> typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]:
|
|
1014
1014
|
'''network_interface block.
|
|
1015
1015
|
|
|
1016
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1016
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#network_interface Server#network_interface}
|
|
1017
1017
|
'''
|
|
1018
1018
|
result = self._values.get("network_interface")
|
|
1019
1019
|
assert result is not None, "Required property 'network_interface' is missing"
|
|
@@ -1023,7 +1023,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1023
1023
|
def zone(self) -> builtins.str:
|
|
1024
1024
|
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1025
1025
|
|
|
1026
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1026
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#zone Server#zone}
|
|
1027
1027
|
'''
|
|
1028
1028
|
result = self._values.get("zone")
|
|
1029
1029
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1033,7 +1033,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1033
1033
|
def boot_order(self) -> typing.Optional[builtins.str]:
|
|
1034
1034
|
'''The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``.
|
|
1035
1035
|
|
|
1036
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1036
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#boot_order Server#boot_order}
|
|
1037
1037
|
'''
|
|
1038
1038
|
result = self._values.get("boot_order")
|
|
1039
1039
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1042,7 +1042,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1042
1042
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
1043
1043
|
'''The number of CPU for the server.
|
|
1044
1044
|
|
|
1045
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1045
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#cpu Server#cpu}
|
|
1046
1046
|
'''
|
|
1047
1047
|
result = self._values.get("cpu")
|
|
1048
1048
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1053,7 +1053,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1053
1053
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1054
1054
|
'''Are firewall rules active for the server.
|
|
1055
1055
|
|
|
1056
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1056
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#firewall Server#firewall}
|
|
1057
1057
|
'''
|
|
1058
1058
|
result = self._values.get("firewall")
|
|
1059
1059
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1064,14 +1064,14 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1064
1064
|
|
|
1065
1065
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
1066
1066
|
|
|
1067
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1067
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#host Server#host}
|
|
1068
1068
|
'''
|
|
1069
1069
|
result = self._values.get("host")
|
|
1070
1070
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1071
1071
|
|
|
1072
1072
|
@builtins.property
|
|
1073
1073
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1074
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1074
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#id Server#id}.
|
|
1075
1075
|
|
|
1076
1076
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1077
1077
|
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.
|
|
@@ -1083,7 +1083,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1083
1083
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1084
1084
|
'''Key-value pairs to classify the server.
|
|
1085
1085
|
|
|
1086
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1086
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#labels Server#labels}
|
|
1087
1087
|
'''
|
|
1088
1088
|
result = self._values.get("labels")
|
|
1089
1089
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1092,7 +1092,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1092
1092
|
def login(self) -> typing.Optional["ServerLogin"]:
|
|
1093
1093
|
'''login block.
|
|
1094
1094
|
|
|
1095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1095
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#login Server#login}
|
|
1096
1096
|
'''
|
|
1097
1097
|
result = self._values.get("login")
|
|
1098
1098
|
return typing.cast(typing.Optional["ServerLogin"], result)
|
|
@@ -1101,7 +1101,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1101
1101
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
1102
1102
|
'''The size of memory for the server (in megabytes).
|
|
1103
1103
|
|
|
1104
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1104
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#mem Server#mem}
|
|
1105
1105
|
'''
|
|
1106
1106
|
result = self._values.get("mem")
|
|
1107
1107
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1112,7 +1112,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1112
1112
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1113
1113
|
'''Is the metadata service active for the server.
|
|
1114
1114
|
|
|
1115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1115
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#metadata Server#metadata}
|
|
1116
1116
|
'''
|
|
1117
1117
|
result = self._values.get("metadata")
|
|
1118
1118
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1121,7 +1121,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1121
1121
|
def nic_model(self) -> typing.Optional[builtins.str]:
|
|
1122
1122
|
'''The model of the server's network interfaces.
|
|
1123
1123
|
|
|
1124
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1124
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#nic_model Server#nic_model}
|
|
1125
1125
|
'''
|
|
1126
1126
|
result = self._values.get("nic_model")
|
|
1127
1127
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1130,7 +1130,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1130
1130
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
1131
1131
|
'''The pricing plan used for the server. You can list available server plans with ``upctl server plans``.
|
|
1132
1132
|
|
|
1133
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1133
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#plan Server#plan}
|
|
1134
1134
|
'''
|
|
1135
1135
|
result = self._values.get("plan")
|
|
1136
1136
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1141,7 +1141,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1141
1141
|
|
|
1142
1142
|
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.
|
|
1143
1143
|
|
|
1144
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1144
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#server_group Server#server_group}
|
|
1145
1145
|
'''
|
|
1146
1146
|
result = self._values.get("server_group")
|
|
1147
1147
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1150,7 +1150,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1150
1150
|
def simple_backup(self) -> typing.Optional["ServerSimpleBackup"]:
|
|
1151
1151
|
'''simple_backup block.
|
|
1152
1152
|
|
|
1153
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1153
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#simple_backup Server#simple_backup}
|
|
1154
1154
|
'''
|
|
1155
1155
|
result = self._values.get("simple_backup")
|
|
1156
1156
|
return typing.cast(typing.Optional["ServerSimpleBackup"], result)
|
|
@@ -1161,7 +1161,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1161
1161
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
1162
1162
|
'''storage_devices block.
|
|
1163
1163
|
|
|
1164
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1164
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#storage_devices Server#storage_devices}
|
|
1165
1165
|
'''
|
|
1166
1166
|
result = self._values.get("storage_devices")
|
|
1167
1167
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -1170,7 +1170,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1170
1170
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1171
1171
|
'''The server related tags.
|
|
1172
1172
|
|
|
1173
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1173
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#tags Server#tags}
|
|
1174
1174
|
'''
|
|
1175
1175
|
result = self._values.get("tags")
|
|
1176
1176
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1179,7 +1179,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1179
1179
|
def template(self) -> typing.Optional["ServerTemplate"]:
|
|
1180
1180
|
'''template block.
|
|
1181
1181
|
|
|
1182
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1182
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#template Server#template}
|
|
1183
1183
|
'''
|
|
1184
1184
|
result = self._values.get("template")
|
|
1185
1185
|
return typing.cast(typing.Optional["ServerTemplate"], result)
|
|
@@ -1188,7 +1188,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1188
1188
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1189
1189
|
'''A timezone identifier, e.g. ``Europe/Helsinki``.
|
|
1190
1190
|
|
|
1191
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1191
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#timezone Server#timezone}
|
|
1192
1192
|
'''
|
|
1193
1193
|
result = self._values.get("timezone")
|
|
1194
1194
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1197,7 +1197,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1197
1197
|
def title(self) -> typing.Optional[builtins.str]:
|
|
1198
1198
|
'''A short, informational description.
|
|
1199
1199
|
|
|
1200
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1200
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#title Server#title}
|
|
1201
1201
|
'''
|
|
1202
1202
|
result = self._values.get("title")
|
|
1203
1203
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1206,7 +1206,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1206
1206
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
1207
1207
|
'''Defines URL for a server setup script, or the script body itself.
|
|
1208
1208
|
|
|
1209
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1209
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#user_data Server#user_data}
|
|
1210
1210
|
'''
|
|
1211
1211
|
result = self._values.get("user_data")
|
|
1212
1212
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1215,7 +1215,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1215
1215
|
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1216
1216
|
'''The model of the server's video interface.
|
|
1217
1217
|
|
|
1218
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1218
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#video_model Server#video_model}
|
|
1219
1219
|
'''
|
|
1220
1220
|
result = self._values.get("video_model")
|
|
1221
1221
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1252,10 +1252,10 @@ class ServerLogin:
|
|
|
1252
1252
|
user: typing.Optional[builtins.str] = None,
|
|
1253
1253
|
) -> None:
|
|
1254
1254
|
'''
|
|
1255
|
-
: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.2.
|
|
1256
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1257
|
-
: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.2.
|
|
1258
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1255
|
+
: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.2.3/docs/resources/server#create_password Server#create_password}
|
|
1256
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#keys Server#keys}
|
|
1257
|
+
: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.2.3/docs/resources/server#password_delivery Server#password_delivery}
|
|
1258
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#user Server#user}
|
|
1259
1259
|
'''
|
|
1260
1260
|
if __debug__:
|
|
1261
1261
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1279,7 +1279,7 @@ class ServerLogin:
|
|
|
1279
1279
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1280
1280
|
'''Indicates a password should be create to allow access.
|
|
1281
1281
|
|
|
1282
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1282
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#create_password Server#create_password}
|
|
1283
1283
|
'''
|
|
1284
1284
|
result = self._values.get("create_password")
|
|
1285
1285
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1288,7 +1288,7 @@ class ServerLogin:
|
|
|
1288
1288
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1289
1289
|
'''A list of ssh keys to access the server.
|
|
1290
1290
|
|
|
1291
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1291
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#keys Server#keys}
|
|
1292
1292
|
'''
|
|
1293
1293
|
result = self._values.get("keys")
|
|
1294
1294
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1297,7 +1297,7 @@ class ServerLogin:
|
|
|
1297
1297
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1298
1298
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1299
1299
|
|
|
1300
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1300
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#password_delivery Server#password_delivery}
|
|
1301
1301
|
'''
|
|
1302
1302
|
result = self._values.get("password_delivery")
|
|
1303
1303
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1306,7 +1306,7 @@ class ServerLogin:
|
|
|
1306
1306
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1307
1307
|
'''Username to be create to access the server.
|
|
1308
1308
|
|
|
1309
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1309
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#user Server#user}
|
|
1310
1310
|
'''
|
|
1311
1311
|
result = self._values.get("user")
|
|
1312
1312
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1452,6 +1452,7 @@ class ServerLoginOutputReference(
|
|
|
1452
1452
|
jsii_struct_bases=[],
|
|
1453
1453
|
name_mapping={
|
|
1454
1454
|
"type": "type",
|
|
1455
|
+
"additional_ip_address": "additionalIpAddress",
|
|
1455
1456
|
"bootable": "bootable",
|
|
1456
1457
|
"ip_address": "ipAddress",
|
|
1457
1458
|
"ip_address_family": "ipAddressFamily",
|
|
@@ -1464,6 +1465,7 @@ class ServerNetworkInterface:
|
|
|
1464
1465
|
self,
|
|
1465
1466
|
*,
|
|
1466
1467
|
type: builtins.str,
|
|
1468
|
+
additional_ip_address: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ServerNetworkInterfaceAdditionalIpAddress", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1467
1469
|
bootable: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1468
1470
|
ip_address: typing.Optional[builtins.str] = None,
|
|
1469
1471
|
ip_address_family: typing.Optional[builtins.str] = None,
|
|
@@ -1471,16 +1473,18 @@ class ServerNetworkInterface:
|
|
|
1471
1473
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1472
1474
|
) -> None:
|
|
1473
1475
|
'''
|
|
1474
|
-
: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.2.
|
|
1475
|
-
:param
|
|
1476
|
-
:param
|
|
1477
|
-
:param
|
|
1478
|
-
:param
|
|
1479
|
-
:param
|
|
1476
|
+
: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.2.3/docs/resources/server#type Server#type}
|
|
1477
|
+
:param additional_ip_address: additional_ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#additional_ip_address Server#additional_ip_address}
|
|
1478
|
+
: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.2.3/docs/resources/server#bootable Server#bootable}
|
|
1479
|
+
:param ip_address: The assigned primary IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#ip_address Server#ip_address}
|
|
1480
|
+
: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.2.3/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1481
|
+
: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.2.3/docs/resources/server#network Server#network}
|
|
1482
|
+
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1480
1483
|
'''
|
|
1481
1484
|
if __debug__:
|
|
1482
1485
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
1483
1486
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
1487
|
+
check_type(argname="argument additional_ip_address", value=additional_ip_address, expected_type=type_hints["additional_ip_address"])
|
|
1484
1488
|
check_type(argname="argument bootable", value=bootable, expected_type=type_hints["bootable"])
|
|
1485
1489
|
check_type(argname="argument ip_address", value=ip_address, expected_type=type_hints["ip_address"])
|
|
1486
1490
|
check_type(argname="argument ip_address_family", value=ip_address_family, expected_type=type_hints["ip_address_family"])
|
|
@@ -1489,6 +1493,8 @@ class ServerNetworkInterface:
|
|
|
1489
1493
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1490
1494
|
"type": type,
|
|
1491
1495
|
}
|
|
1496
|
+
if additional_ip_address is not None:
|
|
1497
|
+
self._values["additional_ip_address"] = additional_ip_address
|
|
1492
1498
|
if bootable is not None:
|
|
1493
1499
|
self._values["bootable"] = bootable
|
|
1494
1500
|
if ip_address is not None:
|
|
@@ -1504,37 +1510,48 @@ class ServerNetworkInterface:
|
|
|
1504
1510
|
def type(self) -> builtins.str:
|
|
1505
1511
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1506
1512
|
|
|
1507
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1513
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#type Server#type}
|
|
1508
1514
|
'''
|
|
1509
1515
|
result = self._values.get("type")
|
|
1510
1516
|
assert result is not None, "Required property 'type' is missing"
|
|
1511
1517
|
return typing.cast(builtins.str, result)
|
|
1512
1518
|
|
|
1519
|
+
@builtins.property
|
|
1520
|
+
def additional_ip_address(
|
|
1521
|
+
self,
|
|
1522
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterfaceAdditionalIpAddress"]]]:
|
|
1523
|
+
'''additional_ip_address block.
|
|
1524
|
+
|
|
1525
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#additional_ip_address Server#additional_ip_address}
|
|
1526
|
+
'''
|
|
1527
|
+
result = self._values.get("additional_ip_address")
|
|
1528
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterfaceAdditionalIpAddress"]]], result)
|
|
1529
|
+
|
|
1513
1530
|
@builtins.property
|
|
1514
1531
|
def bootable(
|
|
1515
1532
|
self,
|
|
1516
1533
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1517
1534
|
'''``true`` if this interface should be used for network booting.
|
|
1518
1535
|
|
|
1519
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1536
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#bootable Server#bootable}
|
|
1520
1537
|
'''
|
|
1521
1538
|
result = self._values.get("bootable")
|
|
1522
1539
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
1523
1540
|
|
|
1524
1541
|
@builtins.property
|
|
1525
1542
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1526
|
-
'''The assigned IP address.
|
|
1543
|
+
'''The assigned primary IP address.
|
|
1527
1544
|
|
|
1528
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1545
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#ip_address Server#ip_address}
|
|
1529
1546
|
'''
|
|
1530
1547
|
result = self._values.get("ip_address")
|
|
1531
1548
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1532
1549
|
|
|
1533
1550
|
@builtins.property
|
|
1534
1551
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1535
|
-
'''The IP address
|
|
1552
|
+
'''The type of the primary IP address of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1536
1553
|
|
|
1537
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1554
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1538
1555
|
'''
|
|
1539
1556
|
result = self._values.get("ip_address_family")
|
|
1540
1557
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1543,7 +1560,7 @@ class ServerNetworkInterface:
|
|
|
1543
1560
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1544
1561
|
'''The unique ID of a network to attach this network to.
|
|
1545
1562
|
|
|
1546
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1563
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#network Server#network}
|
|
1547
1564
|
'''
|
|
1548
1565
|
result = self._values.get("network")
|
|
1549
1566
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1554,7 +1571,7 @@ class ServerNetworkInterface:
|
|
|
1554
1571
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1555
1572
|
'''``true`` if source IP should be filtered.
|
|
1556
1573
|
|
|
1557
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1574
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1558
1575
|
'''
|
|
1559
1576
|
result = self._values.get("source_ip_filtering")
|
|
1560
1577
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1571,6 +1588,246 @@ class ServerNetworkInterface:
|
|
|
1571
1588
|
)
|
|
1572
1589
|
|
|
1573
1590
|
|
|
1591
|
+
@jsii.data_type(
|
|
1592
|
+
jsii_type="@cdktf/provider-upcloud.server.ServerNetworkInterfaceAdditionalIpAddress",
|
|
1593
|
+
jsii_struct_bases=[],
|
|
1594
|
+
name_mapping={"ip_address": "ipAddress", "ip_address_family": "ipAddressFamily"},
|
|
1595
|
+
)
|
|
1596
|
+
class ServerNetworkInterfaceAdditionalIpAddress:
|
|
1597
|
+
def __init__(
|
|
1598
|
+
self,
|
|
1599
|
+
*,
|
|
1600
|
+
ip_address: typing.Optional[builtins.str] = None,
|
|
1601
|
+
ip_address_family: typing.Optional[builtins.str] = None,
|
|
1602
|
+
) -> None:
|
|
1603
|
+
'''
|
|
1604
|
+
:param ip_address: The assigned additional IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#ip_address Server#ip_address}
|
|
1605
|
+
: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.2.3/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1606
|
+
'''
|
|
1607
|
+
if __debug__:
|
|
1608
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0b6048ebfe8d4aeae43994c82a3e7294ab414eb1a49571fd3fff63238f2a288c)
|
|
1609
|
+
check_type(argname="argument ip_address", value=ip_address, expected_type=type_hints["ip_address"])
|
|
1610
|
+
check_type(argname="argument ip_address_family", value=ip_address_family, expected_type=type_hints["ip_address_family"])
|
|
1611
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1612
|
+
if ip_address is not None:
|
|
1613
|
+
self._values["ip_address"] = ip_address
|
|
1614
|
+
if ip_address_family is not None:
|
|
1615
|
+
self._values["ip_address_family"] = ip_address_family
|
|
1616
|
+
|
|
1617
|
+
@builtins.property
|
|
1618
|
+
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1619
|
+
'''The assigned additional IP address.
|
|
1620
|
+
|
|
1621
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#ip_address Server#ip_address}
|
|
1622
|
+
'''
|
|
1623
|
+
result = self._values.get("ip_address")
|
|
1624
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1625
|
+
|
|
1626
|
+
@builtins.property
|
|
1627
|
+
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1628
|
+
'''The type of this additional IP address of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1629
|
+
|
|
1630
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1631
|
+
'''
|
|
1632
|
+
result = self._values.get("ip_address_family")
|
|
1633
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1634
|
+
|
|
1635
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1636
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1637
|
+
|
|
1638
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1639
|
+
return not (rhs == self)
|
|
1640
|
+
|
|
1641
|
+
def __repr__(self) -> str:
|
|
1642
|
+
return "ServerNetworkInterfaceAdditionalIpAddress(%s)" % ", ".join(
|
|
1643
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1644
|
+
)
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
class ServerNetworkInterfaceAdditionalIpAddressList(
|
|
1648
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1649
|
+
metaclass=jsii.JSIIMeta,
|
|
1650
|
+
jsii_type="@cdktf/provider-upcloud.server.ServerNetworkInterfaceAdditionalIpAddressList",
|
|
1651
|
+
):
|
|
1652
|
+
def __init__(
|
|
1653
|
+
self,
|
|
1654
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1655
|
+
terraform_attribute: builtins.str,
|
|
1656
|
+
wraps_set: builtins.bool,
|
|
1657
|
+
) -> None:
|
|
1658
|
+
'''
|
|
1659
|
+
:param terraform_resource: The parent resource.
|
|
1660
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1661
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1662
|
+
'''
|
|
1663
|
+
if __debug__:
|
|
1664
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c89b4cdfc5939236d1e9fc94c384f611793f43a4c91f76c668bcf6e8920983da)
|
|
1665
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1666
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1667
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1668
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1669
|
+
|
|
1670
|
+
@jsii.member(jsii_name="get")
|
|
1671
|
+
def get(
|
|
1672
|
+
self,
|
|
1673
|
+
index: jsii.Number,
|
|
1674
|
+
) -> "ServerNetworkInterfaceAdditionalIpAddressOutputReference":
|
|
1675
|
+
'''
|
|
1676
|
+
:param index: the index of the item to return.
|
|
1677
|
+
'''
|
|
1678
|
+
if __debug__:
|
|
1679
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fe600652bfba5fc59a4726212c2fa122256244a2cec86e2b2e06070db8c1d984)
|
|
1680
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1681
|
+
return typing.cast("ServerNetworkInterfaceAdditionalIpAddressOutputReference", jsii.invoke(self, "get", [index]))
|
|
1682
|
+
|
|
1683
|
+
@builtins.property
|
|
1684
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1685
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1686
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1687
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1688
|
+
|
|
1689
|
+
@_terraform_attribute.setter
|
|
1690
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1691
|
+
if __debug__:
|
|
1692
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e6809907a581b5b3f9e20b9babc436747ce0b3ea6a13648ac92d3c70b10d2dfc)
|
|
1693
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1694
|
+
jsii.set(self, "terraformAttribute", value)
|
|
1695
|
+
|
|
1696
|
+
@builtins.property
|
|
1697
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1698
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1699
|
+
'''The parent resource.'''
|
|
1700
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1701
|
+
|
|
1702
|
+
@_terraform_resource.setter
|
|
1703
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1704
|
+
if __debug__:
|
|
1705
|
+
type_hints = typing.get_type_hints(_typecheckingstub__36f7c9cde4988785a40830d569a548a483243af9c6bd0873ff940529f6b4b585)
|
|
1706
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1707
|
+
jsii.set(self, "terraformResource", value)
|
|
1708
|
+
|
|
1709
|
+
@builtins.property
|
|
1710
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1711
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1712
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1713
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1714
|
+
|
|
1715
|
+
@_wraps_set.setter
|
|
1716
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1717
|
+
if __debug__:
|
|
1718
|
+
type_hints = typing.get_type_hints(_typecheckingstub__644944fcfc32d93265d478713d73010561f8478c3e1ffa1f2c553bd86640c038)
|
|
1719
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1720
|
+
jsii.set(self, "wrapsSet", value)
|
|
1721
|
+
|
|
1722
|
+
@builtins.property
|
|
1723
|
+
@jsii.member(jsii_name="internalValue")
|
|
1724
|
+
def internal_value(
|
|
1725
|
+
self,
|
|
1726
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ServerNetworkInterfaceAdditionalIpAddress]]]:
|
|
1727
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ServerNetworkInterfaceAdditionalIpAddress]]], jsii.get(self, "internalValue"))
|
|
1728
|
+
|
|
1729
|
+
@internal_value.setter
|
|
1730
|
+
def internal_value(
|
|
1731
|
+
self,
|
|
1732
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ServerNetworkInterfaceAdditionalIpAddress]]],
|
|
1733
|
+
) -> None:
|
|
1734
|
+
if __debug__:
|
|
1735
|
+
type_hints = typing.get_type_hints(_typecheckingstub__45575bc52539ed3b5b2359cb867fcb8d243b1038ceb2f8bcfb25d1c549b97311)
|
|
1736
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1737
|
+
jsii.set(self, "internalValue", value)
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
class ServerNetworkInterfaceAdditionalIpAddressOutputReference(
|
|
1741
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1742
|
+
metaclass=jsii.JSIIMeta,
|
|
1743
|
+
jsii_type="@cdktf/provider-upcloud.server.ServerNetworkInterfaceAdditionalIpAddressOutputReference",
|
|
1744
|
+
):
|
|
1745
|
+
def __init__(
|
|
1746
|
+
self,
|
|
1747
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1748
|
+
terraform_attribute: builtins.str,
|
|
1749
|
+
complex_object_index: jsii.Number,
|
|
1750
|
+
complex_object_is_from_set: builtins.bool,
|
|
1751
|
+
) -> None:
|
|
1752
|
+
'''
|
|
1753
|
+
:param terraform_resource: The parent resource.
|
|
1754
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1755
|
+
:param complex_object_index: the index of this item in the list.
|
|
1756
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1757
|
+
'''
|
|
1758
|
+
if __debug__:
|
|
1759
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4810e97a66fec22fb3dd09271c828afd76cb05fc43770f256ae7b23ed9da0815)
|
|
1760
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1761
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1762
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1763
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1764
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1765
|
+
|
|
1766
|
+
@jsii.member(jsii_name="resetIpAddress")
|
|
1767
|
+
def reset_ip_address(self) -> None:
|
|
1768
|
+
return typing.cast(None, jsii.invoke(self, "resetIpAddress", []))
|
|
1769
|
+
|
|
1770
|
+
@jsii.member(jsii_name="resetIpAddressFamily")
|
|
1771
|
+
def reset_ip_address_family(self) -> None:
|
|
1772
|
+
return typing.cast(None, jsii.invoke(self, "resetIpAddressFamily", []))
|
|
1773
|
+
|
|
1774
|
+
@builtins.property
|
|
1775
|
+
@jsii.member(jsii_name="ipAddressFloating")
|
|
1776
|
+
def ip_address_floating(self) -> _cdktf_9a9027ec.IResolvable:
|
|
1777
|
+
return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "ipAddressFloating"))
|
|
1778
|
+
|
|
1779
|
+
@builtins.property
|
|
1780
|
+
@jsii.member(jsii_name="ipAddressFamilyInput")
|
|
1781
|
+
def ip_address_family_input(self) -> typing.Optional[builtins.str]:
|
|
1782
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "ipAddressFamilyInput"))
|
|
1783
|
+
|
|
1784
|
+
@builtins.property
|
|
1785
|
+
@jsii.member(jsii_name="ipAddressInput")
|
|
1786
|
+
def ip_address_input(self) -> typing.Optional[builtins.str]:
|
|
1787
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "ipAddressInput"))
|
|
1788
|
+
|
|
1789
|
+
@builtins.property
|
|
1790
|
+
@jsii.member(jsii_name="ipAddress")
|
|
1791
|
+
def ip_address(self) -> builtins.str:
|
|
1792
|
+
return typing.cast(builtins.str, jsii.get(self, "ipAddress"))
|
|
1793
|
+
|
|
1794
|
+
@ip_address.setter
|
|
1795
|
+
def ip_address(self, value: builtins.str) -> None:
|
|
1796
|
+
if __debug__:
|
|
1797
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d0fc5e2f66e9fb36b7182fe1e3ac63b505553c4d12c85e38dc9931ca117fc764)
|
|
1798
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1799
|
+
jsii.set(self, "ipAddress", value)
|
|
1800
|
+
|
|
1801
|
+
@builtins.property
|
|
1802
|
+
@jsii.member(jsii_name="ipAddressFamily")
|
|
1803
|
+
def ip_address_family(self) -> builtins.str:
|
|
1804
|
+
return typing.cast(builtins.str, jsii.get(self, "ipAddressFamily"))
|
|
1805
|
+
|
|
1806
|
+
@ip_address_family.setter
|
|
1807
|
+
def ip_address_family(self, value: builtins.str) -> None:
|
|
1808
|
+
if __debug__:
|
|
1809
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4526d2405b2bec0bc8fbc830fb0bcc3fca2f040b51eda99c592f63ea38a4a8f0)
|
|
1810
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1811
|
+
jsii.set(self, "ipAddressFamily", value)
|
|
1812
|
+
|
|
1813
|
+
@builtins.property
|
|
1814
|
+
@jsii.member(jsii_name="internalValue")
|
|
1815
|
+
def internal_value(
|
|
1816
|
+
self,
|
|
1817
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, ServerNetworkInterfaceAdditionalIpAddress]]:
|
|
1818
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, ServerNetworkInterfaceAdditionalIpAddress]], jsii.get(self, "internalValue"))
|
|
1819
|
+
|
|
1820
|
+
@internal_value.setter
|
|
1821
|
+
def internal_value(
|
|
1822
|
+
self,
|
|
1823
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, ServerNetworkInterfaceAdditionalIpAddress]],
|
|
1824
|
+
) -> None:
|
|
1825
|
+
if __debug__:
|
|
1826
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2ec9c6ee49d971ad506ddb057f8f31a2aa27ea1e520ca44123a2e905e640c982)
|
|
1827
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1828
|
+
jsii.set(self, "internalValue", value)
|
|
1829
|
+
|
|
1830
|
+
|
|
1574
1831
|
class ServerNetworkInterfaceList(
|
|
1575
1832
|
_cdktf_9a9027ec.ComplexList,
|
|
1576
1833
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1687,6 +1944,23 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1687
1944
|
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1688
1945
|
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1689
1946
|
|
|
1947
|
+
@jsii.member(jsii_name="putAdditionalIpAddress")
|
|
1948
|
+
def put_additional_ip_address(
|
|
1949
|
+
self,
|
|
1950
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ServerNetworkInterfaceAdditionalIpAddress, typing.Dict[builtins.str, typing.Any]]]],
|
|
1951
|
+
) -> None:
|
|
1952
|
+
'''
|
|
1953
|
+
:param value: -
|
|
1954
|
+
'''
|
|
1955
|
+
if __debug__:
|
|
1956
|
+
type_hints = typing.get_type_hints(_typecheckingstub__368dac4f3634a09c66a3ae7e88a47843ad59c6921904b64e48b246bca21f0781)
|
|
1957
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1958
|
+
return typing.cast(None, jsii.invoke(self, "putAdditionalIpAddress", [value]))
|
|
1959
|
+
|
|
1960
|
+
@jsii.member(jsii_name="resetAdditionalIpAddress")
|
|
1961
|
+
def reset_additional_ip_address(self) -> None:
|
|
1962
|
+
return typing.cast(None, jsii.invoke(self, "resetAdditionalIpAddress", []))
|
|
1963
|
+
|
|
1690
1964
|
@jsii.member(jsii_name="resetBootable")
|
|
1691
1965
|
def reset_bootable(self) -> None:
|
|
1692
1966
|
return typing.cast(None, jsii.invoke(self, "resetBootable", []))
|
|
@@ -1707,6 +1981,11 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1707
1981
|
def reset_source_ip_filtering(self) -> None:
|
|
1708
1982
|
return typing.cast(None, jsii.invoke(self, "resetSourceIpFiltering", []))
|
|
1709
1983
|
|
|
1984
|
+
@builtins.property
|
|
1985
|
+
@jsii.member(jsii_name="additionalIpAddress")
|
|
1986
|
+
def additional_ip_address(self) -> ServerNetworkInterfaceAdditionalIpAddressList:
|
|
1987
|
+
return typing.cast(ServerNetworkInterfaceAdditionalIpAddressList, jsii.get(self, "additionalIpAddress"))
|
|
1988
|
+
|
|
1710
1989
|
@builtins.property
|
|
1711
1990
|
@jsii.member(jsii_name="ipAddressFloating")
|
|
1712
1991
|
def ip_address_floating(self) -> _cdktf_9a9027ec.IResolvable:
|
|
@@ -1717,6 +1996,13 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1717
1996
|
def mac_address(self) -> builtins.str:
|
|
1718
1997
|
return typing.cast(builtins.str, jsii.get(self, "macAddress"))
|
|
1719
1998
|
|
|
1999
|
+
@builtins.property
|
|
2000
|
+
@jsii.member(jsii_name="additionalIpAddressInput")
|
|
2001
|
+
def additional_ip_address_input(
|
|
2002
|
+
self,
|
|
2003
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ServerNetworkInterfaceAdditionalIpAddress]]]:
|
|
2004
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ServerNetworkInterfaceAdditionalIpAddress]]], jsii.get(self, "additionalIpAddressInput"))
|
|
2005
|
+
|
|
1720
2006
|
@builtins.property
|
|
1721
2007
|
@jsii.member(jsii_name="bootableInput")
|
|
1722
2008
|
def bootable_input(
|
|
@@ -1857,8 +2143,8 @@ class ServerNetworkInterfaceOutputReference(
|
|
|
1857
2143
|
class ServerSimpleBackup:
|
|
1858
2144
|
def __init__(self, *, plan: builtins.str, time: builtins.str) -> None:
|
|
1859
2145
|
'''
|
|
1860
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1861
|
-
: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.2.
|
|
2146
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#plan Server#plan}
|
|
2147
|
+
: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.2.3/docs/resources/server#time Server#time}
|
|
1862
2148
|
'''
|
|
1863
2149
|
if __debug__:
|
|
1864
2150
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -1873,7 +2159,7 @@ class ServerSimpleBackup:
|
|
|
1873
2159
|
def plan(self) -> builtins.str:
|
|
1874
2160
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
1875
2161
|
|
|
1876
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2162
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#plan Server#plan}
|
|
1877
2163
|
'''
|
|
1878
2164
|
result = self._values.get("plan")
|
|
1879
2165
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1883,7 +2169,7 @@ class ServerSimpleBackup:
|
|
|
1883
2169
|
def time(self) -> builtins.str:
|
|
1884
2170
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
1885
2171
|
|
|
1886
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2172
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#time Server#time}
|
|
1887
2173
|
'''
|
|
1888
2174
|
result = self._values.get("time")
|
|
1889
2175
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -1988,10 +2274,10 @@ class ServerStorageDevices:
|
|
|
1988
2274
|
type: typing.Optional[builtins.str] = None,
|
|
1989
2275
|
) -> None:
|
|
1990
2276
|
'''
|
|
1991
|
-
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
1992
|
-
: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.2.
|
|
1993
|
-
: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.2.
|
|
1994
|
-
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2277
|
+
:param storage: A valid storage UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#storage Server#storage}
|
|
2278
|
+
: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.2.3/docs/resources/server#address Server#address}
|
|
2279
|
+
: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.2.3/docs/resources/server#address_position Server#address_position}
|
|
2280
|
+
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#type Server#type}
|
|
1995
2281
|
'''
|
|
1996
2282
|
if __debug__:
|
|
1997
2283
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -2013,7 +2299,7 @@ class ServerStorageDevices:
|
|
|
2013
2299
|
def storage(self) -> builtins.str:
|
|
2014
2300
|
'''A valid storage UUID.
|
|
2015
2301
|
|
|
2016
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2302
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#storage Server#storage}
|
|
2017
2303
|
'''
|
|
2018
2304
|
result = self._values.get("storage")
|
|
2019
2305
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2025,7 +2311,7 @@ class ServerStorageDevices:
|
|
|
2025
2311
|
|
|
2026
2312
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2027
2313
|
|
|
2028
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2314
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#address Server#address}
|
|
2029
2315
|
'''
|
|
2030
2316
|
result = self._values.get("address")
|
|
2031
2317
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2036,7 +2322,7 @@ class ServerStorageDevices:
|
|
|
2036
2322
|
|
|
2037
2323
|
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.
|
|
2038
2324
|
|
|
2039
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2325
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#address_position Server#address_position}
|
|
2040
2326
|
'''
|
|
2041
2327
|
result = self._values.get("address_position")
|
|
2042
2328
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2045,7 +2331,7 @@ class ServerStorageDevices:
|
|
|
2045
2331
|
def type(self) -> typing.Optional[builtins.str]:
|
|
2046
2332
|
'''The device type the storage will be attached as.
|
|
2047
2333
|
|
|
2048
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2334
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#type Server#type}
|
|
2049
2335
|
'''
|
|
2050
2336
|
result = self._values.get("type")
|
|
2051
2337
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2306,15 +2592,15 @@ class ServerTemplate:
|
|
|
2306
2592
|
title: typing.Optional[builtins.str] = None,
|
|
2307
2593
|
) -> None:
|
|
2308
2594
|
'''
|
|
2309
|
-
: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.2.
|
|
2310
|
-
: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.2.
|
|
2311
|
-
: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.2.
|
|
2312
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2313
|
-
: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.2.
|
|
2314
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2315
|
-
: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.2.
|
|
2316
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2317
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2595
|
+
: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.2.3/docs/resources/server#storage Server#storage}
|
|
2596
|
+
: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.2.3/docs/resources/server#address Server#address}
|
|
2597
|
+
: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.2.3/docs/resources/server#address_position Server#address_position}
|
|
2598
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#backup_rule Server#backup_rule}
|
|
2599
|
+
: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.2.3/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2600
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#encrypt Server#encrypt}
|
|
2601
|
+
: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.2.3/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2602
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#size Server#size}
|
|
2603
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#title Server#title}
|
|
2318
2604
|
'''
|
|
2319
2605
|
if isinstance(backup_rule, dict):
|
|
2320
2606
|
backup_rule = ServerTemplateBackupRule(**backup_rule)
|
|
@@ -2355,7 +2641,7 @@ class ServerTemplate:
|
|
|
2355
2641
|
|
|
2356
2642
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2357
2643
|
|
|
2358
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2644
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#storage Server#storage}
|
|
2359
2645
|
'''
|
|
2360
2646
|
result = self._values.get("storage")
|
|
2361
2647
|
assert result is not None, "Required property 'storage' is missing"
|
|
@@ -2367,7 +2653,7 @@ class ServerTemplate:
|
|
|
2367
2653
|
|
|
2368
2654
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2369
2655
|
|
|
2370
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2656
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#address Server#address}
|
|
2371
2657
|
'''
|
|
2372
2658
|
result = self._values.get("address")
|
|
2373
2659
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2378,7 +2664,7 @@ class ServerTemplate:
|
|
|
2378
2664
|
|
|
2379
2665
|
For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus.
|
|
2380
2666
|
|
|
2381
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2667
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#address_position Server#address_position}
|
|
2382
2668
|
'''
|
|
2383
2669
|
result = self._values.get("address_position")
|
|
2384
2670
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2387,7 +2673,7 @@ class ServerTemplate:
|
|
|
2387
2673
|
def backup_rule(self) -> typing.Optional["ServerTemplateBackupRule"]:
|
|
2388
2674
|
'''backup_rule block.
|
|
2389
2675
|
|
|
2390
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2676
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#backup_rule Server#backup_rule}
|
|
2391
2677
|
'''
|
|
2392
2678
|
result = self._values.get("backup_rule")
|
|
2393
2679
|
return typing.cast(typing.Optional["ServerTemplateBackupRule"], result)
|
|
@@ -2398,7 +2684,7 @@ class ServerTemplate:
|
|
|
2398
2684
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2399
2685
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2400
2686
|
|
|
2401
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2687
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2402
2688
|
'''
|
|
2403
2689
|
result = self._values.get("delete_autoresize_backup")
|
|
2404
2690
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2409,7 +2695,7 @@ class ServerTemplate:
|
|
|
2409
2695
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2410
2696
|
'''Sets if the storage is encrypted at rest.
|
|
2411
2697
|
|
|
2412
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2698
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#encrypt Server#encrypt}
|
|
2413
2699
|
'''
|
|
2414
2700
|
result = self._values.get("encrypt")
|
|
2415
2701
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2424,7 +2710,7 @@ class ServerTemplate:
|
|
|
2424
2710
|
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).
|
|
2425
2711
|
Taking and keeping backups incure costs.
|
|
2426
2712
|
|
|
2427
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2713
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2428
2714
|
'''
|
|
2429
2715
|
result = self._values.get("filesystem_autoresize")
|
|
2430
2716
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2433,7 +2719,7 @@ class ServerTemplate:
|
|
|
2433
2719
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2434
2720
|
'''The size of the storage in gigabytes.
|
|
2435
2721
|
|
|
2436
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2722
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#size Server#size}
|
|
2437
2723
|
'''
|
|
2438
2724
|
result = self._values.get("size")
|
|
2439
2725
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2442,7 +2728,7 @@ class ServerTemplate:
|
|
|
2442
2728
|
def title(self) -> typing.Optional[builtins.str]:
|
|
2443
2729
|
'''A short, informative description.
|
|
2444
2730
|
|
|
2445
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2731
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#title Server#title}
|
|
2446
2732
|
'''
|
|
2447
2733
|
result = self._values.get("title")
|
|
2448
2734
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2473,9 +2759,9 @@ class ServerTemplateBackupRule:
|
|
|
2473
2759
|
time: builtins.str,
|
|
2474
2760
|
) -> None:
|
|
2475
2761
|
'''
|
|
2476
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2477
|
-
: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.2.
|
|
2478
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2762
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#interval Server#interval}
|
|
2763
|
+
: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.2.3/docs/resources/server#retention Server#retention}
|
|
2764
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#time Server#time}
|
|
2479
2765
|
'''
|
|
2480
2766
|
if __debug__:
|
|
2481
2767
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -2492,7 +2778,7 @@ class ServerTemplateBackupRule:
|
|
|
2492
2778
|
def interval(self) -> builtins.str:
|
|
2493
2779
|
'''The weekday when the backup is created.
|
|
2494
2780
|
|
|
2495
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2781
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#interval Server#interval}
|
|
2496
2782
|
'''
|
|
2497
2783
|
result = self._values.get("interval")
|
|
2498
2784
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -2502,7 +2788,7 @@ class ServerTemplateBackupRule:
|
|
|
2502
2788
|
def retention(self) -> jsii.Number:
|
|
2503
2789
|
'''The number of days before a backup is automatically deleted.
|
|
2504
2790
|
|
|
2505
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2791
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#retention Server#retention}
|
|
2506
2792
|
'''
|
|
2507
2793
|
result = self._values.get("retention")
|
|
2508
2794
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -2512,7 +2798,7 @@ class ServerTemplateBackupRule:
|
|
|
2512
2798
|
def time(self) -> builtins.str:
|
|
2513
2799
|
'''The time of day when the backup is created.
|
|
2514
2800
|
|
|
2515
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2801
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#time Server#time}
|
|
2516
2802
|
'''
|
|
2517
2803
|
result = self._values.get("time")
|
|
2518
2804
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -2643,9 +2929,9 @@ class ServerTemplateOutputReference(
|
|
|
2643
2929
|
time: builtins.str,
|
|
2644
2930
|
) -> None:
|
|
2645
2931
|
'''
|
|
2646
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2647
|
-
: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.2.
|
|
2648
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.
|
|
2932
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#interval Server#interval}
|
|
2933
|
+
: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.2.3/docs/resources/server#retention Server#retention}
|
|
2934
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.3/docs/resources/server#time Server#time}
|
|
2649
2935
|
'''
|
|
2650
2936
|
value = ServerTemplateBackupRule(
|
|
2651
2937
|
interval=interval, retention=retention, time=time
|
|
@@ -2879,6 +3165,9 @@ __all__ = [
|
|
|
2879
3165
|
"ServerLogin",
|
|
2880
3166
|
"ServerLoginOutputReference",
|
|
2881
3167
|
"ServerNetworkInterface",
|
|
3168
|
+
"ServerNetworkInterfaceAdditionalIpAddress",
|
|
3169
|
+
"ServerNetworkInterfaceAdditionalIpAddressList",
|
|
3170
|
+
"ServerNetworkInterfaceAdditionalIpAddressOutputReference",
|
|
2882
3171
|
"ServerNetworkInterfaceList",
|
|
2883
3172
|
"ServerNetworkInterfaceOutputReference",
|
|
2884
3173
|
"ServerSimpleBackup",
|
|
@@ -3147,6 +3436,7 @@ def _typecheckingstub__c5a2e407880016cbd5838a509393761434aa730eb60add2b4b29eadad
|
|
|
3147
3436
|
def _typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea(
|
|
3148
3437
|
*,
|
|
3149
3438
|
type: builtins.str,
|
|
3439
|
+
additional_ip_address: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ServerNetworkInterfaceAdditionalIpAddress, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
3150
3440
|
bootable: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3151
3441
|
ip_address: typing.Optional[builtins.str] = None,
|
|
3152
3442
|
ip_address_family: typing.Optional[builtins.str] = None,
|
|
@@ -3156,6 +3446,79 @@ def _typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfb
|
|
|
3156
3446
|
"""Type checking stubs"""
|
|
3157
3447
|
pass
|
|
3158
3448
|
|
|
3449
|
+
def _typecheckingstub__0b6048ebfe8d4aeae43994c82a3e7294ab414eb1a49571fd3fff63238f2a288c(
|
|
3450
|
+
*,
|
|
3451
|
+
ip_address: typing.Optional[builtins.str] = None,
|
|
3452
|
+
ip_address_family: typing.Optional[builtins.str] = None,
|
|
3453
|
+
) -> None:
|
|
3454
|
+
"""Type checking stubs"""
|
|
3455
|
+
pass
|
|
3456
|
+
|
|
3457
|
+
def _typecheckingstub__c89b4cdfc5939236d1e9fc94c384f611793f43a4c91f76c668bcf6e8920983da(
|
|
3458
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
3459
|
+
terraform_attribute: builtins.str,
|
|
3460
|
+
wraps_set: builtins.bool,
|
|
3461
|
+
) -> None:
|
|
3462
|
+
"""Type checking stubs"""
|
|
3463
|
+
pass
|
|
3464
|
+
|
|
3465
|
+
def _typecheckingstub__fe600652bfba5fc59a4726212c2fa122256244a2cec86e2b2e06070db8c1d984(
|
|
3466
|
+
index: jsii.Number,
|
|
3467
|
+
) -> None:
|
|
3468
|
+
"""Type checking stubs"""
|
|
3469
|
+
pass
|
|
3470
|
+
|
|
3471
|
+
def _typecheckingstub__e6809907a581b5b3f9e20b9babc436747ce0b3ea6a13648ac92d3c70b10d2dfc(
|
|
3472
|
+
value: builtins.str,
|
|
3473
|
+
) -> None:
|
|
3474
|
+
"""Type checking stubs"""
|
|
3475
|
+
pass
|
|
3476
|
+
|
|
3477
|
+
def _typecheckingstub__36f7c9cde4988785a40830d569a548a483243af9c6bd0873ff940529f6b4b585(
|
|
3478
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
3479
|
+
) -> None:
|
|
3480
|
+
"""Type checking stubs"""
|
|
3481
|
+
pass
|
|
3482
|
+
|
|
3483
|
+
def _typecheckingstub__644944fcfc32d93265d478713d73010561f8478c3e1ffa1f2c553bd86640c038(
|
|
3484
|
+
value: builtins.bool,
|
|
3485
|
+
) -> None:
|
|
3486
|
+
"""Type checking stubs"""
|
|
3487
|
+
pass
|
|
3488
|
+
|
|
3489
|
+
def _typecheckingstub__45575bc52539ed3b5b2359cb867fcb8d243b1038ceb2f8bcfb25d1c549b97311(
|
|
3490
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ServerNetworkInterfaceAdditionalIpAddress]]],
|
|
3491
|
+
) -> None:
|
|
3492
|
+
"""Type checking stubs"""
|
|
3493
|
+
pass
|
|
3494
|
+
|
|
3495
|
+
def _typecheckingstub__4810e97a66fec22fb3dd09271c828afd76cb05fc43770f256ae7b23ed9da0815(
|
|
3496
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
3497
|
+
terraform_attribute: builtins.str,
|
|
3498
|
+
complex_object_index: jsii.Number,
|
|
3499
|
+
complex_object_is_from_set: builtins.bool,
|
|
3500
|
+
) -> None:
|
|
3501
|
+
"""Type checking stubs"""
|
|
3502
|
+
pass
|
|
3503
|
+
|
|
3504
|
+
def _typecheckingstub__d0fc5e2f66e9fb36b7182fe1e3ac63b505553c4d12c85e38dc9931ca117fc764(
|
|
3505
|
+
value: builtins.str,
|
|
3506
|
+
) -> None:
|
|
3507
|
+
"""Type checking stubs"""
|
|
3508
|
+
pass
|
|
3509
|
+
|
|
3510
|
+
def _typecheckingstub__4526d2405b2bec0bc8fbc830fb0bcc3fca2f040b51eda99c592f63ea38a4a8f0(
|
|
3511
|
+
value: builtins.str,
|
|
3512
|
+
) -> None:
|
|
3513
|
+
"""Type checking stubs"""
|
|
3514
|
+
pass
|
|
3515
|
+
|
|
3516
|
+
def _typecheckingstub__2ec9c6ee49d971ad506ddb057f8f31a2aa27ea1e520ca44123a2e905e640c982(
|
|
3517
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, ServerNetworkInterfaceAdditionalIpAddress]],
|
|
3518
|
+
) -> None:
|
|
3519
|
+
"""Type checking stubs"""
|
|
3520
|
+
pass
|
|
3521
|
+
|
|
3159
3522
|
def _typecheckingstub__fc54b91b5d0d7c97de16d571e1bd39a117d649214c8689ebf9994e4e990fd340(
|
|
3160
3523
|
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
3161
3524
|
terraform_attribute: builtins.str,
|
|
@@ -3203,6 +3566,12 @@ def _typecheckingstub__f351e78b8ed148a38258a4e1044dee8183c1dc0faa0e2ff98d6538a76
|
|
|
3203
3566
|
"""Type checking stubs"""
|
|
3204
3567
|
pass
|
|
3205
3568
|
|
|
3569
|
+
def _typecheckingstub__368dac4f3634a09c66a3ae7e88a47843ad59c6921904b64e48b246bca21f0781(
|
|
3570
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ServerNetworkInterfaceAdditionalIpAddress, typing.Dict[builtins.str, typing.Any]]]],
|
|
3571
|
+
) -> None:
|
|
3572
|
+
"""Type checking stubs"""
|
|
3573
|
+
pass
|
|
3574
|
+
|
|
3206
3575
|
def _typecheckingstub__47ed0e3d16bdd5428b4c7adf673350899ade00d8859059ed0f26439a53c0b519(
|
|
3207
3576
|
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
3208
3577
|
) -> None:
|