tencentcloud-sdk-nodejs-cfs 4.0.1016 → 4.1.27
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.
- package/README.md +79 -30
- package/es/index.js +1 -0
- package/es/services/cfs/index.js +4 -0
- package/es/services/cfs/v20190719/cfs_client.js +138 -0
- package/es/services/cfs/v20190719/cfs_models.js +0 -0
- package/es/services/cfs/v20190719/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +26 -8
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +2 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
- package/tencentcloud/services/cfs/v20190719/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/products.md +0 -263
- package/src/index.ts +0 -1
- package/src/services/cfs/index.ts +0 -5
- package/src/services/cfs/v20190719/cfs_client.ts +0 -587
- package/src/services/cfs/v20190719/cfs_models.ts +0 -2466
- package/src/services/cfs/v20190719/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,2466 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing,
|
|
11
|
-
* software distributed under the License is distributed on an
|
|
12
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
-
* KIND, either express or implied. See the License for the
|
|
14
|
-
* specific language governing permissions and limitations
|
|
15
|
-
* under the License.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* CreateMigrationTask请求参数结构体
|
|
20
|
-
*/
|
|
21
|
-
export interface CreateMigrationTaskRequest {
|
|
22
|
-
/**
|
|
23
|
-
* 迁移任务名称
|
|
24
|
-
*/
|
|
25
|
-
TaskName: string
|
|
26
|
-
/**
|
|
27
|
-
* 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移
|
|
28
|
-
*/
|
|
29
|
-
MigrationType: number
|
|
30
|
-
/**
|
|
31
|
-
* 迁移模式,默认为0。0: 全量迁移
|
|
32
|
-
*/
|
|
33
|
-
MigrationMode: number
|
|
34
|
-
/**
|
|
35
|
-
* 数据源账号的SecretId
|
|
36
|
-
*/
|
|
37
|
-
SrcSecretId: string
|
|
38
|
-
/**
|
|
39
|
-
* 数据源账号的SecretKey
|
|
40
|
-
*/
|
|
41
|
-
SrcSecretKey: string
|
|
42
|
-
/**
|
|
43
|
-
* 文件系统实例Id
|
|
44
|
-
*/
|
|
45
|
-
FileSystemId: string
|
|
46
|
-
/**
|
|
47
|
-
* 文件系统路径
|
|
48
|
-
*/
|
|
49
|
-
FsPath: string
|
|
50
|
-
/**
|
|
51
|
-
* 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖
|
|
52
|
-
*/
|
|
53
|
-
CoverType: number
|
|
54
|
-
/**
|
|
55
|
-
* 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
|
|
56
|
-
*/
|
|
57
|
-
SrcService: string
|
|
58
|
-
/**
|
|
59
|
-
* 数据源桶名称,名称和地址至少有一个
|
|
60
|
-
*/
|
|
61
|
-
BucketName?: string
|
|
62
|
-
/**
|
|
63
|
-
* 数据源桶地域
|
|
64
|
-
*/
|
|
65
|
-
BucketRegion?: string
|
|
66
|
-
/**
|
|
67
|
-
* 数据源桶地址,名称和地址至少有一个
|
|
68
|
-
*/
|
|
69
|
-
BucketAddress?: string
|
|
70
|
-
/**
|
|
71
|
-
* 清单地址,迁移方式为清单迁移时必填
|
|
72
|
-
*/
|
|
73
|
-
ListAddress?: string
|
|
74
|
-
/**
|
|
75
|
-
* 目标文件系统名称
|
|
76
|
-
*/
|
|
77
|
-
FsName?: string
|
|
78
|
-
/**
|
|
79
|
-
* 源桶路径,默认为/
|
|
80
|
-
*/
|
|
81
|
-
BucketPath?: string
|
|
82
|
-
/**
|
|
83
|
-
* 迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0
|
|
84
|
-
*/
|
|
85
|
-
Direction?: number
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* ScaleUpFileSystem返回参数结构体
|
|
90
|
-
*/
|
|
91
|
-
export interface ScaleUpFileSystemResponse {
|
|
92
|
-
/**
|
|
93
|
-
* 文件系统Id
|
|
94
|
-
*/
|
|
95
|
-
FileSystemId?: string
|
|
96
|
-
/**
|
|
97
|
-
* 扩容的目标容量(单位GiB)
|
|
98
|
-
*/
|
|
99
|
-
TargetCapacity?: number
|
|
100
|
-
/**
|
|
101
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
102
|
-
*/
|
|
103
|
-
RequestId?: string
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* 文件系统快照统计
|
|
108
|
-
*/
|
|
109
|
-
export interface SnapshotStatistics {
|
|
110
|
-
/**
|
|
111
|
-
* 地域
|
|
112
|
-
*/
|
|
113
|
-
Region: string
|
|
114
|
-
/**
|
|
115
|
-
* 快照总个数
|
|
116
|
-
*/
|
|
117
|
-
SnapshotNumber: number
|
|
118
|
-
/**
|
|
119
|
-
* 快照总容量
|
|
120
|
-
*/
|
|
121
|
-
SnapshotSize: number
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* DescribeCfsPGroups返回参数结构体
|
|
126
|
-
*/
|
|
127
|
-
export interface DescribeCfsPGroupsResponse {
|
|
128
|
-
/**
|
|
129
|
-
* 权限组信息列表
|
|
130
|
-
*/
|
|
131
|
-
PGroupList?: Array<PGroupInfo>
|
|
132
|
-
/**
|
|
133
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
134
|
-
*/
|
|
135
|
-
RequestId?: string
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* DescribeMountTargets返回参数结构体
|
|
140
|
-
*/
|
|
141
|
-
export interface DescribeMountTargetsResponse {
|
|
142
|
-
/**
|
|
143
|
-
* 挂载点详情
|
|
144
|
-
*/
|
|
145
|
-
MountTargets?: Array<MountInfo>
|
|
146
|
-
/**
|
|
147
|
-
* 挂载点数量
|
|
148
|
-
*/
|
|
149
|
-
NumberOfMountTargets?: number
|
|
150
|
-
/**
|
|
151
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
152
|
-
*/
|
|
153
|
-
RequestId?: string
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* DescribeSnapshotOperationLogs请求参数结构体
|
|
158
|
-
*/
|
|
159
|
-
export interface DescribeSnapshotOperationLogsRequest {
|
|
160
|
-
/**
|
|
161
|
-
* 文件系统快照ID
|
|
162
|
-
*/
|
|
163
|
-
SnapshotId: string
|
|
164
|
-
/**
|
|
165
|
-
* 起始时间
|
|
166
|
-
*/
|
|
167
|
-
StartTime: string
|
|
168
|
-
/**
|
|
169
|
-
* 结束时间
|
|
170
|
-
*/
|
|
171
|
-
EndTime: string
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* CFS数据迁移任务信息
|
|
176
|
-
*/
|
|
177
|
-
export interface MigrationTaskInfo {
|
|
178
|
-
/**
|
|
179
|
-
* 迁移任务名称
|
|
180
|
-
*/
|
|
181
|
-
TaskName?: string
|
|
182
|
-
/**
|
|
183
|
-
* 迁移任务id
|
|
184
|
-
*/
|
|
185
|
-
TaskId?: string
|
|
186
|
-
/**
|
|
187
|
-
* 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移
|
|
188
|
-
*/
|
|
189
|
-
MigrationType?: number
|
|
190
|
-
/**
|
|
191
|
-
* 迁移模式,默认为0。0: 全量迁移
|
|
192
|
-
*/
|
|
193
|
-
MigrationMode?: number
|
|
194
|
-
/**
|
|
195
|
-
* 数据源桶名称
|
|
196
|
-
*/
|
|
197
|
-
BucketName?: string
|
|
198
|
-
/**
|
|
199
|
-
* 数据源桶地域
|
|
200
|
-
*/
|
|
201
|
-
BucketRegion?: string
|
|
202
|
-
/**
|
|
203
|
-
* 数据源桶地址
|
|
204
|
-
*/
|
|
205
|
-
BucketAddress?: string
|
|
206
|
-
/**
|
|
207
|
-
* 清单地址
|
|
208
|
-
*/
|
|
209
|
-
ListAddress?: string
|
|
210
|
-
/**
|
|
211
|
-
* 文件系统实例名称
|
|
212
|
-
*/
|
|
213
|
-
FsName?: string
|
|
214
|
-
/**
|
|
215
|
-
* 文件系统实例Id
|
|
216
|
-
*/
|
|
217
|
-
FileSystemId?: string
|
|
218
|
-
/**
|
|
219
|
-
* 文件系统路径
|
|
220
|
-
*/
|
|
221
|
-
FsPath?: string
|
|
222
|
-
/**
|
|
223
|
-
* 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖
|
|
224
|
-
*/
|
|
225
|
-
CoverType?: number
|
|
226
|
-
/**
|
|
227
|
-
* 创建时间
|
|
228
|
-
*/
|
|
229
|
-
CreateTime?: number
|
|
230
|
-
/**
|
|
231
|
-
* 完成/终止时间
|
|
232
|
-
*/
|
|
233
|
-
EndTime?: number
|
|
234
|
-
/**
|
|
235
|
-
* 迁移状态。0: 已完成;1: 进行中;2: 已终止
|
|
236
|
-
*/
|
|
237
|
-
Status?: number
|
|
238
|
-
/**
|
|
239
|
-
* 文件数量
|
|
240
|
-
*/
|
|
241
|
-
FileTotalCount?: number
|
|
242
|
-
/**
|
|
243
|
-
* 已迁移文件数量
|
|
244
|
-
*/
|
|
245
|
-
FileMigratedCount?: number
|
|
246
|
-
/**
|
|
247
|
-
* 迁移失败文件数量
|
|
248
|
-
*/
|
|
249
|
-
FileFailedCount?: number
|
|
250
|
-
/**
|
|
251
|
-
* 文件容量,单位Byte
|
|
252
|
-
*/
|
|
253
|
-
FileTotalSize?: number
|
|
254
|
-
/**
|
|
255
|
-
* 已迁移文件容量,单位Byte
|
|
256
|
-
*/
|
|
257
|
-
FileMigratedSize?: number
|
|
258
|
-
/**
|
|
259
|
-
* 迁移失败文件容量,单位Byte
|
|
260
|
-
*/
|
|
261
|
-
FileFailedSize?: number
|
|
262
|
-
/**
|
|
263
|
-
* 全部清单
|
|
264
|
-
*/
|
|
265
|
-
FileTotalList?: string
|
|
266
|
-
/**
|
|
267
|
-
* 已完成文件清单
|
|
268
|
-
*/
|
|
269
|
-
FileCompletedList?: string
|
|
270
|
-
/**
|
|
271
|
-
* 失败文件清单
|
|
272
|
-
*/
|
|
273
|
-
FileFailedList?: string
|
|
274
|
-
/**
|
|
275
|
-
* 源桶路径
|
|
276
|
-
*/
|
|
277
|
-
BucketPath?: string
|
|
278
|
-
/**
|
|
279
|
-
* 迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0
|
|
280
|
-
*/
|
|
281
|
-
Direction?: number
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* 文件系统客户端信息
|
|
286
|
-
*/
|
|
287
|
-
export interface FileSystemClient {
|
|
288
|
-
/**
|
|
289
|
-
* 文件系统IP地址
|
|
290
|
-
*/
|
|
291
|
-
CfsVip?: string
|
|
292
|
-
/**
|
|
293
|
-
* 客户端IP地址
|
|
294
|
-
*/
|
|
295
|
-
ClientIp?: string
|
|
296
|
-
/**
|
|
297
|
-
* 文件系统所属VPCID
|
|
298
|
-
*/
|
|
299
|
-
VpcId?: string
|
|
300
|
-
/**
|
|
301
|
-
* 可用区名称,例如ap-beijing-1,请参考 概览文档中的地域与可用区列表
|
|
302
|
-
*/
|
|
303
|
-
Zone?: string
|
|
304
|
-
/**
|
|
305
|
-
* 可用区中文名称
|
|
306
|
-
*/
|
|
307
|
-
ZoneName?: string
|
|
308
|
-
/**
|
|
309
|
-
* 该文件系统被挂载到客户端上的路径信息
|
|
310
|
-
*/
|
|
311
|
-
MountDirectory?: string
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* DescribeCfsFileSystems返回参数结构体
|
|
316
|
-
*/
|
|
317
|
-
export interface DescribeCfsFileSystemsResponse {
|
|
318
|
-
/**
|
|
319
|
-
* 文件系统信息
|
|
320
|
-
*/
|
|
321
|
-
FileSystems?: Array<FileSystemInfo>
|
|
322
|
-
/**
|
|
323
|
-
* 文件系统总数
|
|
324
|
-
*/
|
|
325
|
-
TotalCount?: number
|
|
326
|
-
/**
|
|
327
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
328
|
-
*/
|
|
329
|
-
RequestId?: string
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* CreateCfsFileSystem返回参数结构体
|
|
334
|
-
*/
|
|
335
|
-
export interface CreateCfsFileSystemResponse {
|
|
336
|
-
/**
|
|
337
|
-
* 文件系统创建时间
|
|
338
|
-
*/
|
|
339
|
-
CreationTime?: string
|
|
340
|
-
/**
|
|
341
|
-
* 用户自定义文件系统名称
|
|
342
|
-
*/
|
|
343
|
-
CreationToken?: string
|
|
344
|
-
/**
|
|
345
|
-
* 文件系统 ID
|
|
346
|
-
*/
|
|
347
|
-
FileSystemId?: string
|
|
348
|
-
/**
|
|
349
|
-
* 文件系统状态,可能出现状态包括:“creating” 创建中, “create_failed” 创建失败, “available” 可用, “unserviced” 不可用, “upgrading” 升级中, “deleting” 删除中。
|
|
350
|
-
*/
|
|
351
|
-
LifeCycleState?: string
|
|
352
|
-
/**
|
|
353
|
-
* 文件系统已使用容量大小,单位为 Byte
|
|
354
|
-
*/
|
|
355
|
-
SizeByte?: number
|
|
356
|
-
/**
|
|
357
|
-
* 可用区 ID
|
|
358
|
-
*/
|
|
359
|
-
ZoneId?: number
|
|
360
|
-
/**
|
|
361
|
-
* 用户自定义文件系统名称
|
|
362
|
-
*/
|
|
363
|
-
FsName?: string
|
|
364
|
-
/**
|
|
365
|
-
* 文件系统是否加密
|
|
366
|
-
*/
|
|
367
|
-
Encrypted?: boolean
|
|
368
|
-
/**
|
|
369
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
370
|
-
*/
|
|
371
|
-
RequestId?: string
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* 文件系统基本信息
|
|
376
|
-
*/
|
|
377
|
-
export interface FileSystemInfo {
|
|
378
|
-
/**
|
|
379
|
-
* 创建时间
|
|
380
|
-
*/
|
|
381
|
-
CreationTime?: string
|
|
382
|
-
/**
|
|
383
|
-
* 用户自定义名称
|
|
384
|
-
*/
|
|
385
|
-
CreationToken?: string
|
|
386
|
-
/**
|
|
387
|
-
* 文件系统 ID
|
|
388
|
-
*/
|
|
389
|
-
FileSystemId?: string
|
|
390
|
-
/**
|
|
391
|
-
* 文件系统状态。取值范围:
|
|
392
|
-
- creating:创建中
|
|
393
|
-
- mounting:挂载中
|
|
394
|
-
- create_failed:创建失败
|
|
395
|
-
- available:可使用
|
|
396
|
-
- unserviced:停服中
|
|
397
|
-
- upgrading:升级中
|
|
398
|
-
*/
|
|
399
|
-
LifeCycleState?: string
|
|
400
|
-
/**
|
|
401
|
-
* 文件系统已使用容量。单位:Byte
|
|
402
|
-
*/
|
|
403
|
-
SizeByte?: number
|
|
404
|
-
/**
|
|
405
|
-
* 文件系统空间限制。单位:GiB
|
|
406
|
-
*/
|
|
407
|
-
SizeLimit?: number
|
|
408
|
-
/**
|
|
409
|
-
* 区域 ID
|
|
410
|
-
*/
|
|
411
|
-
ZoneId?: number
|
|
412
|
-
/**
|
|
413
|
-
* 区域名称
|
|
414
|
-
*/
|
|
415
|
-
Zone?: string
|
|
416
|
-
/**
|
|
417
|
-
* 文件系统协议类型, 支持 NFS,CIFS,TURBO
|
|
418
|
-
*/
|
|
419
|
-
Protocol?: string
|
|
420
|
-
/**
|
|
421
|
-
* 存储类型,HP:通用性能型;SD:通用标准型;TP:turbo性能型;TB:turbo标准型;THP:吞吐型
|
|
422
|
-
*/
|
|
423
|
-
StorageType?: string
|
|
424
|
-
/**
|
|
425
|
-
* 文件系统绑定的预付费存储包
|
|
426
|
-
*/
|
|
427
|
-
StorageResourcePkg?: string
|
|
428
|
-
/**
|
|
429
|
-
* 文件系统绑定的预付费带宽包(暂未支持)
|
|
430
|
-
*/
|
|
431
|
-
BandwidthResourcePkg?: string
|
|
432
|
-
/**
|
|
433
|
-
* 文件系统绑定权限组信息
|
|
434
|
-
*/
|
|
435
|
-
PGroup?: PGroup
|
|
436
|
-
/**
|
|
437
|
-
* 用户自定义名称
|
|
438
|
-
*/
|
|
439
|
-
FsName?: string
|
|
440
|
-
/**
|
|
441
|
-
* 文件系统是否加密,true:代表加密,false:非加密
|
|
442
|
-
*/
|
|
443
|
-
Encrypted?: boolean
|
|
444
|
-
/**
|
|
445
|
-
* 加密所使用的密钥,可以为密钥的 ID 或者 ARN
|
|
446
|
-
*/
|
|
447
|
-
KmsKeyId?: string
|
|
448
|
-
/**
|
|
449
|
-
* 应用ID
|
|
450
|
-
*/
|
|
451
|
-
AppId?: number
|
|
452
|
-
/**
|
|
453
|
-
* 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
|
|
454
|
-
*/
|
|
455
|
-
BandwidthLimit?: number
|
|
456
|
-
/**
|
|
457
|
-
* 文件系统关联的快照策略
|
|
458
|
-
*/
|
|
459
|
-
AutoSnapshotPolicyId?: string
|
|
460
|
-
/**
|
|
461
|
-
* 文件系统处理快照状态
|
|
462
|
-
*/
|
|
463
|
-
SnapStatus?: string
|
|
464
|
-
/**
|
|
465
|
-
* 文件系统容量规格上限
|
|
466
|
-
单位:GiB
|
|
467
|
-
*/
|
|
468
|
-
Capacity?: number
|
|
469
|
-
/**
|
|
470
|
-
* 文件系统标签列表
|
|
471
|
-
*/
|
|
472
|
-
Tags?: Array<TagInfo>
|
|
473
|
-
/**
|
|
474
|
-
* 文件系统生命周期管理状态
|
|
475
|
-
NotAvailable:不可用
|
|
476
|
-
Available:可用
|
|
477
|
-
*/
|
|
478
|
-
TieringState?: string
|
|
479
|
-
/**
|
|
480
|
-
* 分层存储详情
|
|
481
|
-
*/
|
|
482
|
-
TieringDetail?: TieringDetailInfo
|
|
483
|
-
/**
|
|
484
|
-
* 文件系统自动扩容策略
|
|
485
|
-
*/
|
|
486
|
-
AutoScaleUpRule?: AutoScaleUpRule
|
|
487
|
-
/**
|
|
488
|
-
* 文件系统版本
|
|
489
|
-
*/
|
|
490
|
-
Version?: string
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* BindAutoSnapshotPolicy请求参数结构体
|
|
495
|
-
*/
|
|
496
|
-
export interface BindAutoSnapshotPolicyRequest {
|
|
497
|
-
/**
|
|
498
|
-
* 快照策略ID
|
|
499
|
-
*/
|
|
500
|
-
AutoSnapshotPolicyId: string
|
|
501
|
-
/**
|
|
502
|
-
* 文件系统列表
|
|
503
|
-
*/
|
|
504
|
-
FileSystemIds: string
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* ModifyFileSystemAutoScaleUpRule请求参数结构体
|
|
509
|
-
*/
|
|
510
|
-
export interface ModifyFileSystemAutoScaleUpRuleRequest {
|
|
511
|
-
/**
|
|
512
|
-
* 文件系统id
|
|
513
|
-
*/
|
|
514
|
-
FileSystemId: string
|
|
515
|
-
/**
|
|
516
|
-
* 扩容阈值,范围[10-90]
|
|
517
|
-
*/
|
|
518
|
-
ScaleUpThreshold: number
|
|
519
|
-
/**
|
|
520
|
-
* 扩容后目标阈值,范围[10-90],该值要小于ScaleUpThreshold
|
|
521
|
-
*/
|
|
522
|
-
TargetThreshold: number
|
|
523
|
-
/**
|
|
524
|
-
* 规则状态0:关闭,1 开启
|
|
525
|
-
|
|
526
|
-
*/
|
|
527
|
-
Status?: number
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* ScaleUpFileSystem请求参数结构体
|
|
532
|
-
*/
|
|
533
|
-
export interface ScaleUpFileSystemRequest {
|
|
534
|
-
/**
|
|
535
|
-
* 文件系统Id
|
|
536
|
-
*/
|
|
537
|
-
FileSystemId: string
|
|
538
|
-
/**
|
|
539
|
-
* 扩容的目标容量(单位GiB)
|
|
540
|
-
*/
|
|
541
|
-
TargetCapacity: number
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* CreateCfsPGroup请求参数结构体
|
|
546
|
-
*/
|
|
547
|
-
export interface CreateCfsPGroupRequest {
|
|
548
|
-
/**
|
|
549
|
-
* 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线
|
|
550
|
-
*/
|
|
551
|
-
Name: string
|
|
552
|
-
/**
|
|
553
|
-
* 权限组描述信息,1-255个字符
|
|
554
|
-
*/
|
|
555
|
-
DescInfo?: string
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* DescribeMigrationTasks返回参数结构体
|
|
560
|
-
*/
|
|
561
|
-
export interface DescribeMigrationTasksResponse {
|
|
562
|
-
/**
|
|
563
|
-
* 迁移任务的数量
|
|
564
|
-
*/
|
|
565
|
-
TotalCount?: number
|
|
566
|
-
/**
|
|
567
|
-
* 迁移任务详情
|
|
568
|
-
*/
|
|
569
|
-
MigrationTasks?: Array<MigrationTaskInfo>
|
|
570
|
-
/**
|
|
571
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
572
|
-
*/
|
|
573
|
-
RequestId?: string
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* DescribeAutoSnapshotPolicies请求参数结构体
|
|
578
|
-
*/
|
|
579
|
-
export interface DescribeAutoSnapshotPoliciesRequest {
|
|
580
|
-
/**
|
|
581
|
-
* 快照策略ID
|
|
582
|
-
*/
|
|
583
|
-
AutoSnapshotPolicyId?: string
|
|
584
|
-
/**
|
|
585
|
-
* 分页码
|
|
586
|
-
*/
|
|
587
|
-
Offset?: number
|
|
588
|
-
/**
|
|
589
|
-
* 页面长
|
|
590
|
-
*/
|
|
591
|
-
Limit?: number
|
|
592
|
-
/**
|
|
593
|
-
* 过滤条件
|
|
594
|
-
*/
|
|
595
|
-
Filters?: Array<Filter>
|
|
596
|
-
/**
|
|
597
|
-
* 升序,降序
|
|
598
|
-
*/
|
|
599
|
-
Order?: string
|
|
600
|
-
/**
|
|
601
|
-
* 排序字段
|
|
602
|
-
*/
|
|
603
|
-
OrderField?: string
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* DescribeAvailableZoneInfo请求参数结构体
|
|
608
|
-
*/
|
|
609
|
-
export type DescribeAvailableZoneInfoRequest = null
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* DescribeMountTargets请求参数结构体
|
|
613
|
-
*/
|
|
614
|
-
export interface DescribeMountTargetsRequest {
|
|
615
|
-
/**
|
|
616
|
-
* 文件系统 ID
|
|
617
|
-
*/
|
|
618
|
-
FileSystemId: string
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
/**
|
|
622
|
-
* BindAutoSnapshotPolicy返回参数结构体
|
|
623
|
-
*/
|
|
624
|
-
export interface BindAutoSnapshotPolicyResponse {
|
|
625
|
-
/**
|
|
626
|
-
* 快照策略ID
|
|
627
|
-
*/
|
|
628
|
-
AutoSnapshotPolicyId?: string
|
|
629
|
-
/**
|
|
630
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
631
|
-
*/
|
|
632
|
-
RequestId?: string
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* SignUpCfsService请求参数结构体
|
|
637
|
-
*/
|
|
638
|
-
export type SignUpCfsServiceRequest = null
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* SignUpCfsService返回参数结构体
|
|
642
|
-
*/
|
|
643
|
-
export interface SignUpCfsServiceResponse {
|
|
644
|
-
/**
|
|
645
|
-
* 该用户当前 CFS 服务的状态,creating 是开通中,created 是已开通
|
|
646
|
-
*/
|
|
647
|
-
CfsServiceStatus: string
|
|
648
|
-
/**
|
|
649
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
650
|
-
*/
|
|
651
|
-
RequestId?: string
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* 快照策略信息
|
|
656
|
-
*/
|
|
657
|
-
export interface AutoSnapshotPolicyInfo {
|
|
658
|
-
/**
|
|
659
|
-
* 快照策略ID
|
|
660
|
-
*/
|
|
661
|
-
AutoSnapshotPolicyId?: string
|
|
662
|
-
/**
|
|
663
|
-
* 快照策略ID
|
|
664
|
-
*/
|
|
665
|
-
PolicyName?: string
|
|
666
|
-
/**
|
|
667
|
-
* 快照策略创建时间
|
|
668
|
-
*/
|
|
669
|
-
CreationTime?: string
|
|
670
|
-
/**
|
|
671
|
-
* 关联的文件系统个数
|
|
672
|
-
*/
|
|
673
|
-
FileSystemNums?: number
|
|
674
|
-
/**
|
|
675
|
-
* 快照定期备份在一星期哪一天,该参数与DayOfMonth,IntervalDays互斥
|
|
676
|
-
*/
|
|
677
|
-
DayOfWeek?: string
|
|
678
|
-
/**
|
|
679
|
-
* 快照定期备份在一天的哪一小时
|
|
680
|
-
*/
|
|
681
|
-
Hour?: string
|
|
682
|
-
/**
|
|
683
|
-
* 是否激活定期快照功能,1代表已激活,0代表未激活
|
|
684
|
-
*/
|
|
685
|
-
IsActivated?: number
|
|
686
|
-
/**
|
|
687
|
-
* 下一次触发快照时间
|
|
688
|
-
*/
|
|
689
|
-
NextActiveTime?: string
|
|
690
|
-
/**
|
|
691
|
-
* 快照策略状态,1代表快照策略状态正常。这里只有一种状态
|
|
692
|
-
*/
|
|
693
|
-
Status?: string
|
|
694
|
-
/**
|
|
695
|
-
* 账号ID
|
|
696
|
-
*/
|
|
697
|
-
AppId?: number
|
|
698
|
-
/**
|
|
699
|
-
* 保留时间
|
|
700
|
-
*/
|
|
701
|
-
AliveDays?: number
|
|
702
|
-
/**
|
|
703
|
-
* 地域
|
|
704
|
-
*/
|
|
705
|
-
RegionName?: string
|
|
706
|
-
/**
|
|
707
|
-
* 文件系统信息
|
|
708
|
-
*/
|
|
709
|
-
FileSystems?: Array<FileSystemByPolicy>
|
|
710
|
-
/**
|
|
711
|
-
* 快照定期备份在一个月的某个时间;该参数与DayOfWeek,IntervalDays互斥
|
|
712
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
713
|
-
*/
|
|
714
|
-
DayOfMonth?: string
|
|
715
|
-
/**
|
|
716
|
-
* 快照定期间隔天数,1-365 天;该参数与DayOfMonth,DayOfWeek互斥
|
|
717
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
718
|
-
*/
|
|
719
|
-
IntervalDays?: number
|
|
720
|
-
/**
|
|
721
|
-
* 跨地域复制的快照保留时间,单位天
|
|
722
|
-
*/
|
|
723
|
-
CrossRegionsAliveDays?: number
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* DescribeCfsRules请求参数结构体
|
|
728
|
-
*/
|
|
729
|
-
export interface DescribeCfsRulesRequest {
|
|
730
|
-
/**
|
|
731
|
-
* 权限组 ID
|
|
732
|
-
*/
|
|
733
|
-
PGroupId: string
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* UpdateCfsFileSystemName请求参数结构体
|
|
738
|
-
*/
|
|
739
|
-
export interface UpdateCfsFileSystemNameRequest {
|
|
740
|
-
/**
|
|
741
|
-
* 文件系统 ID
|
|
742
|
-
*/
|
|
743
|
-
FileSystemId: string
|
|
744
|
-
/**
|
|
745
|
-
* 用户自定义文件系统名称
|
|
746
|
-
*/
|
|
747
|
-
FsName?: string
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
* DeleteCfsPGroup请求参数结构体
|
|
752
|
-
*/
|
|
753
|
-
export interface DeleteCfsPGroupRequest {
|
|
754
|
-
/**
|
|
755
|
-
* 权限组 ID
|
|
756
|
-
*/
|
|
757
|
-
PGroupId: string
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* UpdateCfsPGroup返回参数结构体
|
|
762
|
-
*/
|
|
763
|
-
export interface UpdateCfsPGroupResponse {
|
|
764
|
-
/**
|
|
765
|
-
* 权限组ID
|
|
766
|
-
*/
|
|
767
|
-
PGroupId?: string
|
|
768
|
-
/**
|
|
769
|
-
* 权限组名称
|
|
770
|
-
*/
|
|
771
|
-
Name?: string
|
|
772
|
-
/**
|
|
773
|
-
* 描述信息
|
|
774
|
-
*/
|
|
775
|
-
DescInfo?: string
|
|
776
|
-
/**
|
|
777
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
778
|
-
*/
|
|
779
|
-
RequestId?: string
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* 快照操作日志
|
|
784
|
-
*/
|
|
785
|
-
export interface SnapshotOperateLog {
|
|
786
|
-
/**
|
|
787
|
-
* 操作类型
|
|
788
|
-
CreateCfsSnapshot:创建快照
|
|
789
|
-
DeleteCfsSnapshot:删除快照
|
|
790
|
-
CreateCfsFileSystem:创建文件系统
|
|
791
|
-
UpdateCfsSnapshotAttribute:更新快照
|
|
792
|
-
*/
|
|
793
|
-
Action?: string
|
|
794
|
-
/**
|
|
795
|
-
* 操作时间
|
|
796
|
-
*/
|
|
797
|
-
ActionTime?: string
|
|
798
|
-
/**
|
|
799
|
-
* 操作名称
|
|
800
|
-
CreateCfsSnapshot
|
|
801
|
-
DeleteCfsSnapshot
|
|
802
|
-
CreateCfsFileSystem
|
|
803
|
-
UpdateCfsSnapshotAttribute
|
|
804
|
-
*/
|
|
805
|
-
ActionName?: string
|
|
806
|
-
/**
|
|
807
|
-
* 操作者uin
|
|
808
|
-
*/
|
|
809
|
-
Operator?: string
|
|
810
|
-
/**
|
|
811
|
-
* 1-任务进行中;2-任务成功;3-任务失败
|
|
812
|
-
*/
|
|
813
|
-
Result?: number
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* DeleteAutoSnapshotPolicy请求参数结构体
|
|
818
|
-
*/
|
|
819
|
-
export interface DeleteAutoSnapshotPolicyRequest {
|
|
820
|
-
/**
|
|
821
|
-
* 快照策略ID
|
|
822
|
-
*/
|
|
823
|
-
AutoSnapshotPolicyId: string
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* DeleteCfsFileSystem返回参数结构体
|
|
828
|
-
*/
|
|
829
|
-
export interface DeleteCfsFileSystemResponse {
|
|
830
|
-
/**
|
|
831
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
832
|
-
*/
|
|
833
|
-
RequestId?: string
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
/**
|
|
837
|
-
* UpdateCfsRule请求参数结构体
|
|
838
|
-
*/
|
|
839
|
-
export interface UpdateCfsRuleRequest {
|
|
840
|
-
/**
|
|
841
|
-
* 权限组 ID
|
|
842
|
-
*/
|
|
843
|
-
PGroupId: string
|
|
844
|
-
/**
|
|
845
|
-
* 规则 ID
|
|
846
|
-
*/
|
|
847
|
-
RuleId: string
|
|
848
|
-
/**
|
|
849
|
-
* 可以填写单个 IP 或者单个网段,例如 10.1.10.11 或者 10.10.1.0/24。默认来访地址为*表示允许所有。同时需要注意,此处需填写 CVM 的内网 IP。
|
|
850
|
-
*/
|
|
851
|
-
AuthClientIp?: string
|
|
852
|
-
/**
|
|
853
|
-
* 读写权限, 值为RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读
|
|
854
|
-
*/
|
|
855
|
-
RWPermission?: string
|
|
856
|
-
/**
|
|
857
|
-
* 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash。
|
|
858
|
-
all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。
|
|
859
|
-
no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。
|
|
860
|
-
root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。
|
|
861
|
-
no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息
|
|
862
|
-
|
|
863
|
-
*/
|
|
864
|
-
UserPermission?: string
|
|
865
|
-
/**
|
|
866
|
-
* 规则优先级,参数范围1-100。 其中 1 为最高,100为最低
|
|
867
|
-
*/
|
|
868
|
-
Priority?: number
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
/**
|
|
872
|
-
* DeleteUserQuota请求参数结构体
|
|
873
|
-
*/
|
|
874
|
-
export interface DeleteUserQuotaRequest {
|
|
875
|
-
/**
|
|
876
|
-
* 文件系统 ID
|
|
877
|
-
*/
|
|
878
|
-
FileSystemId: string
|
|
879
|
-
/**
|
|
880
|
-
* 指定配额类型,包括Uid、Gid、Dir
|
|
881
|
-
*/
|
|
882
|
-
UserType: string
|
|
883
|
-
/**
|
|
884
|
-
* UID/GID信息
|
|
885
|
-
*/
|
|
886
|
-
UserId?: string
|
|
887
|
-
/**
|
|
888
|
-
* 设置目录配额的目录的绝对路径
|
|
889
|
-
*/
|
|
890
|
-
DirectoryPath?: string
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
/**
|
|
894
|
-
* DescribeAvailableZoneInfo返回参数结构体
|
|
895
|
-
*/
|
|
896
|
-
export interface DescribeAvailableZoneInfoResponse {
|
|
897
|
-
/**
|
|
898
|
-
* 各可用区的资源售卖情况以及支持的存储类型、存储协议等信息
|
|
899
|
-
*/
|
|
900
|
-
RegionZones?: Array<AvailableRegion>
|
|
901
|
-
/**
|
|
902
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
903
|
-
*/
|
|
904
|
-
RequestId?: string
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
/**
|
|
908
|
-
* DeleteCfsSnapshot返回参数结构体
|
|
909
|
-
*/
|
|
910
|
-
export interface DeleteCfsSnapshotResponse {
|
|
911
|
-
/**
|
|
912
|
-
* 文件系统ID
|
|
913
|
-
*/
|
|
914
|
-
SnapshotId: string
|
|
915
|
-
/**
|
|
916
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
917
|
-
*/
|
|
918
|
-
RequestId?: string
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
/**
|
|
922
|
-
* DescribeCfsFileSystemClients返回参数结构体
|
|
923
|
-
*/
|
|
924
|
-
export interface DescribeCfsFileSystemClientsResponse {
|
|
925
|
-
/**
|
|
926
|
-
* 客户端列表
|
|
927
|
-
*/
|
|
928
|
-
ClientList?: Array<FileSystemClient>
|
|
929
|
-
/**
|
|
930
|
-
* 文件系统总数
|
|
931
|
-
*/
|
|
932
|
-
TotalCount?: number
|
|
933
|
-
/**
|
|
934
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
935
|
-
*/
|
|
936
|
-
RequestId?: string
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
/**
|
|
940
|
-
* DeleteMountTarget返回参数结构体
|
|
941
|
-
*/
|
|
942
|
-
export interface DeleteMountTargetResponse {
|
|
943
|
-
/**
|
|
944
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
945
|
-
*/
|
|
946
|
-
RequestId?: string
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* CreateCfsSnapshot请求参数结构体
|
|
951
|
-
*/
|
|
952
|
-
export interface CreateCfsSnapshotRequest {
|
|
953
|
-
/**
|
|
954
|
-
* 文件系统id
|
|
955
|
-
*/
|
|
956
|
-
FileSystemId: string
|
|
957
|
-
/**
|
|
958
|
-
* 快照名称
|
|
959
|
-
*/
|
|
960
|
-
SnapshotName?: string
|
|
961
|
-
/**
|
|
962
|
-
* 快照标签
|
|
963
|
-
*/
|
|
964
|
-
ResourceTags?: Array<TagInfo>
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* DescribeBucketList请求参数结构体
|
|
969
|
-
*/
|
|
970
|
-
export interface DescribeBucketListRequest {
|
|
971
|
-
/**
|
|
972
|
-
* 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
|
|
973
|
-
*/
|
|
974
|
-
SrcService: string
|
|
975
|
-
/**
|
|
976
|
-
* 数据源账号的SecretId
|
|
977
|
-
|
|
978
|
-
*/
|
|
979
|
-
SrcSecretId: string
|
|
980
|
-
/**
|
|
981
|
-
* 数据源账号的SecretKey
|
|
982
|
-
*/
|
|
983
|
-
SrcSecretKey: string
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* DeleteCfsRule请求参数结构体
|
|
988
|
-
*/
|
|
989
|
-
export interface DeleteCfsRuleRequest {
|
|
990
|
-
/**
|
|
991
|
-
* 权限组 ID
|
|
992
|
-
*/
|
|
993
|
-
PGroupId: string
|
|
994
|
-
/**
|
|
995
|
-
* 规则 ID
|
|
996
|
-
*/
|
|
997
|
-
RuleId: string
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
/**
|
|
1001
|
-
* UpdateCfsRule返回参数结构体
|
|
1002
|
-
*/
|
|
1003
|
-
export interface UpdateCfsRuleResponse {
|
|
1004
|
-
/**
|
|
1005
|
-
* 权限组 ID
|
|
1006
|
-
*/
|
|
1007
|
-
PGroupId?: string
|
|
1008
|
-
/**
|
|
1009
|
-
* 规则 ID
|
|
1010
|
-
*/
|
|
1011
|
-
RuleId?: string
|
|
1012
|
-
/**
|
|
1013
|
-
* 允许访问的客户端 IP 或者 IP 段
|
|
1014
|
-
*/
|
|
1015
|
-
AuthClientIp?: string
|
|
1016
|
-
/**
|
|
1017
|
-
* 读写权限
|
|
1018
|
-
*/
|
|
1019
|
-
RWPermission?: string
|
|
1020
|
-
/**
|
|
1021
|
-
* 用户权限
|
|
1022
|
-
*/
|
|
1023
|
-
UserPermission?: string
|
|
1024
|
-
/**
|
|
1025
|
-
* 优先级
|
|
1026
|
-
*/
|
|
1027
|
-
Priority?: number
|
|
1028
|
-
/**
|
|
1029
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1030
|
-
*/
|
|
1031
|
-
RequestId?: string
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* DeleteMigrationTask返回参数结构体
|
|
1036
|
-
*/
|
|
1037
|
-
export interface DeleteMigrationTaskResponse {
|
|
1038
|
-
/**
|
|
1039
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1040
|
-
*/
|
|
1041
|
-
RequestId?: string
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* UpdateFileSystemBandwidthLimit返回参数结构体
|
|
1046
|
-
*/
|
|
1047
|
-
export interface UpdateFileSystemBandwidthLimitResponse {
|
|
1048
|
-
/**
|
|
1049
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1050
|
-
*/
|
|
1051
|
-
RequestId?: string
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* DescribeSnapshotOperationLogs返回参数结构体
|
|
1056
|
-
*/
|
|
1057
|
-
export interface DescribeSnapshotOperationLogsResponse {
|
|
1058
|
-
/**
|
|
1059
|
-
* 快照ID
|
|
1060
|
-
*/
|
|
1061
|
-
SnapshotId?: string
|
|
1062
|
-
/**
|
|
1063
|
-
* 操作日志
|
|
1064
|
-
*/
|
|
1065
|
-
SnapshotOperates?: Array<SnapshotOperateLog>
|
|
1066
|
-
/**
|
|
1067
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1068
|
-
*/
|
|
1069
|
-
RequestId?: string
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
/**
|
|
1073
|
-
* DeleteCfsFileSystem请求参数结构体
|
|
1074
|
-
*/
|
|
1075
|
-
export interface DeleteCfsFileSystemRequest {
|
|
1076
|
-
/**
|
|
1077
|
-
* 文件系统 ID。说明,进行删除文件系统操作前需要先调用 DeleteMountTarget 接口删除该文件系统的挂载点,否则会删除失败。
|
|
1078
|
-
*/
|
|
1079
|
-
FileSystemId: string
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* UpdateFileSystemBandwidthLimit请求参数结构体
|
|
1084
|
-
*/
|
|
1085
|
-
export interface UpdateFileSystemBandwidthLimitRequest {
|
|
1086
|
-
/**
|
|
1087
|
-
* 文件系统 ID
|
|
1088
|
-
*/
|
|
1089
|
-
FileSystemId: string
|
|
1090
|
-
/**
|
|
1091
|
-
* 文件系统带宽,仅吞吐型可填。单位MiB/s,最小为1GiB/s,最大200GiB/s。
|
|
1092
|
-
*/
|
|
1093
|
-
BandwidthLimit: number
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
/**
|
|
1097
|
-
* CreateCfsPGroup返回参数结构体
|
|
1098
|
-
*/
|
|
1099
|
-
export interface CreateCfsPGroupResponse {
|
|
1100
|
-
/**
|
|
1101
|
-
* 权限组 ID
|
|
1102
|
-
*/
|
|
1103
|
-
PGroupId: string
|
|
1104
|
-
/**
|
|
1105
|
-
* 权限组名字
|
|
1106
|
-
*/
|
|
1107
|
-
Name: string
|
|
1108
|
-
/**
|
|
1109
|
-
* 权限组描述信息
|
|
1110
|
-
*/
|
|
1111
|
-
DescInfo: string
|
|
1112
|
-
/**
|
|
1113
|
-
* 已经与该权限组绑定的文件系统个数
|
|
1114
|
-
*/
|
|
1115
|
-
BindCfsNum: number
|
|
1116
|
-
/**
|
|
1117
|
-
* 权限组创建时间
|
|
1118
|
-
*/
|
|
1119
|
-
CDate: string
|
|
1120
|
-
/**
|
|
1121
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1122
|
-
*/
|
|
1123
|
-
RequestId?: string
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* DescribeCfsServiceStatus请求参数结构体
|
|
1128
|
-
*/
|
|
1129
|
-
export type DescribeCfsServiceStatusRequest = null
|
|
1130
|
-
|
|
1131
|
-
/**
|
|
1132
|
-
* DeleteUserQuota返回参数结构体
|
|
1133
|
-
*/
|
|
1134
|
-
export interface DeleteUserQuotaResponse {
|
|
1135
|
-
/**
|
|
1136
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1137
|
-
*/
|
|
1138
|
-
RequestId?: string
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
/**
|
|
1142
|
-
* DeleteMigrationTask请求参数结构体
|
|
1143
|
-
*/
|
|
1144
|
-
export interface DeleteMigrationTaskRequest {
|
|
1145
|
-
/**
|
|
1146
|
-
* 迁移任务ID
|
|
1147
|
-
*/
|
|
1148
|
-
TaskId: string
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* 文件系统绑定权限组信息
|
|
1153
|
-
*/
|
|
1154
|
-
export interface PGroup {
|
|
1155
|
-
/**
|
|
1156
|
-
* 权限组ID
|
|
1157
|
-
*/
|
|
1158
|
-
PGroupId?: string
|
|
1159
|
-
/**
|
|
1160
|
-
* 权限组名称
|
|
1161
|
-
*/
|
|
1162
|
-
Name?: string
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* SetUserQuota请求参数结构体
|
|
1167
|
-
*/
|
|
1168
|
-
export interface SetUserQuotaRequest {
|
|
1169
|
-
/**
|
|
1170
|
-
* 文件系统 ID
|
|
1171
|
-
*/
|
|
1172
|
-
FileSystemId: string
|
|
1173
|
-
/**
|
|
1174
|
-
* 指定配额类型,包括Uid、Gid,Dir,分别代表用户配额,用户组配额,目录配额
|
|
1175
|
-
*/
|
|
1176
|
-
UserType: string
|
|
1177
|
-
/**
|
|
1178
|
-
* UID/GID信息
|
|
1179
|
-
*/
|
|
1180
|
-
UserId?: string
|
|
1181
|
-
/**
|
|
1182
|
-
* 容量硬限制,单位GiB。设置范围10-10000000。
|
|
1183
|
-
*/
|
|
1184
|
-
CapacityHardLimit?: number
|
|
1185
|
-
/**
|
|
1186
|
-
* 文件硬限制,单位个。设置范围1000-100000000
|
|
1187
|
-
*/
|
|
1188
|
-
FileHardLimit?: number
|
|
1189
|
-
/**
|
|
1190
|
-
* 需设置目录配额的目录绝对路径,不同目录不可存在包含关系
|
|
1191
|
-
*/
|
|
1192
|
-
DirectoryPath?: string
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
* CreateAutoSnapshotPolicy返回参数结构体
|
|
1197
|
-
*/
|
|
1198
|
-
export interface CreateAutoSnapshotPolicyResponse {
|
|
1199
|
-
/**
|
|
1200
|
-
* 快照策略ID
|
|
1201
|
-
*/
|
|
1202
|
-
AutoSnapshotPolicyId?: string
|
|
1203
|
-
/**
|
|
1204
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1205
|
-
*/
|
|
1206
|
-
RequestId?: string
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
* ModifyFileSystemAutoScaleUpRule返回参数结构体
|
|
1211
|
-
*/
|
|
1212
|
-
export interface ModifyFileSystemAutoScaleUpRuleResponse {
|
|
1213
|
-
/**
|
|
1214
|
-
* 文件系统id
|
|
1215
|
-
*/
|
|
1216
|
-
FileSystemId?: string
|
|
1217
|
-
/**
|
|
1218
|
-
* 规则状态0:关闭,1 开启
|
|
1219
|
-
*/
|
|
1220
|
-
Status?: number
|
|
1221
|
-
/**
|
|
1222
|
-
* 扩容阈值,范围[10-90]
|
|
1223
|
-
*/
|
|
1224
|
-
ScaleUpThreshold?: number
|
|
1225
|
-
/**
|
|
1226
|
-
* 扩容后达到阈值,范围[10-90]
|
|
1227
|
-
*/
|
|
1228
|
-
TargetThreshold?: number
|
|
1229
|
-
/**
|
|
1230
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1231
|
-
*/
|
|
1232
|
-
RequestId?: string
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
* 版本控制-类型数组
|
|
1237
|
-
*/
|
|
1238
|
-
export interface AvailableType {
|
|
1239
|
-
/**
|
|
1240
|
-
* 协议与售卖详情
|
|
1241
|
-
*/
|
|
1242
|
-
Protocols?: Array<AvailableProtoStatus>
|
|
1243
|
-
/**
|
|
1244
|
-
* 存储类型。返回值中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。
|
|
1245
|
-
*/
|
|
1246
|
-
Type?: string
|
|
1247
|
-
/**
|
|
1248
|
-
* 是否支持预付费。返回值中 true 为支持、false 为不支持
|
|
1249
|
-
*/
|
|
1250
|
-
Prepayment?: boolean
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* CreateCfsSnapshot返回参数结构体
|
|
1255
|
-
*/
|
|
1256
|
-
export interface CreateCfsSnapshotResponse {
|
|
1257
|
-
/**
|
|
1258
|
-
* 文件系统快照id
|
|
1259
|
-
*/
|
|
1260
|
-
SnapshotId?: string
|
|
1261
|
-
/**
|
|
1262
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1263
|
-
*/
|
|
1264
|
-
RequestId?: string
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
* 文件系统配额信息
|
|
1269
|
-
*/
|
|
1270
|
-
export interface UserQuota {
|
|
1271
|
-
/**
|
|
1272
|
-
* 指定配额类型,包括Uid、Gid、Dir
|
|
1273
|
-
*/
|
|
1274
|
-
UserType: string
|
|
1275
|
-
/**
|
|
1276
|
-
* UID/GID信息
|
|
1277
|
-
*/
|
|
1278
|
-
UserId: string
|
|
1279
|
-
/**
|
|
1280
|
-
* 容量硬限制,单位GiB
|
|
1281
|
-
*/
|
|
1282
|
-
CapacityHardLimit: number
|
|
1283
|
-
/**
|
|
1284
|
-
* 文件硬限制,单位个
|
|
1285
|
-
*/
|
|
1286
|
-
FileHardLimit: number
|
|
1287
|
-
/**
|
|
1288
|
-
* 文件系统ID
|
|
1289
|
-
*/
|
|
1290
|
-
FileSystemId: string
|
|
1291
|
-
/**
|
|
1292
|
-
* 容量使用,单位GiB
|
|
1293
|
-
*/
|
|
1294
|
-
CapacityUsed?: number
|
|
1295
|
-
/**
|
|
1296
|
-
* 文件使用个数,单位个
|
|
1297
|
-
*/
|
|
1298
|
-
FileUsed?: number
|
|
1299
|
-
/**
|
|
1300
|
-
* 目录配额的目录绝对路径
|
|
1301
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1302
|
-
*/
|
|
1303
|
-
DirectoryPath?: string
|
|
1304
|
-
/**
|
|
1305
|
-
* 配置规则状态,inavailable---配置中,available --已生效,deleting--删除中,deleted 已删除,failed--配置失败
|
|
1306
|
-
*/
|
|
1307
|
-
Status?: string
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
/**
|
|
1311
|
-
* DeleteMountTarget请求参数结构体
|
|
1312
|
-
*/
|
|
1313
|
-
export interface DeleteMountTargetRequest {
|
|
1314
|
-
/**
|
|
1315
|
-
* 文件系统 ID
|
|
1316
|
-
*/
|
|
1317
|
-
FileSystemId: string
|
|
1318
|
-
/**
|
|
1319
|
-
* 挂载点 ID
|
|
1320
|
-
*/
|
|
1321
|
-
MountTargetId: string
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* CreateCfsRule请求参数结构体
|
|
1326
|
-
*/
|
|
1327
|
-
export interface CreateCfsRuleRequest {
|
|
1328
|
-
/**
|
|
1329
|
-
* 权限组 ID
|
|
1330
|
-
*/
|
|
1331
|
-
PGroupId: string
|
|
1332
|
-
/**
|
|
1333
|
-
* 可以填写单个 IP 或者单个网段,例如 10.1.10.11 或者 10.10.1.0/24。默认来访地址为*表示允许所有。同时需要注意,此处需填写 CVM 的内网 IP。
|
|
1334
|
-
*/
|
|
1335
|
-
AuthClientIp: string
|
|
1336
|
-
/**
|
|
1337
|
-
* 规则优先级,参数范围1-100。 其中 1 为最高,100为最低
|
|
1338
|
-
*/
|
|
1339
|
-
Priority: number
|
|
1340
|
-
/**
|
|
1341
|
-
* 读写权限, 值为 RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读
|
|
1342
|
-
*/
|
|
1343
|
-
RWPermission?: string
|
|
1344
|
-
/**
|
|
1345
|
-
* 用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash。
|
|
1346
|
-
all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。
|
|
1347
|
-
no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。
|
|
1348
|
-
root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。
|
|
1349
|
-
no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息
|
|
1350
|
-
|
|
1351
|
-
*/
|
|
1352
|
-
UserPermission?: string
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
/**
|
|
1356
|
-
* 对象存储桶
|
|
1357
|
-
*/
|
|
1358
|
-
export interface BucketInfo {
|
|
1359
|
-
/**
|
|
1360
|
-
* 桶名称
|
|
1361
|
-
*/
|
|
1362
|
-
Name: string
|
|
1363
|
-
/**
|
|
1364
|
-
* 桶所在地域
|
|
1365
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1366
|
-
*/
|
|
1367
|
-
Region: string
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
/**
|
|
1371
|
-
* CreateAccessCert请求参数结构体
|
|
1372
|
-
*/
|
|
1373
|
-
export interface CreateAccessCertRequest {
|
|
1374
|
-
/**
|
|
1375
|
-
* 证书描述
|
|
1376
|
-
*/
|
|
1377
|
-
CertDesc: string
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
/**
|
|
1381
|
-
* DescribeUserQuota请求参数结构体
|
|
1382
|
-
*/
|
|
1383
|
-
export interface DescribeUserQuotaRequest {
|
|
1384
|
-
/**
|
|
1385
|
-
* 文件系统 ID
|
|
1386
|
-
*/
|
|
1387
|
-
FileSystemId: string
|
|
1388
|
-
/**
|
|
1389
|
-
* 过滤条件。
|
|
1390
|
-
UserType - Array of String - 是否必填:否 -(过滤条件)按配额类型过滤。(Uid|Gid|Dir )
|
|
1391
|
-
UserId- Array of String - 是否必填:否 -(过滤条件)按id过滤。
|
|
1392
|
-
*/
|
|
1393
|
-
Filters?: Array<Filter>
|
|
1394
|
-
/**
|
|
1395
|
-
* Offset 分页码
|
|
1396
|
-
*/
|
|
1397
|
-
Offset?: number
|
|
1398
|
-
/**
|
|
1399
|
-
* Limit 页面大小,可填范围为大于0的整数
|
|
1400
|
-
*/
|
|
1401
|
-
Limit?: number
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
/**
|
|
1405
|
-
* DescribeBucketList返回参数结构体
|
|
1406
|
-
*/
|
|
1407
|
-
export interface DescribeBucketListResponse {
|
|
1408
|
-
/**
|
|
1409
|
-
* 桶的数量
|
|
1410
|
-
*/
|
|
1411
|
-
TotalCount?: number
|
|
1412
|
-
/**
|
|
1413
|
-
* 桶列表
|
|
1414
|
-
*/
|
|
1415
|
-
BucketList?: Array<BucketInfo>
|
|
1416
|
-
/**
|
|
1417
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1418
|
-
*/
|
|
1419
|
-
RequestId?: string
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
/**
|
|
1423
|
-
* UpdateCfsFileSystemName返回参数结构体
|
|
1424
|
-
*/
|
|
1425
|
-
export interface UpdateCfsFileSystemNameResponse {
|
|
1426
|
-
/**
|
|
1427
|
-
* 用户自定义文件系统名称
|
|
1428
|
-
*/
|
|
1429
|
-
CreationToken?: string
|
|
1430
|
-
/**
|
|
1431
|
-
* 文件系统ID
|
|
1432
|
-
*/
|
|
1433
|
-
FileSystemId?: string
|
|
1434
|
-
/**
|
|
1435
|
-
* 用户自定义文件系统名称
|
|
1436
|
-
*/
|
|
1437
|
-
FsName?: string
|
|
1438
|
-
/**
|
|
1439
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1440
|
-
*/
|
|
1441
|
-
RequestId?: string
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
/**
|
|
1445
|
-
* DescribeCfsSnapshotOverview返回参数结构体
|
|
1446
|
-
*/
|
|
1447
|
-
export interface DescribeCfsSnapshotOverviewResponse {
|
|
1448
|
-
/**
|
|
1449
|
-
* 统计信息
|
|
1450
|
-
*/
|
|
1451
|
-
StatisticsList?: Array<SnapshotStatistics>
|
|
1452
|
-
/**
|
|
1453
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1454
|
-
*/
|
|
1455
|
-
RequestId?: string
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
|
-
/**
|
|
1459
|
-
* 自动扩容规则
|
|
1460
|
-
*/
|
|
1461
|
-
export interface AutoScaleUpRule {
|
|
1462
|
-
/**
|
|
1463
|
-
* 自动扩容策略开启,关闭
|
|
1464
|
-
*/
|
|
1465
|
-
Status?: string
|
|
1466
|
-
/**
|
|
1467
|
-
* 集群用量占比,到达这个值后开始扩容,范围[10-90]
|
|
1468
|
-
*/
|
|
1469
|
-
ScaleThreshold?: number
|
|
1470
|
-
/**
|
|
1471
|
-
* 扩容后使用量跟集群总量比例,范围[1-90]
|
|
1472
|
-
*/
|
|
1473
|
-
TargetThreshold?: number
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
/**
|
|
1477
|
-
* DeleteCfsSnapshot请求参数结构体
|
|
1478
|
-
*/
|
|
1479
|
-
export interface DeleteCfsSnapshotRequest {
|
|
1480
|
-
/**
|
|
1481
|
-
* 文件系统快照id
|
|
1482
|
-
*/
|
|
1483
|
-
SnapshotId?: string
|
|
1484
|
-
/**
|
|
1485
|
-
* 需要删除的文件文件系统快照ID 列表,快照ID,跟ID列表至少填一项
|
|
1486
|
-
*/
|
|
1487
|
-
SnapshotIds?: Array<string>
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
/**
|
|
1491
|
-
* DescribeCfsFileSystemClients请求参数结构体
|
|
1492
|
-
*/
|
|
1493
|
-
export interface DescribeCfsFileSystemClientsRequest {
|
|
1494
|
-
/**
|
|
1495
|
-
* 文件系统 ID。
|
|
1496
|
-
*/
|
|
1497
|
-
FileSystemId: string
|
|
1498
|
-
/**
|
|
1499
|
-
* Offset 分页码
|
|
1500
|
-
*/
|
|
1501
|
-
Offset?: number
|
|
1502
|
-
/**
|
|
1503
|
-
* Limit 页面大小
|
|
1504
|
-
*/
|
|
1505
|
-
Limit?: number
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
* 版本控制-协议详情
|
|
1510
|
-
*/
|
|
1511
|
-
export interface AvailableProtoStatus {
|
|
1512
|
-
/**
|
|
1513
|
-
* 售卖状态。可选值有 sale_out 售罄、saling可售、no_saling不可销售
|
|
1514
|
-
*/
|
|
1515
|
-
SaleStatus?: string
|
|
1516
|
-
/**
|
|
1517
|
-
* 协议类型。可选值有 NFS、CIFS、TURBO
|
|
1518
|
-
*/
|
|
1519
|
-
Protocol?: string
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
/**
|
|
1523
|
-
* DescribeCfsFileSystems请求参数结构体
|
|
1524
|
-
*/
|
|
1525
|
-
export interface DescribeCfsFileSystemsRequest {
|
|
1526
|
-
/**
|
|
1527
|
-
* 文件系统 ID
|
|
1528
|
-
*/
|
|
1529
|
-
FileSystemId?: string
|
|
1530
|
-
/**
|
|
1531
|
-
* 私有网络(VPC) ID
|
|
1532
|
-
*/
|
|
1533
|
-
VpcId?: string
|
|
1534
|
-
/**
|
|
1535
|
-
* 子网 ID
|
|
1536
|
-
*/
|
|
1537
|
-
SubnetId?: string
|
|
1538
|
-
/**
|
|
1539
|
-
* Offset 分页码
|
|
1540
|
-
*/
|
|
1541
|
-
Offset?: number
|
|
1542
|
-
/**
|
|
1543
|
-
* Limit 页面大小
|
|
1544
|
-
*/
|
|
1545
|
-
Limit?: number
|
|
1546
|
-
/**
|
|
1547
|
-
* 用户自定义名称
|
|
1548
|
-
*/
|
|
1549
|
-
CreationToken?: string
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
/**
|
|
1553
|
-
* 版本控制-区域数组
|
|
1554
|
-
*/
|
|
1555
|
-
export interface AvailableRegion {
|
|
1556
|
-
/**
|
|
1557
|
-
* 区域名称,如“ap-beijing”
|
|
1558
|
-
*/
|
|
1559
|
-
Region: string
|
|
1560
|
-
/**
|
|
1561
|
-
* 区域名称,如“bj”
|
|
1562
|
-
*/
|
|
1563
|
-
RegionName: string
|
|
1564
|
-
/**
|
|
1565
|
-
* 区域可用情况,当区域内至少有一个可用区处于可售状态时,取值为AVAILABLE,否则为UNAVAILABLE
|
|
1566
|
-
*/
|
|
1567
|
-
RegionStatus: string
|
|
1568
|
-
/**
|
|
1569
|
-
* 可用区数组
|
|
1570
|
-
*/
|
|
1571
|
-
Zones: Array<AvailableZone>
|
|
1572
|
-
/**
|
|
1573
|
-
* 区域中文名称,如“广州”
|
|
1574
|
-
*/
|
|
1575
|
-
RegionCnName: string
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
/**
|
|
1579
|
-
* CreateCfsFileSystem请求参数结构体
|
|
1580
|
-
*/
|
|
1581
|
-
export interface CreateCfsFileSystemRequest {
|
|
1582
|
-
/**
|
|
1583
|
-
* 可用区名称,例如ap-beijing-1,请参考 [概览](https://cloud.tencent.com/document/product/582/13225) 文档中的地域与可用区列表
|
|
1584
|
-
*/
|
|
1585
|
-
Zone: string
|
|
1586
|
-
/**
|
|
1587
|
-
* 网络类型,可选值为 VPC,CCN;其中 VPC 为私有网络, CCN 为云联网。通用标准型/性能型请选择VPC,Turbo标准型/性能型请选择CCN。
|
|
1588
|
-
*/
|
|
1589
|
-
NetInterface: string
|
|
1590
|
-
/**
|
|
1591
|
-
* 权限组 ID
|
|
1592
|
-
*/
|
|
1593
|
-
PGroupId: string
|
|
1594
|
-
/**
|
|
1595
|
-
* 文件系统协议类型, 值为 NFS、CIFS、TURBO ; 若留空则默认为 NFS协议,turbo系列必须选择turbo,不支持NFS、CIFS
|
|
1596
|
-
*/
|
|
1597
|
-
Protocol?: string
|
|
1598
|
-
/**
|
|
1599
|
-
* 文件系统存储类型,默认值为 SD ;其中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。
|
|
1600
|
-
*/
|
|
1601
|
-
StorageType?: string
|
|
1602
|
-
/**
|
|
1603
|
-
* 私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填。
|
|
1604
|
-
*/
|
|
1605
|
-
VpcId?: string
|
|
1606
|
-
/**
|
|
1607
|
-
* 子网 ID,若网络类型选择的是VPC,该字段为必填。
|
|
1608
|
-
*/
|
|
1609
|
-
SubnetId?: string
|
|
1610
|
-
/**
|
|
1611
|
-
* 指定IP地址,仅VPC网络支持;若不填写、将在该子网下随机分配 IP,Turbo系列当前不支持指定
|
|
1612
|
-
*/
|
|
1613
|
-
MountIP?: string
|
|
1614
|
-
/**
|
|
1615
|
-
* 用户自定义文件系统名称
|
|
1616
|
-
*/
|
|
1617
|
-
FsName?: string
|
|
1618
|
-
/**
|
|
1619
|
-
* 文件系统标签
|
|
1620
|
-
*/
|
|
1621
|
-
ResourceTags?: Array<TagInfo>
|
|
1622
|
-
/**
|
|
1623
|
-
* 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。用于保证请求幂等性的字符串失效时间为2小时。
|
|
1624
|
-
*/
|
|
1625
|
-
ClientToken?: string
|
|
1626
|
-
/**
|
|
1627
|
-
* 云联网ID, 若网络类型选择的是CCN,该字段为必填
|
|
1628
|
-
*/
|
|
1629
|
-
CcnId?: string
|
|
1630
|
-
/**
|
|
1631
|
-
* 云联网中CFS使用的网段, 若网络类型选择的是Ccn,该字段为必填,且不能和Ccn中已经绑定的网段冲突
|
|
1632
|
-
*/
|
|
1633
|
-
CidrBlock?: string
|
|
1634
|
-
/**
|
|
1635
|
-
* 文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长20TiB,即20480 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
|
|
1636
|
-
*/
|
|
1637
|
-
Capacity?: number
|
|
1638
|
-
/**
|
|
1639
|
-
* 文件系统快照ID
|
|
1640
|
-
*/
|
|
1641
|
-
SnapshotId?: string
|
|
1642
|
-
/**
|
|
1643
|
-
* 定期快照策略ID
|
|
1644
|
-
*/
|
|
1645
|
-
AutoSnapshotPolicyId?: string
|
|
1646
|
-
/**
|
|
1647
|
-
* 是否开启默认扩容,仅Turbo类型文件存储支持
|
|
1648
|
-
*/
|
|
1649
|
-
EnableAutoScaleUp?: boolean
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
/**
|
|
1653
|
-
* 版本控制-可用区数组
|
|
1654
|
-
*/
|
|
1655
|
-
export interface AvailableZone {
|
|
1656
|
-
/**
|
|
1657
|
-
* 可用区名称
|
|
1658
|
-
*/
|
|
1659
|
-
Zone?: string
|
|
1660
|
-
/**
|
|
1661
|
-
* 可用区ID
|
|
1662
|
-
*/
|
|
1663
|
-
ZoneId?: number
|
|
1664
|
-
/**
|
|
1665
|
-
* 可用区中文名称
|
|
1666
|
-
*/
|
|
1667
|
-
ZoneCnName?: string
|
|
1668
|
-
/**
|
|
1669
|
-
* Type数组
|
|
1670
|
-
*/
|
|
1671
|
-
Types?: Array<AvailableType>
|
|
1672
|
-
/**
|
|
1673
|
-
* 可用区中英文名称
|
|
1674
|
-
*/
|
|
1675
|
-
ZoneName?: string
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
/**
|
|
1679
|
-
* DescribeMigrationTasks请求参数结构体
|
|
1680
|
-
*/
|
|
1681
|
-
export interface DescribeMigrationTasksRequest {
|
|
1682
|
-
/**
|
|
1683
|
-
* 分页的偏移量,默认值为0。
|
|
1684
|
-
*/
|
|
1685
|
-
Offset?: number
|
|
1686
|
-
/**
|
|
1687
|
-
* 分页单页限制数目,默认值为20,最大值100。
|
|
1688
|
-
*/
|
|
1689
|
-
Limit?: number
|
|
1690
|
-
/**
|
|
1691
|
-
* <br><li> taskId
|
|
1692
|
-
|
|
1693
|
-
按照【迁移任务id】进行过滤。
|
|
1694
|
-
类型:String
|
|
1695
|
-
|
|
1696
|
-
必选:否
|
|
1697
|
-
|
|
1698
|
-
<br><li> taskName
|
|
1699
|
-
|
|
1700
|
-
按照【迁移任务名字】进行模糊搜索过滤。
|
|
1701
|
-
类型:String
|
|
1702
|
-
|
|
1703
|
-
必选:否
|
|
1704
|
-
|
|
1705
|
-
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
1706
|
-
*/
|
|
1707
|
-
Filters?: Array<Filter>
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
/**
|
|
1711
|
-
* 条件过滤
|
|
1712
|
-
*/
|
|
1713
|
-
export interface Filter {
|
|
1714
|
-
/**
|
|
1715
|
-
* 值
|
|
1716
|
-
*/
|
|
1717
|
-
Values: Array<string>
|
|
1718
|
-
/**
|
|
1719
|
-
* 名称
|
|
1720
|
-
*/
|
|
1721
|
-
Name: string
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
/**
|
|
1725
|
-
* UnbindAutoSnapshotPolicy请求参数结构体
|
|
1726
|
-
*/
|
|
1727
|
-
export interface UnbindAutoSnapshotPolicyRequest {
|
|
1728
|
-
/**
|
|
1729
|
-
* 需要解绑的文件系统ID列表,用"," 分割
|
|
1730
|
-
*/
|
|
1731
|
-
FileSystemIds: string
|
|
1732
|
-
/**
|
|
1733
|
-
* 解绑的快照ID
|
|
1734
|
-
*/
|
|
1735
|
-
AutoSnapshotPolicyId: string
|
|
1736
|
-
}
|
|
1737
|
-
|
|
1738
|
-
/**
|
|
1739
|
-
* UnbindAutoSnapshotPolicy返回参数结构体
|
|
1740
|
-
*/
|
|
1741
|
-
export interface UnbindAutoSnapshotPolicyResponse {
|
|
1742
|
-
/**
|
|
1743
|
-
* 快照策略ID
|
|
1744
|
-
*/
|
|
1745
|
-
AutoSnapshotPolicyId: string
|
|
1746
|
-
/**
|
|
1747
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1748
|
-
*/
|
|
1749
|
-
RequestId?: string
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
/**
|
|
1753
|
-
* DescribeCfsServiceStatus返回参数结构体
|
|
1754
|
-
*/
|
|
1755
|
-
export interface DescribeCfsServiceStatusResponse {
|
|
1756
|
-
/**
|
|
1757
|
-
* 该用户当前 CFS 服务的状态,none 为未开通,creating 为开通中,created 为已开通
|
|
1758
|
-
*/
|
|
1759
|
-
CfsServiceStatus?: string
|
|
1760
|
-
/**
|
|
1761
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1762
|
-
*/
|
|
1763
|
-
RequestId?: string
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
|
-
/**
|
|
1767
|
-
* 权限组规则列表
|
|
1768
|
-
*/
|
|
1769
|
-
export interface PGroupRuleInfo {
|
|
1770
|
-
/**
|
|
1771
|
-
* 规则ID
|
|
1772
|
-
*/
|
|
1773
|
-
RuleId?: string
|
|
1774
|
-
/**
|
|
1775
|
-
* 允许访问的客户端IP
|
|
1776
|
-
*/
|
|
1777
|
-
AuthClientIp?: string
|
|
1778
|
-
/**
|
|
1779
|
-
* 读写权限, ro为只读,rw为读写
|
|
1780
|
-
*/
|
|
1781
|
-
RWPermission?: string
|
|
1782
|
-
/**
|
|
1783
|
-
* all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。
|
|
1784
|
-
no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。
|
|
1785
|
-
root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。
|
|
1786
|
-
no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息
|
|
1787
|
-
|
|
1788
|
-
*/
|
|
1789
|
-
UserPermission?: string
|
|
1790
|
-
/**
|
|
1791
|
-
* 规则优先级,1-100。 其中 1 为最高,100为最低
|
|
1792
|
-
*/
|
|
1793
|
-
Priority?: number
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
* DescribeCfsSnapshots请求参数结构体
|
|
1798
|
-
*/
|
|
1799
|
-
export interface DescribeCfsSnapshotsRequest {
|
|
1800
|
-
/**
|
|
1801
|
-
* 文件系统ID
|
|
1802
|
-
*/
|
|
1803
|
-
FileSystemId?: string
|
|
1804
|
-
/**
|
|
1805
|
-
* 快照ID
|
|
1806
|
-
*/
|
|
1807
|
-
SnapshotId?: string
|
|
1808
|
-
/**
|
|
1809
|
-
* 分页起始位置,默认为0
|
|
1810
|
-
*/
|
|
1811
|
-
Offset?: number
|
|
1812
|
-
/**
|
|
1813
|
-
* 页面长度,默认为20
|
|
1814
|
-
*/
|
|
1815
|
-
Limit?: number
|
|
1816
|
-
/**
|
|
1817
|
-
* 过滤条件。
|
|
1818
|
-
<br>SnapshotId - Array of String - 是否必填:否 -(过滤条件)按快照ID过滤。
|
|
1819
|
-
<br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。
|
|
1820
|
-
<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
|
1821
|
-
<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
|
1822
|
-
<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
|
|
1823
|
-
(creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new:表示由快照创建新文件系统中)
|
|
1824
|
-
<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
|
1825
|
-
<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
|
1826
|
-
*/
|
|
1827
|
-
Filters?: Array<Filter>
|
|
1828
|
-
/**
|
|
1829
|
-
* 排序取值
|
|
1830
|
-
*/
|
|
1831
|
-
OrderField?: string
|
|
1832
|
-
/**
|
|
1833
|
-
* 排序 升序或者降序
|
|
1834
|
-
*/
|
|
1835
|
-
Order?: string
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
/**
|
|
1839
|
-
* UpdateCfsFileSystemSizeLimit返回参数结构体
|
|
1840
|
-
*/
|
|
1841
|
-
export interface UpdateCfsFileSystemSizeLimitResponse {
|
|
1842
|
-
/**
|
|
1843
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1844
|
-
*/
|
|
1845
|
-
RequestId?: string
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
/**
|
|
1849
|
-
* UpdateAutoSnapshotPolicy请求参数结构体
|
|
1850
|
-
*/
|
|
1851
|
-
export interface UpdateAutoSnapshotPolicyRequest {
|
|
1852
|
-
/**
|
|
1853
|
-
* 快照策略ID
|
|
1854
|
-
*/
|
|
1855
|
-
AutoSnapshotPolicyId: string
|
|
1856
|
-
/**
|
|
1857
|
-
* 快照策略名称
|
|
1858
|
-
*/
|
|
1859
|
-
PolicyName?: string
|
|
1860
|
-
/**
|
|
1861
|
-
* 快照定期备份,按照星期一到星期日。 1代表星期一,7代表星期日
|
|
1862
|
-
*/
|
|
1863
|
-
DayOfWeek?: string
|
|
1864
|
-
/**
|
|
1865
|
-
* 快照定期备份在一天的哪一小时
|
|
1866
|
-
*/
|
|
1867
|
-
Hour?: string
|
|
1868
|
-
/**
|
|
1869
|
-
* 快照保留日期
|
|
1870
|
-
*/
|
|
1871
|
-
AliveDays?: number
|
|
1872
|
-
/**
|
|
1873
|
-
* 是否激活定期快照功能;1代表激活,0代表未激活
|
|
1874
|
-
*/
|
|
1875
|
-
IsActivated?: number
|
|
1876
|
-
/**
|
|
1877
|
-
* 定期快照在每月的第几天创建快照,该参数与DayOfWeek互斥
|
|
1878
|
-
*/
|
|
1879
|
-
DayOfMonth?: string
|
|
1880
|
-
/**
|
|
1881
|
-
* 间隔天数定期执行快照,该参数与DayOfWeek,DayOfMonth 互斥
|
|
1882
|
-
*/
|
|
1883
|
-
IntervalDays?: number
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
/**
|
|
1887
|
-
* UpdateCfsFileSystemSizeLimit请求参数结构体
|
|
1888
|
-
*/
|
|
1889
|
-
export interface UpdateCfsFileSystemSizeLimitRequest {
|
|
1890
|
-
/**
|
|
1891
|
-
* 文件系统容量限制大小,输入范围0-1073741824, 单位为GB;其中输入值为0时,表示不限制文件系统容量。
|
|
1892
|
-
*/
|
|
1893
|
-
FsLimit: number
|
|
1894
|
-
/**
|
|
1895
|
-
* 文件系统ID,目前仅支持标准型文件系统。
|
|
1896
|
-
*/
|
|
1897
|
-
FileSystemId: string
|
|
1898
|
-
}
|
|
1899
|
-
|
|
1900
|
-
/**
|
|
1901
|
-
* DescribeCfsRules返回参数结构体
|
|
1902
|
-
*/
|
|
1903
|
-
export interface DescribeCfsRulesResponse {
|
|
1904
|
-
/**
|
|
1905
|
-
* 权限组规则列表
|
|
1906
|
-
*/
|
|
1907
|
-
RuleList: Array<PGroupRuleInfo>
|
|
1908
|
-
/**
|
|
1909
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1910
|
-
*/
|
|
1911
|
-
RequestId?: string
|
|
1912
|
-
}
|
|
1913
|
-
|
|
1914
|
-
/**
|
|
1915
|
-
* UpdateCfsFileSystemPGroup返回参数结构体
|
|
1916
|
-
*/
|
|
1917
|
-
export interface UpdateCfsFileSystemPGroupResponse {
|
|
1918
|
-
/**
|
|
1919
|
-
* 权限组 ID
|
|
1920
|
-
*/
|
|
1921
|
-
PGroupId: string
|
|
1922
|
-
/**
|
|
1923
|
-
* 文件系统 ID
|
|
1924
|
-
*/
|
|
1925
|
-
FileSystemId: string
|
|
1926
|
-
/**
|
|
1927
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1928
|
-
*/
|
|
1929
|
-
RequestId?: string
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
/**
|
|
1933
|
-
* UpdateAutoSnapshotPolicy返回参数结构体
|
|
1934
|
-
*/
|
|
1935
|
-
export interface UpdateAutoSnapshotPolicyResponse {
|
|
1936
|
-
/**
|
|
1937
|
-
* 快照策略ID
|
|
1938
|
-
*/
|
|
1939
|
-
AutoSnapshotPolicyId?: string
|
|
1940
|
-
/**
|
|
1941
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1942
|
-
*/
|
|
1943
|
-
RequestId?: string
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
|
-
/**
|
|
1947
|
-
* 绑定快照策略的文件系统信息
|
|
1948
|
-
*/
|
|
1949
|
-
export interface FileSystemByPolicy {
|
|
1950
|
-
/**
|
|
1951
|
-
* 文件系统名称
|
|
1952
|
-
*/
|
|
1953
|
-
CreationToken?: string
|
|
1954
|
-
/**
|
|
1955
|
-
* 文件系统ID
|
|
1956
|
-
*/
|
|
1957
|
-
FileSystemId?: string
|
|
1958
|
-
/**
|
|
1959
|
-
* 文件系统大小,单位Byte
|
|
1960
|
-
*/
|
|
1961
|
-
SizeByte?: number
|
|
1962
|
-
/**
|
|
1963
|
-
* 存储类型,HP:通用性能型;SD:通用标准型;TP:turbo性能型;TB:turbo标准型;THP:吞吐型
|
|
1964
|
-
*/
|
|
1965
|
-
StorageType?: string
|
|
1966
|
-
/**
|
|
1967
|
-
* 快照总大小,单位GiB
|
|
1968
|
-
*/
|
|
1969
|
-
TotalSnapshotSize?: number
|
|
1970
|
-
/**
|
|
1971
|
-
* 文件系统创建时间
|
|
1972
|
-
*/
|
|
1973
|
-
CreationTime?: string
|
|
1974
|
-
/**
|
|
1975
|
-
* 文件系统所在区ID
|
|
1976
|
-
*/
|
|
1977
|
-
ZoneId?: number
|
|
1978
|
-
}
|
|
1979
|
-
|
|
1980
|
-
/**
|
|
1981
|
-
* 快照信息
|
|
1982
|
-
*/
|
|
1983
|
-
export interface SnapshotInfo {
|
|
1984
|
-
/**
|
|
1985
|
-
* 创建快照时间
|
|
1986
|
-
*/
|
|
1987
|
-
CreationTime?: string
|
|
1988
|
-
/**
|
|
1989
|
-
* 快照名称
|
|
1990
|
-
*/
|
|
1991
|
-
SnapshotName?: string
|
|
1992
|
-
/**
|
|
1993
|
-
* 快照ID
|
|
1994
|
-
*/
|
|
1995
|
-
SnapshotId?: string
|
|
1996
|
-
/**
|
|
1997
|
-
* 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败
|
|
1998
|
-
*/
|
|
1999
|
-
Status?: string
|
|
2000
|
-
/**
|
|
2001
|
-
* 地域名称
|
|
2002
|
-
*/
|
|
2003
|
-
RegionName?: string
|
|
2004
|
-
/**
|
|
2005
|
-
* 文件系统ID
|
|
2006
|
-
*/
|
|
2007
|
-
FileSystemId?: string
|
|
2008
|
-
/**
|
|
2009
|
-
* 快照大小
|
|
2010
|
-
*/
|
|
2011
|
-
Size?: number
|
|
2012
|
-
/**
|
|
2013
|
-
* 保留时长天
|
|
2014
|
-
*/
|
|
2015
|
-
AliveDay?: number
|
|
2016
|
-
/**
|
|
2017
|
-
* 快照进度百分比,1表示1%
|
|
2018
|
-
*/
|
|
2019
|
-
Percent?: number
|
|
2020
|
-
/**
|
|
2021
|
-
* 账号ID
|
|
2022
|
-
*/
|
|
2023
|
-
AppId?: number
|
|
2024
|
-
/**
|
|
2025
|
-
* 快照删除时间
|
|
2026
|
-
*/
|
|
2027
|
-
DeleteTime?: string
|
|
2028
|
-
/**
|
|
2029
|
-
* 文件系统名称
|
|
2030
|
-
*/
|
|
2031
|
-
FsName?: string
|
|
2032
|
-
/**
|
|
2033
|
-
* 快照标签
|
|
2034
|
-
*/
|
|
2035
|
-
Tags?: Array<TagInfo>
|
|
2036
|
-
/**
|
|
2037
|
-
* 快照类型, general为通用系列快照,turbo为Turbo系列快照
|
|
2038
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2039
|
-
*/
|
|
2040
|
-
SnapshotType?: string
|
|
2041
|
-
/**
|
|
2042
|
-
* 实际快照时间,反应快照对应文件系统某个时刻的数据。
|
|
2043
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2044
|
-
*/
|
|
2045
|
-
SnapshotTime?: string
|
|
2046
|
-
}
|
|
2047
|
-
|
|
2048
|
-
/**
|
|
2049
|
-
* 挂载点信息
|
|
2050
|
-
*/
|
|
2051
|
-
export interface MountInfo {
|
|
2052
|
-
/**
|
|
2053
|
-
* 文件系统 ID
|
|
2054
|
-
*/
|
|
2055
|
-
FileSystemId: string
|
|
2056
|
-
/**
|
|
2057
|
-
* 挂载点 ID
|
|
2058
|
-
*/
|
|
2059
|
-
MountTargetId: string
|
|
2060
|
-
/**
|
|
2061
|
-
* 挂载点 IP
|
|
2062
|
-
*/
|
|
2063
|
-
IpAddress: string
|
|
2064
|
-
/**
|
|
2065
|
-
* 挂载根目录
|
|
2066
|
-
*/
|
|
2067
|
-
FSID: string
|
|
2068
|
-
/**
|
|
2069
|
-
* 挂载点状态
|
|
2070
|
-
*/
|
|
2071
|
-
LifeCycleState: string
|
|
2072
|
-
/**
|
|
2073
|
-
* 网络类型
|
|
2074
|
-
*/
|
|
2075
|
-
NetworkInterface: string
|
|
2076
|
-
/**
|
|
2077
|
-
* 私有网络 ID
|
|
2078
|
-
*/
|
|
2079
|
-
VpcId: string
|
|
2080
|
-
/**
|
|
2081
|
-
* 私有网络名称
|
|
2082
|
-
*/
|
|
2083
|
-
VpcName: string
|
|
2084
|
-
/**
|
|
2085
|
-
* 子网 Id
|
|
2086
|
-
*/
|
|
2087
|
-
SubnetId: string
|
|
2088
|
-
/**
|
|
2089
|
-
* 子网名称
|
|
2090
|
-
*/
|
|
2091
|
-
SubnetName: string
|
|
2092
|
-
/**
|
|
2093
|
-
* CFS Turbo使用的云联网ID
|
|
2094
|
-
*/
|
|
2095
|
-
CcnID: string
|
|
2096
|
-
/**
|
|
2097
|
-
* 云联网中CFS Turbo使用的网段
|
|
2098
|
-
*/
|
|
2099
|
-
CidrBlock: string
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
/**
|
|
2103
|
-
* UpdateCfsFileSystemPGroup请求参数结构体
|
|
2104
|
-
*/
|
|
2105
|
-
export interface UpdateCfsFileSystemPGroupRequest {
|
|
2106
|
-
/**
|
|
2107
|
-
* 权限组 ID
|
|
2108
|
-
*/
|
|
2109
|
-
PGroupId: string
|
|
2110
|
-
/**
|
|
2111
|
-
* 文件系统 ID
|
|
2112
|
-
*/
|
|
2113
|
-
FileSystemId: string
|
|
2114
|
-
}
|
|
2115
|
-
|
|
2116
|
-
/**
|
|
2117
|
-
* CreateMigrationTask返回参数结构体
|
|
2118
|
-
*/
|
|
2119
|
-
export interface CreateMigrationTaskResponse {
|
|
2120
|
-
/**
|
|
2121
|
-
* 迁移任务Id
|
|
2122
|
-
*/
|
|
2123
|
-
TaskId?: string
|
|
2124
|
-
/**
|
|
2125
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2126
|
-
*/
|
|
2127
|
-
RequestId?: string
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
/**
|
|
2131
|
-
* DeleteAutoSnapshotPolicy返回参数结构体
|
|
2132
|
-
*/
|
|
2133
|
-
export interface DeleteAutoSnapshotPolicyResponse {
|
|
2134
|
-
/**
|
|
2135
|
-
* 快照策略ID
|
|
2136
|
-
*/
|
|
2137
|
-
AutoSnapshotPolicyId: string
|
|
2138
|
-
/**
|
|
2139
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2140
|
-
*/
|
|
2141
|
-
RequestId?: string
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2144
|
-
/**
|
|
2145
|
-
* DeleteCfsRule返回参数结构体
|
|
2146
|
-
*/
|
|
2147
|
-
export interface DeleteCfsRuleResponse {
|
|
2148
|
-
/**
|
|
2149
|
-
* 规则 ID
|
|
2150
|
-
*/
|
|
2151
|
-
RuleId: string
|
|
2152
|
-
/**
|
|
2153
|
-
* 权限组 ID
|
|
2154
|
-
*/
|
|
2155
|
-
PGroupId: string
|
|
2156
|
-
/**
|
|
2157
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2158
|
-
*/
|
|
2159
|
-
RequestId?: string
|
|
2160
|
-
}
|
|
2161
|
-
|
|
2162
|
-
/**
|
|
2163
|
-
* UpdateCfsSnapshotAttribute返回参数结构体
|
|
2164
|
-
*/
|
|
2165
|
-
export interface UpdateCfsSnapshotAttributeResponse {
|
|
2166
|
-
/**
|
|
2167
|
-
* 文件系统快照ID
|
|
2168
|
-
*/
|
|
2169
|
-
SnapshotId?: string
|
|
2170
|
-
/**
|
|
2171
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2172
|
-
*/
|
|
2173
|
-
RequestId?: string
|
|
2174
|
-
}
|
|
2175
|
-
|
|
2176
|
-
/**
|
|
2177
|
-
* UpdateCfsPGroup请求参数结构体
|
|
2178
|
-
*/
|
|
2179
|
-
export interface UpdateCfsPGroupRequest {
|
|
2180
|
-
/**
|
|
2181
|
-
* 权限组 ID
|
|
2182
|
-
*/
|
|
2183
|
-
PGroupId: string
|
|
2184
|
-
/**
|
|
2185
|
-
* 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线
|
|
2186
|
-
*/
|
|
2187
|
-
Name?: string
|
|
2188
|
-
/**
|
|
2189
|
-
* 权限组描述信息,1-255个字符。 Name和Descinfo不能同时为空
|
|
2190
|
-
*/
|
|
2191
|
-
DescInfo?: string
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
|
-
/**
|
|
2195
|
-
* CreateAccessCert返回参数结构体
|
|
2196
|
-
*/
|
|
2197
|
-
export interface CreateAccessCertResponse {
|
|
2198
|
-
/**
|
|
2199
|
-
* 凭证唯一标识
|
|
2200
|
-
*/
|
|
2201
|
-
CertId?: string
|
|
2202
|
-
/**
|
|
2203
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2204
|
-
*/
|
|
2205
|
-
RequestId?: string
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
/**
|
|
2209
|
-
* SetUserQuota返回参数结构体
|
|
2210
|
-
*/
|
|
2211
|
-
export interface SetUserQuotaResponse {
|
|
2212
|
-
/**
|
|
2213
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2214
|
-
*/
|
|
2215
|
-
RequestId?: string
|
|
2216
|
-
}
|
|
2217
|
-
|
|
2218
|
-
/**
|
|
2219
|
-
* Tag信息单元
|
|
2220
|
-
*/
|
|
2221
|
-
export interface TagInfo {
|
|
2222
|
-
/**
|
|
2223
|
-
* 标签键
|
|
2224
|
-
*/
|
|
2225
|
-
TagKey: string
|
|
2226
|
-
/**
|
|
2227
|
-
* 标签值
|
|
2228
|
-
*/
|
|
2229
|
-
TagValue: string
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
/**
|
|
2233
|
-
* DescribeCfsPGroups请求参数结构体
|
|
2234
|
-
*/
|
|
2235
|
-
export type DescribeCfsPGroupsRequest = null
|
|
2236
|
-
|
|
2237
|
-
/**
|
|
2238
|
-
* DeleteCfsPGroup返回参数结构体
|
|
2239
|
-
*/
|
|
2240
|
-
export interface DeleteCfsPGroupResponse {
|
|
2241
|
-
/**
|
|
2242
|
-
* 权限组 ID
|
|
2243
|
-
*/
|
|
2244
|
-
PGroupId: string
|
|
2245
|
-
/**
|
|
2246
|
-
* 用户 ID
|
|
2247
|
-
*/
|
|
2248
|
-
AppId: number
|
|
2249
|
-
/**
|
|
2250
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2251
|
-
*/
|
|
2252
|
-
RequestId?: string
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
|
-
/**
|
|
2256
|
-
* UpdateCfsSnapshotAttribute请求参数结构体
|
|
2257
|
-
*/
|
|
2258
|
-
export interface UpdateCfsSnapshotAttributeRequest {
|
|
2259
|
-
/**
|
|
2260
|
-
* 文件系统快照ID
|
|
2261
|
-
*/
|
|
2262
|
-
SnapshotId: string
|
|
2263
|
-
/**
|
|
2264
|
-
* 文件系统快照名称
|
|
2265
|
-
*/
|
|
2266
|
-
SnapshotName?: string
|
|
2267
|
-
/**
|
|
2268
|
-
* 文件系统快照保留天数
|
|
2269
|
-
*/
|
|
2270
|
-
AliveDays?: number
|
|
2271
|
-
}
|
|
2272
|
-
|
|
2273
|
-
/**
|
|
2274
|
-
* DescribeUserQuota返回参数结构体
|
|
2275
|
-
*/
|
|
2276
|
-
export interface DescribeUserQuotaResponse {
|
|
2277
|
-
/**
|
|
2278
|
-
* UserQuota条目总数
|
|
2279
|
-
*/
|
|
2280
|
-
TotalCount?: number
|
|
2281
|
-
/**
|
|
2282
|
-
* UserQuota条目
|
|
2283
|
-
*/
|
|
2284
|
-
UserQuotaInfo?: Array<UserQuota>
|
|
2285
|
-
/**
|
|
2286
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2287
|
-
*/
|
|
2288
|
-
RequestId?: string
|
|
2289
|
-
}
|
|
2290
|
-
|
|
2291
|
-
/**
|
|
2292
|
-
* 分层存储详细信息
|
|
2293
|
-
*/
|
|
2294
|
-
export interface TieringDetailInfo {
|
|
2295
|
-
/**
|
|
2296
|
-
* 低频存储容量
|
|
2297
|
-
*/
|
|
2298
|
-
TieringSizeInBytes?: number
|
|
2299
|
-
/**
|
|
2300
|
-
* 冷存储容量
|
|
2301
|
-
*/
|
|
2302
|
-
SecondaryTieringSizeInBytes?: number
|
|
2303
|
-
}
|
|
2304
|
-
|
|
2305
|
-
/**
|
|
2306
|
-
* 权限组数组
|
|
2307
|
-
*/
|
|
2308
|
-
export interface PGroupInfo {
|
|
2309
|
-
/**
|
|
2310
|
-
* 权限组ID
|
|
2311
|
-
*/
|
|
2312
|
-
PGroupId?: string
|
|
2313
|
-
/**
|
|
2314
|
-
* 权限组名称
|
|
2315
|
-
*/
|
|
2316
|
-
Name?: string
|
|
2317
|
-
/**
|
|
2318
|
-
* 描述信息
|
|
2319
|
-
*/
|
|
2320
|
-
DescInfo?: string
|
|
2321
|
-
/**
|
|
2322
|
-
* 创建时间
|
|
2323
|
-
*/
|
|
2324
|
-
CDate?: string
|
|
2325
|
-
/**
|
|
2326
|
-
* 关联文件系统个数
|
|
2327
|
-
*/
|
|
2328
|
-
BindCfsNum?: number
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
/**
|
|
2332
|
-
* CreateCfsRule返回参数结构体
|
|
2333
|
-
*/
|
|
2334
|
-
export interface CreateCfsRuleResponse {
|
|
2335
|
-
/**
|
|
2336
|
-
* 规则 ID
|
|
2337
|
-
*/
|
|
2338
|
-
RuleId?: string
|
|
2339
|
-
/**
|
|
2340
|
-
* 权限组 ID
|
|
2341
|
-
*/
|
|
2342
|
-
PGroupId?: string
|
|
2343
|
-
/**
|
|
2344
|
-
* 客户端 IP
|
|
2345
|
-
*/
|
|
2346
|
-
AuthClientIp?: string
|
|
2347
|
-
/**
|
|
2348
|
-
* 读写权限
|
|
2349
|
-
*/
|
|
2350
|
-
RWPermission?: string
|
|
2351
|
-
/**
|
|
2352
|
-
* 用户权限
|
|
2353
|
-
*/
|
|
2354
|
-
UserPermission?: string
|
|
2355
|
-
/**
|
|
2356
|
-
* 优先级
|
|
2357
|
-
*/
|
|
2358
|
-
Priority?: number
|
|
2359
|
-
/**
|
|
2360
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2361
|
-
*/
|
|
2362
|
-
RequestId?: string
|
|
2363
|
-
}
|
|
2364
|
-
|
|
2365
|
-
/**
|
|
2366
|
-
* StopMigrationTask返回参数结构体
|
|
2367
|
-
*/
|
|
2368
|
-
export interface StopMigrationTaskResponse {
|
|
2369
|
-
/**
|
|
2370
|
-
* 迁移任务Id
|
|
2371
|
-
*/
|
|
2372
|
-
TaskId?: string
|
|
2373
|
-
/**
|
|
2374
|
-
* 迁移状态。0: 已完成;1: 进行中;2: 已终止
|
|
2375
|
-
*/
|
|
2376
|
-
Status?: number
|
|
2377
|
-
/**
|
|
2378
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2379
|
-
*/
|
|
2380
|
-
RequestId?: string
|
|
2381
|
-
}
|
|
2382
|
-
|
|
2383
|
-
/**
|
|
2384
|
-
* DescribeCfsSnapshots返回参数结构体
|
|
2385
|
-
*/
|
|
2386
|
-
export interface DescribeCfsSnapshotsResponse {
|
|
2387
|
-
/**
|
|
2388
|
-
* 总个数
|
|
2389
|
-
*/
|
|
2390
|
-
TotalCount?: number
|
|
2391
|
-
/**
|
|
2392
|
-
* 快照信息描述
|
|
2393
|
-
*/
|
|
2394
|
-
Snapshots?: Array<SnapshotInfo>
|
|
2395
|
-
/**
|
|
2396
|
-
* 快照列表快照汇总
|
|
2397
|
-
*/
|
|
2398
|
-
TotalSize?: number
|
|
2399
|
-
/**
|
|
2400
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2401
|
-
*/
|
|
2402
|
-
RequestId?: string
|
|
2403
|
-
}
|
|
2404
|
-
|
|
2405
|
-
/**
|
|
2406
|
-
* StopMigrationTask请求参数结构体
|
|
2407
|
-
*/
|
|
2408
|
-
export interface StopMigrationTaskRequest {
|
|
2409
|
-
/**
|
|
2410
|
-
* 迁移任务名称
|
|
2411
|
-
*/
|
|
2412
|
-
TaskId: string
|
|
2413
|
-
}
|
|
2414
|
-
|
|
2415
|
-
/**
|
|
2416
|
-
* DescribeAutoSnapshotPolicies返回参数结构体
|
|
2417
|
-
*/
|
|
2418
|
-
export interface DescribeAutoSnapshotPoliciesResponse {
|
|
2419
|
-
/**
|
|
2420
|
-
* 快照策略总个数
|
|
2421
|
-
*/
|
|
2422
|
-
TotalCount?: number
|
|
2423
|
-
/**
|
|
2424
|
-
* 快照策略信息
|
|
2425
|
-
*/
|
|
2426
|
-
AutoSnapshotPolicies?: Array<AutoSnapshotPolicyInfo>
|
|
2427
|
-
/**
|
|
2428
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2429
|
-
*/
|
|
2430
|
-
RequestId?: string
|
|
2431
|
-
}
|
|
2432
|
-
|
|
2433
|
-
/**
|
|
2434
|
-
* DescribeCfsSnapshotOverview请求参数结构体
|
|
2435
|
-
*/
|
|
2436
|
-
export type DescribeCfsSnapshotOverviewRequest = null
|
|
2437
|
-
|
|
2438
|
-
/**
|
|
2439
|
-
* CreateAutoSnapshotPolicy请求参数结构体
|
|
2440
|
-
*/
|
|
2441
|
-
export interface CreateAutoSnapshotPolicyRequest {
|
|
2442
|
-
/**
|
|
2443
|
-
* 快照重复时间点,0-23
|
|
2444
|
-
*/
|
|
2445
|
-
Hour: string
|
|
2446
|
-
/**
|
|
2447
|
-
* 策略名称
|
|
2448
|
-
*/
|
|
2449
|
-
PolicyName?: string
|
|
2450
|
-
/**
|
|
2451
|
-
* 快照重复日期,星期一到星期日。 1代表星期一、7代表星期天
|
|
2452
|
-
*/
|
|
2453
|
-
DayOfWeek?: string
|
|
2454
|
-
/**
|
|
2455
|
-
* 快照保留时长,单位天
|
|
2456
|
-
*/
|
|
2457
|
-
AliveDays?: number
|
|
2458
|
-
/**
|
|
2459
|
-
* 快照按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照。
|
|
2460
|
-
*/
|
|
2461
|
-
DayOfMonth?: string
|
|
2462
|
-
/**
|
|
2463
|
-
* 间隔天数
|
|
2464
|
-
*/
|
|
2465
|
-
IntervalDays?: number
|
|
2466
|
-
}
|