cdktf-cdktf-provider-upcloud 15.6.1__py3-none-any.whl → 15.7.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 +5 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.7.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +4 -4
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/file_storage/__init__.py +1683 -0
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +38 -38
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +72 -72
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +228 -228
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +213 -213
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +603 -603
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +369 -369
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +135 -135
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +138 -138
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/provider/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +139 -139
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-15.6.1.dist-info → cdktf_cdktf_provider_upcloud-15.7.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-15.7.0.dist-info/RECORD +68 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.6.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-15.6.1.dist-info/RECORD +0 -67
- {cdktf_cdktf_provider_upcloud-15.6.1.dist-info → cdktf_cdktf_provider_upcloud-15.7.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-15.6.1.dist-info → cdktf_cdktf_provider_upcloud-15.7.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-15.6.1.dist-info → cdktf_cdktf_provider_upcloud-15.7.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1683 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `upcloud_file_storage`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_file_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage).
|
|
5
|
+
'''
|
|
6
|
+
from pkgutil import extend_path
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
9
|
+
import abc
|
|
10
|
+
import builtins
|
|
11
|
+
import datetime
|
|
12
|
+
import enum
|
|
13
|
+
import typing
|
|
14
|
+
|
|
15
|
+
import jsii
|
|
16
|
+
import publication
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
import typeguard
|
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
22
|
+
|
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
26
|
+
else:
|
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
28
|
+
pass
|
|
29
|
+
else:
|
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
33
|
+
else:
|
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
35
|
+
|
|
36
|
+
from .._jsii import *
|
|
37
|
+
|
|
38
|
+
import cdktf as _cdktf_9a9027ec
|
|
39
|
+
import constructs as _constructs_77d1e7e8
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class FileStorage(
|
|
43
|
+
_cdktf_9a9027ec.TerraformResource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorage",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage upcloud_file_storage}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
configured_status: builtins.str,
|
|
55
|
+
name: builtins.str,
|
|
56
|
+
size: jsii.Number,
|
|
57
|
+
zone: builtins.str,
|
|
58
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
59
|
+
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["FileStorageNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
60
|
+
share: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["FileStorageShare", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
61
|
+
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,
|
|
62
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
63
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
64
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
65
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
66
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
67
|
+
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,
|
|
68
|
+
) -> None:
|
|
69
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage upcloud_file_storage} Resource.
|
|
70
|
+
|
|
71
|
+
:param scope: The scope in which to define this construct.
|
|
72
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
73
|
+
:param configured_status: The service configured status indicates the service's current intended status. Managed by the customer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#configured_status FileStorage#configured_status}
|
|
74
|
+
:param name: Name of the file storage service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#name FileStorage#name}
|
|
75
|
+
:param size: Size of the file storage in GB. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#size FileStorage#size}
|
|
76
|
+
:param zone: Zone in which the service will be hosted, e.g. ``fi-hel1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#zone FileStorage#zone}
|
|
77
|
+
:param labels: User defined key-value pairs to classify the file storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#labels FileStorage#labels}
|
|
78
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#network FileStorage#network}
|
|
79
|
+
:param share: share block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#share FileStorage#share}
|
|
80
|
+
:param connection:
|
|
81
|
+
:param count:
|
|
82
|
+
:param depends_on:
|
|
83
|
+
:param for_each:
|
|
84
|
+
:param lifecycle:
|
|
85
|
+
:param provider:
|
|
86
|
+
:param provisioners:
|
|
87
|
+
'''
|
|
88
|
+
if __debug__:
|
|
89
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c75e507688ecccc5860d12c408ca956db8ba43bdba4a2a2c6f3a576aa1908000)
|
|
90
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
91
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
92
|
+
config = FileStorageConfig(
|
|
93
|
+
configured_status=configured_status,
|
|
94
|
+
name=name,
|
|
95
|
+
size=size,
|
|
96
|
+
zone=zone,
|
|
97
|
+
labels=labels,
|
|
98
|
+
network=network,
|
|
99
|
+
share=share,
|
|
100
|
+
connection=connection,
|
|
101
|
+
count=count,
|
|
102
|
+
depends_on=depends_on,
|
|
103
|
+
for_each=for_each,
|
|
104
|
+
lifecycle=lifecycle,
|
|
105
|
+
provider=provider,
|
|
106
|
+
provisioners=provisioners,
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
|
110
|
+
|
|
111
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
112
|
+
@builtins.classmethod
|
|
113
|
+
def generate_config_for_import(
|
|
114
|
+
cls,
|
|
115
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
116
|
+
import_to_id: builtins.str,
|
|
117
|
+
import_from_id: builtins.str,
|
|
118
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
119
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
120
|
+
'''Generates CDKTF code for importing a FileStorage resource upon running "cdktf plan ".
|
|
121
|
+
|
|
122
|
+
:param scope: The scope in which to define this construct.
|
|
123
|
+
:param import_to_id: The construct id used in the generated config for the FileStorage to import.
|
|
124
|
+
:param import_from_id: The id of the existing FileStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#import import section} in the documentation of this resource for the id to use
|
|
125
|
+
:param provider: ? Optional instance of the provider where the FileStorage to import is found.
|
|
126
|
+
'''
|
|
127
|
+
if __debug__:
|
|
128
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e4cf6ebe60a90631199cf93ec86d533f282e24a6168bce5be9e1d7bc6a7e1070)
|
|
129
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
130
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
131
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
132
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
133
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
134
|
+
|
|
135
|
+
@jsii.member(jsii_name="putNetwork")
|
|
136
|
+
def put_network(
|
|
137
|
+
self,
|
|
138
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["FileStorageNetwork", typing.Dict[builtins.str, typing.Any]]]],
|
|
139
|
+
) -> None:
|
|
140
|
+
'''
|
|
141
|
+
:param value: -
|
|
142
|
+
'''
|
|
143
|
+
if __debug__:
|
|
144
|
+
type_hints = typing.get_type_hints(_typecheckingstub__db45a0288f28e5e3b2a5eb329f242e35c2400cf23320cea19d5bfd2ff8dd07b6)
|
|
145
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
146
|
+
return typing.cast(None, jsii.invoke(self, "putNetwork", [value]))
|
|
147
|
+
|
|
148
|
+
@jsii.member(jsii_name="putShare")
|
|
149
|
+
def put_share(
|
|
150
|
+
self,
|
|
151
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["FileStorageShare", typing.Dict[builtins.str, typing.Any]]]],
|
|
152
|
+
) -> None:
|
|
153
|
+
'''
|
|
154
|
+
:param value: -
|
|
155
|
+
'''
|
|
156
|
+
if __debug__:
|
|
157
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a471db2ab7cf72b9fe6f287c4a1a68ac6573485f383fa455fcfc22c8bd5f5cca)
|
|
158
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
159
|
+
return typing.cast(None, jsii.invoke(self, "putShare", [value]))
|
|
160
|
+
|
|
161
|
+
@jsii.member(jsii_name="resetLabels")
|
|
162
|
+
def reset_labels(self) -> None:
|
|
163
|
+
return typing.cast(None, jsii.invoke(self, "resetLabels", []))
|
|
164
|
+
|
|
165
|
+
@jsii.member(jsii_name="resetNetwork")
|
|
166
|
+
def reset_network(self) -> None:
|
|
167
|
+
return typing.cast(None, jsii.invoke(self, "resetNetwork", []))
|
|
168
|
+
|
|
169
|
+
@jsii.member(jsii_name="resetShare")
|
|
170
|
+
def reset_share(self) -> None:
|
|
171
|
+
return typing.cast(None, jsii.invoke(self, "resetShare", []))
|
|
172
|
+
|
|
173
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
174
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
175
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
176
|
+
|
|
177
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
178
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
179
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
180
|
+
|
|
181
|
+
@jsii.python.classproperty
|
|
182
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
183
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
184
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
185
|
+
|
|
186
|
+
@builtins.property
|
|
187
|
+
@jsii.member(jsii_name="id")
|
|
188
|
+
def id(self) -> builtins.str:
|
|
189
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
190
|
+
|
|
191
|
+
@builtins.property
|
|
192
|
+
@jsii.member(jsii_name="network")
|
|
193
|
+
def network(self) -> "FileStorageNetworkList":
|
|
194
|
+
return typing.cast("FileStorageNetworkList", jsii.get(self, "network"))
|
|
195
|
+
|
|
196
|
+
@builtins.property
|
|
197
|
+
@jsii.member(jsii_name="share")
|
|
198
|
+
def share(self) -> "FileStorageShareList":
|
|
199
|
+
return typing.cast("FileStorageShareList", jsii.get(self, "share"))
|
|
200
|
+
|
|
201
|
+
@builtins.property
|
|
202
|
+
@jsii.member(jsii_name="configuredStatusInput")
|
|
203
|
+
def configured_status_input(self) -> typing.Optional[builtins.str]:
|
|
204
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "configuredStatusInput"))
|
|
205
|
+
|
|
206
|
+
@builtins.property
|
|
207
|
+
@jsii.member(jsii_name="labelsInput")
|
|
208
|
+
def labels_input(
|
|
209
|
+
self,
|
|
210
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
211
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
|
|
212
|
+
|
|
213
|
+
@builtins.property
|
|
214
|
+
@jsii.member(jsii_name="nameInput")
|
|
215
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
216
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
217
|
+
|
|
218
|
+
@builtins.property
|
|
219
|
+
@jsii.member(jsii_name="networkInput")
|
|
220
|
+
def network_input(
|
|
221
|
+
self,
|
|
222
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageNetwork"]]]:
|
|
223
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageNetwork"]]], jsii.get(self, "networkInput"))
|
|
224
|
+
|
|
225
|
+
@builtins.property
|
|
226
|
+
@jsii.member(jsii_name="shareInput")
|
|
227
|
+
def share_input(
|
|
228
|
+
self,
|
|
229
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageShare"]]]:
|
|
230
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageShare"]]], jsii.get(self, "shareInput"))
|
|
231
|
+
|
|
232
|
+
@builtins.property
|
|
233
|
+
@jsii.member(jsii_name="sizeInput")
|
|
234
|
+
def size_input(self) -> typing.Optional[jsii.Number]:
|
|
235
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "sizeInput"))
|
|
236
|
+
|
|
237
|
+
@builtins.property
|
|
238
|
+
@jsii.member(jsii_name="zoneInput")
|
|
239
|
+
def zone_input(self) -> typing.Optional[builtins.str]:
|
|
240
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "zoneInput"))
|
|
241
|
+
|
|
242
|
+
@builtins.property
|
|
243
|
+
@jsii.member(jsii_name="configuredStatus")
|
|
244
|
+
def configured_status(self) -> builtins.str:
|
|
245
|
+
return typing.cast(builtins.str, jsii.get(self, "configuredStatus"))
|
|
246
|
+
|
|
247
|
+
@configured_status.setter
|
|
248
|
+
def configured_status(self, value: builtins.str) -> None:
|
|
249
|
+
if __debug__:
|
|
250
|
+
type_hints = typing.get_type_hints(_typecheckingstub__769cf96a757aa3f5afcb75d2a0fd17cc2da8423b8afe5c97237d0ed927fec063)
|
|
251
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
252
|
+
jsii.set(self, "configuredStatus", value) # pyright: ignore[reportArgumentType]
|
|
253
|
+
|
|
254
|
+
@builtins.property
|
|
255
|
+
@jsii.member(jsii_name="labels")
|
|
256
|
+
def labels(self) -> typing.Mapping[builtins.str, builtins.str]:
|
|
257
|
+
return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "labels"))
|
|
258
|
+
|
|
259
|
+
@labels.setter
|
|
260
|
+
def labels(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
|
|
261
|
+
if __debug__:
|
|
262
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a698d75e0d4b6a753b831a8f1196fa8d0ea000e15974135c92de5d430aa21b40)
|
|
263
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
264
|
+
jsii.set(self, "labels", value) # pyright: ignore[reportArgumentType]
|
|
265
|
+
|
|
266
|
+
@builtins.property
|
|
267
|
+
@jsii.member(jsii_name="name")
|
|
268
|
+
def name(self) -> builtins.str:
|
|
269
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
270
|
+
|
|
271
|
+
@name.setter
|
|
272
|
+
def name(self, value: builtins.str) -> None:
|
|
273
|
+
if __debug__:
|
|
274
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0d8f4c73a9daaf4b5e7ec22dc442347370e04071173b6cdd007e4473fadb6501)
|
|
275
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
276
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
277
|
+
|
|
278
|
+
@builtins.property
|
|
279
|
+
@jsii.member(jsii_name="size")
|
|
280
|
+
def size(self) -> jsii.Number:
|
|
281
|
+
return typing.cast(jsii.Number, jsii.get(self, "size"))
|
|
282
|
+
|
|
283
|
+
@size.setter
|
|
284
|
+
def size(self, value: jsii.Number) -> None:
|
|
285
|
+
if __debug__:
|
|
286
|
+
type_hints = typing.get_type_hints(_typecheckingstub__10a1619599e55797054cf4fb68f86726b14f02464145232bd95c8617ffad76a5)
|
|
287
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
288
|
+
jsii.set(self, "size", value) # pyright: ignore[reportArgumentType]
|
|
289
|
+
|
|
290
|
+
@builtins.property
|
|
291
|
+
@jsii.member(jsii_name="zone")
|
|
292
|
+
def zone(self) -> builtins.str:
|
|
293
|
+
return typing.cast(builtins.str, jsii.get(self, "zone"))
|
|
294
|
+
|
|
295
|
+
@zone.setter
|
|
296
|
+
def zone(self, value: builtins.str) -> None:
|
|
297
|
+
if __debug__:
|
|
298
|
+
type_hints = typing.get_type_hints(_typecheckingstub__722bf76a21a278b063945e27870d384e543ccb7ad2e8c1d21e6593ba03a7111d)
|
|
299
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
300
|
+
jsii.set(self, "zone", value) # pyright: ignore[reportArgumentType]
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
@jsii.data_type(
|
|
304
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageConfig",
|
|
305
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
306
|
+
name_mapping={
|
|
307
|
+
"connection": "connection",
|
|
308
|
+
"count": "count",
|
|
309
|
+
"depends_on": "dependsOn",
|
|
310
|
+
"for_each": "forEach",
|
|
311
|
+
"lifecycle": "lifecycle",
|
|
312
|
+
"provider": "provider",
|
|
313
|
+
"provisioners": "provisioners",
|
|
314
|
+
"configured_status": "configuredStatus",
|
|
315
|
+
"name": "name",
|
|
316
|
+
"size": "size",
|
|
317
|
+
"zone": "zone",
|
|
318
|
+
"labels": "labels",
|
|
319
|
+
"network": "network",
|
|
320
|
+
"share": "share",
|
|
321
|
+
},
|
|
322
|
+
)
|
|
323
|
+
class FileStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
324
|
+
def __init__(
|
|
325
|
+
self,
|
|
326
|
+
*,
|
|
327
|
+
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,
|
|
328
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
329
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
330
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
331
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
332
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
333
|
+
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,
|
|
334
|
+
configured_status: builtins.str,
|
|
335
|
+
name: builtins.str,
|
|
336
|
+
size: jsii.Number,
|
|
337
|
+
zone: builtins.str,
|
|
338
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
339
|
+
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["FileStorageNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
340
|
+
share: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["FileStorageShare", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
341
|
+
) -> None:
|
|
342
|
+
'''
|
|
343
|
+
:param connection:
|
|
344
|
+
:param count:
|
|
345
|
+
:param depends_on:
|
|
346
|
+
:param for_each:
|
|
347
|
+
:param lifecycle:
|
|
348
|
+
:param provider:
|
|
349
|
+
:param provisioners:
|
|
350
|
+
:param configured_status: The service configured status indicates the service's current intended status. Managed by the customer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#configured_status FileStorage#configured_status}
|
|
351
|
+
:param name: Name of the file storage service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#name FileStorage#name}
|
|
352
|
+
:param size: Size of the file storage in GB. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#size FileStorage#size}
|
|
353
|
+
:param zone: Zone in which the service will be hosted, e.g. ``fi-hel1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#zone FileStorage#zone}
|
|
354
|
+
:param labels: User defined key-value pairs to classify the file storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#labels FileStorage#labels}
|
|
355
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#network FileStorage#network}
|
|
356
|
+
:param share: share block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#share FileStorage#share}
|
|
357
|
+
'''
|
|
358
|
+
if isinstance(lifecycle, dict):
|
|
359
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
360
|
+
if __debug__:
|
|
361
|
+
type_hints = typing.get_type_hints(_typecheckingstub__161954a10e7881bd5fde5bf92bacceec03d433f060dba864b064315327a1efb2)
|
|
362
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
363
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
364
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
365
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
366
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
367
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
368
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
369
|
+
check_type(argname="argument configured_status", value=configured_status, expected_type=type_hints["configured_status"])
|
|
370
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
371
|
+
check_type(argname="argument size", value=size, expected_type=type_hints["size"])
|
|
372
|
+
check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
|
|
373
|
+
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
374
|
+
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
375
|
+
check_type(argname="argument share", value=share, expected_type=type_hints["share"])
|
|
376
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
377
|
+
"configured_status": configured_status,
|
|
378
|
+
"name": name,
|
|
379
|
+
"size": size,
|
|
380
|
+
"zone": zone,
|
|
381
|
+
}
|
|
382
|
+
if connection is not None:
|
|
383
|
+
self._values["connection"] = connection
|
|
384
|
+
if count is not None:
|
|
385
|
+
self._values["count"] = count
|
|
386
|
+
if depends_on is not None:
|
|
387
|
+
self._values["depends_on"] = depends_on
|
|
388
|
+
if for_each is not None:
|
|
389
|
+
self._values["for_each"] = for_each
|
|
390
|
+
if lifecycle is not None:
|
|
391
|
+
self._values["lifecycle"] = lifecycle
|
|
392
|
+
if provider is not None:
|
|
393
|
+
self._values["provider"] = provider
|
|
394
|
+
if provisioners is not None:
|
|
395
|
+
self._values["provisioners"] = provisioners
|
|
396
|
+
if labels is not None:
|
|
397
|
+
self._values["labels"] = labels
|
|
398
|
+
if network is not None:
|
|
399
|
+
self._values["network"] = network
|
|
400
|
+
if share is not None:
|
|
401
|
+
self._values["share"] = share
|
|
402
|
+
|
|
403
|
+
@builtins.property
|
|
404
|
+
def connection(
|
|
405
|
+
self,
|
|
406
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
407
|
+
'''
|
|
408
|
+
:stability: experimental
|
|
409
|
+
'''
|
|
410
|
+
result = self._values.get("connection")
|
|
411
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
412
|
+
|
|
413
|
+
@builtins.property
|
|
414
|
+
def count(
|
|
415
|
+
self,
|
|
416
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
417
|
+
'''
|
|
418
|
+
:stability: experimental
|
|
419
|
+
'''
|
|
420
|
+
result = self._values.get("count")
|
|
421
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
422
|
+
|
|
423
|
+
@builtins.property
|
|
424
|
+
def depends_on(
|
|
425
|
+
self,
|
|
426
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
427
|
+
'''
|
|
428
|
+
:stability: experimental
|
|
429
|
+
'''
|
|
430
|
+
result = self._values.get("depends_on")
|
|
431
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
432
|
+
|
|
433
|
+
@builtins.property
|
|
434
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
435
|
+
'''
|
|
436
|
+
:stability: experimental
|
|
437
|
+
'''
|
|
438
|
+
result = self._values.get("for_each")
|
|
439
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
440
|
+
|
|
441
|
+
@builtins.property
|
|
442
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
443
|
+
'''
|
|
444
|
+
:stability: experimental
|
|
445
|
+
'''
|
|
446
|
+
result = self._values.get("lifecycle")
|
|
447
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
448
|
+
|
|
449
|
+
@builtins.property
|
|
450
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
451
|
+
'''
|
|
452
|
+
:stability: experimental
|
|
453
|
+
'''
|
|
454
|
+
result = self._values.get("provider")
|
|
455
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
456
|
+
|
|
457
|
+
@builtins.property
|
|
458
|
+
def provisioners(
|
|
459
|
+
self,
|
|
460
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
461
|
+
'''
|
|
462
|
+
:stability: experimental
|
|
463
|
+
'''
|
|
464
|
+
result = self._values.get("provisioners")
|
|
465
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
466
|
+
|
|
467
|
+
@builtins.property
|
|
468
|
+
def configured_status(self) -> builtins.str:
|
|
469
|
+
'''The service configured status indicates the service's current intended status. Managed by the customer.
|
|
470
|
+
|
|
471
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#configured_status FileStorage#configured_status}
|
|
472
|
+
'''
|
|
473
|
+
result = self._values.get("configured_status")
|
|
474
|
+
assert result is not None, "Required property 'configured_status' is missing"
|
|
475
|
+
return typing.cast(builtins.str, result)
|
|
476
|
+
|
|
477
|
+
@builtins.property
|
|
478
|
+
def name(self) -> builtins.str:
|
|
479
|
+
'''Name of the file storage service.
|
|
480
|
+
|
|
481
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#name FileStorage#name}
|
|
482
|
+
'''
|
|
483
|
+
result = self._values.get("name")
|
|
484
|
+
assert result is not None, "Required property 'name' is missing"
|
|
485
|
+
return typing.cast(builtins.str, result)
|
|
486
|
+
|
|
487
|
+
@builtins.property
|
|
488
|
+
def size(self) -> jsii.Number:
|
|
489
|
+
'''Size of the file storage in GB.
|
|
490
|
+
|
|
491
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#size FileStorage#size}
|
|
492
|
+
'''
|
|
493
|
+
result = self._values.get("size")
|
|
494
|
+
assert result is not None, "Required property 'size' is missing"
|
|
495
|
+
return typing.cast(jsii.Number, result)
|
|
496
|
+
|
|
497
|
+
@builtins.property
|
|
498
|
+
def zone(self) -> builtins.str:
|
|
499
|
+
'''Zone in which the service will be hosted, e.g. ``fi-hel1``. You can list available zones with ``upctl zone list``.
|
|
500
|
+
|
|
501
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#zone FileStorage#zone}
|
|
502
|
+
'''
|
|
503
|
+
result = self._values.get("zone")
|
|
504
|
+
assert result is not None, "Required property 'zone' is missing"
|
|
505
|
+
return typing.cast(builtins.str, result)
|
|
506
|
+
|
|
507
|
+
@builtins.property
|
|
508
|
+
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
509
|
+
'''User defined key-value pairs to classify the file storage.
|
|
510
|
+
|
|
511
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#labels FileStorage#labels}
|
|
512
|
+
'''
|
|
513
|
+
result = self._values.get("labels")
|
|
514
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
515
|
+
|
|
516
|
+
@builtins.property
|
|
517
|
+
def network(
|
|
518
|
+
self,
|
|
519
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageNetwork"]]]:
|
|
520
|
+
'''network block.
|
|
521
|
+
|
|
522
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#network FileStorage#network}
|
|
523
|
+
'''
|
|
524
|
+
result = self._values.get("network")
|
|
525
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageNetwork"]]], result)
|
|
526
|
+
|
|
527
|
+
@builtins.property
|
|
528
|
+
def share(
|
|
529
|
+
self,
|
|
530
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageShare"]]]:
|
|
531
|
+
'''share block.
|
|
532
|
+
|
|
533
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#share FileStorage#share}
|
|
534
|
+
'''
|
|
535
|
+
result = self._values.get("share")
|
|
536
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageShare"]]], result)
|
|
537
|
+
|
|
538
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
539
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
540
|
+
|
|
541
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
542
|
+
return not (rhs == self)
|
|
543
|
+
|
|
544
|
+
def __repr__(self) -> str:
|
|
545
|
+
return "FileStorageConfig(%s)" % ", ".join(
|
|
546
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
547
|
+
)
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
@jsii.data_type(
|
|
551
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageNetwork",
|
|
552
|
+
jsii_struct_bases=[],
|
|
553
|
+
name_mapping={
|
|
554
|
+
"family": "family",
|
|
555
|
+
"name": "name",
|
|
556
|
+
"uuid": "uuid",
|
|
557
|
+
"ip_address": "ipAddress",
|
|
558
|
+
},
|
|
559
|
+
)
|
|
560
|
+
class FileStorageNetwork:
|
|
561
|
+
def __init__(
|
|
562
|
+
self,
|
|
563
|
+
*,
|
|
564
|
+
family: builtins.str,
|
|
565
|
+
name: builtins.str,
|
|
566
|
+
uuid: builtins.str,
|
|
567
|
+
ip_address: typing.Optional[builtins.str] = None,
|
|
568
|
+
) -> None:
|
|
569
|
+
'''
|
|
570
|
+
:param family: IP family, e.g. IPv4. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#family FileStorage#family}
|
|
571
|
+
:param name: Attachment name (unique per this service). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#name FileStorage#name}
|
|
572
|
+
:param uuid: UUID of an existing private network to attach. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#uuid FileStorage#uuid}
|
|
573
|
+
:param ip_address: IP address to assign (optional, auto-assign otherwise). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#ip_address FileStorage#ip_address}
|
|
574
|
+
'''
|
|
575
|
+
if __debug__:
|
|
576
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3cb39cb24596d3d4059c4d620659ab98e579bdb4face4a94fd4c92e55745e7ef)
|
|
577
|
+
check_type(argname="argument family", value=family, expected_type=type_hints["family"])
|
|
578
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
579
|
+
check_type(argname="argument uuid", value=uuid, expected_type=type_hints["uuid"])
|
|
580
|
+
check_type(argname="argument ip_address", value=ip_address, expected_type=type_hints["ip_address"])
|
|
581
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
582
|
+
"family": family,
|
|
583
|
+
"name": name,
|
|
584
|
+
"uuid": uuid,
|
|
585
|
+
}
|
|
586
|
+
if ip_address is not None:
|
|
587
|
+
self._values["ip_address"] = ip_address
|
|
588
|
+
|
|
589
|
+
@builtins.property
|
|
590
|
+
def family(self) -> builtins.str:
|
|
591
|
+
'''IP family, e.g. IPv4.
|
|
592
|
+
|
|
593
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#family FileStorage#family}
|
|
594
|
+
'''
|
|
595
|
+
result = self._values.get("family")
|
|
596
|
+
assert result is not None, "Required property 'family' is missing"
|
|
597
|
+
return typing.cast(builtins.str, result)
|
|
598
|
+
|
|
599
|
+
@builtins.property
|
|
600
|
+
def name(self) -> builtins.str:
|
|
601
|
+
'''Attachment name (unique per this service).
|
|
602
|
+
|
|
603
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#name FileStorage#name}
|
|
604
|
+
'''
|
|
605
|
+
result = self._values.get("name")
|
|
606
|
+
assert result is not None, "Required property 'name' is missing"
|
|
607
|
+
return typing.cast(builtins.str, result)
|
|
608
|
+
|
|
609
|
+
@builtins.property
|
|
610
|
+
def uuid(self) -> builtins.str:
|
|
611
|
+
'''UUID of an existing private network to attach.
|
|
612
|
+
|
|
613
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#uuid FileStorage#uuid}
|
|
614
|
+
'''
|
|
615
|
+
result = self._values.get("uuid")
|
|
616
|
+
assert result is not None, "Required property 'uuid' is missing"
|
|
617
|
+
return typing.cast(builtins.str, result)
|
|
618
|
+
|
|
619
|
+
@builtins.property
|
|
620
|
+
def ip_address(self) -> typing.Optional[builtins.str]:
|
|
621
|
+
'''IP address to assign (optional, auto-assign otherwise).
|
|
622
|
+
|
|
623
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#ip_address FileStorage#ip_address}
|
|
624
|
+
'''
|
|
625
|
+
result = self._values.get("ip_address")
|
|
626
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
627
|
+
|
|
628
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
629
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
630
|
+
|
|
631
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
632
|
+
return not (rhs == self)
|
|
633
|
+
|
|
634
|
+
def __repr__(self) -> str:
|
|
635
|
+
return "FileStorageNetwork(%s)" % ", ".join(
|
|
636
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
637
|
+
)
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
class FileStorageNetworkList(
|
|
641
|
+
_cdktf_9a9027ec.ComplexList,
|
|
642
|
+
metaclass=jsii.JSIIMeta,
|
|
643
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageNetworkList",
|
|
644
|
+
):
|
|
645
|
+
def __init__(
|
|
646
|
+
self,
|
|
647
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
648
|
+
terraform_attribute: builtins.str,
|
|
649
|
+
wraps_set: builtins.bool,
|
|
650
|
+
) -> None:
|
|
651
|
+
'''
|
|
652
|
+
:param terraform_resource: The parent resource.
|
|
653
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
654
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
655
|
+
'''
|
|
656
|
+
if __debug__:
|
|
657
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d447ae1c1315150e52c3f90bf6acf1d4f5921539526d2ede89b91fd9ab4d9bc6)
|
|
658
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
659
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
660
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
661
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
662
|
+
|
|
663
|
+
@jsii.member(jsii_name="get")
|
|
664
|
+
def get(self, index: jsii.Number) -> "FileStorageNetworkOutputReference":
|
|
665
|
+
'''
|
|
666
|
+
:param index: the index of the item to return.
|
|
667
|
+
'''
|
|
668
|
+
if __debug__:
|
|
669
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bb8ccbdda74953958c93b1baaf54fab8a8e35c4d5ef8d09b858a344d84e1c7ae)
|
|
670
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
671
|
+
return typing.cast("FileStorageNetworkOutputReference", jsii.invoke(self, "get", [index]))
|
|
672
|
+
|
|
673
|
+
@builtins.property
|
|
674
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
675
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
676
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
677
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
678
|
+
|
|
679
|
+
@_terraform_attribute.setter
|
|
680
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
681
|
+
if __debug__:
|
|
682
|
+
type_hints = typing.get_type_hints(_typecheckingstub__763c7cd9961b5e98c10925f795e352336859bacdc9651088908b325d9f347d1f)
|
|
683
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
684
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
685
|
+
|
|
686
|
+
@builtins.property
|
|
687
|
+
@jsii.member(jsii_name="terraformResource")
|
|
688
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
689
|
+
'''The parent resource.'''
|
|
690
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
691
|
+
|
|
692
|
+
@_terraform_resource.setter
|
|
693
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
694
|
+
if __debug__:
|
|
695
|
+
type_hints = typing.get_type_hints(_typecheckingstub__233b04ba40b6945bdd9ba079fe6fbbc7f84280137964bac40eeb56f334a7b0a1)
|
|
696
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
697
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
698
|
+
|
|
699
|
+
@builtins.property
|
|
700
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
701
|
+
def _wraps_set(self) -> builtins.bool:
|
|
702
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
703
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
704
|
+
|
|
705
|
+
@_wraps_set.setter
|
|
706
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
707
|
+
if __debug__:
|
|
708
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dc08f8fa47928f9729a60b4d52a003382097fd11aa84b5f9f1d0933a9805b05f)
|
|
709
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
710
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
711
|
+
|
|
712
|
+
@builtins.property
|
|
713
|
+
@jsii.member(jsii_name="internalValue")
|
|
714
|
+
def internal_value(
|
|
715
|
+
self,
|
|
716
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageNetwork]]]:
|
|
717
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageNetwork]]], jsii.get(self, "internalValue"))
|
|
718
|
+
|
|
719
|
+
@internal_value.setter
|
|
720
|
+
def internal_value(
|
|
721
|
+
self,
|
|
722
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageNetwork]]],
|
|
723
|
+
) -> None:
|
|
724
|
+
if __debug__:
|
|
725
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d7beb2759d1dcc53dd2cc7ed37205c0e3c816c36174bda699b2d25ae51430dad)
|
|
726
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
727
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
class FileStorageNetworkOutputReference(
|
|
731
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
732
|
+
metaclass=jsii.JSIIMeta,
|
|
733
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageNetworkOutputReference",
|
|
734
|
+
):
|
|
735
|
+
def __init__(
|
|
736
|
+
self,
|
|
737
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
738
|
+
terraform_attribute: builtins.str,
|
|
739
|
+
complex_object_index: jsii.Number,
|
|
740
|
+
complex_object_is_from_set: builtins.bool,
|
|
741
|
+
) -> None:
|
|
742
|
+
'''
|
|
743
|
+
:param terraform_resource: The parent resource.
|
|
744
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
745
|
+
:param complex_object_index: the index of this item in the list.
|
|
746
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
747
|
+
'''
|
|
748
|
+
if __debug__:
|
|
749
|
+
type_hints = typing.get_type_hints(_typecheckingstub__faef425f90fa1083dd0b50dbb1fb54fae5843853edf01e793dc92e04f0d6d14d)
|
|
750
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
751
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
752
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
753
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
754
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
755
|
+
|
|
756
|
+
@jsii.member(jsii_name="resetIpAddress")
|
|
757
|
+
def reset_ip_address(self) -> None:
|
|
758
|
+
return typing.cast(None, jsii.invoke(self, "resetIpAddress", []))
|
|
759
|
+
|
|
760
|
+
@builtins.property
|
|
761
|
+
@jsii.member(jsii_name="familyInput")
|
|
762
|
+
def family_input(self) -> typing.Optional[builtins.str]:
|
|
763
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "familyInput"))
|
|
764
|
+
|
|
765
|
+
@builtins.property
|
|
766
|
+
@jsii.member(jsii_name="ipAddressInput")
|
|
767
|
+
def ip_address_input(self) -> typing.Optional[builtins.str]:
|
|
768
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "ipAddressInput"))
|
|
769
|
+
|
|
770
|
+
@builtins.property
|
|
771
|
+
@jsii.member(jsii_name="nameInput")
|
|
772
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
773
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
774
|
+
|
|
775
|
+
@builtins.property
|
|
776
|
+
@jsii.member(jsii_name="uuidInput")
|
|
777
|
+
def uuid_input(self) -> typing.Optional[builtins.str]:
|
|
778
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "uuidInput"))
|
|
779
|
+
|
|
780
|
+
@builtins.property
|
|
781
|
+
@jsii.member(jsii_name="family")
|
|
782
|
+
def family(self) -> builtins.str:
|
|
783
|
+
return typing.cast(builtins.str, jsii.get(self, "family"))
|
|
784
|
+
|
|
785
|
+
@family.setter
|
|
786
|
+
def family(self, value: builtins.str) -> None:
|
|
787
|
+
if __debug__:
|
|
788
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3401cffe957373d85ca4ace272bceac6729779ac20ededf91511dd70d8287142)
|
|
789
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
790
|
+
jsii.set(self, "family", value) # pyright: ignore[reportArgumentType]
|
|
791
|
+
|
|
792
|
+
@builtins.property
|
|
793
|
+
@jsii.member(jsii_name="ipAddress")
|
|
794
|
+
def ip_address(self) -> builtins.str:
|
|
795
|
+
return typing.cast(builtins.str, jsii.get(self, "ipAddress"))
|
|
796
|
+
|
|
797
|
+
@ip_address.setter
|
|
798
|
+
def ip_address(self, value: builtins.str) -> None:
|
|
799
|
+
if __debug__:
|
|
800
|
+
type_hints = typing.get_type_hints(_typecheckingstub__210fe9f677df956c9bfaea721299b0bd4fcca63bfab68e8738502b848c25d902)
|
|
801
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
802
|
+
jsii.set(self, "ipAddress", value) # pyright: ignore[reportArgumentType]
|
|
803
|
+
|
|
804
|
+
@builtins.property
|
|
805
|
+
@jsii.member(jsii_name="name")
|
|
806
|
+
def name(self) -> builtins.str:
|
|
807
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
808
|
+
|
|
809
|
+
@name.setter
|
|
810
|
+
def name(self, value: builtins.str) -> None:
|
|
811
|
+
if __debug__:
|
|
812
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a1b3dcd637b82ae6f5ae5a5c78ff0b452a7c1a962755892fb2ea181419bca5fc)
|
|
813
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
814
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
815
|
+
|
|
816
|
+
@builtins.property
|
|
817
|
+
@jsii.member(jsii_name="uuid")
|
|
818
|
+
def uuid(self) -> builtins.str:
|
|
819
|
+
return typing.cast(builtins.str, jsii.get(self, "uuid"))
|
|
820
|
+
|
|
821
|
+
@uuid.setter
|
|
822
|
+
def uuid(self, value: builtins.str) -> None:
|
|
823
|
+
if __debug__:
|
|
824
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0474a9a06711e1e81e7b4af2b0e8360feeee6f36ee8f07144c0a20cc45230627)
|
|
825
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
826
|
+
jsii.set(self, "uuid", value) # pyright: ignore[reportArgumentType]
|
|
827
|
+
|
|
828
|
+
@builtins.property
|
|
829
|
+
@jsii.member(jsii_name="internalValue")
|
|
830
|
+
def internal_value(
|
|
831
|
+
self,
|
|
832
|
+
) -> typing.Optional[typing.Union[FileStorageNetwork, _cdktf_9a9027ec.IResolvable]]:
|
|
833
|
+
return typing.cast(typing.Optional[typing.Union[FileStorageNetwork, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "internalValue"))
|
|
834
|
+
|
|
835
|
+
@internal_value.setter
|
|
836
|
+
def internal_value(
|
|
837
|
+
self,
|
|
838
|
+
value: typing.Optional[typing.Union[FileStorageNetwork, _cdktf_9a9027ec.IResolvable]],
|
|
839
|
+
) -> None:
|
|
840
|
+
if __debug__:
|
|
841
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7db5140385f65cd37f0e5ccb16a55d19b01254dcd9ca0c73a820e3546bfaa011)
|
|
842
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
843
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
@jsii.data_type(
|
|
847
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageShare",
|
|
848
|
+
jsii_struct_bases=[],
|
|
849
|
+
name_mapping={"name": "name", "path": "path", "acl": "acl"},
|
|
850
|
+
)
|
|
851
|
+
class FileStorageShare:
|
|
852
|
+
def __init__(
|
|
853
|
+
self,
|
|
854
|
+
*,
|
|
855
|
+
name: builtins.str,
|
|
856
|
+
path: builtins.str,
|
|
857
|
+
acl: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["FileStorageShareAcl", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
858
|
+
) -> None:
|
|
859
|
+
'''
|
|
860
|
+
:param name: Unique name of the share (1–64 chars). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#name FileStorage#name}
|
|
861
|
+
:param path: Absolute path exported by the share (e.g. ``/public``). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#path FileStorage#path}
|
|
862
|
+
:param acl: acl block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#acl FileStorage#acl}
|
|
863
|
+
'''
|
|
864
|
+
if __debug__:
|
|
865
|
+
type_hints = typing.get_type_hints(_typecheckingstub__414d072007b9ce691ae8edbad86fc52f727ff5daf8714101fca4c1a75a6822b7)
|
|
866
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
867
|
+
check_type(argname="argument path", value=path, expected_type=type_hints["path"])
|
|
868
|
+
check_type(argname="argument acl", value=acl, expected_type=type_hints["acl"])
|
|
869
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
870
|
+
"name": name,
|
|
871
|
+
"path": path,
|
|
872
|
+
}
|
|
873
|
+
if acl is not None:
|
|
874
|
+
self._values["acl"] = acl
|
|
875
|
+
|
|
876
|
+
@builtins.property
|
|
877
|
+
def name(self) -> builtins.str:
|
|
878
|
+
'''Unique name of the share (1–64 chars).
|
|
879
|
+
|
|
880
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#name FileStorage#name}
|
|
881
|
+
'''
|
|
882
|
+
result = self._values.get("name")
|
|
883
|
+
assert result is not None, "Required property 'name' is missing"
|
|
884
|
+
return typing.cast(builtins.str, result)
|
|
885
|
+
|
|
886
|
+
@builtins.property
|
|
887
|
+
def path(self) -> builtins.str:
|
|
888
|
+
'''Absolute path exported by the share (e.g. ``/public``).
|
|
889
|
+
|
|
890
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#path FileStorage#path}
|
|
891
|
+
'''
|
|
892
|
+
result = self._values.get("path")
|
|
893
|
+
assert result is not None, "Required property 'path' is missing"
|
|
894
|
+
return typing.cast(builtins.str, result)
|
|
895
|
+
|
|
896
|
+
@builtins.property
|
|
897
|
+
def acl(
|
|
898
|
+
self,
|
|
899
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageShareAcl"]]]:
|
|
900
|
+
'''acl block.
|
|
901
|
+
|
|
902
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#acl FileStorage#acl}
|
|
903
|
+
'''
|
|
904
|
+
result = self._values.get("acl")
|
|
905
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["FileStorageShareAcl"]]], result)
|
|
906
|
+
|
|
907
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
908
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
909
|
+
|
|
910
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
911
|
+
return not (rhs == self)
|
|
912
|
+
|
|
913
|
+
def __repr__(self) -> str:
|
|
914
|
+
return "FileStorageShare(%s)" % ", ".join(
|
|
915
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
916
|
+
)
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
@jsii.data_type(
|
|
920
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageShareAcl",
|
|
921
|
+
jsii_struct_bases=[],
|
|
922
|
+
name_mapping={"permission": "permission", "target": "target"},
|
|
923
|
+
)
|
|
924
|
+
class FileStorageShareAcl:
|
|
925
|
+
def __init__(self, *, permission: builtins.str, target: builtins.str) -> None:
|
|
926
|
+
'''
|
|
927
|
+
:param permission: Access level: 'ro' or 'rw'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#permission FileStorage#permission}
|
|
928
|
+
:param target: Target IP/CIDR or '*'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#target FileStorage#target}
|
|
929
|
+
'''
|
|
930
|
+
if __debug__:
|
|
931
|
+
type_hints = typing.get_type_hints(_typecheckingstub__429e4985eb3bf3cb5f295100860e1127acddbec30bae26addc3d6b8362f698d7)
|
|
932
|
+
check_type(argname="argument permission", value=permission, expected_type=type_hints["permission"])
|
|
933
|
+
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
934
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
935
|
+
"permission": permission,
|
|
936
|
+
"target": target,
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
@builtins.property
|
|
940
|
+
def permission(self) -> builtins.str:
|
|
941
|
+
'''Access level: 'ro' or 'rw'.
|
|
942
|
+
|
|
943
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#permission FileStorage#permission}
|
|
944
|
+
'''
|
|
945
|
+
result = self._values.get("permission")
|
|
946
|
+
assert result is not None, "Required property 'permission' is missing"
|
|
947
|
+
return typing.cast(builtins.str, result)
|
|
948
|
+
|
|
949
|
+
@builtins.property
|
|
950
|
+
def target(self) -> builtins.str:
|
|
951
|
+
'''Target IP/CIDR or '*'.
|
|
952
|
+
|
|
953
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.30.0/docs/resources/file_storage#target FileStorage#target}
|
|
954
|
+
'''
|
|
955
|
+
result = self._values.get("target")
|
|
956
|
+
assert result is not None, "Required property 'target' is missing"
|
|
957
|
+
return typing.cast(builtins.str, result)
|
|
958
|
+
|
|
959
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
960
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
961
|
+
|
|
962
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
963
|
+
return not (rhs == self)
|
|
964
|
+
|
|
965
|
+
def __repr__(self) -> str:
|
|
966
|
+
return "FileStorageShareAcl(%s)" % ", ".join(
|
|
967
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
968
|
+
)
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
class FileStorageShareAclList(
|
|
972
|
+
_cdktf_9a9027ec.ComplexList,
|
|
973
|
+
metaclass=jsii.JSIIMeta,
|
|
974
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageShareAclList",
|
|
975
|
+
):
|
|
976
|
+
def __init__(
|
|
977
|
+
self,
|
|
978
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
979
|
+
terraform_attribute: builtins.str,
|
|
980
|
+
wraps_set: builtins.bool,
|
|
981
|
+
) -> None:
|
|
982
|
+
'''
|
|
983
|
+
:param terraform_resource: The parent resource.
|
|
984
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
985
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
986
|
+
'''
|
|
987
|
+
if __debug__:
|
|
988
|
+
type_hints = typing.get_type_hints(_typecheckingstub__352c0ff80da5c768002d12e8b81d4b9cd8549947458f8ce78d787d93c2bcbf16)
|
|
989
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
990
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
991
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
992
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
993
|
+
|
|
994
|
+
@jsii.member(jsii_name="get")
|
|
995
|
+
def get(self, index: jsii.Number) -> "FileStorageShareAclOutputReference":
|
|
996
|
+
'''
|
|
997
|
+
:param index: the index of the item to return.
|
|
998
|
+
'''
|
|
999
|
+
if __debug__:
|
|
1000
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5d2d4d522c009113188c813b226bb537a1c8af82a407c1f2907c0a415884f48a)
|
|
1001
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1002
|
+
return typing.cast("FileStorageShareAclOutputReference", jsii.invoke(self, "get", [index]))
|
|
1003
|
+
|
|
1004
|
+
@builtins.property
|
|
1005
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1006
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1007
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1008
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1009
|
+
|
|
1010
|
+
@_terraform_attribute.setter
|
|
1011
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1012
|
+
if __debug__:
|
|
1013
|
+
type_hints = typing.get_type_hints(_typecheckingstub__844aee63c6c16c17b564c547b4dcfbd783c876701df197b601a31716f707d8f9)
|
|
1014
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1015
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1016
|
+
|
|
1017
|
+
@builtins.property
|
|
1018
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1019
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1020
|
+
'''The parent resource.'''
|
|
1021
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1022
|
+
|
|
1023
|
+
@_terraform_resource.setter
|
|
1024
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1025
|
+
if __debug__:
|
|
1026
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5a6d11b50ff3952fc4d6ab05fa6bd7407174ad21b21f38a676296ea05a9bc77d)
|
|
1027
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1028
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1029
|
+
|
|
1030
|
+
@builtins.property
|
|
1031
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1032
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1033
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1034
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1035
|
+
|
|
1036
|
+
@_wraps_set.setter
|
|
1037
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1038
|
+
if __debug__:
|
|
1039
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1857f3bbb2f4a2f5fb1297e197b078383aca57a11ea0ae881d915eebab632cca)
|
|
1040
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1041
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1042
|
+
|
|
1043
|
+
@builtins.property
|
|
1044
|
+
@jsii.member(jsii_name="internalValue")
|
|
1045
|
+
def internal_value(
|
|
1046
|
+
self,
|
|
1047
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShareAcl]]]:
|
|
1048
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShareAcl]]], jsii.get(self, "internalValue"))
|
|
1049
|
+
|
|
1050
|
+
@internal_value.setter
|
|
1051
|
+
def internal_value(
|
|
1052
|
+
self,
|
|
1053
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShareAcl]]],
|
|
1054
|
+
) -> None:
|
|
1055
|
+
if __debug__:
|
|
1056
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5f1d8bbae606ade07148fdd2488c3c6ea010d61a1117989fcb79890314fbcb58)
|
|
1057
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1058
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
class FileStorageShareAclOutputReference(
|
|
1062
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1063
|
+
metaclass=jsii.JSIIMeta,
|
|
1064
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageShareAclOutputReference",
|
|
1065
|
+
):
|
|
1066
|
+
def __init__(
|
|
1067
|
+
self,
|
|
1068
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1069
|
+
terraform_attribute: builtins.str,
|
|
1070
|
+
complex_object_index: jsii.Number,
|
|
1071
|
+
complex_object_is_from_set: builtins.bool,
|
|
1072
|
+
) -> None:
|
|
1073
|
+
'''
|
|
1074
|
+
:param terraform_resource: The parent resource.
|
|
1075
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1076
|
+
:param complex_object_index: the index of this item in the list.
|
|
1077
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1078
|
+
'''
|
|
1079
|
+
if __debug__:
|
|
1080
|
+
type_hints = typing.get_type_hints(_typecheckingstub__25fa3c5a82236b49d97cc265da4fb677f05e3115de63942be7c952e4bb297bb4)
|
|
1081
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1082
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1083
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1084
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1085
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1086
|
+
|
|
1087
|
+
@builtins.property
|
|
1088
|
+
@jsii.member(jsii_name="permissionInput")
|
|
1089
|
+
def permission_input(self) -> typing.Optional[builtins.str]:
|
|
1090
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "permissionInput"))
|
|
1091
|
+
|
|
1092
|
+
@builtins.property
|
|
1093
|
+
@jsii.member(jsii_name="targetInput")
|
|
1094
|
+
def target_input(self) -> typing.Optional[builtins.str]:
|
|
1095
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "targetInput"))
|
|
1096
|
+
|
|
1097
|
+
@builtins.property
|
|
1098
|
+
@jsii.member(jsii_name="permission")
|
|
1099
|
+
def permission(self) -> builtins.str:
|
|
1100
|
+
return typing.cast(builtins.str, jsii.get(self, "permission"))
|
|
1101
|
+
|
|
1102
|
+
@permission.setter
|
|
1103
|
+
def permission(self, value: builtins.str) -> None:
|
|
1104
|
+
if __debug__:
|
|
1105
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ba857040722dc69f23b61d182ab98ceaca88cf07d4d3730f3fe0cd56f57b0601)
|
|
1106
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1107
|
+
jsii.set(self, "permission", value) # pyright: ignore[reportArgumentType]
|
|
1108
|
+
|
|
1109
|
+
@builtins.property
|
|
1110
|
+
@jsii.member(jsii_name="target")
|
|
1111
|
+
def target(self) -> builtins.str:
|
|
1112
|
+
return typing.cast(builtins.str, jsii.get(self, "target"))
|
|
1113
|
+
|
|
1114
|
+
@target.setter
|
|
1115
|
+
def target(self, value: builtins.str) -> None:
|
|
1116
|
+
if __debug__:
|
|
1117
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4924ce9e6e8634c16219336209e8e6aa250091ec99cdcd20156107b0985e7fe1)
|
|
1118
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1119
|
+
jsii.set(self, "target", value) # pyright: ignore[reportArgumentType]
|
|
1120
|
+
|
|
1121
|
+
@builtins.property
|
|
1122
|
+
@jsii.member(jsii_name="internalValue")
|
|
1123
|
+
def internal_value(
|
|
1124
|
+
self,
|
|
1125
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, FileStorageShareAcl]]:
|
|
1126
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, FileStorageShareAcl]], jsii.get(self, "internalValue"))
|
|
1127
|
+
|
|
1128
|
+
@internal_value.setter
|
|
1129
|
+
def internal_value(
|
|
1130
|
+
self,
|
|
1131
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, FileStorageShareAcl]],
|
|
1132
|
+
) -> None:
|
|
1133
|
+
if __debug__:
|
|
1134
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2f341d9c13fc5d5161bf09680b1a35a5c6370864f3e0210728a059674c59b2d7)
|
|
1135
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1136
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
class FileStorageShareList(
|
|
1140
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1141
|
+
metaclass=jsii.JSIIMeta,
|
|
1142
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageShareList",
|
|
1143
|
+
):
|
|
1144
|
+
def __init__(
|
|
1145
|
+
self,
|
|
1146
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1147
|
+
terraform_attribute: builtins.str,
|
|
1148
|
+
wraps_set: builtins.bool,
|
|
1149
|
+
) -> None:
|
|
1150
|
+
'''
|
|
1151
|
+
:param terraform_resource: The parent resource.
|
|
1152
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1153
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1154
|
+
'''
|
|
1155
|
+
if __debug__:
|
|
1156
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bb257bc47207e8b0204f35d0e971f9694edf45aaaa1904f14e21b3c784312d54)
|
|
1157
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1158
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1159
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1160
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1161
|
+
|
|
1162
|
+
@jsii.member(jsii_name="get")
|
|
1163
|
+
def get(self, index: jsii.Number) -> "FileStorageShareOutputReference":
|
|
1164
|
+
'''
|
|
1165
|
+
:param index: the index of the item to return.
|
|
1166
|
+
'''
|
|
1167
|
+
if __debug__:
|
|
1168
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9e0c92ae7880c117c7919204998e058aa9d940ee7b75b1fbff84aa29a815735f)
|
|
1169
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1170
|
+
return typing.cast("FileStorageShareOutputReference", jsii.invoke(self, "get", [index]))
|
|
1171
|
+
|
|
1172
|
+
@builtins.property
|
|
1173
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1174
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1175
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1176
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1177
|
+
|
|
1178
|
+
@_terraform_attribute.setter
|
|
1179
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1180
|
+
if __debug__:
|
|
1181
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2efbb4e5cde05e2d07ac31d7ed94a2375495c6c8b7e6d6130e59838db5d7ed44)
|
|
1182
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1183
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1184
|
+
|
|
1185
|
+
@builtins.property
|
|
1186
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1187
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1188
|
+
'''The parent resource.'''
|
|
1189
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1190
|
+
|
|
1191
|
+
@_terraform_resource.setter
|
|
1192
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1193
|
+
if __debug__:
|
|
1194
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a05889e3a0b4d6ab93e4068b825aa2d3970941d1dafe5d329ef7badabbfd40be)
|
|
1195
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1196
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1197
|
+
|
|
1198
|
+
@builtins.property
|
|
1199
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1200
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1201
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1202
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1203
|
+
|
|
1204
|
+
@_wraps_set.setter
|
|
1205
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1206
|
+
if __debug__:
|
|
1207
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e680a38c8eb4d6673d6e8ed0e6a1acacaef93fde1f123d5296c608660c9d0ca0)
|
|
1208
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1209
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1210
|
+
|
|
1211
|
+
@builtins.property
|
|
1212
|
+
@jsii.member(jsii_name="internalValue")
|
|
1213
|
+
def internal_value(
|
|
1214
|
+
self,
|
|
1215
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShare]]]:
|
|
1216
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShare]]], jsii.get(self, "internalValue"))
|
|
1217
|
+
|
|
1218
|
+
@internal_value.setter
|
|
1219
|
+
def internal_value(
|
|
1220
|
+
self,
|
|
1221
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShare]]],
|
|
1222
|
+
) -> None:
|
|
1223
|
+
if __debug__:
|
|
1224
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ceb8967b459ffa237ef577c3368694a3e53c995e13f234350343fddeb4e095b5)
|
|
1225
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1226
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
class FileStorageShareOutputReference(
|
|
1230
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1231
|
+
metaclass=jsii.JSIIMeta,
|
|
1232
|
+
jsii_type="@cdktf/provider-upcloud.fileStorage.FileStorageShareOutputReference",
|
|
1233
|
+
):
|
|
1234
|
+
def __init__(
|
|
1235
|
+
self,
|
|
1236
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1237
|
+
terraform_attribute: builtins.str,
|
|
1238
|
+
complex_object_index: jsii.Number,
|
|
1239
|
+
complex_object_is_from_set: builtins.bool,
|
|
1240
|
+
) -> None:
|
|
1241
|
+
'''
|
|
1242
|
+
:param terraform_resource: The parent resource.
|
|
1243
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1244
|
+
:param complex_object_index: the index of this item in the list.
|
|
1245
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1246
|
+
'''
|
|
1247
|
+
if __debug__:
|
|
1248
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7bceabd4fdc2674fa73d583b7fbdfd213b5c4a3407583a947bd8be805d30f7b3)
|
|
1249
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1250
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1251
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1252
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1253
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1254
|
+
|
|
1255
|
+
@jsii.member(jsii_name="putAcl")
|
|
1256
|
+
def put_acl(
|
|
1257
|
+
self,
|
|
1258
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageShareAcl, typing.Dict[builtins.str, typing.Any]]]],
|
|
1259
|
+
) -> None:
|
|
1260
|
+
'''
|
|
1261
|
+
:param value: -
|
|
1262
|
+
'''
|
|
1263
|
+
if __debug__:
|
|
1264
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3a686a373acb2f485950f13ca272e2b52d85350b95994af9b5c9fedbd2cb354f)
|
|
1265
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1266
|
+
return typing.cast(None, jsii.invoke(self, "putAcl", [value]))
|
|
1267
|
+
|
|
1268
|
+
@jsii.member(jsii_name="resetAcl")
|
|
1269
|
+
def reset_acl(self) -> None:
|
|
1270
|
+
return typing.cast(None, jsii.invoke(self, "resetAcl", []))
|
|
1271
|
+
|
|
1272
|
+
@builtins.property
|
|
1273
|
+
@jsii.member(jsii_name="acl")
|
|
1274
|
+
def acl(self) -> FileStorageShareAclList:
|
|
1275
|
+
return typing.cast(FileStorageShareAclList, jsii.get(self, "acl"))
|
|
1276
|
+
|
|
1277
|
+
@builtins.property
|
|
1278
|
+
@jsii.member(jsii_name="aclInput")
|
|
1279
|
+
def acl_input(
|
|
1280
|
+
self,
|
|
1281
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShareAcl]]]:
|
|
1282
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShareAcl]]], jsii.get(self, "aclInput"))
|
|
1283
|
+
|
|
1284
|
+
@builtins.property
|
|
1285
|
+
@jsii.member(jsii_name="nameInput")
|
|
1286
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
1287
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
1288
|
+
|
|
1289
|
+
@builtins.property
|
|
1290
|
+
@jsii.member(jsii_name="pathInput")
|
|
1291
|
+
def path_input(self) -> typing.Optional[builtins.str]:
|
|
1292
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "pathInput"))
|
|
1293
|
+
|
|
1294
|
+
@builtins.property
|
|
1295
|
+
@jsii.member(jsii_name="name")
|
|
1296
|
+
def name(self) -> builtins.str:
|
|
1297
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1298
|
+
|
|
1299
|
+
@name.setter
|
|
1300
|
+
def name(self, value: builtins.str) -> None:
|
|
1301
|
+
if __debug__:
|
|
1302
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f548b5d4466c6131251a39bada521f421a0537e1e83b51b86a9310791955b3f0)
|
|
1303
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1304
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
1305
|
+
|
|
1306
|
+
@builtins.property
|
|
1307
|
+
@jsii.member(jsii_name="path")
|
|
1308
|
+
def path(self) -> builtins.str:
|
|
1309
|
+
return typing.cast(builtins.str, jsii.get(self, "path"))
|
|
1310
|
+
|
|
1311
|
+
@path.setter
|
|
1312
|
+
def path(self, value: builtins.str) -> None:
|
|
1313
|
+
if __debug__:
|
|
1314
|
+
type_hints = typing.get_type_hints(_typecheckingstub__487cab83be3c05ce3cefcbacb87544249c0a53f172360fd4159329d2ed1216ad)
|
|
1315
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1316
|
+
jsii.set(self, "path", value) # pyright: ignore[reportArgumentType]
|
|
1317
|
+
|
|
1318
|
+
@builtins.property
|
|
1319
|
+
@jsii.member(jsii_name="internalValue")
|
|
1320
|
+
def internal_value(
|
|
1321
|
+
self,
|
|
1322
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, FileStorageShare]]:
|
|
1323
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, FileStorageShare]], jsii.get(self, "internalValue"))
|
|
1324
|
+
|
|
1325
|
+
@internal_value.setter
|
|
1326
|
+
def internal_value(
|
|
1327
|
+
self,
|
|
1328
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, FileStorageShare]],
|
|
1329
|
+
) -> None:
|
|
1330
|
+
if __debug__:
|
|
1331
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9e2ff92e965fd6974806b2e6d9051434dfd18bed3a3a7e8129e4bf38058e1c8b)
|
|
1332
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1333
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
__all__ = [
|
|
1337
|
+
"FileStorage",
|
|
1338
|
+
"FileStorageConfig",
|
|
1339
|
+
"FileStorageNetwork",
|
|
1340
|
+
"FileStorageNetworkList",
|
|
1341
|
+
"FileStorageNetworkOutputReference",
|
|
1342
|
+
"FileStorageShare",
|
|
1343
|
+
"FileStorageShareAcl",
|
|
1344
|
+
"FileStorageShareAclList",
|
|
1345
|
+
"FileStorageShareAclOutputReference",
|
|
1346
|
+
"FileStorageShareList",
|
|
1347
|
+
"FileStorageShareOutputReference",
|
|
1348
|
+
]
|
|
1349
|
+
|
|
1350
|
+
publication.publish()
|
|
1351
|
+
|
|
1352
|
+
def _typecheckingstub__c75e507688ecccc5860d12c408ca956db8ba43bdba4a2a2c6f3a576aa1908000(
|
|
1353
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1354
|
+
id: builtins.str,
|
|
1355
|
+
*,
|
|
1356
|
+
configured_status: builtins.str,
|
|
1357
|
+
name: builtins.str,
|
|
1358
|
+
size: jsii.Number,
|
|
1359
|
+
zone: builtins.str,
|
|
1360
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1361
|
+
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1362
|
+
share: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageShare, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1363
|
+
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,
|
|
1364
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
1365
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
1366
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
1367
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1368
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1369
|
+
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,
|
|
1370
|
+
) -> None:
|
|
1371
|
+
"""Type checking stubs"""
|
|
1372
|
+
pass
|
|
1373
|
+
|
|
1374
|
+
def _typecheckingstub__e4cf6ebe60a90631199cf93ec86d533f282e24a6168bce5be9e1d7bc6a7e1070(
|
|
1375
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1376
|
+
import_to_id: builtins.str,
|
|
1377
|
+
import_from_id: builtins.str,
|
|
1378
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1379
|
+
) -> None:
|
|
1380
|
+
"""Type checking stubs"""
|
|
1381
|
+
pass
|
|
1382
|
+
|
|
1383
|
+
def _typecheckingstub__db45a0288f28e5e3b2a5eb329f242e35c2400cf23320cea19d5bfd2ff8dd07b6(
|
|
1384
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageNetwork, typing.Dict[builtins.str, typing.Any]]]],
|
|
1385
|
+
) -> None:
|
|
1386
|
+
"""Type checking stubs"""
|
|
1387
|
+
pass
|
|
1388
|
+
|
|
1389
|
+
def _typecheckingstub__a471db2ab7cf72b9fe6f287c4a1a68ac6573485f383fa455fcfc22c8bd5f5cca(
|
|
1390
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageShare, typing.Dict[builtins.str, typing.Any]]]],
|
|
1391
|
+
) -> None:
|
|
1392
|
+
"""Type checking stubs"""
|
|
1393
|
+
pass
|
|
1394
|
+
|
|
1395
|
+
def _typecheckingstub__769cf96a757aa3f5afcb75d2a0fd17cc2da8423b8afe5c97237d0ed927fec063(
|
|
1396
|
+
value: builtins.str,
|
|
1397
|
+
) -> None:
|
|
1398
|
+
"""Type checking stubs"""
|
|
1399
|
+
pass
|
|
1400
|
+
|
|
1401
|
+
def _typecheckingstub__a698d75e0d4b6a753b831a8f1196fa8d0ea000e15974135c92de5d430aa21b40(
|
|
1402
|
+
value: typing.Mapping[builtins.str, builtins.str],
|
|
1403
|
+
) -> None:
|
|
1404
|
+
"""Type checking stubs"""
|
|
1405
|
+
pass
|
|
1406
|
+
|
|
1407
|
+
def _typecheckingstub__0d8f4c73a9daaf4b5e7ec22dc442347370e04071173b6cdd007e4473fadb6501(
|
|
1408
|
+
value: builtins.str,
|
|
1409
|
+
) -> None:
|
|
1410
|
+
"""Type checking stubs"""
|
|
1411
|
+
pass
|
|
1412
|
+
|
|
1413
|
+
def _typecheckingstub__10a1619599e55797054cf4fb68f86726b14f02464145232bd95c8617ffad76a5(
|
|
1414
|
+
value: jsii.Number,
|
|
1415
|
+
) -> None:
|
|
1416
|
+
"""Type checking stubs"""
|
|
1417
|
+
pass
|
|
1418
|
+
|
|
1419
|
+
def _typecheckingstub__722bf76a21a278b063945e27870d384e543ccb7ad2e8c1d21e6593ba03a7111d(
|
|
1420
|
+
value: builtins.str,
|
|
1421
|
+
) -> None:
|
|
1422
|
+
"""Type checking stubs"""
|
|
1423
|
+
pass
|
|
1424
|
+
|
|
1425
|
+
def _typecheckingstub__161954a10e7881bd5fde5bf92bacceec03d433f060dba864b064315327a1efb2(
|
|
1426
|
+
*,
|
|
1427
|
+
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,
|
|
1428
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
1429
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
1430
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
1431
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1432
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1433
|
+
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,
|
|
1434
|
+
configured_status: builtins.str,
|
|
1435
|
+
name: builtins.str,
|
|
1436
|
+
size: jsii.Number,
|
|
1437
|
+
zone: builtins.str,
|
|
1438
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1439
|
+
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1440
|
+
share: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageShare, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1441
|
+
) -> None:
|
|
1442
|
+
"""Type checking stubs"""
|
|
1443
|
+
pass
|
|
1444
|
+
|
|
1445
|
+
def _typecheckingstub__3cb39cb24596d3d4059c4d620659ab98e579bdb4face4a94fd4c92e55745e7ef(
|
|
1446
|
+
*,
|
|
1447
|
+
family: builtins.str,
|
|
1448
|
+
name: builtins.str,
|
|
1449
|
+
uuid: builtins.str,
|
|
1450
|
+
ip_address: typing.Optional[builtins.str] = None,
|
|
1451
|
+
) -> None:
|
|
1452
|
+
"""Type checking stubs"""
|
|
1453
|
+
pass
|
|
1454
|
+
|
|
1455
|
+
def _typecheckingstub__d447ae1c1315150e52c3f90bf6acf1d4f5921539526d2ede89b91fd9ab4d9bc6(
|
|
1456
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1457
|
+
terraform_attribute: builtins.str,
|
|
1458
|
+
wraps_set: builtins.bool,
|
|
1459
|
+
) -> None:
|
|
1460
|
+
"""Type checking stubs"""
|
|
1461
|
+
pass
|
|
1462
|
+
|
|
1463
|
+
def _typecheckingstub__bb8ccbdda74953958c93b1baaf54fab8a8e35c4d5ef8d09b858a344d84e1c7ae(
|
|
1464
|
+
index: jsii.Number,
|
|
1465
|
+
) -> None:
|
|
1466
|
+
"""Type checking stubs"""
|
|
1467
|
+
pass
|
|
1468
|
+
|
|
1469
|
+
def _typecheckingstub__763c7cd9961b5e98c10925f795e352336859bacdc9651088908b325d9f347d1f(
|
|
1470
|
+
value: builtins.str,
|
|
1471
|
+
) -> None:
|
|
1472
|
+
"""Type checking stubs"""
|
|
1473
|
+
pass
|
|
1474
|
+
|
|
1475
|
+
def _typecheckingstub__233b04ba40b6945bdd9ba079fe6fbbc7f84280137964bac40eeb56f334a7b0a1(
|
|
1476
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1477
|
+
) -> None:
|
|
1478
|
+
"""Type checking stubs"""
|
|
1479
|
+
pass
|
|
1480
|
+
|
|
1481
|
+
def _typecheckingstub__dc08f8fa47928f9729a60b4d52a003382097fd11aa84b5f9f1d0933a9805b05f(
|
|
1482
|
+
value: builtins.bool,
|
|
1483
|
+
) -> None:
|
|
1484
|
+
"""Type checking stubs"""
|
|
1485
|
+
pass
|
|
1486
|
+
|
|
1487
|
+
def _typecheckingstub__d7beb2759d1dcc53dd2cc7ed37205c0e3c816c36174bda699b2d25ae51430dad(
|
|
1488
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageNetwork]]],
|
|
1489
|
+
) -> None:
|
|
1490
|
+
"""Type checking stubs"""
|
|
1491
|
+
pass
|
|
1492
|
+
|
|
1493
|
+
def _typecheckingstub__faef425f90fa1083dd0b50dbb1fb54fae5843853edf01e793dc92e04f0d6d14d(
|
|
1494
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1495
|
+
terraform_attribute: builtins.str,
|
|
1496
|
+
complex_object_index: jsii.Number,
|
|
1497
|
+
complex_object_is_from_set: builtins.bool,
|
|
1498
|
+
) -> None:
|
|
1499
|
+
"""Type checking stubs"""
|
|
1500
|
+
pass
|
|
1501
|
+
|
|
1502
|
+
def _typecheckingstub__3401cffe957373d85ca4ace272bceac6729779ac20ededf91511dd70d8287142(
|
|
1503
|
+
value: builtins.str,
|
|
1504
|
+
) -> None:
|
|
1505
|
+
"""Type checking stubs"""
|
|
1506
|
+
pass
|
|
1507
|
+
|
|
1508
|
+
def _typecheckingstub__210fe9f677df956c9bfaea721299b0bd4fcca63bfab68e8738502b848c25d902(
|
|
1509
|
+
value: builtins.str,
|
|
1510
|
+
) -> None:
|
|
1511
|
+
"""Type checking stubs"""
|
|
1512
|
+
pass
|
|
1513
|
+
|
|
1514
|
+
def _typecheckingstub__a1b3dcd637b82ae6f5ae5a5c78ff0b452a7c1a962755892fb2ea181419bca5fc(
|
|
1515
|
+
value: builtins.str,
|
|
1516
|
+
) -> None:
|
|
1517
|
+
"""Type checking stubs"""
|
|
1518
|
+
pass
|
|
1519
|
+
|
|
1520
|
+
def _typecheckingstub__0474a9a06711e1e81e7b4af2b0e8360feeee6f36ee8f07144c0a20cc45230627(
|
|
1521
|
+
value: builtins.str,
|
|
1522
|
+
) -> None:
|
|
1523
|
+
"""Type checking stubs"""
|
|
1524
|
+
pass
|
|
1525
|
+
|
|
1526
|
+
def _typecheckingstub__7db5140385f65cd37f0e5ccb16a55d19b01254dcd9ca0c73a820e3546bfaa011(
|
|
1527
|
+
value: typing.Optional[typing.Union[FileStorageNetwork, _cdktf_9a9027ec.IResolvable]],
|
|
1528
|
+
) -> None:
|
|
1529
|
+
"""Type checking stubs"""
|
|
1530
|
+
pass
|
|
1531
|
+
|
|
1532
|
+
def _typecheckingstub__414d072007b9ce691ae8edbad86fc52f727ff5daf8714101fca4c1a75a6822b7(
|
|
1533
|
+
*,
|
|
1534
|
+
name: builtins.str,
|
|
1535
|
+
path: builtins.str,
|
|
1536
|
+
acl: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageShareAcl, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1537
|
+
) -> None:
|
|
1538
|
+
"""Type checking stubs"""
|
|
1539
|
+
pass
|
|
1540
|
+
|
|
1541
|
+
def _typecheckingstub__429e4985eb3bf3cb5f295100860e1127acddbec30bae26addc3d6b8362f698d7(
|
|
1542
|
+
*,
|
|
1543
|
+
permission: builtins.str,
|
|
1544
|
+
target: builtins.str,
|
|
1545
|
+
) -> None:
|
|
1546
|
+
"""Type checking stubs"""
|
|
1547
|
+
pass
|
|
1548
|
+
|
|
1549
|
+
def _typecheckingstub__352c0ff80da5c768002d12e8b81d4b9cd8549947458f8ce78d787d93c2bcbf16(
|
|
1550
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1551
|
+
terraform_attribute: builtins.str,
|
|
1552
|
+
wraps_set: builtins.bool,
|
|
1553
|
+
) -> None:
|
|
1554
|
+
"""Type checking stubs"""
|
|
1555
|
+
pass
|
|
1556
|
+
|
|
1557
|
+
def _typecheckingstub__5d2d4d522c009113188c813b226bb537a1c8af82a407c1f2907c0a415884f48a(
|
|
1558
|
+
index: jsii.Number,
|
|
1559
|
+
) -> None:
|
|
1560
|
+
"""Type checking stubs"""
|
|
1561
|
+
pass
|
|
1562
|
+
|
|
1563
|
+
def _typecheckingstub__844aee63c6c16c17b564c547b4dcfbd783c876701df197b601a31716f707d8f9(
|
|
1564
|
+
value: builtins.str,
|
|
1565
|
+
) -> None:
|
|
1566
|
+
"""Type checking stubs"""
|
|
1567
|
+
pass
|
|
1568
|
+
|
|
1569
|
+
def _typecheckingstub__5a6d11b50ff3952fc4d6ab05fa6bd7407174ad21b21f38a676296ea05a9bc77d(
|
|
1570
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1571
|
+
) -> None:
|
|
1572
|
+
"""Type checking stubs"""
|
|
1573
|
+
pass
|
|
1574
|
+
|
|
1575
|
+
def _typecheckingstub__1857f3bbb2f4a2f5fb1297e197b078383aca57a11ea0ae881d915eebab632cca(
|
|
1576
|
+
value: builtins.bool,
|
|
1577
|
+
) -> None:
|
|
1578
|
+
"""Type checking stubs"""
|
|
1579
|
+
pass
|
|
1580
|
+
|
|
1581
|
+
def _typecheckingstub__5f1d8bbae606ade07148fdd2488c3c6ea010d61a1117989fcb79890314fbcb58(
|
|
1582
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShareAcl]]],
|
|
1583
|
+
) -> None:
|
|
1584
|
+
"""Type checking stubs"""
|
|
1585
|
+
pass
|
|
1586
|
+
|
|
1587
|
+
def _typecheckingstub__25fa3c5a82236b49d97cc265da4fb677f05e3115de63942be7c952e4bb297bb4(
|
|
1588
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1589
|
+
terraform_attribute: builtins.str,
|
|
1590
|
+
complex_object_index: jsii.Number,
|
|
1591
|
+
complex_object_is_from_set: builtins.bool,
|
|
1592
|
+
) -> None:
|
|
1593
|
+
"""Type checking stubs"""
|
|
1594
|
+
pass
|
|
1595
|
+
|
|
1596
|
+
def _typecheckingstub__ba857040722dc69f23b61d182ab98ceaca88cf07d4d3730f3fe0cd56f57b0601(
|
|
1597
|
+
value: builtins.str,
|
|
1598
|
+
) -> None:
|
|
1599
|
+
"""Type checking stubs"""
|
|
1600
|
+
pass
|
|
1601
|
+
|
|
1602
|
+
def _typecheckingstub__4924ce9e6e8634c16219336209e8e6aa250091ec99cdcd20156107b0985e7fe1(
|
|
1603
|
+
value: builtins.str,
|
|
1604
|
+
) -> None:
|
|
1605
|
+
"""Type checking stubs"""
|
|
1606
|
+
pass
|
|
1607
|
+
|
|
1608
|
+
def _typecheckingstub__2f341d9c13fc5d5161bf09680b1a35a5c6370864f3e0210728a059674c59b2d7(
|
|
1609
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, FileStorageShareAcl]],
|
|
1610
|
+
) -> None:
|
|
1611
|
+
"""Type checking stubs"""
|
|
1612
|
+
pass
|
|
1613
|
+
|
|
1614
|
+
def _typecheckingstub__bb257bc47207e8b0204f35d0e971f9694edf45aaaa1904f14e21b3c784312d54(
|
|
1615
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1616
|
+
terraform_attribute: builtins.str,
|
|
1617
|
+
wraps_set: builtins.bool,
|
|
1618
|
+
) -> None:
|
|
1619
|
+
"""Type checking stubs"""
|
|
1620
|
+
pass
|
|
1621
|
+
|
|
1622
|
+
def _typecheckingstub__9e0c92ae7880c117c7919204998e058aa9d940ee7b75b1fbff84aa29a815735f(
|
|
1623
|
+
index: jsii.Number,
|
|
1624
|
+
) -> None:
|
|
1625
|
+
"""Type checking stubs"""
|
|
1626
|
+
pass
|
|
1627
|
+
|
|
1628
|
+
def _typecheckingstub__2efbb4e5cde05e2d07ac31d7ed94a2375495c6c8b7e6d6130e59838db5d7ed44(
|
|
1629
|
+
value: builtins.str,
|
|
1630
|
+
) -> None:
|
|
1631
|
+
"""Type checking stubs"""
|
|
1632
|
+
pass
|
|
1633
|
+
|
|
1634
|
+
def _typecheckingstub__a05889e3a0b4d6ab93e4068b825aa2d3970941d1dafe5d329ef7badabbfd40be(
|
|
1635
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1636
|
+
) -> None:
|
|
1637
|
+
"""Type checking stubs"""
|
|
1638
|
+
pass
|
|
1639
|
+
|
|
1640
|
+
def _typecheckingstub__e680a38c8eb4d6673d6e8ed0e6a1acacaef93fde1f123d5296c608660c9d0ca0(
|
|
1641
|
+
value: builtins.bool,
|
|
1642
|
+
) -> None:
|
|
1643
|
+
"""Type checking stubs"""
|
|
1644
|
+
pass
|
|
1645
|
+
|
|
1646
|
+
def _typecheckingstub__ceb8967b459ffa237ef577c3368694a3e53c995e13f234350343fddeb4e095b5(
|
|
1647
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[FileStorageShare]]],
|
|
1648
|
+
) -> None:
|
|
1649
|
+
"""Type checking stubs"""
|
|
1650
|
+
pass
|
|
1651
|
+
|
|
1652
|
+
def _typecheckingstub__7bceabd4fdc2674fa73d583b7fbdfd213b5c4a3407583a947bd8be805d30f7b3(
|
|
1653
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1654
|
+
terraform_attribute: builtins.str,
|
|
1655
|
+
complex_object_index: jsii.Number,
|
|
1656
|
+
complex_object_is_from_set: builtins.bool,
|
|
1657
|
+
) -> None:
|
|
1658
|
+
"""Type checking stubs"""
|
|
1659
|
+
pass
|
|
1660
|
+
|
|
1661
|
+
def _typecheckingstub__3a686a373acb2f485950f13ca272e2b52d85350b95994af9b5c9fedbd2cb354f(
|
|
1662
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[FileStorageShareAcl, typing.Dict[builtins.str, typing.Any]]]],
|
|
1663
|
+
) -> None:
|
|
1664
|
+
"""Type checking stubs"""
|
|
1665
|
+
pass
|
|
1666
|
+
|
|
1667
|
+
def _typecheckingstub__f548b5d4466c6131251a39bada521f421a0537e1e83b51b86a9310791955b3f0(
|
|
1668
|
+
value: builtins.str,
|
|
1669
|
+
) -> None:
|
|
1670
|
+
"""Type checking stubs"""
|
|
1671
|
+
pass
|
|
1672
|
+
|
|
1673
|
+
def _typecheckingstub__487cab83be3c05ce3cefcbacb87544249c0a53f172360fd4159329d2ed1216ad(
|
|
1674
|
+
value: builtins.str,
|
|
1675
|
+
) -> None:
|
|
1676
|
+
"""Type checking stubs"""
|
|
1677
|
+
pass
|
|
1678
|
+
|
|
1679
|
+
def _typecheckingstub__9e2ff92e965fd6974806b2e6d9051434dfd18bed3a3a7e8129e4bf38058e1c8b(
|
|
1680
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, FileStorageShare]],
|
|
1681
|
+
) -> None:
|
|
1682
|
+
"""Type checking stubs"""
|
|
1683
|
+
pass
|