pulumi-alicloud 3.77.0a1746163013__py3-none-any.whl → 3.78.0a1746422202__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 pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +72 -0
- pulumi_alicloud/_inputs.py +13 -0
- pulumi_alicloud/adb/db_cluster_lake_version.py +94 -0
- pulumi_alicloud/alb/_inputs.py +6 -3
- pulumi_alicloud/alb/outputs.py +4 -2
- pulumi_alicloud/apig/environment.py +2 -2
- pulumi_alicloud/apig/http_api.py +2 -2
- pulumi_alicloud/arms/grafana_workspace.py +56 -14
- pulumi_alicloud/cloudfirewall/instance_member.py +4 -4
- pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +2 -2
- pulumi_alicloud/cloudsso/_inputs.py +697 -7
- pulumi_alicloud/cloudsso/directory.py +345 -65
- pulumi_alicloud/cloudsso/outputs.py +557 -8
- pulumi_alicloud/config/outputs.py +8 -0
- pulumi_alicloud/cs/_inputs.py +18 -18
- pulumi_alicloud/cs/edge_kubernetes.py +136 -100
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +21 -1
- pulumi_alicloud/cs/kubernetes.py +118 -39
- pulumi_alicloud/cs/managed_kubernetes.py +125 -46
- pulumi_alicloud/cs/outputs.py +14 -14
- pulumi_alicloud/cs/serverless_kubernetes.py +66 -73
- pulumi_alicloud/ddos/ddos_coo_instance.py +175 -25
- pulumi_alicloud/dns/ddos_coo_instance.py +175 -25
- pulumi_alicloud/dts/job_monitor_rule.py +2 -2
- pulumi_alicloud/dts/synchronization_job.py +2 -2
- pulumi_alicloud/ecs/get_instance_types.py +4 -4
- pulumi_alicloud/ecs/instance.py +28 -28
- pulumi_alicloud/ecs/outputs.py +2 -2
- pulumi_alicloud/ecs/security_group_rule.py +32 -4
- pulumi_alicloud/eflo/__init__.py +3 -0
- pulumi_alicloud/eflo/_inputs.py +623 -0
- pulumi_alicloud/eflo/experiment_plan.py +573 -0
- pulumi_alicloud/eflo/experiment_plan_template.py +464 -0
- pulumi_alicloud/eflo/outputs.py +476 -0
- pulumi_alicloud/eflo/resource.py +388 -0
- pulumi_alicloud/ens/disk.py +120 -69
- pulumi_alicloud/ens/eip.py +45 -41
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/scheduled_preload_execution.py +479 -0
- pulumi_alicloud/esa/scheduled_preload_job.py +467 -0
- pulumi_alicloud/gwlb/listener.py +2 -2
- pulumi_alicloud/gwlb/load_balancer.py +2 -2
- pulumi_alicloud/gwlb/server_group.py +2 -2
- pulumi_alicloud/ims/__init__.py +2 -0
- pulumi_alicloud/ims/get_oidc_providers.py +216 -0
- pulumi_alicloud/ims/outputs.py +138 -0
- pulumi_alicloud/mongodb/__init__.py +2 -0
- pulumi_alicloud/mongodb/_inputs.py +154 -0
- pulumi_alicloud/mongodb/instance.py +7 -7
- pulumi_alicloud/mongodb/outputs.py +121 -0
- pulumi_alicloud/mongodb/public_network_address.py +275 -0
- pulumi_alicloud/mongodb/replica_set_role.py +533 -0
- pulumi_alicloud/nas/_inputs.py +252 -18
- pulumi_alicloud/nas/file_system.py +649 -264
- pulumi_alicloud/nas/outputs.py +198 -12
- pulumi_alicloud/nlb/server_group_server_attachment.py +4 -0
- pulumi_alicloud/pai/__init__.py +1 -0
- pulumi_alicloud/pai/flow_pipeline.py +491 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +1 -0
- pulumi_alicloud/ram/get_role_policy_attachments.py +272 -0
- pulumi_alicloud/ram/outputs.py +63 -0
- pulumi_alicloud/ram/security_preference.py +496 -110
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/rds/instance.py +1 -1
- pulumi_alicloud/sae/application_scaling_rule.py +2 -2
- pulumi_alicloud/sae/ingress.py +2 -2
- pulumi_alicloud/schedulerx/app_group.py +2 -2
- pulumi_alicloud/schedulerx/job.py +2 -2
- pulumi_alicloud/selectdb/db_cluster.py +2 -0
- pulumi_alicloud/selectdb/db_instance.py +43 -13
- pulumi_alicloud/selectdb/get_db_clusters.py +2 -0
- pulumi_alicloud/selectdb/get_db_instances.py +2 -0
- pulumi_alicloud/selectdb/outputs.py +3 -3
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +295 -0
- pulumi_alicloud/sls/etl.py +516 -0
- pulumi_alicloud/sls/outputs.py +209 -0
- pulumi_alicloud/vpc/network.py +156 -88
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.78.0a1746422202.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.78.0a1746422202.dist-info}/RECORD +83 -71
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.78.0a1746422202.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.77.0a1746163013.dist-info → pulumi_alicloud-3.78.0a1746422202.dist-info}/top_level.txt +0 -0
|
@@ -28,10 +28,14 @@ class FileSystemArgs:
|
|
|
28
28
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
29
|
encrypt_type: Optional[pulumi.Input[builtins.int]] = None,
|
|
30
30
|
file_system_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
keytab: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
keytab_md5: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
33
|
kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
34
|
nfs_acl: Optional[pulumi.Input['FileSystemNfsAclArgs']] = None,
|
|
35
|
+
options: Optional[pulumi.Input['FileSystemOptionsArgs']] = None,
|
|
33
36
|
recycle_bin: Optional[pulumi.Input['FileSystemRecycleBinArgs']] = None,
|
|
34
37
|
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
|
+
smb_acl: Optional[pulumi.Input['FileSystemSmbAclArgs']] = None,
|
|
35
39
|
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
40
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
37
41
|
vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -39,30 +43,71 @@ class FileSystemArgs:
|
|
|
39
43
|
zone_id: Optional[pulumi.Input[builtins.str]] = None):
|
|
40
44
|
"""
|
|
41
45
|
The set of arguments for constructing a FileSystem resource.
|
|
42
|
-
:param pulumi.Input[builtins.str] protocol_type:
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
:param pulumi.Input[builtins.str] storage_type: The storage type
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
46
|
+
:param pulumi.Input[builtins.str] protocol_type: File transfer protocol type.
|
|
47
|
+
- When FileSystemType = standard, the values are NFS and SMB.
|
|
48
|
+
- When FileSystemType = extreme, the value is NFS.
|
|
49
|
+
- When FileSystemType = cpfs, the value is cpfs.
|
|
50
|
+
:param pulumi.Input[builtins.str] storage_type: The storage type.
|
|
51
|
+
- When FileSystemType = standard, the values are Performance, Capacity, and Premium.
|
|
52
|
+
- When FileSystemType = extreme, the value is standard or advance.
|
|
53
|
+
- When FileSystemType = cpfs, the values are advance_100(100MB/s/TiB baseline) and advance_200(200MB/s/TiB baseline).
|
|
54
|
+
:param pulumi.Input[builtins.int] capacity: File system capacity.
|
|
55
|
+
|
|
56
|
+
Unit: GiB, required and valid when FileSystemType = extreme or cpfs.
|
|
57
|
+
|
|
58
|
+
For optional values, please refer to the actual specifications on the purchase page:
|
|
59
|
+
-[Fast NAS Pay-As-You-Go Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme_post#/buy)
|
|
60
|
+
-[Fast NAS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme#/buy)
|
|
61
|
+
-[Parallel File System CPFS Pay-As-You-Go Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_cpfs_post#/buy)
|
|
62
|
+
-[Parallel File System CPFS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=cpfs#/buy)
|
|
63
|
+
:param pulumi.Input[builtins.str] description: File system description.
|
|
64
|
+
|
|
65
|
+
Restrictions:
|
|
66
|
+
- 2~128 English or Chinese characters in length.
|
|
67
|
+
- Must start with upper and lower case letters or Chinese, and cannot start with'http: // 'and'https.
|
|
68
|
+
- Can contain numbers, colons (:), underscores (_), or dashes (-).
|
|
69
|
+
:param pulumi.Input[builtins.int] encrypt_type: Whether the file system is encrypted.
|
|
70
|
+
|
|
71
|
+
Use the KMS service hosting key to encrypt and store the file system disk data. When reading and writing encrypted data, there is no need to decrypt it.
|
|
72
|
+
|
|
73
|
+
Value:
|
|
74
|
+
- 0 (default): not encrypted.
|
|
75
|
+
- 1:NAS managed key. NAS managed keys are supported when FileSystemType = standard or extreme.
|
|
76
|
+
- 2: User management key. You can manage keys only when FileSystemType = extreme.
|
|
77
|
+
:param pulumi.Input[builtins.str] file_system_type: File system type.
|
|
78
|
+
|
|
79
|
+
Value:
|
|
80
|
+
- standard (default): Universal NAS
|
|
81
|
+
- extreme: extreme NAS
|
|
82
|
+
- cpfs: file storage CPFS
|
|
83
|
+
:param pulumi.Input[builtins.str] keytab: String of keytab file content encrypted by base64
|
|
84
|
+
:param pulumi.Input[builtins.str] keytab_md5: String of the keytab file content encrypted by MD5
|
|
85
|
+
:param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key.
|
|
86
|
+
This parameter is required only when EncryptType = 2.
|
|
87
|
+
:param pulumi.Input['FileSystemNfsAclArgs'] nfs_acl: NFS ACL See `nfs_acl` below.
|
|
88
|
+
:param pulumi.Input['FileSystemOptionsArgs'] options: Option. See `options` below.
|
|
89
|
+
:param pulumi.Input['FileSystemRecycleBinArgs'] recycle_bin: Recycle Bin See `recycle_bin` below.
|
|
60
90
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group.
|
|
61
|
-
:param pulumi.Input[
|
|
62
|
-
:param pulumi.Input[
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
:param pulumi.Input[builtins.str]
|
|
91
|
+
:param pulumi.Input['FileSystemSmbAclArgs'] smb_acl: SMB ACL See `smb_acl` below.
|
|
92
|
+
:param pulumi.Input[builtins.str] snapshot_id: Only extreme NAS is supported.
|
|
93
|
+
|
|
94
|
+
> **NOTE:** A file system is created from a snapshot. The version of the created file system is the same as that of the snapshot source file system. For example, if the source file system version of the snapshot is 1 and you need to create A file system of version 2, you can first create A file system A from the snapshot, then create A file system B that meets the configuration of version 2, copy the data in file system A to file system B, and migrate the business to file system B after the copy is completed.
|
|
95
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Label information collection.
|
|
96
|
+
:param pulumi.Input[builtins.str] vpc_id: The ID of the VPC network.
|
|
97
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
98
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
99
|
+
:param pulumi.Input[builtins.str] vswitch_id: The ID of the switch.
|
|
100
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
101
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
102
|
+
:param pulumi.Input[builtins.str] zone_id: The zone ID.
|
|
103
|
+
|
|
104
|
+
The usable area refers to the physical area where power and network are independent of each other in the same area.
|
|
105
|
+
|
|
106
|
+
When the FileSystemType is set to standard, this parameter is optional. By default, a zone that meets the conditions is randomly selected based on the ProtocolType and StorageType configurations. This parameter is required when FileSystemType = extreme or FileSystemType = cpfs.
|
|
107
|
+
|
|
108
|
+
> **NOTE:** - file systems in different zones in the same region communicate with ECS cloud servers.
|
|
109
|
+
|
|
110
|
+
> **NOTE:** - We recommend that the file system and the ECS instance belong to the same zone to avoid cross-zone latency.
|
|
66
111
|
"""
|
|
67
112
|
pulumi.set(__self__, "protocol_type", protocol_type)
|
|
68
113
|
pulumi.set(__self__, "storage_type", storage_type)
|
|
@@ -74,14 +119,22 @@ class FileSystemArgs:
|
|
|
74
119
|
pulumi.set(__self__, "encrypt_type", encrypt_type)
|
|
75
120
|
if file_system_type is not None:
|
|
76
121
|
pulumi.set(__self__, "file_system_type", file_system_type)
|
|
122
|
+
if keytab is not None:
|
|
123
|
+
pulumi.set(__self__, "keytab", keytab)
|
|
124
|
+
if keytab_md5 is not None:
|
|
125
|
+
pulumi.set(__self__, "keytab_md5", keytab_md5)
|
|
77
126
|
if kms_key_id is not None:
|
|
78
127
|
pulumi.set(__self__, "kms_key_id", kms_key_id)
|
|
79
128
|
if nfs_acl is not None:
|
|
80
129
|
pulumi.set(__self__, "nfs_acl", nfs_acl)
|
|
130
|
+
if options is not None:
|
|
131
|
+
pulumi.set(__self__, "options", options)
|
|
81
132
|
if recycle_bin is not None:
|
|
82
133
|
pulumi.set(__self__, "recycle_bin", recycle_bin)
|
|
83
134
|
if resource_group_id is not None:
|
|
84
135
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
136
|
+
if smb_acl is not None:
|
|
137
|
+
pulumi.set(__self__, "smb_acl", smb_acl)
|
|
85
138
|
if snapshot_id is not None:
|
|
86
139
|
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
|
87
140
|
if tags is not None:
|
|
@@ -97,10 +150,10 @@ class FileSystemArgs:
|
|
|
97
150
|
@pulumi.getter(name="protocolType")
|
|
98
151
|
def protocol_type(self) -> pulumi.Input[builtins.str]:
|
|
99
152
|
"""
|
|
100
|
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
153
|
+
File transfer protocol type.
|
|
154
|
+
- When FileSystemType = standard, the values are NFS and SMB.
|
|
155
|
+
- When FileSystemType = extreme, the value is NFS.
|
|
156
|
+
- When FileSystemType = cpfs, the value is cpfs.
|
|
104
157
|
"""
|
|
105
158
|
return pulumi.get(self, "protocol_type")
|
|
106
159
|
|
|
@@ -112,11 +165,10 @@ class FileSystemArgs:
|
|
|
112
165
|
@pulumi.getter(name="storageType")
|
|
113
166
|
def storage_type(self) -> pulumi.Input[builtins.str]:
|
|
114
167
|
"""
|
|
115
|
-
The storage type
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
> **NOTE:** From version 1.140.0, `storage_type` can be set to `standard`, `advance`. From version 1.153.0, `storage_type` can be set to `advance_100`, `advance_200`. From version 1.236.0, `storage_type` can be set to `Premium`.
|
|
168
|
+
The storage type.
|
|
169
|
+
- When FileSystemType = standard, the values are Performance, Capacity, and Premium.
|
|
170
|
+
- When FileSystemType = extreme, the value is standard or advance.
|
|
171
|
+
- When FileSystemType = cpfs, the values are advance_100(100MB/s/TiB baseline) and advance_200(200MB/s/TiB baseline).
|
|
120
172
|
"""
|
|
121
173
|
return pulumi.get(self, "storage_type")
|
|
122
174
|
|
|
@@ -128,7 +180,15 @@ class FileSystemArgs:
|
|
|
128
180
|
@pulumi.getter
|
|
129
181
|
def capacity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
130
182
|
"""
|
|
131
|
-
|
|
183
|
+
File system capacity.
|
|
184
|
+
|
|
185
|
+
Unit: GiB, required and valid when FileSystemType = extreme or cpfs.
|
|
186
|
+
|
|
187
|
+
For optional values, please refer to the actual specifications on the purchase page:
|
|
188
|
+
-[Fast NAS Pay-As-You-Go Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme_post#/buy)
|
|
189
|
+
-[Fast NAS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme#/buy)
|
|
190
|
+
-[Parallel File System CPFS Pay-As-You-Go Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_cpfs_post#/buy)
|
|
191
|
+
-[Parallel File System CPFS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=cpfs#/buy)
|
|
132
192
|
"""
|
|
133
193
|
return pulumi.get(self, "capacity")
|
|
134
194
|
|
|
@@ -140,7 +200,12 @@ class FileSystemArgs:
|
|
|
140
200
|
@pulumi.getter
|
|
141
201
|
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
142
202
|
"""
|
|
143
|
-
|
|
203
|
+
File system description.
|
|
204
|
+
|
|
205
|
+
Restrictions:
|
|
206
|
+
- 2~128 English or Chinese characters in length.
|
|
207
|
+
- Must start with upper and lower case letters or Chinese, and cannot start with'http: // 'and'https.
|
|
208
|
+
- Can contain numbers, colons (:), underscores (_), or dashes (-).
|
|
144
209
|
"""
|
|
145
210
|
return pulumi.get(self, "description")
|
|
146
211
|
|
|
@@ -152,7 +217,14 @@ class FileSystemArgs:
|
|
|
152
217
|
@pulumi.getter(name="encryptType")
|
|
153
218
|
def encrypt_type(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
154
219
|
"""
|
|
155
|
-
|
|
220
|
+
Whether the file system is encrypted.
|
|
221
|
+
|
|
222
|
+
Use the KMS service hosting key to encrypt and store the file system disk data. When reading and writing encrypted data, there is no need to decrypt it.
|
|
223
|
+
|
|
224
|
+
Value:
|
|
225
|
+
- 0 (default): not encrypted.
|
|
226
|
+
- 1:NAS managed key. NAS managed keys are supported when FileSystemType = standard or extreme.
|
|
227
|
+
- 2: User management key. You can manage keys only when FileSystemType = extreme.
|
|
156
228
|
"""
|
|
157
229
|
return pulumi.get(self, "encrypt_type")
|
|
158
230
|
|
|
@@ -164,7 +236,12 @@ class FileSystemArgs:
|
|
|
164
236
|
@pulumi.getter(name="fileSystemType")
|
|
165
237
|
def file_system_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
166
238
|
"""
|
|
167
|
-
|
|
239
|
+
File system type.
|
|
240
|
+
|
|
241
|
+
Value:
|
|
242
|
+
- standard (default): Universal NAS
|
|
243
|
+
- extreme: extreme NAS
|
|
244
|
+
- cpfs: file storage CPFS
|
|
168
245
|
"""
|
|
169
246
|
return pulumi.get(self, "file_system_type")
|
|
170
247
|
|
|
@@ -172,11 +249,36 @@ class FileSystemArgs:
|
|
|
172
249
|
def file_system_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
173
250
|
pulumi.set(self, "file_system_type", value)
|
|
174
251
|
|
|
252
|
+
@property
|
|
253
|
+
@pulumi.getter
|
|
254
|
+
def keytab(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
255
|
+
"""
|
|
256
|
+
String of keytab file content encrypted by base64
|
|
257
|
+
"""
|
|
258
|
+
return pulumi.get(self, "keytab")
|
|
259
|
+
|
|
260
|
+
@keytab.setter
|
|
261
|
+
def keytab(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
262
|
+
pulumi.set(self, "keytab", value)
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
@pulumi.getter(name="keytabMd5")
|
|
266
|
+
def keytab_md5(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
267
|
+
"""
|
|
268
|
+
String of the keytab file content encrypted by MD5
|
|
269
|
+
"""
|
|
270
|
+
return pulumi.get(self, "keytab_md5")
|
|
271
|
+
|
|
272
|
+
@keytab_md5.setter
|
|
273
|
+
def keytab_md5(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
274
|
+
pulumi.set(self, "keytab_md5", value)
|
|
275
|
+
|
|
175
276
|
@property
|
|
176
277
|
@pulumi.getter(name="kmsKeyId")
|
|
177
278
|
def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
178
279
|
"""
|
|
179
|
-
The ID of the KMS
|
|
280
|
+
The ID of the KMS key.
|
|
281
|
+
This parameter is required only when EncryptType = 2.
|
|
180
282
|
"""
|
|
181
283
|
return pulumi.get(self, "kms_key_id")
|
|
182
284
|
|
|
@@ -188,8 +290,7 @@ class FileSystemArgs:
|
|
|
188
290
|
@pulumi.getter(name="nfsAcl")
|
|
189
291
|
def nfs_acl(self) -> Optional[pulumi.Input['FileSystemNfsAclArgs']]:
|
|
190
292
|
"""
|
|
191
|
-
|
|
192
|
-
> **NOTE:** `nfs_acl` takes effect only if `file_system_type` is set to `standard`.
|
|
293
|
+
NFS ACL See `nfs_acl` below.
|
|
193
294
|
"""
|
|
194
295
|
return pulumi.get(self, "nfs_acl")
|
|
195
296
|
|
|
@@ -197,12 +298,23 @@ class FileSystemArgs:
|
|
|
197
298
|
def nfs_acl(self, value: Optional[pulumi.Input['FileSystemNfsAclArgs']]):
|
|
198
299
|
pulumi.set(self, "nfs_acl", value)
|
|
199
300
|
|
|
301
|
+
@property
|
|
302
|
+
@pulumi.getter
|
|
303
|
+
def options(self) -> Optional[pulumi.Input['FileSystemOptionsArgs']]:
|
|
304
|
+
"""
|
|
305
|
+
Option. See `options` below.
|
|
306
|
+
"""
|
|
307
|
+
return pulumi.get(self, "options")
|
|
308
|
+
|
|
309
|
+
@options.setter
|
|
310
|
+
def options(self, value: Optional[pulumi.Input['FileSystemOptionsArgs']]):
|
|
311
|
+
pulumi.set(self, "options", value)
|
|
312
|
+
|
|
200
313
|
@property
|
|
201
314
|
@pulumi.getter(name="recycleBin")
|
|
202
315
|
def recycle_bin(self) -> Optional[pulumi.Input['FileSystemRecycleBinArgs']]:
|
|
203
316
|
"""
|
|
204
|
-
|
|
205
|
-
> **NOTE:** `recycle_bin` takes effect only if `file_system_type` is set to `standard`.
|
|
317
|
+
Recycle Bin See `recycle_bin` below.
|
|
206
318
|
"""
|
|
207
319
|
return pulumi.get(self, "recycle_bin")
|
|
208
320
|
|
|
@@ -222,11 +334,25 @@ class FileSystemArgs:
|
|
|
222
334
|
def resource_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
223
335
|
pulumi.set(self, "resource_group_id", value)
|
|
224
336
|
|
|
337
|
+
@property
|
|
338
|
+
@pulumi.getter(name="smbAcl")
|
|
339
|
+
def smb_acl(self) -> Optional[pulumi.Input['FileSystemSmbAclArgs']]:
|
|
340
|
+
"""
|
|
341
|
+
SMB ACL See `smb_acl` below.
|
|
342
|
+
"""
|
|
343
|
+
return pulumi.get(self, "smb_acl")
|
|
344
|
+
|
|
345
|
+
@smb_acl.setter
|
|
346
|
+
def smb_acl(self, value: Optional[pulumi.Input['FileSystemSmbAclArgs']]):
|
|
347
|
+
pulumi.set(self, "smb_acl", value)
|
|
348
|
+
|
|
225
349
|
@property
|
|
226
350
|
@pulumi.getter(name="snapshotId")
|
|
227
351
|
def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
228
352
|
"""
|
|
229
|
-
|
|
353
|
+
Only extreme NAS is supported.
|
|
354
|
+
|
|
355
|
+
> **NOTE:** A file system is created from a snapshot. The version of the created file system is the same as that of the snapshot source file system. For example, if the source file system version of the snapshot is 1 and you need to create A file system of version 2, you can first create A file system A from the snapshot, then create A file system B that meets the configuration of version 2, copy the data in file system A to file system B, and migrate the business to file system B after the copy is completed.
|
|
230
356
|
"""
|
|
231
357
|
return pulumi.get(self, "snapshot_id")
|
|
232
358
|
|
|
@@ -238,7 +364,7 @@ class FileSystemArgs:
|
|
|
238
364
|
@pulumi.getter
|
|
239
365
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
240
366
|
"""
|
|
241
|
-
|
|
367
|
+
Label information collection.
|
|
242
368
|
"""
|
|
243
369
|
return pulumi.get(self, "tags")
|
|
244
370
|
|
|
@@ -250,7 +376,9 @@ class FileSystemArgs:
|
|
|
250
376
|
@pulumi.getter(name="vpcId")
|
|
251
377
|
def vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
252
378
|
"""
|
|
253
|
-
The ID of the VPC.
|
|
379
|
+
The ID of the VPC network.
|
|
380
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
381
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
254
382
|
"""
|
|
255
383
|
return pulumi.get(self, "vpc_id")
|
|
256
384
|
|
|
@@ -262,7 +390,9 @@ class FileSystemArgs:
|
|
|
262
390
|
@pulumi.getter(name="vswitchId")
|
|
263
391
|
def vswitch_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
264
392
|
"""
|
|
265
|
-
The ID of the
|
|
393
|
+
The ID of the switch.
|
|
394
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
395
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
266
396
|
"""
|
|
267
397
|
return pulumi.get(self, "vswitch_id")
|
|
268
398
|
|
|
@@ -274,7 +404,15 @@ class FileSystemArgs:
|
|
|
274
404
|
@pulumi.getter(name="zoneId")
|
|
275
405
|
def zone_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
276
406
|
"""
|
|
277
|
-
The
|
|
407
|
+
The zone ID.
|
|
408
|
+
|
|
409
|
+
The usable area refers to the physical area where power and network are independent of each other in the same area.
|
|
410
|
+
|
|
411
|
+
When the FileSystemType is set to standard, this parameter is optional. By default, a zone that meets the conditions is randomly selected based on the ProtocolType and StorageType configurations. This parameter is required when FileSystemType = extreme or FileSystemType = cpfs.
|
|
412
|
+
|
|
413
|
+
> **NOTE:** - file systems in different zones in the same region communicate with ECS cloud servers.
|
|
414
|
+
|
|
415
|
+
> **NOTE:** - We recommend that the file system and the ECS instance belong to the same zone to avoid cross-zone latency.
|
|
278
416
|
"""
|
|
279
417
|
return pulumi.get(self, "zone_id")
|
|
280
418
|
|
|
@@ -291,11 +429,16 @@ class _FileSystemState:
|
|
|
291
429
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
292
430
|
encrypt_type: Optional[pulumi.Input[builtins.int]] = None,
|
|
293
431
|
file_system_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
432
|
+
keytab: Optional[pulumi.Input[builtins.str]] = None,
|
|
433
|
+
keytab_md5: Optional[pulumi.Input[builtins.str]] = None,
|
|
294
434
|
kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
295
435
|
nfs_acl: Optional[pulumi.Input['FileSystemNfsAclArgs']] = None,
|
|
436
|
+
options: Optional[pulumi.Input['FileSystemOptionsArgs']] = None,
|
|
296
437
|
protocol_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
438
|
recycle_bin: Optional[pulumi.Input['FileSystemRecycleBinArgs']] = None,
|
|
439
|
+
region_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
440
|
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
441
|
+
smb_acl: Optional[pulumi.Input['FileSystemSmbAclArgs']] = None,
|
|
299
442
|
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
443
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
444
|
storage_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -305,32 +448,74 @@ class _FileSystemState:
|
|
|
305
448
|
zone_id: Optional[pulumi.Input[builtins.str]] = None):
|
|
306
449
|
"""
|
|
307
450
|
Input properties used for looking up and filtering FileSystem resources.
|
|
308
|
-
:param pulumi.Input[builtins.int] capacity:
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
451
|
+
:param pulumi.Input[builtins.int] capacity: File system capacity.
|
|
452
|
+
|
|
453
|
+
Unit: GiB, required and valid when FileSystemType = extreme or cpfs.
|
|
454
|
+
|
|
455
|
+
For optional values, please refer to the actual specifications on the purchase page:
|
|
456
|
+
-[Fast NAS Pay-As-You-Go Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme_post#/buy)
|
|
457
|
+
-[Fast NAS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme#/buy)
|
|
458
|
+
-[Parallel File System CPFS Pay-As-You-Go Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_cpfs_post#/buy)
|
|
459
|
+
-[Parallel File System CPFS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=cpfs#/buy)
|
|
460
|
+
:param pulumi.Input[builtins.str] create_time: CreateTime
|
|
461
|
+
:param pulumi.Input[builtins.str] description: File system description.
|
|
462
|
+
|
|
463
|
+
Restrictions:
|
|
464
|
+
- 2~128 English or Chinese characters in length.
|
|
465
|
+
- Must start with upper and lower case letters or Chinese, and cannot start with'http: // 'and'https.
|
|
466
|
+
- Can contain numbers, colons (:), underscores (_), or dashes (-).
|
|
467
|
+
:param pulumi.Input[builtins.int] encrypt_type: Whether the file system is encrypted.
|
|
468
|
+
|
|
469
|
+
Use the KMS service hosting key to encrypt and store the file system disk data. When reading and writing encrypted data, there is no need to decrypt it.
|
|
470
|
+
|
|
471
|
+
Value:
|
|
472
|
+
- 0 (default): not encrypted.
|
|
473
|
+
- 1:NAS managed key. NAS managed keys are supported when FileSystemType = standard or extreme.
|
|
474
|
+
- 2: User management key. You can manage keys only when FileSystemType = extreme.
|
|
475
|
+
:param pulumi.Input[builtins.str] file_system_type: File system type.
|
|
476
|
+
|
|
477
|
+
Value:
|
|
478
|
+
- standard (default): Universal NAS
|
|
479
|
+
- extreme: extreme NAS
|
|
480
|
+
- cpfs: file storage CPFS
|
|
481
|
+
:param pulumi.Input[builtins.str] keytab: String of keytab file content encrypted by base64
|
|
482
|
+
:param pulumi.Input[builtins.str] keytab_md5: String of the keytab file content encrypted by MD5
|
|
483
|
+
:param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key.
|
|
484
|
+
This parameter is required only when EncryptType = 2.
|
|
485
|
+
:param pulumi.Input['FileSystemNfsAclArgs'] nfs_acl: NFS ACL See `nfs_acl` below.
|
|
486
|
+
:param pulumi.Input['FileSystemOptionsArgs'] options: Option. See `options` below.
|
|
487
|
+
:param pulumi.Input[builtins.str] protocol_type: File transfer protocol type.
|
|
488
|
+
- When FileSystemType = standard, the values are NFS and SMB.
|
|
489
|
+
- When FileSystemType = extreme, the value is NFS.
|
|
490
|
+
- When FileSystemType = cpfs, the value is cpfs.
|
|
491
|
+
:param pulumi.Input['FileSystemRecycleBinArgs'] recycle_bin: Recycle Bin See `recycle_bin` below.
|
|
492
|
+
:param pulumi.Input[builtins.str] region_id: RegionId
|
|
322
493
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group.
|
|
323
|
-
:param pulumi.Input[
|
|
324
|
-
:param pulumi.Input[builtins.str]
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
:param pulumi.Input[builtins.str]
|
|
333
|
-
:param pulumi.Input[builtins.str]
|
|
494
|
+
:param pulumi.Input['FileSystemSmbAclArgs'] smb_acl: SMB ACL See `smb_acl` below.
|
|
495
|
+
:param pulumi.Input[builtins.str] snapshot_id: Only extreme NAS is supported.
|
|
496
|
+
|
|
497
|
+
> **NOTE:** A file system is created from a snapshot. The version of the created file system is the same as that of the snapshot source file system. For example, if the source file system version of the snapshot is 1 and you need to create A file system of version 2, you can first create A file system A from the snapshot, then create A file system B that meets the configuration of version 2, copy the data in file system A to file system B, and migrate the business to file system B after the copy is completed.
|
|
498
|
+
:param pulumi.Input[builtins.str] status: File system status. Includes:(such as creating a mount point) can only be performed when the file system is in the Running state.
|
|
499
|
+
:param pulumi.Input[builtins.str] storage_type: The storage type.
|
|
500
|
+
- When FileSystemType = standard, the values are Performance, Capacity, and Premium.
|
|
501
|
+
- When FileSystemType = extreme, the value is standard or advance.
|
|
502
|
+
- When FileSystemType = cpfs, the values are advance_100(100MB/s/TiB baseline) and advance_200(200MB/s/TiB baseline).
|
|
503
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Label information collection.
|
|
504
|
+
:param pulumi.Input[builtins.str] vpc_id: The ID of the VPC network.
|
|
505
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
506
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
507
|
+
:param pulumi.Input[builtins.str] vswitch_id: The ID of the switch.
|
|
508
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
509
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
510
|
+
:param pulumi.Input[builtins.str] zone_id: The zone ID.
|
|
511
|
+
|
|
512
|
+
The usable area refers to the physical area where power and network are independent of each other in the same area.
|
|
513
|
+
|
|
514
|
+
When the FileSystemType is set to standard, this parameter is optional. By default, a zone that meets the conditions is randomly selected based on the ProtocolType and StorageType configurations. This parameter is required when FileSystemType = extreme or FileSystemType = cpfs.
|
|
515
|
+
|
|
516
|
+
> **NOTE:** - file systems in different zones in the same region communicate with ECS cloud servers.
|
|
517
|
+
|
|
518
|
+
> **NOTE:** - We recommend that the file system and the ECS instance belong to the same zone to avoid cross-zone latency.
|
|
334
519
|
"""
|
|
335
520
|
if capacity is not None:
|
|
336
521
|
pulumi.set(__self__, "capacity", capacity)
|
|
@@ -342,16 +527,26 @@ class _FileSystemState:
|
|
|
342
527
|
pulumi.set(__self__, "encrypt_type", encrypt_type)
|
|
343
528
|
if file_system_type is not None:
|
|
344
529
|
pulumi.set(__self__, "file_system_type", file_system_type)
|
|
530
|
+
if keytab is not None:
|
|
531
|
+
pulumi.set(__self__, "keytab", keytab)
|
|
532
|
+
if keytab_md5 is not None:
|
|
533
|
+
pulumi.set(__self__, "keytab_md5", keytab_md5)
|
|
345
534
|
if kms_key_id is not None:
|
|
346
535
|
pulumi.set(__self__, "kms_key_id", kms_key_id)
|
|
347
536
|
if nfs_acl is not None:
|
|
348
537
|
pulumi.set(__self__, "nfs_acl", nfs_acl)
|
|
538
|
+
if options is not None:
|
|
539
|
+
pulumi.set(__self__, "options", options)
|
|
349
540
|
if protocol_type is not None:
|
|
350
541
|
pulumi.set(__self__, "protocol_type", protocol_type)
|
|
351
542
|
if recycle_bin is not None:
|
|
352
543
|
pulumi.set(__self__, "recycle_bin", recycle_bin)
|
|
544
|
+
if region_id is not None:
|
|
545
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
353
546
|
if resource_group_id is not None:
|
|
354
547
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
548
|
+
if smb_acl is not None:
|
|
549
|
+
pulumi.set(__self__, "smb_acl", smb_acl)
|
|
355
550
|
if snapshot_id is not None:
|
|
356
551
|
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
|
357
552
|
if status is not None:
|
|
@@ -371,7 +566,15 @@ class _FileSystemState:
|
|
|
371
566
|
@pulumi.getter
|
|
372
567
|
def capacity(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
373
568
|
"""
|
|
374
|
-
|
|
569
|
+
File system capacity.
|
|
570
|
+
|
|
571
|
+
Unit: GiB, required and valid when FileSystemType = extreme or cpfs.
|
|
572
|
+
|
|
573
|
+
For optional values, please refer to the actual specifications on the purchase page:
|
|
574
|
+
-[Fast NAS Pay-As-You-Go Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme_post#/buy)
|
|
575
|
+
-[Fast NAS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme#/buy)
|
|
576
|
+
-[Parallel File System CPFS Pay-As-You-Go Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_cpfs_post#/buy)
|
|
577
|
+
-[Parallel File System CPFS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=cpfs#/buy)
|
|
375
578
|
"""
|
|
376
579
|
return pulumi.get(self, "capacity")
|
|
377
580
|
|
|
@@ -383,7 +586,7 @@ class _FileSystemState:
|
|
|
383
586
|
@pulumi.getter(name="createTime")
|
|
384
587
|
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
385
588
|
"""
|
|
386
|
-
|
|
589
|
+
CreateTime
|
|
387
590
|
"""
|
|
388
591
|
return pulumi.get(self, "create_time")
|
|
389
592
|
|
|
@@ -395,7 +598,12 @@ class _FileSystemState:
|
|
|
395
598
|
@pulumi.getter
|
|
396
599
|
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
397
600
|
"""
|
|
398
|
-
|
|
601
|
+
File system description.
|
|
602
|
+
|
|
603
|
+
Restrictions:
|
|
604
|
+
- 2~128 English or Chinese characters in length.
|
|
605
|
+
- Must start with upper and lower case letters or Chinese, and cannot start with'http: // 'and'https.
|
|
606
|
+
- Can contain numbers, colons (:), underscores (_), or dashes (-).
|
|
399
607
|
"""
|
|
400
608
|
return pulumi.get(self, "description")
|
|
401
609
|
|
|
@@ -407,7 +615,14 @@ class _FileSystemState:
|
|
|
407
615
|
@pulumi.getter(name="encryptType")
|
|
408
616
|
def encrypt_type(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
409
617
|
"""
|
|
410
|
-
|
|
618
|
+
Whether the file system is encrypted.
|
|
619
|
+
|
|
620
|
+
Use the KMS service hosting key to encrypt and store the file system disk data. When reading and writing encrypted data, there is no need to decrypt it.
|
|
621
|
+
|
|
622
|
+
Value:
|
|
623
|
+
- 0 (default): not encrypted.
|
|
624
|
+
- 1:NAS managed key. NAS managed keys are supported when FileSystemType = standard or extreme.
|
|
625
|
+
- 2: User management key. You can manage keys only when FileSystemType = extreme.
|
|
411
626
|
"""
|
|
412
627
|
return pulumi.get(self, "encrypt_type")
|
|
413
628
|
|
|
@@ -419,7 +634,12 @@ class _FileSystemState:
|
|
|
419
634
|
@pulumi.getter(name="fileSystemType")
|
|
420
635
|
def file_system_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
421
636
|
"""
|
|
422
|
-
|
|
637
|
+
File system type.
|
|
638
|
+
|
|
639
|
+
Value:
|
|
640
|
+
- standard (default): Universal NAS
|
|
641
|
+
- extreme: extreme NAS
|
|
642
|
+
- cpfs: file storage CPFS
|
|
423
643
|
"""
|
|
424
644
|
return pulumi.get(self, "file_system_type")
|
|
425
645
|
|
|
@@ -427,11 +647,36 @@ class _FileSystemState:
|
|
|
427
647
|
def file_system_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
428
648
|
pulumi.set(self, "file_system_type", value)
|
|
429
649
|
|
|
650
|
+
@property
|
|
651
|
+
@pulumi.getter
|
|
652
|
+
def keytab(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
653
|
+
"""
|
|
654
|
+
String of keytab file content encrypted by base64
|
|
655
|
+
"""
|
|
656
|
+
return pulumi.get(self, "keytab")
|
|
657
|
+
|
|
658
|
+
@keytab.setter
|
|
659
|
+
def keytab(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
660
|
+
pulumi.set(self, "keytab", value)
|
|
661
|
+
|
|
662
|
+
@property
|
|
663
|
+
@pulumi.getter(name="keytabMd5")
|
|
664
|
+
def keytab_md5(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
665
|
+
"""
|
|
666
|
+
String of the keytab file content encrypted by MD5
|
|
667
|
+
"""
|
|
668
|
+
return pulumi.get(self, "keytab_md5")
|
|
669
|
+
|
|
670
|
+
@keytab_md5.setter
|
|
671
|
+
def keytab_md5(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
672
|
+
pulumi.set(self, "keytab_md5", value)
|
|
673
|
+
|
|
430
674
|
@property
|
|
431
675
|
@pulumi.getter(name="kmsKeyId")
|
|
432
676
|
def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
433
677
|
"""
|
|
434
|
-
The ID of the KMS
|
|
678
|
+
The ID of the KMS key.
|
|
679
|
+
This parameter is required only when EncryptType = 2.
|
|
435
680
|
"""
|
|
436
681
|
return pulumi.get(self, "kms_key_id")
|
|
437
682
|
|
|
@@ -443,8 +688,7 @@ class _FileSystemState:
|
|
|
443
688
|
@pulumi.getter(name="nfsAcl")
|
|
444
689
|
def nfs_acl(self) -> Optional[pulumi.Input['FileSystemNfsAclArgs']]:
|
|
445
690
|
"""
|
|
446
|
-
|
|
447
|
-
> **NOTE:** `nfs_acl` takes effect only if `file_system_type` is set to `standard`.
|
|
691
|
+
NFS ACL See `nfs_acl` below.
|
|
448
692
|
"""
|
|
449
693
|
return pulumi.get(self, "nfs_acl")
|
|
450
694
|
|
|
@@ -452,14 +696,26 @@ class _FileSystemState:
|
|
|
452
696
|
def nfs_acl(self, value: Optional[pulumi.Input['FileSystemNfsAclArgs']]):
|
|
453
697
|
pulumi.set(self, "nfs_acl", value)
|
|
454
698
|
|
|
699
|
+
@property
|
|
700
|
+
@pulumi.getter
|
|
701
|
+
def options(self) -> Optional[pulumi.Input['FileSystemOptionsArgs']]:
|
|
702
|
+
"""
|
|
703
|
+
Option. See `options` below.
|
|
704
|
+
"""
|
|
705
|
+
return pulumi.get(self, "options")
|
|
706
|
+
|
|
707
|
+
@options.setter
|
|
708
|
+
def options(self, value: Optional[pulumi.Input['FileSystemOptionsArgs']]):
|
|
709
|
+
pulumi.set(self, "options", value)
|
|
710
|
+
|
|
455
711
|
@property
|
|
456
712
|
@pulumi.getter(name="protocolType")
|
|
457
713
|
def protocol_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
458
714
|
"""
|
|
459
|
-
|
|
460
|
-
-
|
|
461
|
-
-
|
|
462
|
-
-
|
|
715
|
+
File transfer protocol type.
|
|
716
|
+
- When FileSystemType = standard, the values are NFS and SMB.
|
|
717
|
+
- When FileSystemType = extreme, the value is NFS.
|
|
718
|
+
- When FileSystemType = cpfs, the value is cpfs.
|
|
463
719
|
"""
|
|
464
720
|
return pulumi.get(self, "protocol_type")
|
|
465
721
|
|
|
@@ -471,8 +727,7 @@ class _FileSystemState:
|
|
|
471
727
|
@pulumi.getter(name="recycleBin")
|
|
472
728
|
def recycle_bin(self) -> Optional[pulumi.Input['FileSystemRecycleBinArgs']]:
|
|
473
729
|
"""
|
|
474
|
-
|
|
475
|
-
> **NOTE:** `recycle_bin` takes effect only if `file_system_type` is set to `standard`.
|
|
730
|
+
Recycle Bin See `recycle_bin` below.
|
|
476
731
|
"""
|
|
477
732
|
return pulumi.get(self, "recycle_bin")
|
|
478
733
|
|
|
@@ -480,6 +735,18 @@ class _FileSystemState:
|
|
|
480
735
|
def recycle_bin(self, value: Optional[pulumi.Input['FileSystemRecycleBinArgs']]):
|
|
481
736
|
pulumi.set(self, "recycle_bin", value)
|
|
482
737
|
|
|
738
|
+
@property
|
|
739
|
+
@pulumi.getter(name="regionId")
|
|
740
|
+
def region_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
741
|
+
"""
|
|
742
|
+
RegionId
|
|
743
|
+
"""
|
|
744
|
+
return pulumi.get(self, "region_id")
|
|
745
|
+
|
|
746
|
+
@region_id.setter
|
|
747
|
+
def region_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
748
|
+
pulumi.set(self, "region_id", value)
|
|
749
|
+
|
|
483
750
|
@property
|
|
484
751
|
@pulumi.getter(name="resourceGroupId")
|
|
485
752
|
def resource_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -492,11 +759,25 @@ class _FileSystemState:
|
|
|
492
759
|
def resource_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
493
760
|
pulumi.set(self, "resource_group_id", value)
|
|
494
761
|
|
|
762
|
+
@property
|
|
763
|
+
@pulumi.getter(name="smbAcl")
|
|
764
|
+
def smb_acl(self) -> Optional[pulumi.Input['FileSystemSmbAclArgs']]:
|
|
765
|
+
"""
|
|
766
|
+
SMB ACL See `smb_acl` below.
|
|
767
|
+
"""
|
|
768
|
+
return pulumi.get(self, "smb_acl")
|
|
769
|
+
|
|
770
|
+
@smb_acl.setter
|
|
771
|
+
def smb_acl(self, value: Optional[pulumi.Input['FileSystemSmbAclArgs']]):
|
|
772
|
+
pulumi.set(self, "smb_acl", value)
|
|
773
|
+
|
|
495
774
|
@property
|
|
496
775
|
@pulumi.getter(name="snapshotId")
|
|
497
776
|
def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
498
777
|
"""
|
|
499
|
-
|
|
778
|
+
Only extreme NAS is supported.
|
|
779
|
+
|
|
780
|
+
> **NOTE:** A file system is created from a snapshot. The version of the created file system is the same as that of the snapshot source file system. For example, if the source file system version of the snapshot is 1 and you need to create A file system of version 2, you can first create A file system A from the snapshot, then create A file system B that meets the configuration of version 2, copy the data in file system A to file system B, and migrate the business to file system B after the copy is completed.
|
|
500
781
|
"""
|
|
501
782
|
return pulumi.get(self, "snapshot_id")
|
|
502
783
|
|
|
@@ -508,7 +789,7 @@ class _FileSystemState:
|
|
|
508
789
|
@pulumi.getter
|
|
509
790
|
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
510
791
|
"""
|
|
511
|
-
(
|
|
792
|
+
File system status. Includes:(such as creating a mount point) can only be performed when the file system is in the Running state.
|
|
512
793
|
"""
|
|
513
794
|
return pulumi.get(self, "status")
|
|
514
795
|
|
|
@@ -520,11 +801,10 @@ class _FileSystemState:
|
|
|
520
801
|
@pulumi.getter(name="storageType")
|
|
521
802
|
def storage_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
522
803
|
"""
|
|
523
|
-
The storage type
|
|
524
|
-
-
|
|
525
|
-
-
|
|
526
|
-
-
|
|
527
|
-
> **NOTE:** From version 1.140.0, `storage_type` can be set to `standard`, `advance`. From version 1.153.0, `storage_type` can be set to `advance_100`, `advance_200`. From version 1.236.0, `storage_type` can be set to `Premium`.
|
|
804
|
+
The storage type.
|
|
805
|
+
- When FileSystemType = standard, the values are Performance, Capacity, and Premium.
|
|
806
|
+
- When FileSystemType = extreme, the value is standard or advance.
|
|
807
|
+
- When FileSystemType = cpfs, the values are advance_100(100MB/s/TiB baseline) and advance_200(200MB/s/TiB baseline).
|
|
528
808
|
"""
|
|
529
809
|
return pulumi.get(self, "storage_type")
|
|
530
810
|
|
|
@@ -536,7 +816,7 @@ class _FileSystemState:
|
|
|
536
816
|
@pulumi.getter
|
|
537
817
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
538
818
|
"""
|
|
539
|
-
|
|
819
|
+
Label information collection.
|
|
540
820
|
"""
|
|
541
821
|
return pulumi.get(self, "tags")
|
|
542
822
|
|
|
@@ -548,7 +828,9 @@ class _FileSystemState:
|
|
|
548
828
|
@pulumi.getter(name="vpcId")
|
|
549
829
|
def vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
550
830
|
"""
|
|
551
|
-
The ID of the VPC.
|
|
831
|
+
The ID of the VPC network.
|
|
832
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
833
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
552
834
|
"""
|
|
553
835
|
return pulumi.get(self, "vpc_id")
|
|
554
836
|
|
|
@@ -560,7 +842,9 @@ class _FileSystemState:
|
|
|
560
842
|
@pulumi.getter(name="vswitchId")
|
|
561
843
|
def vswitch_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
562
844
|
"""
|
|
563
|
-
The ID of the
|
|
845
|
+
The ID of the switch.
|
|
846
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
847
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
564
848
|
"""
|
|
565
849
|
return pulumi.get(self, "vswitch_id")
|
|
566
850
|
|
|
@@ -572,7 +856,15 @@ class _FileSystemState:
|
|
|
572
856
|
@pulumi.getter(name="zoneId")
|
|
573
857
|
def zone_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
574
858
|
"""
|
|
575
|
-
The
|
|
859
|
+
The zone ID.
|
|
860
|
+
|
|
861
|
+
The usable area refers to the physical area where power and network are independent of each other in the same area.
|
|
862
|
+
|
|
863
|
+
When the FileSystemType is set to standard, this parameter is optional. By default, a zone that meets the conditions is randomly selected based on the ProtocolType and StorageType configurations. This parameter is required when FileSystemType = extreme or FileSystemType = cpfs.
|
|
864
|
+
|
|
865
|
+
> **NOTE:** - file systems in different zones in the same region communicate with ECS cloud servers.
|
|
866
|
+
|
|
867
|
+
> **NOTE:** - We recommend that the file system and the ECS instance belong to the same zone to avoid cross-zone latency.
|
|
576
868
|
"""
|
|
577
869
|
return pulumi.get(self, "zone_id")
|
|
578
870
|
|
|
@@ -593,11 +885,15 @@ class FileSystem(pulumi.CustomResource):
|
|
|
593
885
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
594
886
|
encrypt_type: Optional[pulumi.Input[builtins.int]] = None,
|
|
595
887
|
file_system_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
888
|
+
keytab: Optional[pulumi.Input[builtins.str]] = None,
|
|
889
|
+
keytab_md5: Optional[pulumi.Input[builtins.str]] = None,
|
|
596
890
|
kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
597
891
|
nfs_acl: Optional[pulumi.Input[Union['FileSystemNfsAclArgs', 'FileSystemNfsAclArgsDict']]] = None,
|
|
892
|
+
options: Optional[pulumi.Input[Union['FileSystemOptionsArgs', 'FileSystemOptionsArgsDict']]] = None,
|
|
598
893
|
protocol_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
599
894
|
recycle_bin: Optional[pulumi.Input[Union['FileSystemRecycleBinArgs', 'FileSystemRecycleBinArgsDict']]] = None,
|
|
600
895
|
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
896
|
+
smb_acl: Optional[pulumi.Input[Union['FileSystemSmbAclArgs', 'FileSystemSmbAclArgsDict']]] = None,
|
|
601
897
|
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
602
898
|
storage_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
603
899
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
@@ -608,6 +904,8 @@ class FileSystem(pulumi.CustomResource):
|
|
|
608
904
|
"""
|
|
609
905
|
Provides a File Storage (NAS) File System resource.
|
|
610
906
|
|
|
907
|
+
File System Instance.
|
|
908
|
+
|
|
611
909
|
For information about File Storage (NAS) File System and how to use it, see [What is File System](https://www.alibabacloud.com/help/en/nas/developer-reference/api-nas-2017-06-26-createfilesystem).
|
|
612
910
|
|
|
613
911
|
> **NOTE:** Available since v1.33.0.
|
|
@@ -641,53 +939,6 @@ class FileSystem(pulumi.CustomResource):
|
|
|
641
939
|
zone_id=default.zones[0].zone_id)
|
|
642
940
|
```
|
|
643
941
|
|
|
644
|
-
```python
|
|
645
|
-
import pulumi
|
|
646
|
-
import pulumi_alicloud as alicloud
|
|
647
|
-
|
|
648
|
-
config = pulumi.Config()
|
|
649
|
-
name = config.get("name")
|
|
650
|
-
if name is None:
|
|
651
|
-
name = "terraform-example"
|
|
652
|
-
default = alicloud.nas.get_zones(file_system_type="extreme")
|
|
653
|
-
default_file_system = alicloud.nas.FileSystem("default",
|
|
654
|
-
protocol_type="NFS",
|
|
655
|
-
storage_type="standard",
|
|
656
|
-
capacity=100,
|
|
657
|
-
description=name,
|
|
658
|
-
encrypt_type=1,
|
|
659
|
-
file_system_type="extreme",
|
|
660
|
-
zone_id=default.zones[0].zone_id)
|
|
661
|
-
```
|
|
662
|
-
|
|
663
|
-
```python
|
|
664
|
-
import pulumi
|
|
665
|
-
import pulumi_alicloud as alicloud
|
|
666
|
-
|
|
667
|
-
config = pulumi.Config()
|
|
668
|
-
name = config.get("name")
|
|
669
|
-
if name is None:
|
|
670
|
-
name = "terraform-example"
|
|
671
|
-
default = alicloud.nas.get_zones(file_system_type="cpfs")
|
|
672
|
-
default_network = alicloud.vpc.Network("default",
|
|
673
|
-
vpc_name=name,
|
|
674
|
-
cidr_block="172.17.3.0/24")
|
|
675
|
-
default_switch = alicloud.vpc.Switch("default",
|
|
676
|
-
vswitch_name=name,
|
|
677
|
-
cidr_block="172.17.3.0/24",
|
|
678
|
-
vpc_id=default_network.id,
|
|
679
|
-
zone_id=default.zones[1].zone_id)
|
|
680
|
-
default_file_system = alicloud.nas.FileSystem("default",
|
|
681
|
-
protocol_type="cpfs",
|
|
682
|
-
storage_type="advance_100",
|
|
683
|
-
capacity=5000,
|
|
684
|
-
description=name,
|
|
685
|
-
file_system_type="cpfs",
|
|
686
|
-
vswitch_id=default_switch.id,
|
|
687
|
-
vpc_id=default_network.id,
|
|
688
|
-
zone_id=default.zones[1].zone_id)
|
|
689
|
-
```
|
|
690
|
-
|
|
691
942
|
## Import
|
|
692
943
|
|
|
693
944
|
File Storage (NAS) File System can be imported using the id, e.g.
|
|
@@ -698,30 +949,71 @@ class FileSystem(pulumi.CustomResource):
|
|
|
698
949
|
|
|
699
950
|
:param str resource_name: The name of the resource.
|
|
700
951
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
701
|
-
:param pulumi.Input[builtins.int] capacity:
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
952
|
+
:param pulumi.Input[builtins.int] capacity: File system capacity.
|
|
953
|
+
|
|
954
|
+
Unit: GiB, required and valid when FileSystemType = extreme or cpfs.
|
|
955
|
+
|
|
956
|
+
For optional values, please refer to the actual specifications on the purchase page:
|
|
957
|
+
-[Fast NAS Pay-As-You-Go Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme_post#/buy)
|
|
958
|
+
-[Fast NAS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme#/buy)
|
|
959
|
+
-[Parallel File System CPFS Pay-As-You-Go Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_cpfs_post#/buy)
|
|
960
|
+
-[Parallel File System CPFS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=cpfs#/buy)
|
|
961
|
+
:param pulumi.Input[builtins.str] description: File system description.
|
|
962
|
+
|
|
963
|
+
Restrictions:
|
|
964
|
+
- 2~128 English or Chinese characters in length.
|
|
965
|
+
- Must start with upper and lower case letters or Chinese, and cannot start with'http: // 'and'https.
|
|
966
|
+
- Can contain numbers, colons (:), underscores (_), or dashes (-).
|
|
967
|
+
:param pulumi.Input[builtins.int] encrypt_type: Whether the file system is encrypted.
|
|
968
|
+
|
|
969
|
+
Use the KMS service hosting key to encrypt and store the file system disk data. When reading and writing encrypted data, there is no need to decrypt it.
|
|
970
|
+
|
|
971
|
+
Value:
|
|
972
|
+
- 0 (default): not encrypted.
|
|
973
|
+
- 1:NAS managed key. NAS managed keys are supported when FileSystemType = standard or extreme.
|
|
974
|
+
- 2: User management key. You can manage keys only when FileSystemType = extreme.
|
|
975
|
+
:param pulumi.Input[builtins.str] file_system_type: File system type.
|
|
976
|
+
|
|
977
|
+
Value:
|
|
978
|
+
- standard (default): Universal NAS
|
|
979
|
+
- extreme: extreme NAS
|
|
980
|
+
- cpfs: file storage CPFS
|
|
981
|
+
:param pulumi.Input[builtins.str] keytab: String of keytab file content encrypted by base64
|
|
982
|
+
:param pulumi.Input[builtins.str] keytab_md5: String of the keytab file content encrypted by MD5
|
|
983
|
+
:param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key.
|
|
984
|
+
This parameter is required only when EncryptType = 2.
|
|
985
|
+
:param pulumi.Input[Union['FileSystemNfsAclArgs', 'FileSystemNfsAclArgsDict']] nfs_acl: NFS ACL See `nfs_acl` below.
|
|
986
|
+
:param pulumi.Input[Union['FileSystemOptionsArgs', 'FileSystemOptionsArgsDict']] options: Option. See `options` below.
|
|
987
|
+
:param pulumi.Input[builtins.str] protocol_type: File transfer protocol type.
|
|
988
|
+
- When FileSystemType = standard, the values are NFS and SMB.
|
|
989
|
+
- When FileSystemType = extreme, the value is NFS.
|
|
990
|
+
- When FileSystemType = cpfs, the value is cpfs.
|
|
991
|
+
:param pulumi.Input[Union['FileSystemRecycleBinArgs', 'FileSystemRecycleBinArgsDict']] recycle_bin: Recycle Bin See `recycle_bin` below.
|
|
714
992
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group.
|
|
715
|
-
:param pulumi.Input[
|
|
716
|
-
:param pulumi.Input[builtins.str]
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
:param pulumi.Input[builtins.str]
|
|
724
|
-
:param pulumi.Input[builtins.str]
|
|
993
|
+
:param pulumi.Input[Union['FileSystemSmbAclArgs', 'FileSystemSmbAclArgsDict']] smb_acl: SMB ACL See `smb_acl` below.
|
|
994
|
+
:param pulumi.Input[builtins.str] snapshot_id: Only extreme NAS is supported.
|
|
995
|
+
|
|
996
|
+
> **NOTE:** A file system is created from a snapshot. The version of the created file system is the same as that of the snapshot source file system. For example, if the source file system version of the snapshot is 1 and you need to create A file system of version 2, you can first create A file system A from the snapshot, then create A file system B that meets the configuration of version 2, copy the data in file system A to file system B, and migrate the business to file system B after the copy is completed.
|
|
997
|
+
:param pulumi.Input[builtins.str] storage_type: The storage type.
|
|
998
|
+
- When FileSystemType = standard, the values are Performance, Capacity, and Premium.
|
|
999
|
+
- When FileSystemType = extreme, the value is standard or advance.
|
|
1000
|
+
- When FileSystemType = cpfs, the values are advance_100(100MB/s/TiB baseline) and advance_200(200MB/s/TiB baseline).
|
|
1001
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Label information collection.
|
|
1002
|
+
:param pulumi.Input[builtins.str] vpc_id: The ID of the VPC network.
|
|
1003
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
1004
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
1005
|
+
:param pulumi.Input[builtins.str] vswitch_id: The ID of the switch.
|
|
1006
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
1007
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
1008
|
+
:param pulumi.Input[builtins.str] zone_id: The zone ID.
|
|
1009
|
+
|
|
1010
|
+
The usable area refers to the physical area where power and network are independent of each other in the same area.
|
|
1011
|
+
|
|
1012
|
+
When the FileSystemType is set to standard, this parameter is optional. By default, a zone that meets the conditions is randomly selected based on the ProtocolType and StorageType configurations. This parameter is required when FileSystemType = extreme or FileSystemType = cpfs.
|
|
1013
|
+
|
|
1014
|
+
> **NOTE:** - file systems in different zones in the same region communicate with ECS cloud servers.
|
|
1015
|
+
|
|
1016
|
+
> **NOTE:** - We recommend that the file system and the ECS instance belong to the same zone to avoid cross-zone latency.
|
|
725
1017
|
"""
|
|
726
1018
|
...
|
|
727
1019
|
@overload
|
|
@@ -732,6 +1024,8 @@ class FileSystem(pulumi.CustomResource):
|
|
|
732
1024
|
"""
|
|
733
1025
|
Provides a File Storage (NAS) File System resource.
|
|
734
1026
|
|
|
1027
|
+
File System Instance.
|
|
1028
|
+
|
|
735
1029
|
For information about File Storage (NAS) File System and how to use it, see [What is File System](https://www.alibabacloud.com/help/en/nas/developer-reference/api-nas-2017-06-26-createfilesystem).
|
|
736
1030
|
|
|
737
1031
|
> **NOTE:** Available since v1.33.0.
|
|
@@ -765,53 +1059,6 @@ class FileSystem(pulumi.CustomResource):
|
|
|
765
1059
|
zone_id=default.zones[0].zone_id)
|
|
766
1060
|
```
|
|
767
1061
|
|
|
768
|
-
```python
|
|
769
|
-
import pulumi
|
|
770
|
-
import pulumi_alicloud as alicloud
|
|
771
|
-
|
|
772
|
-
config = pulumi.Config()
|
|
773
|
-
name = config.get("name")
|
|
774
|
-
if name is None:
|
|
775
|
-
name = "terraform-example"
|
|
776
|
-
default = alicloud.nas.get_zones(file_system_type="extreme")
|
|
777
|
-
default_file_system = alicloud.nas.FileSystem("default",
|
|
778
|
-
protocol_type="NFS",
|
|
779
|
-
storage_type="standard",
|
|
780
|
-
capacity=100,
|
|
781
|
-
description=name,
|
|
782
|
-
encrypt_type=1,
|
|
783
|
-
file_system_type="extreme",
|
|
784
|
-
zone_id=default.zones[0].zone_id)
|
|
785
|
-
```
|
|
786
|
-
|
|
787
|
-
```python
|
|
788
|
-
import pulumi
|
|
789
|
-
import pulumi_alicloud as alicloud
|
|
790
|
-
|
|
791
|
-
config = pulumi.Config()
|
|
792
|
-
name = config.get("name")
|
|
793
|
-
if name is None:
|
|
794
|
-
name = "terraform-example"
|
|
795
|
-
default = alicloud.nas.get_zones(file_system_type="cpfs")
|
|
796
|
-
default_network = alicloud.vpc.Network("default",
|
|
797
|
-
vpc_name=name,
|
|
798
|
-
cidr_block="172.17.3.0/24")
|
|
799
|
-
default_switch = alicloud.vpc.Switch("default",
|
|
800
|
-
vswitch_name=name,
|
|
801
|
-
cidr_block="172.17.3.0/24",
|
|
802
|
-
vpc_id=default_network.id,
|
|
803
|
-
zone_id=default.zones[1].zone_id)
|
|
804
|
-
default_file_system = alicloud.nas.FileSystem("default",
|
|
805
|
-
protocol_type="cpfs",
|
|
806
|
-
storage_type="advance_100",
|
|
807
|
-
capacity=5000,
|
|
808
|
-
description=name,
|
|
809
|
-
file_system_type="cpfs",
|
|
810
|
-
vswitch_id=default_switch.id,
|
|
811
|
-
vpc_id=default_network.id,
|
|
812
|
-
zone_id=default.zones[1].zone_id)
|
|
813
|
-
```
|
|
814
|
-
|
|
815
1062
|
## Import
|
|
816
1063
|
|
|
817
1064
|
File Storage (NAS) File System can be imported using the id, e.g.
|
|
@@ -839,11 +1086,15 @@ class FileSystem(pulumi.CustomResource):
|
|
|
839
1086
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
840
1087
|
encrypt_type: Optional[pulumi.Input[builtins.int]] = None,
|
|
841
1088
|
file_system_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
1089
|
+
keytab: Optional[pulumi.Input[builtins.str]] = None,
|
|
1090
|
+
keytab_md5: Optional[pulumi.Input[builtins.str]] = None,
|
|
842
1091
|
kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
843
1092
|
nfs_acl: Optional[pulumi.Input[Union['FileSystemNfsAclArgs', 'FileSystemNfsAclArgsDict']]] = None,
|
|
1093
|
+
options: Optional[pulumi.Input[Union['FileSystemOptionsArgs', 'FileSystemOptionsArgsDict']]] = None,
|
|
844
1094
|
protocol_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
845
1095
|
recycle_bin: Optional[pulumi.Input[Union['FileSystemRecycleBinArgs', 'FileSystemRecycleBinArgsDict']]] = None,
|
|
846
1096
|
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1097
|
+
smb_acl: Optional[pulumi.Input[Union['FileSystemSmbAclArgs', 'FileSystemSmbAclArgsDict']]] = None,
|
|
847
1098
|
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
848
1099
|
storage_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
849
1100
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
@@ -863,13 +1114,17 @@ class FileSystem(pulumi.CustomResource):
|
|
|
863
1114
|
__props__.__dict__["description"] = description
|
|
864
1115
|
__props__.__dict__["encrypt_type"] = encrypt_type
|
|
865
1116
|
__props__.__dict__["file_system_type"] = file_system_type
|
|
1117
|
+
__props__.__dict__["keytab"] = keytab
|
|
1118
|
+
__props__.__dict__["keytab_md5"] = keytab_md5
|
|
866
1119
|
__props__.__dict__["kms_key_id"] = kms_key_id
|
|
867
1120
|
__props__.__dict__["nfs_acl"] = nfs_acl
|
|
1121
|
+
__props__.__dict__["options"] = options
|
|
868
1122
|
if protocol_type is None and not opts.urn:
|
|
869
1123
|
raise TypeError("Missing required property 'protocol_type'")
|
|
870
1124
|
__props__.__dict__["protocol_type"] = protocol_type
|
|
871
1125
|
__props__.__dict__["recycle_bin"] = recycle_bin
|
|
872
1126
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1127
|
+
__props__.__dict__["smb_acl"] = smb_acl
|
|
873
1128
|
__props__.__dict__["snapshot_id"] = snapshot_id
|
|
874
1129
|
if storage_type is None and not opts.urn:
|
|
875
1130
|
raise TypeError("Missing required property 'storage_type'")
|
|
@@ -879,6 +1134,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
879
1134
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
880
1135
|
__props__.__dict__["zone_id"] = zone_id
|
|
881
1136
|
__props__.__dict__["create_time"] = None
|
|
1137
|
+
__props__.__dict__["region_id"] = None
|
|
882
1138
|
__props__.__dict__["status"] = None
|
|
883
1139
|
super(FileSystem, __self__).__init__(
|
|
884
1140
|
'alicloud:nas/fileSystem:FileSystem',
|
|
@@ -895,11 +1151,16 @@ class FileSystem(pulumi.CustomResource):
|
|
|
895
1151
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
896
1152
|
encrypt_type: Optional[pulumi.Input[builtins.int]] = None,
|
|
897
1153
|
file_system_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
1154
|
+
keytab: Optional[pulumi.Input[builtins.str]] = None,
|
|
1155
|
+
keytab_md5: Optional[pulumi.Input[builtins.str]] = None,
|
|
898
1156
|
kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
899
1157
|
nfs_acl: Optional[pulumi.Input[Union['FileSystemNfsAclArgs', 'FileSystemNfsAclArgsDict']]] = None,
|
|
1158
|
+
options: Optional[pulumi.Input[Union['FileSystemOptionsArgs', 'FileSystemOptionsArgsDict']]] = None,
|
|
900
1159
|
protocol_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
901
1160
|
recycle_bin: Optional[pulumi.Input[Union['FileSystemRecycleBinArgs', 'FileSystemRecycleBinArgsDict']]] = None,
|
|
1161
|
+
region_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
902
1162
|
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1163
|
+
smb_acl: Optional[pulumi.Input[Union['FileSystemSmbAclArgs', 'FileSystemSmbAclArgsDict']]] = None,
|
|
903
1164
|
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
904
1165
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
905
1166
|
storage_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -914,32 +1175,74 @@ class FileSystem(pulumi.CustomResource):
|
|
|
914
1175
|
:param str resource_name: The unique name of the resulting resource.
|
|
915
1176
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
916
1177
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
917
|
-
:param pulumi.Input[builtins.int] capacity:
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
1178
|
+
:param pulumi.Input[builtins.int] capacity: File system capacity.
|
|
1179
|
+
|
|
1180
|
+
Unit: GiB, required and valid when FileSystemType = extreme or cpfs.
|
|
1181
|
+
|
|
1182
|
+
For optional values, please refer to the actual specifications on the purchase page:
|
|
1183
|
+
-[Fast NAS Pay-As-You-Go Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme_post#/buy)
|
|
1184
|
+
-[Fast NAS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme#/buy)
|
|
1185
|
+
-[Parallel File System CPFS Pay-As-You-Go Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_cpfs_post#/buy)
|
|
1186
|
+
-[Parallel File System CPFS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=cpfs#/buy)
|
|
1187
|
+
:param pulumi.Input[builtins.str] create_time: CreateTime
|
|
1188
|
+
:param pulumi.Input[builtins.str] description: File system description.
|
|
1189
|
+
|
|
1190
|
+
Restrictions:
|
|
1191
|
+
- 2~128 English or Chinese characters in length.
|
|
1192
|
+
- Must start with upper and lower case letters or Chinese, and cannot start with'http: // 'and'https.
|
|
1193
|
+
- Can contain numbers, colons (:), underscores (_), or dashes (-).
|
|
1194
|
+
:param pulumi.Input[builtins.int] encrypt_type: Whether the file system is encrypted.
|
|
1195
|
+
|
|
1196
|
+
Use the KMS service hosting key to encrypt and store the file system disk data. When reading and writing encrypted data, there is no need to decrypt it.
|
|
1197
|
+
|
|
1198
|
+
Value:
|
|
1199
|
+
- 0 (default): not encrypted.
|
|
1200
|
+
- 1:NAS managed key. NAS managed keys are supported when FileSystemType = standard or extreme.
|
|
1201
|
+
- 2: User management key. You can manage keys only when FileSystemType = extreme.
|
|
1202
|
+
:param pulumi.Input[builtins.str] file_system_type: File system type.
|
|
1203
|
+
|
|
1204
|
+
Value:
|
|
1205
|
+
- standard (default): Universal NAS
|
|
1206
|
+
- extreme: extreme NAS
|
|
1207
|
+
- cpfs: file storage CPFS
|
|
1208
|
+
:param pulumi.Input[builtins.str] keytab: String of keytab file content encrypted by base64
|
|
1209
|
+
:param pulumi.Input[builtins.str] keytab_md5: String of the keytab file content encrypted by MD5
|
|
1210
|
+
:param pulumi.Input[builtins.str] kms_key_id: The ID of the KMS key.
|
|
1211
|
+
This parameter is required only when EncryptType = 2.
|
|
1212
|
+
:param pulumi.Input[Union['FileSystemNfsAclArgs', 'FileSystemNfsAclArgsDict']] nfs_acl: NFS ACL See `nfs_acl` below.
|
|
1213
|
+
:param pulumi.Input[Union['FileSystemOptionsArgs', 'FileSystemOptionsArgsDict']] options: Option. See `options` below.
|
|
1214
|
+
:param pulumi.Input[builtins.str] protocol_type: File transfer protocol type.
|
|
1215
|
+
- When FileSystemType = standard, the values are NFS and SMB.
|
|
1216
|
+
- When FileSystemType = extreme, the value is NFS.
|
|
1217
|
+
- When FileSystemType = cpfs, the value is cpfs.
|
|
1218
|
+
:param pulumi.Input[Union['FileSystemRecycleBinArgs', 'FileSystemRecycleBinArgsDict']] recycle_bin: Recycle Bin See `recycle_bin` below.
|
|
1219
|
+
:param pulumi.Input[builtins.str] region_id: RegionId
|
|
931
1220
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group.
|
|
932
|
-
:param pulumi.Input[
|
|
933
|
-
:param pulumi.Input[builtins.str]
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
:param pulumi.Input[builtins.str]
|
|
942
|
-
:param pulumi.Input[builtins.str]
|
|
1221
|
+
:param pulumi.Input[Union['FileSystemSmbAclArgs', 'FileSystemSmbAclArgsDict']] smb_acl: SMB ACL See `smb_acl` below.
|
|
1222
|
+
:param pulumi.Input[builtins.str] snapshot_id: Only extreme NAS is supported.
|
|
1223
|
+
|
|
1224
|
+
> **NOTE:** A file system is created from a snapshot. The version of the created file system is the same as that of the snapshot source file system. For example, if the source file system version of the snapshot is 1 and you need to create A file system of version 2, you can first create A file system A from the snapshot, then create A file system B that meets the configuration of version 2, copy the data in file system A to file system B, and migrate the business to file system B after the copy is completed.
|
|
1225
|
+
:param pulumi.Input[builtins.str] status: File system status. Includes:(such as creating a mount point) can only be performed when the file system is in the Running state.
|
|
1226
|
+
:param pulumi.Input[builtins.str] storage_type: The storage type.
|
|
1227
|
+
- When FileSystemType = standard, the values are Performance, Capacity, and Premium.
|
|
1228
|
+
- When FileSystemType = extreme, the value is standard or advance.
|
|
1229
|
+
- When FileSystemType = cpfs, the values are advance_100(100MB/s/TiB baseline) and advance_200(200MB/s/TiB baseline).
|
|
1230
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Label information collection.
|
|
1231
|
+
:param pulumi.Input[builtins.str] vpc_id: The ID of the VPC network.
|
|
1232
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
1233
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
1234
|
+
:param pulumi.Input[builtins.str] vswitch_id: The ID of the switch.
|
|
1235
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
1236
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
1237
|
+
:param pulumi.Input[builtins.str] zone_id: The zone ID.
|
|
1238
|
+
|
|
1239
|
+
The usable area refers to the physical area where power and network are independent of each other in the same area.
|
|
1240
|
+
|
|
1241
|
+
When the FileSystemType is set to standard, this parameter is optional. By default, a zone that meets the conditions is randomly selected based on the ProtocolType and StorageType configurations. This parameter is required when FileSystemType = extreme or FileSystemType = cpfs.
|
|
1242
|
+
|
|
1243
|
+
> **NOTE:** - file systems in different zones in the same region communicate with ECS cloud servers.
|
|
1244
|
+
|
|
1245
|
+
> **NOTE:** - We recommend that the file system and the ECS instance belong to the same zone to avoid cross-zone latency.
|
|
943
1246
|
"""
|
|
944
1247
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
945
1248
|
|
|
@@ -950,11 +1253,16 @@ class FileSystem(pulumi.CustomResource):
|
|
|
950
1253
|
__props__.__dict__["description"] = description
|
|
951
1254
|
__props__.__dict__["encrypt_type"] = encrypt_type
|
|
952
1255
|
__props__.__dict__["file_system_type"] = file_system_type
|
|
1256
|
+
__props__.__dict__["keytab"] = keytab
|
|
1257
|
+
__props__.__dict__["keytab_md5"] = keytab_md5
|
|
953
1258
|
__props__.__dict__["kms_key_id"] = kms_key_id
|
|
954
1259
|
__props__.__dict__["nfs_acl"] = nfs_acl
|
|
1260
|
+
__props__.__dict__["options"] = options
|
|
955
1261
|
__props__.__dict__["protocol_type"] = protocol_type
|
|
956
1262
|
__props__.__dict__["recycle_bin"] = recycle_bin
|
|
1263
|
+
__props__.__dict__["region_id"] = region_id
|
|
957
1264
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1265
|
+
__props__.__dict__["smb_acl"] = smb_acl
|
|
958
1266
|
__props__.__dict__["snapshot_id"] = snapshot_id
|
|
959
1267
|
__props__.__dict__["status"] = status
|
|
960
1268
|
__props__.__dict__["storage_type"] = storage_type
|
|
@@ -968,7 +1276,15 @@ class FileSystem(pulumi.CustomResource):
|
|
|
968
1276
|
@pulumi.getter
|
|
969
1277
|
def capacity(self) -> pulumi.Output[builtins.int]:
|
|
970
1278
|
"""
|
|
971
|
-
|
|
1279
|
+
File system capacity.
|
|
1280
|
+
|
|
1281
|
+
Unit: GiB, required and valid when FileSystemType = extreme or cpfs.
|
|
1282
|
+
|
|
1283
|
+
For optional values, please refer to the actual specifications on the purchase page:
|
|
1284
|
+
-[Fast NAS Pay-As-You-Go Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme_post#/buy)
|
|
1285
|
+
-[Fast NAS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_extreme#/buy)
|
|
1286
|
+
-[Parallel File System CPFS Pay-As-You-Go Purchase Page](https://common-buy.aliyun.com/? commodityCode=nas_cpfs_post#/buy)
|
|
1287
|
+
-[Parallel File System CPFS Package Monthly Purchase Page](https://common-buy.aliyun.com/? commodityCode=cpfs#/buy)
|
|
972
1288
|
"""
|
|
973
1289
|
return pulumi.get(self, "capacity")
|
|
974
1290
|
|
|
@@ -976,7 +1292,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
976
1292
|
@pulumi.getter(name="createTime")
|
|
977
1293
|
def create_time(self) -> pulumi.Output[builtins.str]:
|
|
978
1294
|
"""
|
|
979
|
-
|
|
1295
|
+
CreateTime
|
|
980
1296
|
"""
|
|
981
1297
|
return pulumi.get(self, "create_time")
|
|
982
1298
|
|
|
@@ -984,15 +1300,27 @@ class FileSystem(pulumi.CustomResource):
|
|
|
984
1300
|
@pulumi.getter
|
|
985
1301
|
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
986
1302
|
"""
|
|
987
|
-
|
|
1303
|
+
File system description.
|
|
1304
|
+
|
|
1305
|
+
Restrictions:
|
|
1306
|
+
- 2~128 English or Chinese characters in length.
|
|
1307
|
+
- Must start with upper and lower case letters or Chinese, and cannot start with'http: // 'and'https.
|
|
1308
|
+
- Can contain numbers, colons (:), underscores (_), or dashes (-).
|
|
988
1309
|
"""
|
|
989
1310
|
return pulumi.get(self, "description")
|
|
990
1311
|
|
|
991
1312
|
@property
|
|
992
1313
|
@pulumi.getter(name="encryptType")
|
|
993
|
-
def encrypt_type(self) -> pulumi.Output[
|
|
1314
|
+
def encrypt_type(self) -> pulumi.Output[builtins.int]:
|
|
994
1315
|
"""
|
|
995
|
-
|
|
1316
|
+
Whether the file system is encrypted.
|
|
1317
|
+
|
|
1318
|
+
Use the KMS service hosting key to encrypt and store the file system disk data. When reading and writing encrypted data, there is no need to decrypt it.
|
|
1319
|
+
|
|
1320
|
+
Value:
|
|
1321
|
+
- 0 (default): not encrypted.
|
|
1322
|
+
- 1:NAS managed key. NAS managed keys are supported when FileSystemType = standard or extreme.
|
|
1323
|
+
- 2: User management key. You can manage keys only when FileSystemType = extreme.
|
|
996
1324
|
"""
|
|
997
1325
|
return pulumi.get(self, "encrypt_type")
|
|
998
1326
|
|
|
@@ -1000,15 +1328,37 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1000
1328
|
@pulumi.getter(name="fileSystemType")
|
|
1001
1329
|
def file_system_type(self) -> pulumi.Output[builtins.str]:
|
|
1002
1330
|
"""
|
|
1003
|
-
|
|
1331
|
+
File system type.
|
|
1332
|
+
|
|
1333
|
+
Value:
|
|
1334
|
+
- standard (default): Universal NAS
|
|
1335
|
+
- extreme: extreme NAS
|
|
1336
|
+
- cpfs: file storage CPFS
|
|
1004
1337
|
"""
|
|
1005
1338
|
return pulumi.get(self, "file_system_type")
|
|
1006
1339
|
|
|
1340
|
+
@property
|
|
1341
|
+
@pulumi.getter
|
|
1342
|
+
def keytab(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1343
|
+
"""
|
|
1344
|
+
String of keytab file content encrypted by base64
|
|
1345
|
+
"""
|
|
1346
|
+
return pulumi.get(self, "keytab")
|
|
1347
|
+
|
|
1348
|
+
@property
|
|
1349
|
+
@pulumi.getter(name="keytabMd5")
|
|
1350
|
+
def keytab_md5(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1351
|
+
"""
|
|
1352
|
+
String of the keytab file content encrypted by MD5
|
|
1353
|
+
"""
|
|
1354
|
+
return pulumi.get(self, "keytab_md5")
|
|
1355
|
+
|
|
1007
1356
|
@property
|
|
1008
1357
|
@pulumi.getter(name="kmsKeyId")
|
|
1009
1358
|
def kms_key_id(self) -> pulumi.Output[builtins.str]:
|
|
1010
1359
|
"""
|
|
1011
|
-
The ID of the KMS
|
|
1360
|
+
The ID of the KMS key.
|
|
1361
|
+
This parameter is required only when EncryptType = 2.
|
|
1012
1362
|
"""
|
|
1013
1363
|
return pulumi.get(self, "kms_key_id")
|
|
1014
1364
|
|
|
@@ -1016,19 +1366,26 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1016
1366
|
@pulumi.getter(name="nfsAcl")
|
|
1017
1367
|
def nfs_acl(self) -> pulumi.Output['outputs.FileSystemNfsAcl']:
|
|
1018
1368
|
"""
|
|
1019
|
-
|
|
1020
|
-
> **NOTE:** `nfs_acl` takes effect only if `file_system_type` is set to `standard`.
|
|
1369
|
+
NFS ACL See `nfs_acl` below.
|
|
1021
1370
|
"""
|
|
1022
1371
|
return pulumi.get(self, "nfs_acl")
|
|
1023
1372
|
|
|
1373
|
+
@property
|
|
1374
|
+
@pulumi.getter
|
|
1375
|
+
def options(self) -> pulumi.Output['outputs.FileSystemOptions']:
|
|
1376
|
+
"""
|
|
1377
|
+
Option. See `options` below.
|
|
1378
|
+
"""
|
|
1379
|
+
return pulumi.get(self, "options")
|
|
1380
|
+
|
|
1024
1381
|
@property
|
|
1025
1382
|
@pulumi.getter(name="protocolType")
|
|
1026
1383
|
def protocol_type(self) -> pulumi.Output[builtins.str]:
|
|
1027
1384
|
"""
|
|
1028
|
-
|
|
1029
|
-
-
|
|
1030
|
-
-
|
|
1031
|
-
-
|
|
1385
|
+
File transfer protocol type.
|
|
1386
|
+
- When FileSystemType = standard, the values are NFS and SMB.
|
|
1387
|
+
- When FileSystemType = extreme, the value is NFS.
|
|
1388
|
+
- When FileSystemType = cpfs, the value is cpfs.
|
|
1032
1389
|
"""
|
|
1033
1390
|
return pulumi.get(self, "protocol_type")
|
|
1034
1391
|
|
|
@@ -1036,11 +1393,18 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1036
1393
|
@pulumi.getter(name="recycleBin")
|
|
1037
1394
|
def recycle_bin(self) -> pulumi.Output['outputs.FileSystemRecycleBin']:
|
|
1038
1395
|
"""
|
|
1039
|
-
|
|
1040
|
-
> **NOTE:** `recycle_bin` takes effect only if `file_system_type` is set to `standard`.
|
|
1396
|
+
Recycle Bin See `recycle_bin` below.
|
|
1041
1397
|
"""
|
|
1042
1398
|
return pulumi.get(self, "recycle_bin")
|
|
1043
1399
|
|
|
1400
|
+
@property
|
|
1401
|
+
@pulumi.getter(name="regionId")
|
|
1402
|
+
def region_id(self) -> pulumi.Output[builtins.str]:
|
|
1403
|
+
"""
|
|
1404
|
+
RegionId
|
|
1405
|
+
"""
|
|
1406
|
+
return pulumi.get(self, "region_id")
|
|
1407
|
+
|
|
1044
1408
|
@property
|
|
1045
1409
|
@pulumi.getter(name="resourceGroupId")
|
|
1046
1410
|
def resource_group_id(self) -> pulumi.Output[builtins.str]:
|
|
@@ -1049,11 +1413,21 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1049
1413
|
"""
|
|
1050
1414
|
return pulumi.get(self, "resource_group_id")
|
|
1051
1415
|
|
|
1416
|
+
@property
|
|
1417
|
+
@pulumi.getter(name="smbAcl")
|
|
1418
|
+
def smb_acl(self) -> pulumi.Output['outputs.FileSystemSmbAcl']:
|
|
1419
|
+
"""
|
|
1420
|
+
SMB ACL See `smb_acl` below.
|
|
1421
|
+
"""
|
|
1422
|
+
return pulumi.get(self, "smb_acl")
|
|
1423
|
+
|
|
1052
1424
|
@property
|
|
1053
1425
|
@pulumi.getter(name="snapshotId")
|
|
1054
1426
|
def snapshot_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1055
1427
|
"""
|
|
1056
|
-
|
|
1428
|
+
Only extreme NAS is supported.
|
|
1429
|
+
|
|
1430
|
+
> **NOTE:** A file system is created from a snapshot. The version of the created file system is the same as that of the snapshot source file system. For example, if the source file system version of the snapshot is 1 and you need to create A file system of version 2, you can first create A file system A from the snapshot, then create A file system B that meets the configuration of version 2, copy the data in file system A to file system B, and migrate the business to file system B after the copy is completed.
|
|
1057
1431
|
"""
|
|
1058
1432
|
return pulumi.get(self, "snapshot_id")
|
|
1059
1433
|
|
|
@@ -1061,7 +1435,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1061
1435
|
@pulumi.getter
|
|
1062
1436
|
def status(self) -> pulumi.Output[builtins.str]:
|
|
1063
1437
|
"""
|
|
1064
|
-
(
|
|
1438
|
+
File system status. Includes:(such as creating a mount point) can only be performed when the file system is in the Running state.
|
|
1065
1439
|
"""
|
|
1066
1440
|
return pulumi.get(self, "status")
|
|
1067
1441
|
|
|
@@ -1069,11 +1443,10 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1069
1443
|
@pulumi.getter(name="storageType")
|
|
1070
1444
|
def storage_type(self) -> pulumi.Output[builtins.str]:
|
|
1071
1445
|
"""
|
|
1072
|
-
The storage type
|
|
1073
|
-
-
|
|
1074
|
-
-
|
|
1075
|
-
-
|
|
1076
|
-
> **NOTE:** From version 1.140.0, `storage_type` can be set to `standard`, `advance`. From version 1.153.0, `storage_type` can be set to `advance_100`, `advance_200`. From version 1.236.0, `storage_type` can be set to `Premium`.
|
|
1446
|
+
The storage type.
|
|
1447
|
+
- When FileSystemType = standard, the values are Performance, Capacity, and Premium.
|
|
1448
|
+
- When FileSystemType = extreme, the value is standard or advance.
|
|
1449
|
+
- When FileSystemType = cpfs, the values are advance_100(100MB/s/TiB baseline) and advance_200(200MB/s/TiB baseline).
|
|
1077
1450
|
"""
|
|
1078
1451
|
return pulumi.get(self, "storage_type")
|
|
1079
1452
|
|
|
@@ -1081,7 +1454,7 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1081
1454
|
@pulumi.getter
|
|
1082
1455
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
1083
1456
|
"""
|
|
1084
|
-
|
|
1457
|
+
Label information collection.
|
|
1085
1458
|
"""
|
|
1086
1459
|
return pulumi.get(self, "tags")
|
|
1087
1460
|
|
|
@@ -1089,7 +1462,9 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1089
1462
|
@pulumi.getter(name="vpcId")
|
|
1090
1463
|
def vpc_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1091
1464
|
"""
|
|
1092
|
-
The ID of the VPC.
|
|
1465
|
+
The ID of the VPC network.
|
|
1466
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
1467
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
1093
1468
|
"""
|
|
1094
1469
|
return pulumi.get(self, "vpc_id")
|
|
1095
1470
|
|
|
@@ -1097,7 +1472,9 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1097
1472
|
@pulumi.getter(name="vswitchId")
|
|
1098
1473
|
def vswitch_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1099
1474
|
"""
|
|
1100
|
-
The ID of the
|
|
1475
|
+
The ID of the switch.
|
|
1476
|
+
This parameter must be configured when FileSystemType = cpfs.
|
|
1477
|
+
When the FileSystemType is standard or extreme, this parameter is reserved for the interface and has not taken effect yet. You do not need to configure it.
|
|
1101
1478
|
"""
|
|
1102
1479
|
return pulumi.get(self, "vswitch_id")
|
|
1103
1480
|
|
|
@@ -1105,7 +1482,15 @@ class FileSystem(pulumi.CustomResource):
|
|
|
1105
1482
|
@pulumi.getter(name="zoneId")
|
|
1106
1483
|
def zone_id(self) -> pulumi.Output[builtins.str]:
|
|
1107
1484
|
"""
|
|
1108
|
-
The
|
|
1485
|
+
The zone ID.
|
|
1486
|
+
|
|
1487
|
+
The usable area refers to the physical area where power and network are independent of each other in the same area.
|
|
1488
|
+
|
|
1489
|
+
When the FileSystemType is set to standard, this parameter is optional. By default, a zone that meets the conditions is randomly selected based on the ProtocolType and StorageType configurations. This parameter is required when FileSystemType = extreme or FileSystemType = cpfs.
|
|
1490
|
+
|
|
1491
|
+
> **NOTE:** - file systems in different zones in the same region communicate with ECS cloud servers.
|
|
1492
|
+
|
|
1493
|
+
> **NOTE:** - We recommend that the file system and the ECS instance belong to the same zone to avoid cross-zone latency.
|
|
1109
1494
|
"""
|
|
1110
1495
|
return pulumi.get(self, "zone_id")
|
|
1111
1496
|
|