cdktf-cdktf-provider-upcloud 13.0.0__py3-none-any.whl → 14.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +12 -4
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +629 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +77 -28
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +134 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +39 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +175 -175
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +73 -73
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +286 -286
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +103 -103
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +40 -79
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +544 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +436 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +51 -104
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +467 -0
- cdktf_cdktf_provider_upcloud/network/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +148 -148
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-14.0.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.0.0.dist-info/RECORD +58 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@13.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-13.0.0.dist-info/RECORD +0 -54
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-14.0.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-14.0.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-14.0.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,544 @@
|
|
|
1
|
+
'''
|
|
2
|
+
# `upcloud_managed_object_storage_policy`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_object_storage_policy`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy).
|
|
5
|
+
'''
|
|
6
|
+
import abc
|
|
7
|
+
import builtins
|
|
8
|
+
import datetime
|
|
9
|
+
import enum
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
import jsii
|
|
13
|
+
import publication
|
|
14
|
+
import typing_extensions
|
|
15
|
+
|
|
16
|
+
from typeguard import check_type
|
|
17
|
+
|
|
18
|
+
from .._jsii import *
|
|
19
|
+
|
|
20
|
+
import cdktf as _cdktf_9a9027ec
|
|
21
|
+
import constructs as _constructs_77d1e7e8
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class ManagedObjectStoragePolicy(
|
|
25
|
+
_cdktf_9a9027ec.TerraformResource,
|
|
26
|
+
metaclass=jsii.JSIIMeta,
|
|
27
|
+
jsii_type="@cdktf/provider-upcloud.managedObjectStoragePolicy.ManagedObjectStoragePolicy",
|
|
28
|
+
):
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy upcloud_managed_object_storage_policy}.'''
|
|
30
|
+
|
|
31
|
+
def __init__(
|
|
32
|
+
self,
|
|
33
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
34
|
+
id_: builtins.str,
|
|
35
|
+
*,
|
|
36
|
+
document: builtins.str,
|
|
37
|
+
name: builtins.str,
|
|
38
|
+
service_uuid: builtins.str,
|
|
39
|
+
description: typing.Optional[builtins.str] = None,
|
|
40
|
+
id: typing.Optional[builtins.str] = None,
|
|
41
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
43
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
44
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
45
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
46
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
47
|
+
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,
|
|
48
|
+
) -> None:
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy upcloud_managed_object_storage_policy} Resource.
|
|
50
|
+
|
|
51
|
+
:param scope: The scope in which to define this construct.
|
|
52
|
+
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
53
|
+
:param document: Policy document, URL-encoded compliant with RFC 3986. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#document ManagedObjectStoragePolicy#document}
|
|
54
|
+
:param name: Policy name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#name ManagedObjectStoragePolicy#name}
|
|
55
|
+
:param service_uuid: Managed Object Storage service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#service_uuid ManagedObjectStoragePolicy#service_uuid}
|
|
56
|
+
:param description: Description of the policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#description ManagedObjectStoragePolicy#description}
|
|
57
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#id ManagedObjectStoragePolicy#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.
|
|
58
|
+
:param connection:
|
|
59
|
+
:param count:
|
|
60
|
+
:param depends_on:
|
|
61
|
+
:param for_each:
|
|
62
|
+
:param lifecycle:
|
|
63
|
+
:param provider:
|
|
64
|
+
:param provisioners:
|
|
65
|
+
'''
|
|
66
|
+
if __debug__:
|
|
67
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9f3b595d13951d0fe7c68633ff5f9db5b716107e5b9b7baeeffb19ec7c4452d6)
|
|
68
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
69
|
+
check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
|
|
70
|
+
config = ManagedObjectStoragePolicyConfig(
|
|
71
|
+
document=document,
|
|
72
|
+
name=name,
|
|
73
|
+
service_uuid=service_uuid,
|
|
74
|
+
description=description,
|
|
75
|
+
id=id,
|
|
76
|
+
connection=connection,
|
|
77
|
+
count=count,
|
|
78
|
+
depends_on=depends_on,
|
|
79
|
+
for_each=for_each,
|
|
80
|
+
lifecycle=lifecycle,
|
|
81
|
+
provider=provider,
|
|
82
|
+
provisioners=provisioners,
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
jsii.create(self.__class__, self, [scope, id_, config])
|
|
86
|
+
|
|
87
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
88
|
+
@builtins.classmethod
|
|
89
|
+
def generate_config_for_import(
|
|
90
|
+
cls,
|
|
91
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
92
|
+
import_to_id: builtins.str,
|
|
93
|
+
import_from_id: builtins.str,
|
|
94
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
95
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
96
|
+
'''Generates CDKTF code for importing a ManagedObjectStoragePolicy resource upon running "cdktf plan ".
|
|
97
|
+
|
|
98
|
+
:param scope: The scope in which to define this construct.
|
|
99
|
+
:param import_to_id: The construct id used in the generated config for the ManagedObjectStoragePolicy to import.
|
|
100
|
+
:param import_from_id: The id of the existing ManagedObjectStoragePolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#import import section} in the documentation of this resource for the id to use
|
|
101
|
+
:param provider: ? Optional instance of the provider where the ManagedObjectStoragePolicy to import is found.
|
|
102
|
+
'''
|
|
103
|
+
if __debug__:
|
|
104
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8f1fb773172d9a835900b1be942c80950644340f3fd93643b72cc64b8e35ae70)
|
|
105
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
106
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
107
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
108
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
109
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
110
|
+
|
|
111
|
+
@jsii.member(jsii_name="resetDescription")
|
|
112
|
+
def reset_description(self) -> None:
|
|
113
|
+
return typing.cast(None, jsii.invoke(self, "resetDescription", []))
|
|
114
|
+
|
|
115
|
+
@jsii.member(jsii_name="resetId")
|
|
116
|
+
def reset_id(self) -> None:
|
|
117
|
+
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
118
|
+
|
|
119
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
120
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
121
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
122
|
+
|
|
123
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
124
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
125
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
126
|
+
|
|
127
|
+
@jsii.python.classproperty
|
|
128
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
129
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
130
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
131
|
+
|
|
132
|
+
@builtins.property
|
|
133
|
+
@jsii.member(jsii_name="arn")
|
|
134
|
+
def arn(self) -> builtins.str:
|
|
135
|
+
return typing.cast(builtins.str, jsii.get(self, "arn"))
|
|
136
|
+
|
|
137
|
+
@builtins.property
|
|
138
|
+
@jsii.member(jsii_name="attachmentCount")
|
|
139
|
+
def attachment_count(self) -> jsii.Number:
|
|
140
|
+
return typing.cast(jsii.Number, jsii.get(self, "attachmentCount"))
|
|
141
|
+
|
|
142
|
+
@builtins.property
|
|
143
|
+
@jsii.member(jsii_name="createdAt")
|
|
144
|
+
def created_at(self) -> builtins.str:
|
|
145
|
+
return typing.cast(builtins.str, jsii.get(self, "createdAt"))
|
|
146
|
+
|
|
147
|
+
@builtins.property
|
|
148
|
+
@jsii.member(jsii_name="defaultVersionId")
|
|
149
|
+
def default_version_id(self) -> builtins.str:
|
|
150
|
+
return typing.cast(builtins.str, jsii.get(self, "defaultVersionId"))
|
|
151
|
+
|
|
152
|
+
@builtins.property
|
|
153
|
+
@jsii.member(jsii_name="systemAttribute")
|
|
154
|
+
def system_attribute(self) -> _cdktf_9a9027ec.IResolvable:
|
|
155
|
+
return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "systemAttribute"))
|
|
156
|
+
|
|
157
|
+
@builtins.property
|
|
158
|
+
@jsii.member(jsii_name="updatedAt")
|
|
159
|
+
def updated_at(self) -> builtins.str:
|
|
160
|
+
return typing.cast(builtins.str, jsii.get(self, "updatedAt"))
|
|
161
|
+
|
|
162
|
+
@builtins.property
|
|
163
|
+
@jsii.member(jsii_name="descriptionInput")
|
|
164
|
+
def description_input(self) -> typing.Optional[builtins.str]:
|
|
165
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "descriptionInput"))
|
|
166
|
+
|
|
167
|
+
@builtins.property
|
|
168
|
+
@jsii.member(jsii_name="documentInput")
|
|
169
|
+
def document_input(self) -> typing.Optional[builtins.str]:
|
|
170
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "documentInput"))
|
|
171
|
+
|
|
172
|
+
@builtins.property
|
|
173
|
+
@jsii.member(jsii_name="idInput")
|
|
174
|
+
def id_input(self) -> typing.Optional[builtins.str]:
|
|
175
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
176
|
+
|
|
177
|
+
@builtins.property
|
|
178
|
+
@jsii.member(jsii_name="nameInput")
|
|
179
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
180
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
181
|
+
|
|
182
|
+
@builtins.property
|
|
183
|
+
@jsii.member(jsii_name="serviceUuidInput")
|
|
184
|
+
def service_uuid_input(self) -> typing.Optional[builtins.str]:
|
|
185
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serviceUuidInput"))
|
|
186
|
+
|
|
187
|
+
@builtins.property
|
|
188
|
+
@jsii.member(jsii_name="description")
|
|
189
|
+
def description(self) -> builtins.str:
|
|
190
|
+
return typing.cast(builtins.str, jsii.get(self, "description"))
|
|
191
|
+
|
|
192
|
+
@description.setter
|
|
193
|
+
def description(self, value: builtins.str) -> None:
|
|
194
|
+
if __debug__:
|
|
195
|
+
type_hints = typing.get_type_hints(_typecheckingstub__06f8b5f1422a11de5d09acd6673447312b93af31445a0cf7318dbbfa55ee55f2)
|
|
196
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
197
|
+
jsii.set(self, "description", value)
|
|
198
|
+
|
|
199
|
+
@builtins.property
|
|
200
|
+
@jsii.member(jsii_name="document")
|
|
201
|
+
def document(self) -> builtins.str:
|
|
202
|
+
return typing.cast(builtins.str, jsii.get(self, "document"))
|
|
203
|
+
|
|
204
|
+
@document.setter
|
|
205
|
+
def document(self, value: builtins.str) -> None:
|
|
206
|
+
if __debug__:
|
|
207
|
+
type_hints = typing.get_type_hints(_typecheckingstub__df3607284d1a39c1854904adfd72e367568616ada692a1b72435a1a3f271ebcf)
|
|
208
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
209
|
+
jsii.set(self, "document", value)
|
|
210
|
+
|
|
211
|
+
@builtins.property
|
|
212
|
+
@jsii.member(jsii_name="id")
|
|
213
|
+
def id(self) -> builtins.str:
|
|
214
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
215
|
+
|
|
216
|
+
@id.setter
|
|
217
|
+
def id(self, value: builtins.str) -> None:
|
|
218
|
+
if __debug__:
|
|
219
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a602eb5f874d93a078e95bc5557b06a580eb46f4f88b4f2ec7125fad7a7461bd)
|
|
220
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
221
|
+
jsii.set(self, "id", value)
|
|
222
|
+
|
|
223
|
+
@builtins.property
|
|
224
|
+
@jsii.member(jsii_name="name")
|
|
225
|
+
def name(self) -> builtins.str:
|
|
226
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
227
|
+
|
|
228
|
+
@name.setter
|
|
229
|
+
def name(self, value: builtins.str) -> None:
|
|
230
|
+
if __debug__:
|
|
231
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0bc83ec3a1fd99a1ecba9fda6819913824f6969323fa7d3774c0e54069c7084e)
|
|
232
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
233
|
+
jsii.set(self, "name", value)
|
|
234
|
+
|
|
235
|
+
@builtins.property
|
|
236
|
+
@jsii.member(jsii_name="serviceUuid")
|
|
237
|
+
def service_uuid(self) -> builtins.str:
|
|
238
|
+
return typing.cast(builtins.str, jsii.get(self, "serviceUuid"))
|
|
239
|
+
|
|
240
|
+
@service_uuid.setter
|
|
241
|
+
def service_uuid(self, value: builtins.str) -> None:
|
|
242
|
+
if __debug__:
|
|
243
|
+
type_hints = typing.get_type_hints(_typecheckingstub__048ce821a65c84c6e42312f21523b2b9a3f0e4313c10cc2afee9de7f0058dc4c)
|
|
244
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
245
|
+
jsii.set(self, "serviceUuid", value)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
@jsii.data_type(
|
|
249
|
+
jsii_type="@cdktf/provider-upcloud.managedObjectStoragePolicy.ManagedObjectStoragePolicyConfig",
|
|
250
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
251
|
+
name_mapping={
|
|
252
|
+
"connection": "connection",
|
|
253
|
+
"count": "count",
|
|
254
|
+
"depends_on": "dependsOn",
|
|
255
|
+
"for_each": "forEach",
|
|
256
|
+
"lifecycle": "lifecycle",
|
|
257
|
+
"provider": "provider",
|
|
258
|
+
"provisioners": "provisioners",
|
|
259
|
+
"document": "document",
|
|
260
|
+
"name": "name",
|
|
261
|
+
"service_uuid": "serviceUuid",
|
|
262
|
+
"description": "description",
|
|
263
|
+
"id": "id",
|
|
264
|
+
},
|
|
265
|
+
)
|
|
266
|
+
class ManagedObjectStoragePolicyConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
267
|
+
def __init__(
|
|
268
|
+
self,
|
|
269
|
+
*,
|
|
270
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
271
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
272
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
273
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
274
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
275
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
276
|
+
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,
|
|
277
|
+
document: builtins.str,
|
|
278
|
+
name: builtins.str,
|
|
279
|
+
service_uuid: builtins.str,
|
|
280
|
+
description: typing.Optional[builtins.str] = None,
|
|
281
|
+
id: typing.Optional[builtins.str] = None,
|
|
282
|
+
) -> None:
|
|
283
|
+
'''
|
|
284
|
+
:param connection:
|
|
285
|
+
:param count:
|
|
286
|
+
:param depends_on:
|
|
287
|
+
:param for_each:
|
|
288
|
+
:param lifecycle:
|
|
289
|
+
:param provider:
|
|
290
|
+
:param provisioners:
|
|
291
|
+
:param document: Policy document, URL-encoded compliant with RFC 3986. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#document ManagedObjectStoragePolicy#document}
|
|
292
|
+
:param name: Policy name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#name ManagedObjectStoragePolicy#name}
|
|
293
|
+
:param service_uuid: Managed Object Storage service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#service_uuid ManagedObjectStoragePolicy#service_uuid}
|
|
294
|
+
:param description: Description of the policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#description ManagedObjectStoragePolicy#description}
|
|
295
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#id ManagedObjectStoragePolicy#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.
|
|
296
|
+
'''
|
|
297
|
+
if isinstance(lifecycle, dict):
|
|
298
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
299
|
+
if __debug__:
|
|
300
|
+
type_hints = typing.get_type_hints(_typecheckingstub__48902be0bb9456c5b9291efb87e1e4de5c3c0fb4f5c4de5130e3f2a0fd547c6b)
|
|
301
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
302
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
303
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
304
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
305
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
306
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
307
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
308
|
+
check_type(argname="argument document", value=document, expected_type=type_hints["document"])
|
|
309
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
310
|
+
check_type(argname="argument service_uuid", value=service_uuid, expected_type=type_hints["service_uuid"])
|
|
311
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
312
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
313
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
314
|
+
"document": document,
|
|
315
|
+
"name": name,
|
|
316
|
+
"service_uuid": service_uuid,
|
|
317
|
+
}
|
|
318
|
+
if connection is not None:
|
|
319
|
+
self._values["connection"] = connection
|
|
320
|
+
if count is not None:
|
|
321
|
+
self._values["count"] = count
|
|
322
|
+
if depends_on is not None:
|
|
323
|
+
self._values["depends_on"] = depends_on
|
|
324
|
+
if for_each is not None:
|
|
325
|
+
self._values["for_each"] = for_each
|
|
326
|
+
if lifecycle is not None:
|
|
327
|
+
self._values["lifecycle"] = lifecycle
|
|
328
|
+
if provider is not None:
|
|
329
|
+
self._values["provider"] = provider
|
|
330
|
+
if provisioners is not None:
|
|
331
|
+
self._values["provisioners"] = provisioners
|
|
332
|
+
if description is not None:
|
|
333
|
+
self._values["description"] = description
|
|
334
|
+
if id is not None:
|
|
335
|
+
self._values["id"] = id
|
|
336
|
+
|
|
337
|
+
@builtins.property
|
|
338
|
+
def connection(
|
|
339
|
+
self,
|
|
340
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
341
|
+
'''
|
|
342
|
+
:stability: experimental
|
|
343
|
+
'''
|
|
344
|
+
result = self._values.get("connection")
|
|
345
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
346
|
+
|
|
347
|
+
@builtins.property
|
|
348
|
+
def count(
|
|
349
|
+
self,
|
|
350
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
351
|
+
'''
|
|
352
|
+
:stability: experimental
|
|
353
|
+
'''
|
|
354
|
+
result = self._values.get("count")
|
|
355
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
356
|
+
|
|
357
|
+
@builtins.property
|
|
358
|
+
def depends_on(
|
|
359
|
+
self,
|
|
360
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
361
|
+
'''
|
|
362
|
+
:stability: experimental
|
|
363
|
+
'''
|
|
364
|
+
result = self._values.get("depends_on")
|
|
365
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
366
|
+
|
|
367
|
+
@builtins.property
|
|
368
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
369
|
+
'''
|
|
370
|
+
:stability: experimental
|
|
371
|
+
'''
|
|
372
|
+
result = self._values.get("for_each")
|
|
373
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
374
|
+
|
|
375
|
+
@builtins.property
|
|
376
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
377
|
+
'''
|
|
378
|
+
:stability: experimental
|
|
379
|
+
'''
|
|
380
|
+
result = self._values.get("lifecycle")
|
|
381
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
382
|
+
|
|
383
|
+
@builtins.property
|
|
384
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
385
|
+
'''
|
|
386
|
+
:stability: experimental
|
|
387
|
+
'''
|
|
388
|
+
result = self._values.get("provider")
|
|
389
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
390
|
+
|
|
391
|
+
@builtins.property
|
|
392
|
+
def provisioners(
|
|
393
|
+
self,
|
|
394
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
395
|
+
'''
|
|
396
|
+
:stability: experimental
|
|
397
|
+
'''
|
|
398
|
+
result = self._values.get("provisioners")
|
|
399
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
400
|
+
|
|
401
|
+
@builtins.property
|
|
402
|
+
def document(self) -> builtins.str:
|
|
403
|
+
'''Policy document, URL-encoded compliant with RFC 3986.
|
|
404
|
+
|
|
405
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#document ManagedObjectStoragePolicy#document}
|
|
406
|
+
'''
|
|
407
|
+
result = self._values.get("document")
|
|
408
|
+
assert result is not None, "Required property 'document' is missing"
|
|
409
|
+
return typing.cast(builtins.str, result)
|
|
410
|
+
|
|
411
|
+
@builtins.property
|
|
412
|
+
def name(self) -> builtins.str:
|
|
413
|
+
'''Policy name.
|
|
414
|
+
|
|
415
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#name ManagedObjectStoragePolicy#name}
|
|
416
|
+
'''
|
|
417
|
+
result = self._values.get("name")
|
|
418
|
+
assert result is not None, "Required property 'name' is missing"
|
|
419
|
+
return typing.cast(builtins.str, result)
|
|
420
|
+
|
|
421
|
+
@builtins.property
|
|
422
|
+
def service_uuid(self) -> builtins.str:
|
|
423
|
+
'''Managed Object Storage service UUID.
|
|
424
|
+
|
|
425
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#service_uuid ManagedObjectStoragePolicy#service_uuid}
|
|
426
|
+
'''
|
|
427
|
+
result = self._values.get("service_uuid")
|
|
428
|
+
assert result is not None, "Required property 'service_uuid' is missing"
|
|
429
|
+
return typing.cast(builtins.str, result)
|
|
430
|
+
|
|
431
|
+
@builtins.property
|
|
432
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
433
|
+
'''Description of the policy.
|
|
434
|
+
|
|
435
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#description ManagedObjectStoragePolicy#description}
|
|
436
|
+
'''
|
|
437
|
+
result = self._values.get("description")
|
|
438
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
439
|
+
|
|
440
|
+
@builtins.property
|
|
441
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
442
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.0.1/docs/resources/managed_object_storage_policy#id ManagedObjectStoragePolicy#id}.
|
|
443
|
+
|
|
444
|
+
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
445
|
+
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.
|
|
446
|
+
'''
|
|
447
|
+
result = self._values.get("id")
|
|
448
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
449
|
+
|
|
450
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
451
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
452
|
+
|
|
453
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
454
|
+
return not (rhs == self)
|
|
455
|
+
|
|
456
|
+
def __repr__(self) -> str:
|
|
457
|
+
return "ManagedObjectStoragePolicyConfig(%s)" % ", ".join(
|
|
458
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
459
|
+
)
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
__all__ = [
|
|
463
|
+
"ManagedObjectStoragePolicy",
|
|
464
|
+
"ManagedObjectStoragePolicyConfig",
|
|
465
|
+
]
|
|
466
|
+
|
|
467
|
+
publication.publish()
|
|
468
|
+
|
|
469
|
+
def _typecheckingstub__9f3b595d13951d0fe7c68633ff5f9db5b716107e5b9b7baeeffb19ec7c4452d6(
|
|
470
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
471
|
+
id_: builtins.str,
|
|
472
|
+
*,
|
|
473
|
+
document: builtins.str,
|
|
474
|
+
name: builtins.str,
|
|
475
|
+
service_uuid: builtins.str,
|
|
476
|
+
description: typing.Optional[builtins.str] = None,
|
|
477
|
+
id: typing.Optional[builtins.str] = None,
|
|
478
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
479
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
480
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
481
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
482
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
483
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
484
|
+
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,
|
|
485
|
+
) -> None:
|
|
486
|
+
"""Type checking stubs"""
|
|
487
|
+
pass
|
|
488
|
+
|
|
489
|
+
def _typecheckingstub__8f1fb773172d9a835900b1be942c80950644340f3fd93643b72cc64b8e35ae70(
|
|
490
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
491
|
+
import_to_id: builtins.str,
|
|
492
|
+
import_from_id: builtins.str,
|
|
493
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
494
|
+
) -> None:
|
|
495
|
+
"""Type checking stubs"""
|
|
496
|
+
pass
|
|
497
|
+
|
|
498
|
+
def _typecheckingstub__06f8b5f1422a11de5d09acd6673447312b93af31445a0cf7318dbbfa55ee55f2(
|
|
499
|
+
value: builtins.str,
|
|
500
|
+
) -> None:
|
|
501
|
+
"""Type checking stubs"""
|
|
502
|
+
pass
|
|
503
|
+
|
|
504
|
+
def _typecheckingstub__df3607284d1a39c1854904adfd72e367568616ada692a1b72435a1a3f271ebcf(
|
|
505
|
+
value: builtins.str,
|
|
506
|
+
) -> None:
|
|
507
|
+
"""Type checking stubs"""
|
|
508
|
+
pass
|
|
509
|
+
|
|
510
|
+
def _typecheckingstub__a602eb5f874d93a078e95bc5557b06a580eb46f4f88b4f2ec7125fad7a7461bd(
|
|
511
|
+
value: builtins.str,
|
|
512
|
+
) -> None:
|
|
513
|
+
"""Type checking stubs"""
|
|
514
|
+
pass
|
|
515
|
+
|
|
516
|
+
def _typecheckingstub__0bc83ec3a1fd99a1ecba9fda6819913824f6969323fa7d3774c0e54069c7084e(
|
|
517
|
+
value: builtins.str,
|
|
518
|
+
) -> None:
|
|
519
|
+
"""Type checking stubs"""
|
|
520
|
+
pass
|
|
521
|
+
|
|
522
|
+
def _typecheckingstub__048ce821a65c84c6e42312f21523b2b9a3f0e4313c10cc2afee9de7f0058dc4c(
|
|
523
|
+
value: builtins.str,
|
|
524
|
+
) -> None:
|
|
525
|
+
"""Type checking stubs"""
|
|
526
|
+
pass
|
|
527
|
+
|
|
528
|
+
def _typecheckingstub__48902be0bb9456c5b9291efb87e1e4de5c3c0fb4f5c4de5130e3f2a0fd547c6b(
|
|
529
|
+
*,
|
|
530
|
+
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
531
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
532
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
533
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
534
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
535
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
536
|
+
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,
|
|
537
|
+
document: builtins.str,
|
|
538
|
+
name: builtins.str,
|
|
539
|
+
service_uuid: builtins.str,
|
|
540
|
+
description: typing.Optional[builtins.str] = None,
|
|
541
|
+
id: typing.Optional[builtins.str] = None,
|
|
542
|
+
) -> None:
|
|
543
|
+
"""Type checking stubs"""
|
|
544
|
+
pass
|