cdktf-cdktf-provider-upcloud 15.5.0__py3-none-any.whl → 15.6.1__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 -5
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.6.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +4 -4
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +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 +28 -28
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +38 -38
- 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 +34 -34
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +72 -72
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +228 -228
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +260 -211
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +650 -601
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +416 -367
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +180 -133
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +183 -136
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/provider/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +139 -139
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-15.5.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.1.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-15.6.1.dist-info/RECORD +67 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.5.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +0 -966
- cdktf_cdktf_provider_upcloud-15.5.0.dist-info/RECORD +0 -68
- {cdktf_cdktf_provider_upcloud-15.5.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-15.5.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.1.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-15.5.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_server`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_server`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class Server(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.server.Server",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server upcloud_server}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -82,33 +82,33 @@ class Server(
|
|
|
82
82
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
83
83
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
84
84
|
) -> None:
|
|
85
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
85
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server upcloud_server} Resource.
|
|
86
86
|
|
|
87
87
|
:param scope: The scope in which to define this construct.
|
|
88
88
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
89
|
-
:param hostname: The hostname of the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
90
|
-
: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.
|
|
91
|
-
: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.
|
|
92
|
-
:param cpu: The number of CPU cores for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
93
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
94
|
-
: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.
|
|
95
|
-
:param hot_resize: If set to true, allows changing the server plan without requiring a reboot. This enables hot resizing of the server. If hot resizing fails, the apply operation will fail. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
96
|
-
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
97
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
98
|
-
:param mem: The amount of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
99
|
-
:param metadata: Is metadata service active for the server. The metadata service must be enabled when using recent cloud-init based templates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
100
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
101
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
102
|
-
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
103
|
-
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
104
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
105
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
106
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
107
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
108
|
-
:param timezone: The timezone of the server. The timezone must be a valid timezone string, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
109
|
-
:param title: A short, informational description of the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
110
|
-
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
111
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
89
|
+
:param hostname: The hostname of the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#hostname Server#hostname}
|
|
90
|
+
: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.29.1/docs/resources/server#zone Server#zone}
|
|
91
|
+
: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.29.1/docs/resources/server#boot_order Server#boot_order}
|
|
92
|
+
:param cpu: The number of CPU cores for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#cpu Server#cpu}
|
|
93
|
+
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#firewall Server#firewall}
|
|
94
|
+
: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.29.1/docs/resources/server#host Server#host}
|
|
95
|
+
:param hot_resize: If set to true, allows changing the server plan without requiring a reboot. This enables hot resizing of the server. If hot resizing fails, the apply operation will fail. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#hot_resize Server#hot_resize}
|
|
96
|
+
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#labels Server#labels}
|
|
97
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#login Server#login}
|
|
98
|
+
:param mem: The amount of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#mem Server#mem}
|
|
99
|
+
:param metadata: Is metadata service active for the server. The metadata service must be enabled when using recent cloud-init based templates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#metadata Server#metadata}
|
|
100
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#network_interface Server#network_interface}
|
|
101
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#nic_model Server#nic_model}
|
|
102
|
+
:param plan: The pricing plan used for the server. You can list available server plans with ``upctl server plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#plan Server#plan}
|
|
103
|
+
:param server_group: The UUID of a server group to attach this server to. Note that the server can also be attached to a server group via the ``members`` property of ``upcloud_server_group``. Only one of the these should be defined at a time. This value is only updated if it has been set to non-zero value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#server_group Server#server_group}
|
|
104
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
105
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
106
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#tags Server#tags}
|
|
107
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#template Server#template}
|
|
108
|
+
:param timezone: The timezone of the server. The timezone must be a valid timezone string, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#timezone Server#timezone}
|
|
109
|
+
:param title: A short, informational description of the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#title Server#title}
|
|
110
|
+
:param user_data: Defines URL for a server setup script, or the script body itself. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#user_data Server#user_data}
|
|
111
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#video_model Server#video_model}
|
|
112
112
|
:param connection:
|
|
113
113
|
:param count:
|
|
114
114
|
:param depends_on:
|
|
@@ -169,7 +169,7 @@ class Server(
|
|
|
169
169
|
|
|
170
170
|
:param scope: The scope in which to define this construct.
|
|
171
171
|
:param import_to_id: The construct id used in the generated config for the Server to import.
|
|
172
|
-
:param import_from_id: The id of the existing Server that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
172
|
+
:param import_from_id: The id of the existing Server that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#import import section} in the documentation of this resource for the id to use
|
|
173
173
|
:param provider: ? Optional instance of the provider where the Server to import is found.
|
|
174
174
|
'''
|
|
175
175
|
if __debug__:
|
|
@@ -810,29 +810,29 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
810
810
|
:param lifecycle:
|
|
811
811
|
:param provider:
|
|
812
812
|
:param provisioners:
|
|
813
|
-
:param hostname: The hostname of the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
816
|
-
:param cpu: The number of CPU cores for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
817
|
-
:param firewall: Are firewall rules active for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
819
|
-
:param hot_resize: If set to true, allows changing the server plan without requiring a reboot. This enables hot resizing of the server. If hot resizing fails, the apply operation will fail. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
820
|
-
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
821
|
-
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
822
|
-
:param mem: The amount of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
823
|
-
:param metadata: Is metadata service active for the server. The metadata service must be enabled when using recent cloud-init based templates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
824
|
-
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
825
|
-
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
826
|
-
: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.
|
|
827
|
-
: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.
|
|
828
|
-
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
829
|
-
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
830
|
-
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
831
|
-
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
832
|
-
:param timezone: The timezone of the server. The timezone must be a valid timezone string, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
833
|
-
:param title: A short, informational description of the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
834
|
-
: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.
|
|
835
|
-
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
813
|
+
:param hostname: The hostname of the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#hostname Server#hostname}
|
|
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.29.1/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.29.1/docs/resources/server#boot_order Server#boot_order}
|
|
816
|
+
:param cpu: The number of CPU cores for the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/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.29.1/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.29.1/docs/resources/server#host Server#host}
|
|
819
|
+
:param hot_resize: If set to true, allows changing the server plan without requiring a reboot. This enables hot resizing of the server. If hot resizing fails, the apply operation will fail. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#hot_resize Server#hot_resize}
|
|
820
|
+
:param labels: User defined key-value pairs to classify the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#labels Server#labels}
|
|
821
|
+
:param login: login block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#login Server#login}
|
|
822
|
+
:param mem: The amount of memory for the server (in megabytes). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#mem Server#mem}
|
|
823
|
+
:param metadata: Is metadata service active for the server. The metadata service must be enabled when using recent cloud-init based templates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#metadata Server#metadata}
|
|
824
|
+
:param network_interface: network_interface block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#network_interface Server#network_interface}
|
|
825
|
+
:param nic_model: The model of the server's network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#nic_model Server#nic_model}
|
|
826
|
+
: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.29.1/docs/resources/server#plan Server#plan}
|
|
827
|
+
: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.29.1/docs/resources/server#server_group Server#server_group}
|
|
828
|
+
:param simple_backup: simple_backup block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
829
|
+
:param storage_devices: storage_devices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
830
|
+
:param tags: The server related tags. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#tags Server#tags}
|
|
831
|
+
:param template: template block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#template Server#template}
|
|
832
|
+
:param timezone: The timezone of the server. The timezone must be a valid timezone string, e.g. ``Europe/Helsinki``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#timezone Server#timezone}
|
|
833
|
+
:param title: A short, informational description of the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#title Server#title}
|
|
834
|
+
: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.29.1/docs/resources/server#user_data Server#user_data}
|
|
835
|
+
:param video_model: The model of the server's video interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#video_model Server#video_model}
|
|
836
836
|
'''
|
|
837
837
|
if isinstance(lifecycle, dict):
|
|
838
838
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -997,7 +997,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
997
997
|
def hostname(self) -> builtins.str:
|
|
998
998
|
'''The hostname of the server.
|
|
999
999
|
|
|
1000
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1000
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#hostname Server#hostname}
|
|
1001
1001
|
'''
|
|
1002
1002
|
result = self._values.get("hostname")
|
|
1003
1003
|
assert result is not None, "Required property 'hostname' is missing"
|
|
@@ -1007,7 +1007,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1007
1007
|
def zone(self) -> builtins.str:
|
|
1008
1008
|
'''The zone in which the server will be hosted, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1009
1009
|
|
|
1010
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1010
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#zone Server#zone}
|
|
1011
1011
|
'''
|
|
1012
1012
|
result = self._values.get("zone")
|
|
1013
1013
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1017,7 +1017,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1017
1017
|
def boot_order(self) -> typing.Optional[builtins.str]:
|
|
1018
1018
|
'''The boot device order, ``cdrom``|``disk``|``network`` or comma separated combination of those values. Defaults to ``disk``.
|
|
1019
1019
|
|
|
1020
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1020
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#boot_order Server#boot_order}
|
|
1021
1021
|
'''
|
|
1022
1022
|
result = self._values.get("boot_order")
|
|
1023
1023
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1026,7 +1026,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1026
1026
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
1027
1027
|
'''The number of CPU cores for the server.
|
|
1028
1028
|
|
|
1029
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1029
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#cpu Server#cpu}
|
|
1030
1030
|
'''
|
|
1031
1031
|
result = self._values.get("cpu")
|
|
1032
1032
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1037,7 +1037,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1037
1037
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1038
1038
|
'''Are firewall rules active for the server.
|
|
1039
1039
|
|
|
1040
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1040
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#firewall Server#firewall}
|
|
1041
1041
|
'''
|
|
1042
1042
|
result = self._values.get("firewall")
|
|
1043
1043
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1048,7 +1048,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1048
1048
|
|
|
1049
1049
|
Refers to value from host -attribute. Only available for private cloud hosts
|
|
1050
1050
|
|
|
1051
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1051
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#host Server#host}
|
|
1052
1052
|
'''
|
|
1053
1053
|
result = self._values.get("host")
|
|
1054
1054
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1061,7 +1061,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1061
1061
|
|
|
1062
1062
|
This enables hot resizing of the server. If hot resizing fails, the apply operation will fail.
|
|
1063
1063
|
|
|
1064
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1064
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#hot_resize Server#hot_resize}
|
|
1065
1065
|
'''
|
|
1066
1066
|
result = self._values.get("hot_resize")
|
|
1067
1067
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1070,7 +1070,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1070
1070
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1071
1071
|
'''User defined key-value pairs to classify the server.
|
|
1072
1072
|
|
|
1073
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1073
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#labels Server#labels}
|
|
1074
1074
|
'''
|
|
1075
1075
|
result = self._values.get("labels")
|
|
1076
1076
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1081,7 +1081,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1081
1081
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerLogin"]]]:
|
|
1082
1082
|
'''login block.
|
|
1083
1083
|
|
|
1084
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1084
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#login Server#login}
|
|
1085
1085
|
'''
|
|
1086
1086
|
result = self._values.get("login")
|
|
1087
1087
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerLogin"]]], result)
|
|
@@ -1090,7 +1090,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1090
1090
|
def mem(self) -> typing.Optional[jsii.Number]:
|
|
1091
1091
|
'''The amount of memory for the server (in megabytes).
|
|
1092
1092
|
|
|
1093
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1093
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#mem Server#mem}
|
|
1094
1094
|
'''
|
|
1095
1095
|
result = self._values.get("mem")
|
|
1096
1096
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1101,7 +1101,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1101
1101
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1102
1102
|
'''Is metadata service active for the server. The metadata service must be enabled when using recent cloud-init based templates.
|
|
1103
1103
|
|
|
1104
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1104
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#metadata Server#metadata}
|
|
1105
1105
|
'''
|
|
1106
1106
|
result = self._values.get("metadata")
|
|
1107
1107
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1112,7 +1112,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1112
1112
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]]:
|
|
1113
1113
|
'''network_interface block.
|
|
1114
1114
|
|
|
1115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1115
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#network_interface Server#network_interface}
|
|
1116
1116
|
'''
|
|
1117
1117
|
result = self._values.get("network_interface")
|
|
1118
1118
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterface"]]], 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.
|
|
1124
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/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.
|
|
1133
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/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.
|
|
1144
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/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)
|
|
@@ -1152,7 +1152,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1152
1152
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerSimpleBackup"]]]:
|
|
1153
1153
|
'''simple_backup block.
|
|
1154
1154
|
|
|
1155
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1155
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#simple_backup Server#simple_backup}
|
|
1156
1156
|
'''
|
|
1157
1157
|
result = self._values.get("simple_backup")
|
|
1158
1158
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerSimpleBackup"]]], result)
|
|
@@ -1163,7 +1163,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1163
1163
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]]:
|
|
1164
1164
|
'''storage_devices block.
|
|
1165
1165
|
|
|
1166
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1166
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#storage_devices Server#storage_devices}
|
|
1167
1167
|
'''
|
|
1168
1168
|
result = self._values.get("storage_devices")
|
|
1169
1169
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerStorageDevices"]]], result)
|
|
@@ -1172,7 +1172,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1172
1172
|
def tags(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1173
1173
|
'''The server related tags.
|
|
1174
1174
|
|
|
1175
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1175
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#tags Server#tags}
|
|
1176
1176
|
'''
|
|
1177
1177
|
result = self._values.get("tags")
|
|
1178
1178
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1183,7 +1183,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1183
1183
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerTemplate"]]]:
|
|
1184
1184
|
'''template block.
|
|
1185
1185
|
|
|
1186
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1186
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#template Server#template}
|
|
1187
1187
|
'''
|
|
1188
1188
|
result = self._values.get("template")
|
|
1189
1189
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerTemplate"]]], result)
|
|
@@ -1192,7 +1192,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1192
1192
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
1193
1193
|
'''The timezone of the server. The timezone must be a valid timezone string, e.g. ``Europe/Helsinki``.
|
|
1194
1194
|
|
|
1195
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1195
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#timezone Server#timezone}
|
|
1196
1196
|
'''
|
|
1197
1197
|
result = self._values.get("timezone")
|
|
1198
1198
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1201,7 +1201,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1201
1201
|
def title(self) -> typing.Optional[builtins.str]:
|
|
1202
1202
|
'''A short, informational description of the server.
|
|
1203
1203
|
|
|
1204
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1204
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#title Server#title}
|
|
1205
1205
|
'''
|
|
1206
1206
|
result = self._values.get("title")
|
|
1207
1207
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1210,7 +1210,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1210
1210
|
def user_data(self) -> typing.Optional[builtins.str]:
|
|
1211
1211
|
'''Defines URL for a server setup script, or the script body itself.
|
|
1212
1212
|
|
|
1213
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1213
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#user_data Server#user_data}
|
|
1214
1214
|
'''
|
|
1215
1215
|
result = self._values.get("user_data")
|
|
1216
1216
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1219,7 +1219,7 @@ class ServerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1219
1219
|
def video_model(self) -> typing.Optional[builtins.str]:
|
|
1220
1220
|
'''The model of the server's video interface.
|
|
1221
1221
|
|
|
1222
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1222
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#video_model Server#video_model}
|
|
1223
1223
|
'''
|
|
1224
1224
|
result = self._values.get("video_model")
|
|
1225
1225
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1256,10 +1256,10 @@ class ServerLogin:
|
|
|
1256
1256
|
user: typing.Optional[builtins.str] = None,
|
|
1257
1257
|
) -> None:
|
|
1258
1258
|
'''
|
|
1259
|
-
: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.
|
|
1260
|
-
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1261
|
-
: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.
|
|
1262
|
-
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1259
|
+
: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.29.1/docs/resources/server#create_password Server#create_password}
|
|
1260
|
+
:param keys: A list of ssh keys to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#keys Server#keys}
|
|
1261
|
+
: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.29.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1262
|
+
:param user: Username to be create to access the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#user Server#user}
|
|
1263
1263
|
'''
|
|
1264
1264
|
if __debug__:
|
|
1265
1265
|
type_hints = typing.get_type_hints(_typecheckingstub__ba39a2ee1d911b76fb74554613ea114a5a572a0bf44aae12941ef4644ef7377a)
|
|
@@ -1283,7 +1283,7 @@ class ServerLogin:
|
|
|
1283
1283
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1284
1284
|
'''Indicates a password should be create to allow access.
|
|
1285
1285
|
|
|
1286
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1286
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#create_password Server#create_password}
|
|
1287
1287
|
'''
|
|
1288
1288
|
result = self._values.get("create_password")
|
|
1289
1289
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1292,7 +1292,7 @@ class ServerLogin:
|
|
|
1292
1292
|
def keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1293
1293
|
'''A list of ssh keys to access the server.
|
|
1294
1294
|
|
|
1295
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1295
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#keys Server#keys}
|
|
1296
1296
|
'''
|
|
1297
1297
|
result = self._values.get("keys")
|
|
1298
1298
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1301,7 +1301,7 @@ class ServerLogin:
|
|
|
1301
1301
|
def password_delivery(self) -> typing.Optional[builtins.str]:
|
|
1302
1302
|
'''The delivery method for the server's root password (one of ``none``, ``email`` or ``sms``).
|
|
1303
1303
|
|
|
1304
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1304
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#password_delivery Server#password_delivery}
|
|
1305
1305
|
'''
|
|
1306
1306
|
result = self._values.get("password_delivery")
|
|
1307
1307
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1310,7 +1310,7 @@ class ServerLogin:
|
|
|
1310
1310
|
def user(self) -> typing.Optional[builtins.str]:
|
|
1311
1311
|
'''Username to be create to access the server.
|
|
1312
1312
|
|
|
1313
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1313
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#user Server#user}
|
|
1314
1314
|
'''
|
|
1315
1315
|
result = self._values.get("user")
|
|
1316
1316
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1580,14 +1580,14 @@ class ServerNetworkInterface:
|
|
|
1580
1580
|
source_ip_filtering: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1581
1581
|
) -> None:
|
|
1582
1582
|
'''
|
|
1583
|
-
: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.
|
|
1584
|
-
:param additional_ip_address: additional_ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1585
|
-
: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.
|
|
1586
|
-
:param index: The interface index. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1587
|
-
:param ip_address: The primary IP address of this interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1588
|
-
: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.
|
|
1589
|
-
:param network: The UUID of the network to attach this interface to. Required for private network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1590
|
-
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1583
|
+
: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.29.1/docs/resources/server#type Server#type}
|
|
1584
|
+
:param additional_ip_address: additional_ip_address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#additional_ip_address Server#additional_ip_address}
|
|
1585
|
+
: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.29.1/docs/resources/server#bootable Server#bootable}
|
|
1586
|
+
:param index: The interface index. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#index Server#index}
|
|
1587
|
+
:param ip_address: The primary IP address of this interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#ip_address Server#ip_address}
|
|
1588
|
+
: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.29.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1589
|
+
:param network: The UUID of the network to attach this interface to. Required for private network interfaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#network Server#network}
|
|
1590
|
+
:param source_ip_filtering: ``true`` if source IP should be filtered. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1591
1591
|
'''
|
|
1592
1592
|
if __debug__:
|
|
1593
1593
|
type_hints = typing.get_type_hints(_typecheckingstub__fd495e0f43b555636347e658837821c13810606782b5f840f155acbfbcf8b7ea)
|
|
@@ -1621,7 +1621,7 @@ class ServerNetworkInterface:
|
|
|
1621
1621
|
def type(self) -> builtins.str:
|
|
1622
1622
|
'''Network interface type. For private network interfaces, a network must be specified with an existing network id.
|
|
1623
1623
|
|
|
1624
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1624
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#type Server#type}
|
|
1625
1625
|
'''
|
|
1626
1626
|
result = self._values.get("type")
|
|
1627
1627
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1633,7 +1633,7 @@ class ServerNetworkInterface:
|
|
|
1633
1633
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterfaceAdditionalIpAddress"]]]:
|
|
1634
1634
|
'''additional_ip_address block.
|
|
1635
1635
|
|
|
1636
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1636
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#additional_ip_address Server#additional_ip_address}
|
|
1637
1637
|
'''
|
|
1638
1638
|
result = self._values.get("additional_ip_address")
|
|
1639
1639
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerNetworkInterfaceAdditionalIpAddress"]]], result)
|
|
@@ -1644,7 +1644,7 @@ class ServerNetworkInterface:
|
|
|
1644
1644
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1645
1645
|
'''``true`` if this interface should be used for network booting.
|
|
1646
1646
|
|
|
1647
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1647
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#bootable Server#bootable}
|
|
1648
1648
|
'''
|
|
1649
1649
|
result = self._values.get("bootable")
|
|
1650
1650
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1653,7 +1653,7 @@ class ServerNetworkInterface:
|
|
|
1653
1653
|
def index(self) -> typing.Optional[jsii.Number]:
|
|
1654
1654
|
'''The interface index.
|
|
1655
1655
|
|
|
1656
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1656
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#index Server#index}
|
|
1657
1657
|
'''
|
|
1658
1658
|
result = self._values.get("index")
|
|
1659
1659
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1662,7 +1662,7 @@ class ServerNetworkInterface:
|
|
|
1662
1662
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1663
1663
|
'''The primary IP address of this interface.
|
|
1664
1664
|
|
|
1665
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1665
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#ip_address Server#ip_address}
|
|
1666
1666
|
'''
|
|
1667
1667
|
result = self._values.get("ip_address")
|
|
1668
1668
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1671,7 +1671,7 @@ class ServerNetworkInterface:
|
|
|
1671
1671
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1672
1672
|
'''The type of the primary IP address of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1673
1673
|
|
|
1674
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1674
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1675
1675
|
'''
|
|
1676
1676
|
result = self._values.get("ip_address_family")
|
|
1677
1677
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1680,7 +1680,7 @@ class ServerNetworkInterface:
|
|
|
1680
1680
|
def network(self) -> typing.Optional[builtins.str]:
|
|
1681
1681
|
'''The UUID of the network to attach this interface to. Required for private network interfaces.
|
|
1682
1682
|
|
|
1683
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1683
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#network Server#network}
|
|
1684
1684
|
'''
|
|
1685
1685
|
result = self._values.get("network")
|
|
1686
1686
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1691,7 +1691,7 @@ class ServerNetworkInterface:
|
|
|
1691
1691
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1692
1692
|
'''``true`` if source IP should be filtered.
|
|
1693
1693
|
|
|
1694
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1694
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#source_ip_filtering Server#source_ip_filtering}
|
|
1695
1695
|
'''
|
|
1696
1696
|
result = self._values.get("source_ip_filtering")
|
|
1697
1697
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1721,8 +1721,8 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1721
1721
|
ip_address_family: typing.Optional[builtins.str] = None,
|
|
1722
1722
|
) -> None:
|
|
1723
1723
|
'''
|
|
1724
|
-
:param ip_address: An additional IP address for this interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1725
|
-
:param ip_address_family: The type of the additional IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1724
|
+
:param ip_address: An additional IP address for this interface. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#ip_address Server#ip_address}
|
|
1725
|
+
:param ip_address_family: The type of the additional IP address of this interface (one of ``IPv4`` or ``IPv6``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1726
1726
|
'''
|
|
1727
1727
|
if __debug__:
|
|
1728
1728
|
type_hints = typing.get_type_hints(_typecheckingstub__0b6048ebfe8d4aeae43994c82a3e7294ab414eb1a49571fd3fff63238f2a288c)
|
|
@@ -1738,7 +1738,7 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1738
1738
|
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
1739
1739
|
'''An additional IP address for this interface.
|
|
1740
1740
|
|
|
1741
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1741
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#ip_address Server#ip_address}
|
|
1742
1742
|
'''
|
|
1743
1743
|
result = self._values.get("ip_address")
|
|
1744
1744
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1747,7 +1747,7 @@ class ServerNetworkInterfaceAdditionalIpAddress:
|
|
|
1747
1747
|
def ip_address_family(self) -> typing.Optional[builtins.str]:
|
|
1748
1748
|
'''The type of the additional IP address of this interface (one of ``IPv4`` or ``IPv6``).
|
|
1749
1749
|
|
|
1750
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1750
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#ip_address_family Server#ip_address_family}
|
|
1751
1751
|
'''
|
|
1752
1752
|
result = self._values.get("ip_address_family")
|
|
1753
1753
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2289,8 +2289,8 @@ class ServerSimpleBackup:
|
|
|
2289
2289
|
time: typing.Optional[builtins.str] = None,
|
|
2290
2290
|
) -> None:
|
|
2291
2291
|
'''
|
|
2292
|
-
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2293
|
-
: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.
|
|
2292
|
+
:param plan: Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#plan Server#plan}
|
|
2293
|
+
: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.29.1/docs/resources/server#time Server#time}
|
|
2294
2294
|
'''
|
|
2295
2295
|
if __debug__:
|
|
2296
2296
|
type_hints = typing.get_type_hints(_typecheckingstub__e0bd20cac4bdde3b91171ae0bf44e53e9583617261eaf0793a175a7d8da3cee3)
|
|
@@ -2306,7 +2306,7 @@ class ServerSimpleBackup:
|
|
|
2306
2306
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
2307
2307
|
'''Simple backup plan. Accepted values: daily, dailies, weeklies, monthlies.
|
|
2308
2308
|
|
|
2309
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2309
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#plan Server#plan}
|
|
2310
2310
|
'''
|
|
2311
2311
|
result = self._values.get("plan")
|
|
2312
2312
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2315,7 +2315,7 @@ class ServerSimpleBackup:
|
|
|
2315
2315
|
def time(self) -> typing.Optional[builtins.str]:
|
|
2316
2316
|
'''Time of the day at which backup will be taken. Should be provided in a hhmm format (e.g. 2230).
|
|
2317
2317
|
|
|
2318
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2318
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#time Server#time}
|
|
2319
2319
|
'''
|
|
2320
2320
|
result = self._values.get("time")
|
|
2321
2321
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2528,10 +2528,10 @@ class ServerStorageDevices:
|
|
|
2528
2528
|
type: typing.Optional[builtins.str] = None,
|
|
2529
2529
|
) -> None:
|
|
2530
2530
|
'''
|
|
2531
|
-
: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.
|
|
2532
|
-
: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.
|
|
2533
|
-
:param storage: The UUID of the storage to attach to the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2534
|
-
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2531
|
+
: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.29.1/docs/resources/server#address Server#address}
|
|
2532
|
+
: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.29.1/docs/resources/server#address_position Server#address_position}
|
|
2533
|
+
:param storage: The UUID of the storage to attach to the server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#storage Server#storage}
|
|
2534
|
+
:param type: The device type the storage will be attached as. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#type Server#type}
|
|
2535
2535
|
'''
|
|
2536
2536
|
if __debug__:
|
|
2537
2537
|
type_hints = typing.get_type_hints(_typecheckingstub__deefc3ca26ddd4529dd49d665d0a7e4d178ed9e318d7a6ed318fe000f57713ea)
|
|
@@ -2555,7 +2555,7 @@ class ServerStorageDevices:
|
|
|
2555
2555
|
|
|
2556
2556
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2557
2557
|
|
|
2558
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2558
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#address Server#address}
|
|
2559
2559
|
'''
|
|
2560
2560
|
result = self._values.get("address")
|
|
2561
2561
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2566,7 +2566,7 @@ class ServerStorageDevices:
|
|
|
2566
2566
|
|
|
2567
2567
|
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.
|
|
2568
2568
|
|
|
2569
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2569
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#address_position Server#address_position}
|
|
2570
2570
|
'''
|
|
2571
2571
|
result = self._values.get("address_position")
|
|
2572
2572
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2575,7 +2575,7 @@ class ServerStorageDevices:
|
|
|
2575
2575
|
def storage(self) -> typing.Optional[builtins.str]:
|
|
2576
2576
|
'''The UUID of the storage to attach to the server.
|
|
2577
2577
|
|
|
2578
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2578
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#storage Server#storage}
|
|
2579
2579
|
'''
|
|
2580
2580
|
result = self._values.get("storage")
|
|
2581
2581
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2584,7 +2584,7 @@ class ServerStorageDevices:
|
|
|
2584
2584
|
def type(self) -> typing.Optional[builtins.str]:
|
|
2585
2585
|
'''The device type the storage will be attached as.
|
|
2586
2586
|
|
|
2587
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2587
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#type Server#type}
|
|
2588
2588
|
'''
|
|
2589
2589
|
result = self._values.get("type")
|
|
2590
2590
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2851,16 +2851,16 @@ class ServerTemplate:
|
|
|
2851
2851
|
title: typing.Optional[builtins.str] = None,
|
|
2852
2852
|
) -> None:
|
|
2853
2853
|
'''
|
|
2854
|
-
: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.
|
|
2855
|
-
: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.
|
|
2856
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2857
|
-
: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.
|
|
2858
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2859
|
-
: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.
|
|
2860
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2861
|
-
: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.
|
|
2862
|
-
:param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2863
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2854
|
+
: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.29.1/docs/resources/server#address Server#address}
|
|
2855
|
+
: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.29.1/docs/resources/server#address_position Server#address_position}
|
|
2856
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2857
|
+
: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.29.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2858
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#encrypt Server#encrypt}
|
|
2859
|
+
: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.29.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2860
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#size Server#size}
|
|
2861
|
+
: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.29.1/docs/resources/server#storage Server#storage}
|
|
2862
|
+
:param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#tier Server#tier}
|
|
2863
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#title Server#title}
|
|
2864
2864
|
'''
|
|
2865
2865
|
if __debug__:
|
|
2866
2866
|
type_hints = typing.get_type_hints(_typecheckingstub__2a85c384316c005f9127a81fcbc356ef71508b188a9b9433bf88b08a22e08cad)
|
|
@@ -2902,7 +2902,7 @@ class ServerTemplate:
|
|
|
2902
2902
|
|
|
2903
2903
|
Leave ``address_position`` field empty to auto-select next available address from that bus.
|
|
2904
2904
|
|
|
2905
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2905
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#address Server#address}
|
|
2906
2906
|
'''
|
|
2907
2907
|
result = self._values.get("address")
|
|
2908
2908
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2913,7 +2913,7 @@ class ServerTemplate:
|
|
|
2913
2913
|
|
|
2914
2914
|
For example ``0:0``, or ``0``. Leave empty to auto-select next available address in the given bus.
|
|
2915
2915
|
|
|
2916
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2916
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#address_position Server#address_position}
|
|
2917
2917
|
'''
|
|
2918
2918
|
result = self._values.get("address_position")
|
|
2919
2919
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2924,7 +2924,7 @@ class ServerTemplate:
|
|
|
2924
2924
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerTemplateBackupRule"]]]:
|
|
2925
2925
|
'''backup_rule block.
|
|
2926
2926
|
|
|
2927
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2927
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#backup_rule Server#backup_rule}
|
|
2928
2928
|
'''
|
|
2929
2929
|
result = self._values.get("backup_rule")
|
|
2930
2930
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ServerTemplateBackupRule"]]], result)
|
|
@@ -2935,7 +2935,7 @@ class ServerTemplate:
|
|
|
2935
2935
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2936
2936
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
2937
2937
|
|
|
2938
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2938
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#delete_autoresize_backup Server#delete_autoresize_backup}
|
|
2939
2939
|
'''
|
|
2940
2940
|
result = self._values.get("delete_autoresize_backup")
|
|
2941
2941
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2946,7 +2946,7 @@ class ServerTemplate:
|
|
|
2946
2946
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2947
2947
|
'''Sets if the storage is encrypted at rest.
|
|
2948
2948
|
|
|
2949
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2949
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#encrypt Server#encrypt}
|
|
2950
2950
|
'''
|
|
2951
2951
|
result = self._values.get("encrypt")
|
|
2952
2952
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2961,7 +2961,7 @@ class ServerTemplate:
|
|
|
2961
2961
|
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).
|
|
2962
2962
|
Taking and keeping backups incure costs.
|
|
2963
2963
|
|
|
2964
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2964
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#filesystem_autoresize Server#filesystem_autoresize}
|
|
2965
2965
|
'''
|
|
2966
2966
|
result = self._values.get("filesystem_autoresize")
|
|
2967
2967
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2970,7 +2970,7 @@ class ServerTemplate:
|
|
|
2970
2970
|
def size(self) -> typing.Optional[jsii.Number]:
|
|
2971
2971
|
'''The size of the storage in gigabytes.
|
|
2972
2972
|
|
|
2973
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2973
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#size Server#size}
|
|
2974
2974
|
'''
|
|
2975
2975
|
result = self._values.get("size")
|
|
2976
2976
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2981,7 +2981,7 @@ class ServerTemplate:
|
|
|
2981
2981
|
|
|
2982
2982
|
You can list available public templates with ``upctl storage list --public --template`` and available private templates with ``upctl storage list --template``.
|
|
2983
2983
|
|
|
2984
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2984
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#storage Server#storage}
|
|
2985
2985
|
'''
|
|
2986
2986
|
result = self._values.get("storage")
|
|
2987
2987
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2990,7 +2990,7 @@ class ServerTemplate:
|
|
|
2990
2990
|
def tier(self) -> typing.Optional[builtins.str]:
|
|
2991
2991
|
'''The storage tier to use.
|
|
2992
2992
|
|
|
2993
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2993
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#tier Server#tier}
|
|
2994
2994
|
'''
|
|
2995
2995
|
result = self._values.get("tier")
|
|
2996
2996
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2999,7 +2999,7 @@ class ServerTemplate:
|
|
|
2999
2999
|
def title(self) -> typing.Optional[builtins.str]:
|
|
3000
3000
|
'''A short, informative description.
|
|
3001
3001
|
|
|
3002
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3002
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#title Server#title}
|
|
3003
3003
|
'''
|
|
3004
3004
|
result = self._values.get("title")
|
|
3005
3005
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -3030,9 +3030,9 @@ class ServerTemplateBackupRule:
|
|
|
3030
3030
|
time: builtins.str,
|
|
3031
3031
|
) -> None:
|
|
3032
3032
|
'''
|
|
3033
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3034
|
-
: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.
|
|
3035
|
-
:param time: The time of day (UTC) when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3033
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#interval Server#interval}
|
|
3034
|
+
: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.29.1/docs/resources/server#retention Server#retention}
|
|
3035
|
+
:param time: The time of day (UTC) when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#time Server#time}
|
|
3036
3036
|
'''
|
|
3037
3037
|
if __debug__:
|
|
3038
3038
|
type_hints = typing.get_type_hints(_typecheckingstub__0da849dc75d0030fd1866a13a6da5cd60acc32df054d4b38c21875c14c699895)
|
|
@@ -3049,7 +3049,7 @@ class ServerTemplateBackupRule:
|
|
|
3049
3049
|
def interval(self) -> builtins.str:
|
|
3050
3050
|
'''The weekday when the backup is created.
|
|
3051
3051
|
|
|
3052
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3052
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#interval Server#interval}
|
|
3053
3053
|
'''
|
|
3054
3054
|
result = self._values.get("interval")
|
|
3055
3055
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -3059,7 +3059,7 @@ class ServerTemplateBackupRule:
|
|
|
3059
3059
|
def retention(self) -> jsii.Number:
|
|
3060
3060
|
'''The number of days before a backup is automatically deleted.
|
|
3061
3061
|
|
|
3062
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3062
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#retention Server#retention}
|
|
3063
3063
|
'''
|
|
3064
3064
|
result = self._values.get("retention")
|
|
3065
3065
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -3069,7 +3069,7 @@ class ServerTemplateBackupRule:
|
|
|
3069
3069
|
def time(self) -> builtins.str:
|
|
3070
3070
|
'''The time of day (UTC) when the backup is created.
|
|
3071
3071
|
|
|
3072
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3072
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server#time Server#time}
|
|
3073
3073
|
'''
|
|
3074
3074
|
result = self._values.get("time")
|
|
3075
3075
|
assert result is not None, "Required property 'time' is missing"
|