You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Network type, Default `VPC`. Valid values: `VPC` and `CCN`. Select `VPC` for a Standard or High-Performance file system, and `CCN` for a Standard Turbo or High-Performance Turbo one.",
Description: "File service protocol. Valid values are `NFS` and `CIFS`. and the default is `NFS`.",
130
+
Description: "File system protocol. Valid values: `NFS`, `CIFS`, `TURBO`. If this parameter is left empty, `NFS` is used by default. For the Turbo series, you must set this parameter to `TURBO`.",
74
131
},
75
132
"storage_type": {
76
-
Type: schema.TypeString,
77
-
Optional: true,
78
-
Default: CFS_STORAGETYPE_SD,
79
-
ForceNew: true,
80
-
Description: "File service StorageType. Valid values are `SD` and `HP`. and the default is `SD`.",
Description: "CCN instance ID (required if the network type is CCN).",
166
+
},
167
+
"cidr_block": {
168
+
Type: schema.TypeString,
169
+
Optional: true,
170
+
Computed: true,
171
+
Description: "CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.",
172
+
},
173
+
"capacity": {
174
+
Type: schema.TypeInt,
175
+
Optional: true,
176
+
Computed: true,
177
+
Description: "File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).",
178
+
},
103
179
// computed
104
180
"create_time": {
105
181
Type: schema.TypeString,
@@ -130,6 +206,7 @@ func resourceTencentCloudCfsFileSystemCreate(d *schema.ResourceData, meta interf
*`access_group_id` - (Required, String) ID of a access group.
32
82
*`availability_zone` - (Required, String, ForceNew) The available zone that the file system locates at.
33
-
*`subnet_id` - (Required, String, ForceNew) ID of a subnet.
34
-
*`vpc_id` - (Required, String, ForceNew) ID of a VPC network.
83
+
*`capacity` - (Optional, Int) File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB).
84
+
*`ccn_id` - (Optional, String) CCN instance ID (required if the network type is CCN).
85
+
*`cidr_block` - (Optional, String) CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN.
35
86
*`mount_ip` - (Optional, String, ForceNew) IP of mount point.
36
87
*`name` - (Optional, String) Name of a file system.
37
-
*`protocol` - (Optional, String, ForceNew) File service protocol. Valid values are `NFS` and `CIFS`. and the default is `NFS`.
38
-
*`storage_type` - (Optional, String, ForceNew) File service StorageType. Valid values are `SD` and `HP`. and the default is `SD`.
88
+
*`net_interface` - (Optional, String) Network type, Default `VPC`. Valid values: `VPC` and `CCN`. Select `VPC` for a Standard or High-Performance file system, and `CCN` for a Standard Turbo or High-Performance Turbo one.
89
+
*`protocol` - (Optional, String, ForceNew) File system protocol. Valid values: `NFS`, `CIFS`, `TURBO`. If this parameter is left empty, `NFS` is used by default. For the Turbo series, you must set this parameter to `TURBO`.
90
+
*`storage_type` - (Optional, String, ForceNew) Storage type of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), and `TP` (High-Performance Turbo). Default value: `SD`.
91
+
*`subnet_id` - (Optional, String, ForceNew) ID of a subnet.
39
92
*`tags` - (Optional, Map) Instance tags.
93
+
*`vpc_id` - (Optional, String, ForceNew) ID of a VPC network.
0 commit comments