cdktf-cdktf-provider-upcloud 14.19.0__py3-none-any.whl → 14.20.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.

Files changed (68) hide show
  1. cdktf_cdktf_provider_upcloud/__init__.py +3 -3
  2. cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
  3. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.20.0.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +9 -9
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
  7. cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +4 -4
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
  12. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +22 -22
  13. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
  14. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
  15. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
  16. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +28 -28
  17. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
  18. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
  19. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +7 -7
  20. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
  21. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
  22. cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
  23. cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
  24. cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
  25. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
  26. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +58 -58
  27. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +39 -39
  28. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
  29. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
  30. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +25 -25
  31. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
  32. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
  33. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +228 -228
  34. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
  35. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
  36. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +28 -28
  37. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +25 -25
  38. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
  39. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +201 -201
  40. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +540 -957
  41. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +315 -315
  42. cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +132 -132
  43. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
  44. cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +234 -129
  45. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
  46. cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +10 -10
  47. cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +13 -13
  48. cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
  49. cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
  50. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
  51. cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
  52. cdktf_cdktf_provider_upcloud/network/__init__.py +33 -33
  53. cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
  54. cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
  55. cdktf_cdktf_provider_upcloud/provider/__init__.py +72 -25
  56. cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
  57. cdktf_cdktf_provider_upcloud/server/__init__.py +136 -136
  58. cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
  59. cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
  60. cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
  61. cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
  62. {cdktf_cdktf_provider_upcloud-14.19.0.dist-info → cdktf_cdktf_provider_upcloud-14.20.0.dist-info}/METADATA +5 -5
  63. cdktf_cdktf_provider_upcloud-14.20.0.dist-info/RECORD +67 -0
  64. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.19.0.jsii.tgz +0 -0
  65. cdktf_cdktf_provider_upcloud-14.19.0.dist-info/RECORD +0 -67
  66. {cdktf_cdktf_provider_upcloud-14.19.0.dist-info → cdktf_cdktf_provider_upcloud-14.20.0.dist-info}/LICENSE +0 -0
  67. {cdktf_cdktf_provider_upcloud-14.19.0.dist-info → cdktf_cdktf_provider_upcloud-14.20.0.dist-info}/WHEEL +0 -0
  68. {cdktf_cdktf_provider_upcloud-14.19.0.dist-info → cdktf_cdktf_provider_upcloud-14.20.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  r'''
2
2
  # `upcloud_object_storage`
3
3
 
4
- Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage).
4
+ Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage).
5
5
  '''
6
6
  from pkgutil import extend_path
7
7
  __path__ = extend_path(__path__, __name__)
@@ -44,7 +44,7 @@ class ObjectStorage(
44
44
  metaclass=jsii.JSIIMeta,
45
45
  jsii_type="@cdktf/provider-upcloud.objectStorage.ObjectStorage",
46
46
  ):
47
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage upcloud_object_storage}.'''
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage upcloud_object_storage}.'''
48
48
 
49
49
  def __init__(
50
50
  self,
@@ -67,18 +67,18 @@ class ObjectStorage(
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.19.0/docs/resources/object_storage upcloud_object_storage} Resource.
70
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage upcloud_object_storage} 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 access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
75
- :param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#name ObjectStorage#name}
76
- :param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
77
- :param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#size ObjectStorage#size}
78
- :param zone: The zone in which the object storage instance will be created, 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.19.0/docs/resources/object_storage#zone ObjectStorage#zone}
79
- :param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
80
- :param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#description ObjectStorage#description}
81
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#id ObjectStorage#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.
74
+ :param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
75
+ :param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#name ObjectStorage#name}
76
+ :param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
77
+ :param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#size ObjectStorage#size}
78
+ :param zone: The zone in which the object storage instance will be created, 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.20.0/docs/resources/object_storage#zone ObjectStorage#zone}
79
+ :param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
80
+ :param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#description ObjectStorage#description}
81
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#id ObjectStorage#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
82
  :param connection:
83
83
  :param count:
84
84
  :param depends_on:
@@ -124,7 +124,7 @@ class ObjectStorage(
124
124
 
125
125
  :param scope: The scope in which to define this construct.
126
126
  :param import_to_id: The construct id used in the generated config for the ObjectStorage to import.
127
- :param import_from_id: The id of the existing ObjectStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#import import section} in the documentation of this resource for the id to use
127
+ :param import_from_id: The id of the existing ObjectStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#import import section} in the documentation of this resource for the id to use
128
128
  :param provider: ? Optional instance of the provider where the ObjectStorage to import is found.
129
129
  '''
130
130
  if __debug__:
@@ -333,7 +333,7 @@ class ObjectStorage(
333
333
  class ObjectStorageBucket:
334
334
  def __init__(self, *, name: builtins.str) -> None:
335
335
  '''
336
- :param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#name ObjectStorage#name}
336
+ :param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#name ObjectStorage#name}
337
337
  '''
338
338
  if __debug__:
339
339
  type_hints = typing.get_type_hints(_typecheckingstub__76363c1fb14ca2363d352380e624359e962fa25498e592051a720a4f8b2e2470)
@@ -346,7 +346,7 @@ class ObjectStorageBucket:
346
346
  def name(self) -> builtins.str:
347
347
  '''The name of the bucket.
348
348
 
349
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#name ObjectStorage#name}
349
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#name ObjectStorage#name}
350
350
  '''
351
351
  result = self._values.get("name")
352
352
  assert result is not None, "Required property 'name' is missing"
@@ -564,14 +564,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
564
564
  :param lifecycle:
565
565
  :param provider:
566
566
  :param provisioners:
567
- :param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
568
- :param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#name ObjectStorage#name}
569
- :param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
570
- :param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#size ObjectStorage#size}
571
- :param zone: The zone in which the object storage instance will be created, 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.19.0/docs/resources/object_storage#zone ObjectStorage#zone}
572
- :param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
573
- :param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#description ObjectStorage#description}
574
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#id ObjectStorage#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.
567
+ :param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
568
+ :param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#name ObjectStorage#name}
569
+ :param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
570
+ :param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#size ObjectStorage#size}
571
+ :param zone: The zone in which the object storage instance will be created, 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.20.0/docs/resources/object_storage#zone ObjectStorage#zone}
572
+ :param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
573
+ :param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#description ObjectStorage#description}
574
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#id ObjectStorage#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.
575
575
  '''
576
576
  if isinstance(lifecycle, dict):
577
577
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -694,7 +694,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
694
694
  and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
695
695
  use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES".
696
696
 
697
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
697
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
698
698
  '''
699
699
  result = self._values.get("access_key")
700
700
  assert result is not None, "Required property 'access_key' is missing"
@@ -704,7 +704,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
704
704
  def name(self) -> builtins.str:
705
705
  '''The name of the object storage instance to be created.
706
706
 
707
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#name ObjectStorage#name}
707
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#name ObjectStorage#name}
708
708
  '''
709
709
  result = self._values.get("name")
710
710
  assert result is not None, "Required property 'name' is missing"
@@ -720,7 +720,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
720
720
  and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
721
721
  use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES".
722
722
 
723
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
723
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
724
724
  '''
725
725
  result = self._values.get("secret_key")
726
726
  assert result is not None, "Required property 'secret_key' is missing"
@@ -730,7 +730,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
730
730
  def size(self) -> jsii.Number:
731
731
  '''The size of the object storage instance in gigabytes.
732
732
 
733
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#size ObjectStorage#size}
733
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#size ObjectStorage#size}
734
734
  '''
735
735
  result = self._values.get("size")
736
736
  assert result is not None, "Required property 'size' is missing"
@@ -740,7 +740,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
740
740
  def zone(self) -> builtins.str:
741
741
  '''The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
742
742
 
743
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#zone ObjectStorage#zone}
743
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#zone ObjectStorage#zone}
744
744
  '''
745
745
  result = self._values.get("zone")
746
746
  assert result is not None, "Required property 'zone' is missing"
@@ -752,7 +752,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
752
752
  ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]]:
753
753
  '''bucket block.
754
754
 
755
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
755
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
756
756
  '''
757
757
  result = self._values.get("bucket")
758
758
  return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]], result)
@@ -761,14 +761,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
761
761
  def description(self) -> typing.Optional[builtins.str]:
762
762
  '''The description of the object storage instance to be created.
763
763
 
764
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#description ObjectStorage#description}
764
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#description ObjectStorage#description}
765
765
  '''
766
766
  result = self._values.get("description")
767
767
  return typing.cast(typing.Optional[builtins.str], result)
768
768
 
769
769
  @builtins.property
770
770
  def id(self) -> typing.Optional[builtins.str]:
771
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/object_storage#id ObjectStorage#id}.
771
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/object_storage#id ObjectStorage#id}.
772
772
 
773
773
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
774
774
  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.
@@ -1,7 +1,7 @@
1
1
  r'''
2
2
  # `provider`
3
3
 
4
- Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs).
4
+ Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs).
5
5
  '''
6
6
  from pkgutil import extend_path
7
7
  __path__ = extend_path(__path__, __name__)
@@ -44,7 +44,7 @@ class UpcloudProvider(
44
44
  metaclass=jsii.JSIIMeta,
45
45
  jsii_type="@cdktf/provider-upcloud.provider.UpcloudProvider",
46
46
  ):
47
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs upcloud}.'''
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs upcloud}.'''
48
48
 
49
49
  def __init__(
50
50
  self,
@@ -57,19 +57,21 @@ class UpcloudProvider(
57
57
  retry_max: typing.Optional[jsii.Number] = None,
58
58
  retry_wait_max_sec: typing.Optional[jsii.Number] = None,
59
59
  retry_wait_min_sec: typing.Optional[jsii.Number] = None,
60
+ token: typing.Optional[builtins.str] = None,
60
61
  username: typing.Optional[builtins.str] = None,
61
62
  ) -> None:
62
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs upcloud} Resource.
63
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs upcloud} Resource.
63
64
 
64
65
  :param scope: The scope in which to define this construct.
65
66
  :param id: The scoped construct ID. Must be unique amongst siblings in the same scope
66
- :param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#alias UpcloudProvider#alias}
67
- :param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#password UpcloudProvider#password}
68
- :param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
69
- :param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_max UpcloudProvider#retry_max}
70
- :param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
71
- :param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
72
- :param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#username UpcloudProvider#username}
67
+ :param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#alias UpcloudProvider#alias}
68
+ :param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#password UpcloudProvider#password}
69
+ :param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
70
+ :param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_max UpcloudProvider#retry_max}
71
+ :param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
72
+ :param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
73
+ :param token: Token for authenticating to UpCloud API. Can also be configured using the ``UPCLOUD_TOKEN`` environment variable. (EXPERIMENTAL). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#token UpcloudProvider#token}
74
+ :param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#username UpcloudProvider#username}
73
75
  '''
74
76
  if __debug__:
75
77
  type_hints = typing.get_type_hints(_typecheckingstub__786d7492fb6ccdc4fc75b22452f182f0009c6f7041f055f198f8ab4750003c16)
@@ -82,6 +84,7 @@ class UpcloudProvider(
82
84
  retry_max=retry_max,
83
85
  retry_wait_max_sec=retry_wait_max_sec,
84
86
  retry_wait_min_sec=retry_wait_min_sec,
87
+ token=token,
85
88
  username=username,
86
89
  )
87
90
 
@@ -100,7 +103,7 @@ class UpcloudProvider(
100
103
 
101
104
  :param scope: The scope in which to define this construct.
102
105
  :param import_to_id: The construct id used in the generated config for the UpcloudProvider to import.
103
- :param import_from_id: The id of the existing UpcloudProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#import import section} in the documentation of this resource for the id to use
106
+ :param import_from_id: The id of the existing UpcloudProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#import import section} in the documentation of this resource for the id to use
104
107
  :param provider: ? Optional instance of the provider where the UpcloudProvider to import is found.
105
108
  '''
106
109
  if __debug__:
@@ -135,6 +138,10 @@ class UpcloudProvider(
135
138
  def reset_retry_wait_min_sec(self) -> None:
136
139
  return typing.cast(None, jsii.invoke(self, "resetRetryWaitMinSec", []))
137
140
 
141
+ @jsii.member(jsii_name="resetToken")
142
+ def reset_token(self) -> None:
143
+ return typing.cast(None, jsii.invoke(self, "resetToken", []))
144
+
138
145
  @jsii.member(jsii_name="resetUsername")
139
146
  def reset_username(self) -> None:
140
147
  return typing.cast(None, jsii.invoke(self, "resetUsername", []))
@@ -182,6 +189,11 @@ class UpcloudProvider(
182
189
  def retry_wait_min_sec_input(self) -> typing.Optional[jsii.Number]:
183
190
  return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "retryWaitMinSecInput"))
184
191
 
192
+ @builtins.property
193
+ @jsii.member(jsii_name="tokenInput")
194
+ def token_input(self) -> typing.Optional[builtins.str]:
195
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "tokenInput"))
196
+
185
197
  @builtins.property
186
198
  @jsii.member(jsii_name="usernameInput")
187
199
  def username_input(self) -> typing.Optional[builtins.str]:
@@ -259,6 +271,18 @@ class UpcloudProvider(
259
271
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
260
272
  jsii.set(self, "retryWaitMinSec", value) # pyright: ignore[reportArgumentType]
261
273
 
274
+ @builtins.property
275
+ @jsii.member(jsii_name="token")
276
+ def token(self) -> typing.Optional[builtins.str]:
277
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "token"))
278
+
279
+ @token.setter
280
+ def token(self, value: typing.Optional[builtins.str]) -> None:
281
+ if __debug__:
282
+ type_hints = typing.get_type_hints(_typecheckingstub__d29a5224d1a254258edc7ad8071e53f50ce334f5e5f9c3f72c0124ec933a3924)
283
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
284
+ jsii.set(self, "token", value) # pyright: ignore[reportArgumentType]
285
+
262
286
  @builtins.property
263
287
  @jsii.member(jsii_name="username")
264
288
  def username(self) -> typing.Optional[builtins.str]:
@@ -282,6 +306,7 @@ class UpcloudProvider(
282
306
  "retry_max": "retryMax",
283
307
  "retry_wait_max_sec": "retryWaitMaxSec",
284
308
  "retry_wait_min_sec": "retryWaitMinSec",
309
+ "token": "token",
285
310
  "username": "username",
286
311
  },
287
312
  )
@@ -295,16 +320,18 @@ class UpcloudProviderConfig:
295
320
  retry_max: typing.Optional[jsii.Number] = None,
296
321
  retry_wait_max_sec: typing.Optional[jsii.Number] = None,
297
322
  retry_wait_min_sec: typing.Optional[jsii.Number] = None,
323
+ token: typing.Optional[builtins.str] = None,
298
324
  username: typing.Optional[builtins.str] = None,
299
325
  ) -> None:
300
326
  '''
301
- :param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#alias UpcloudProvider#alias}
302
- :param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#password UpcloudProvider#password}
303
- :param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
304
- :param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_max UpcloudProvider#retry_max}
305
- :param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
306
- :param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
307
- :param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#username UpcloudProvider#username}
327
+ :param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#alias UpcloudProvider#alias}
328
+ :param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#password UpcloudProvider#password}
329
+ :param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
330
+ :param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_max UpcloudProvider#retry_max}
331
+ :param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
332
+ :param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
333
+ :param token: Token for authenticating to UpCloud API. Can also be configured using the ``UPCLOUD_TOKEN`` environment variable. (EXPERIMENTAL). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#token UpcloudProvider#token}
334
+ :param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#username UpcloudProvider#username}
308
335
  '''
309
336
  if __debug__:
310
337
  type_hints = typing.get_type_hints(_typecheckingstub__e59a8dbe0e889be0d58fa19f6443e5c6def71ffe937d944a0b10dbe3c74b4005)
@@ -314,6 +341,7 @@ class UpcloudProviderConfig:
314
341
  check_type(argname="argument retry_max", value=retry_max, expected_type=type_hints["retry_max"])
315
342
  check_type(argname="argument retry_wait_max_sec", value=retry_wait_max_sec, expected_type=type_hints["retry_wait_max_sec"])
316
343
  check_type(argname="argument retry_wait_min_sec", value=retry_wait_min_sec, expected_type=type_hints["retry_wait_min_sec"])
344
+ check_type(argname="argument token", value=token, expected_type=type_hints["token"])
317
345
  check_type(argname="argument username", value=username, expected_type=type_hints["username"])
318
346
  self._values: typing.Dict[builtins.str, typing.Any] = {}
319
347
  if alias is not None:
@@ -328,6 +356,8 @@ class UpcloudProviderConfig:
328
356
  self._values["retry_wait_max_sec"] = retry_wait_max_sec
329
357
  if retry_wait_min_sec is not None:
330
358
  self._values["retry_wait_min_sec"] = retry_wait_min_sec
359
+ if token is not None:
360
+ self._values["token"] = token
331
361
  if username is not None:
332
362
  self._values["username"] = username
333
363
 
@@ -335,7 +365,7 @@ class UpcloudProviderConfig:
335
365
  def alias(self) -> typing.Optional[builtins.str]:
336
366
  '''Alias name.
337
367
 
338
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#alias UpcloudProvider#alias}
368
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#alias UpcloudProvider#alias}
339
369
  '''
340
370
  result = self._values.get("alias")
341
371
  return typing.cast(typing.Optional[builtins.str], result)
@@ -344,7 +374,7 @@ class UpcloudProviderConfig:
344
374
  def password(self) -> typing.Optional[builtins.str]:
345
375
  '''Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable.
346
376
 
347
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#password UpcloudProvider#password}
377
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#password UpcloudProvider#password}
348
378
  '''
349
379
  result = self._values.get("password")
350
380
  return typing.cast(typing.Optional[builtins.str], result)
@@ -355,7 +385,7 @@ class UpcloudProviderConfig:
355
385
 
356
386
  Defaults to 120 seconds
357
387
 
358
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
388
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
359
389
  '''
360
390
  result = self._values.get("request_timeout_sec")
361
391
  return typing.cast(typing.Optional[jsii.Number], result)
@@ -364,7 +394,7 @@ class UpcloudProviderConfig:
364
394
  def retry_max(self) -> typing.Optional[jsii.Number]:
365
395
  '''Maximum number of retries.
366
396
 
367
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_max UpcloudProvider#retry_max}
397
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_max UpcloudProvider#retry_max}
368
398
  '''
369
399
  result = self._values.get("retry_max")
370
400
  return typing.cast(typing.Optional[jsii.Number], result)
@@ -373,7 +403,7 @@ class UpcloudProviderConfig:
373
403
  def retry_wait_max_sec(self) -> typing.Optional[jsii.Number]:
374
404
  '''Maximum time to wait between retries.
375
405
 
376
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
406
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
377
407
  '''
378
408
  result = self._values.get("retry_wait_max_sec")
379
409
  return typing.cast(typing.Optional[jsii.Number], result)
@@ -382,16 +412,25 @@ class UpcloudProviderConfig:
382
412
  def retry_wait_min_sec(self) -> typing.Optional[jsii.Number]:
383
413
  '''Minimum time to wait between retries.
384
414
 
385
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
415
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
386
416
  '''
387
417
  result = self._values.get("retry_wait_min_sec")
388
418
  return typing.cast(typing.Optional[jsii.Number], result)
389
419
 
420
+ @builtins.property
421
+ def token(self) -> typing.Optional[builtins.str]:
422
+ '''Token for authenticating to UpCloud API. Can also be configured using the ``UPCLOUD_TOKEN`` environment variable. (EXPERIMENTAL).
423
+
424
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#token UpcloudProvider#token}
425
+ '''
426
+ result = self._values.get("token")
427
+ return typing.cast(typing.Optional[builtins.str], result)
428
+
390
429
  @builtins.property
391
430
  def username(self) -> typing.Optional[builtins.str]:
392
431
  '''UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable.
393
432
 
394
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs#username UpcloudProvider#username}
433
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs#username UpcloudProvider#username}
395
434
  '''
396
435
  result = self._values.get("username")
397
436
  return typing.cast(typing.Optional[builtins.str], result)
@@ -425,6 +464,7 @@ def _typecheckingstub__786d7492fb6ccdc4fc75b22452f182f0009c6f7041f055f198f8ab475
425
464
  retry_max: typing.Optional[jsii.Number] = None,
426
465
  retry_wait_max_sec: typing.Optional[jsii.Number] = None,
427
466
  retry_wait_min_sec: typing.Optional[jsii.Number] = None,
467
+ token: typing.Optional[builtins.str] = None,
428
468
  username: typing.Optional[builtins.str] = None,
429
469
  ) -> None:
430
470
  """Type checking stubs"""
@@ -475,6 +515,12 @@ def _typecheckingstub__49c748eec266d9d5bc8e7a25a10e42de6548f3fcf8b2fadc433e05528
475
515
  """Type checking stubs"""
476
516
  pass
477
517
 
518
+ def _typecheckingstub__d29a5224d1a254258edc7ad8071e53f50ce334f5e5f9c3f72c0124ec933a3924(
519
+ value: typing.Optional[builtins.str],
520
+ ) -> None:
521
+ """Type checking stubs"""
522
+ pass
523
+
478
524
  def _typecheckingstub__73bdbfe36f31accc3b6a6dcba3205f0ac50aaaa3f363bff894bdc84e137fc234(
479
525
  value: typing.Optional[builtins.str],
480
526
  ) -> None:
@@ -489,6 +535,7 @@ def _typecheckingstub__e59a8dbe0e889be0d58fa19f6443e5c6def71ffe937d944a0b10dbe3c
489
535
  retry_max: typing.Optional[jsii.Number] = None,
490
536
  retry_wait_max_sec: typing.Optional[jsii.Number] = None,
491
537
  retry_wait_min_sec: typing.Optional[jsii.Number] = None,
538
+ token: typing.Optional[builtins.str] = None,
492
539
  username: typing.Optional[builtins.str] = None,
493
540
  ) -> None:
494
541
  """Type checking stubs"""
@@ -1,7 +1,7 @@
1
1
  r'''
2
2
  # `upcloud_router`
3
3
 
4
- Refer to the Terraform Registry for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router).
4
+ Refer to the Terraform Registry for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router).
5
5
  '''
6
6
  from pkgutil import extend_path
7
7
  __path__ = extend_path(__path__, __name__)
@@ -44,7 +44,7 @@ class Router(
44
44
  metaclass=jsii.JSIIMeta,
45
45
  jsii_type="@cdktf/provider-upcloud.router.Router",
46
46
  ):
47
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router upcloud_router}.'''
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router upcloud_router}.'''
48
48
 
49
49
  def __init__(
50
50
  self,
@@ -62,13 +62,13 @@ class Router(
62
62
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
63
63
  provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
64
64
  ) -> None:
65
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router upcloud_router} Resource.
65
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router upcloud_router} Resource.
66
66
 
67
67
  :param scope: The scope in which to define this construct.
68
68
  :param id: The scoped construct ID. Must be unique amongst siblings in the same scope
69
- :param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#name Router#name}
70
- :param labels: User defined key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#labels Router#labels}
71
- :param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#static_route Router#static_route}
69
+ :param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#name Router#name}
70
+ :param labels: User defined key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#labels Router#labels}
71
+ :param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#static_route Router#static_route}
72
72
  :param connection:
73
73
  :param count:
74
74
  :param depends_on:
@@ -109,7 +109,7 @@ class Router(
109
109
 
110
110
  :param scope: The scope in which to define this construct.
111
111
  :param import_to_id: The construct id used in the generated config for the Router to import.
112
- :param import_from_id: The id of the existing Router that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#import import section} in the documentation of this resource for the id to use
112
+ :param import_from_id: The id of the existing Router that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#import import section} in the documentation of this resource for the id to use
113
113
  :param provider: ? Optional instance of the provider where the Router to import is found.
114
114
  '''
115
115
  if __debug__:
@@ -262,9 +262,9 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
262
262
  :param lifecycle:
263
263
  :param provider:
264
264
  :param provisioners:
265
- :param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#name Router#name}
266
- :param labels: User defined key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#labels Router#labels}
267
- :param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#static_route Router#static_route}
265
+ :param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#name Router#name}
266
+ :param labels: User defined key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#labels Router#labels}
267
+ :param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#static_route Router#static_route}
268
268
  '''
269
269
  if isinstance(lifecycle, dict):
270
270
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -370,7 +370,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
370
370
  def name(self) -> builtins.str:
371
371
  '''Name of the router.
372
372
 
373
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#name Router#name}
373
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#name Router#name}
374
374
  '''
375
375
  result = self._values.get("name")
376
376
  assert result is not None, "Required property 'name' is missing"
@@ -380,7 +380,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
380
380
  def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
381
381
  '''User defined key-value pairs to classify the router.
382
382
 
383
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#labels Router#labels}
383
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#labels Router#labels}
384
384
  '''
385
385
  result = self._values.get("labels")
386
386
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
@@ -391,7 +391,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
391
391
  ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]]:
392
392
  '''static_route block.
393
393
 
394
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#static_route Router#static_route}
394
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#static_route Router#static_route}
395
395
  '''
396
396
  result = self._values.get("static_route")
397
397
  return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]], result)
@@ -422,9 +422,9 @@ class RouterStaticRoute:
422
422
  name: typing.Optional[builtins.str] = None,
423
423
  ) -> None:
424
424
  '''
425
- :param nexthop: Next hop address. NOTE: For static route to be active the next hop has to be an address of a reachable running Cloud Server in one of the Private Networks attached to the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#nexthop Router#nexthop}
426
- :param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#route Router#route}
427
- :param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#name Router#name}
425
+ :param nexthop: Next hop address. NOTE: For static route to be active the next hop has to be an address of a reachable running Cloud Server in one of the Private Networks attached to the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#nexthop Router#nexthop}
426
+ :param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#route Router#route}
427
+ :param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#name Router#name}
428
428
  '''
429
429
  if __debug__:
430
430
  type_hints = typing.get_type_hints(_typecheckingstub__19b50b7b811b7df94d19dfa751de09cba910b32f96dd6f76cdfde0ef1ed80121)
@@ -444,7 +444,7 @@ class RouterStaticRoute:
444
444
 
445
445
  NOTE: For static route to be active the next hop has to be an address of a reachable running Cloud Server in one of the Private Networks attached to the router.
446
446
 
447
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#nexthop Router#nexthop}
447
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#nexthop Router#nexthop}
448
448
  '''
449
449
  result = self._values.get("nexthop")
450
450
  assert result is not None, "Required property 'nexthop' is missing"
@@ -454,7 +454,7 @@ class RouterStaticRoute:
454
454
  def route(self) -> builtins.str:
455
455
  '''Destination prefix of the route.
456
456
 
457
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#route Router#route}
457
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#route Router#route}
458
458
  '''
459
459
  result = self._values.get("route")
460
460
  assert result is not None, "Required property 'route' is missing"
@@ -464,7 +464,7 @@ class RouterStaticRoute:
464
464
  def name(self) -> typing.Optional[builtins.str]:
465
465
  '''Name or description of the route.
466
466
 
467
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.19.0/docs/resources/router#name Router#name}
467
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.20.0/docs/resources/router#name Router#name}
468
468
  '''
469
469
  result = self._values.get("name")
470
470
  return typing.cast(typing.Optional[builtins.str], result)