tencentcloud-sdk-nodejs-cfs 4.1.40 → 4.1.42
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/package.json
CHANGED
|
@@ -79,7 +79,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
79
79
|
*/
|
|
80
80
|
DeleteMigrationTask(req: DeleteMigrationTaskRequest, cb?: (error: string, rep: DeleteMigrationTaskResponse) => void): Promise<DeleteMigrationTaskResponse>;
|
|
81
81
|
/**
|
|
82
|
-
* 该接口用于对turbo
|
|
82
|
+
* 该接口用于对turbo 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
|
|
83
83
|
*/
|
|
84
84
|
ScaleUpFileSystem(req: ScaleUpFileSystemRequest, cb?: (error: string, rep: ScaleUpFileSystemResponse) => void): Promise<ScaleUpFileSystemResponse>;
|
|
85
85
|
/**
|
|
@@ -111,7 +111,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
111
111
|
*/
|
|
112
112
|
DescribeUserQuota(req: DescribeUserQuotaRequest, cb?: (error: string, rep: DescribeUserQuotaResponse) => void): Promise<DescribeUserQuotaResponse>;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* 用来设置文件系统扩容策略,,该接口只支持turbo文件系统
|
|
115
115
|
*/
|
|
116
116
|
ModifyFileSystemAutoScaleUpRule(req: ModifyFileSystemAutoScaleUpRuleRequest, cb?: (error: string, rep: ModifyFileSystemAutoScaleUpRuleResponse) => void): Promise<ModifyFileSystemAutoScaleUpRuleResponse>;
|
|
117
117
|
/**
|
|
@@ -135,7 +135,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
135
135
|
return this.request("DeleteMigrationTask", req, cb);
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
|
-
* 该接口用于对turbo
|
|
138
|
+
* 该接口用于对turbo 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
|
|
139
139
|
*/
|
|
140
140
|
async ScaleUpFileSystem(req, cb) {
|
|
141
141
|
return this.request("ScaleUpFileSystem", req, cb);
|
|
@@ -183,7 +183,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
183
183
|
return this.request("DescribeUserQuota", req, cb);
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
|
-
*
|
|
186
|
+
* 用来设置文件系统扩容策略,,该接口只支持turbo文件系统
|
|
187
187
|
*/
|
|
188
188
|
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
189
189
|
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
@@ -480,7 +480,7 @@ export interface BindAutoSnapshotPolicyRequest {
|
|
|
480
480
|
*/
|
|
481
481
|
export interface ModifyFileSystemAutoScaleUpRuleRequest {
|
|
482
482
|
/**
|
|
483
|
-
* 文件系统id
|
|
483
|
+
* 文件系统id,通过查询文件系统列表获取该参数
|
|
484
484
|
*/
|
|
485
485
|
FileSystemId: string;
|
|
486
486
|
/**
|
|
@@ -492,8 +492,7 @@ export interface ModifyFileSystemAutoScaleUpRuleRequest {
|
|
|
492
492
|
*/
|
|
493
493
|
TargetThreshold: number;
|
|
494
494
|
/**
|
|
495
|
-
* 规则状态0:关闭,1
|
|
496
|
-
|
|
495
|
+
* 规则状态0:关闭,1 开启;不传保留原状态
|
|
497
496
|
*/
|
|
498
497
|
Status?: number;
|
|
499
498
|
}
|
|
@@ -502,7 +501,7 @@ export interface ModifyFileSystemAutoScaleUpRuleRequest {
|
|
|
502
501
|
*/
|
|
503
502
|
export interface ScaleUpFileSystemRequest {
|
|
504
503
|
/**
|
|
505
|
-
* 文件系统Id
|
|
504
|
+
* 文件系统Id,该参数通过查询文件系统列表接口获取
|
|
506
505
|
*/
|
|
507
506
|
FileSystemId: string;
|
|
508
507
|
/**
|
|
@@ -773,7 +772,7 @@ export interface SnapshotOperateLog {
|
|
|
773
772
|
*/
|
|
774
773
|
export interface DeleteAutoSnapshotPolicyRequest {
|
|
775
774
|
/**
|
|
776
|
-
* 快照策略ID
|
|
775
|
+
* 快照策略ID,查询快照策略接口获取
|
|
777
776
|
*/
|
|
778
777
|
AutoSnapshotPolicyId: string;
|
|
779
778
|
}
|
|
@@ -1023,7 +1022,7 @@ export interface DeleteCfsFileSystemRequest {
|
|
|
1023
1022
|
*/
|
|
1024
1023
|
export interface UpdateFileSystemBandwidthLimitRequest {
|
|
1025
1024
|
/**
|
|
1026
|
-
* 文件系统 ID
|
|
1025
|
+
* 文件系统 ID,通过查询文件系统列表获取
|
|
1027
1026
|
*/
|
|
1028
1027
|
FileSystemId: string;
|
|
1029
1028
|
/**
|
|
@@ -1100,7 +1099,7 @@ export interface PGroup {
|
|
|
1100
1099
|
*/
|
|
1101
1100
|
export interface SetUserQuotaRequest {
|
|
1102
1101
|
/**
|
|
1103
|
-
* 文件系统 ID
|
|
1102
|
+
* 文件系统 ID,通过查询文件系统列表获取
|
|
1104
1103
|
*/
|
|
1105
1104
|
FileSystemId: string;
|
|
1106
1105
|
/**
|
|
@@ -1305,21 +1304,21 @@ export interface CreateAccessCertRequest {
|
|
|
1305
1304
|
*/
|
|
1306
1305
|
export interface DescribeUserQuotaRequest {
|
|
1307
1306
|
/**
|
|
1308
|
-
* 文件系统 ID
|
|
1307
|
+
* 文件系统 ID,通过查询文件系统列表获取
|
|
1309
1308
|
*/
|
|
1310
1309
|
FileSystemId: string;
|
|
1311
1310
|
/**
|
|
1312
1311
|
* 过滤条件。
|
|
1313
|
-
UserType - Array of String - 是否必填:否 -(过滤条件)按配额类型过滤。(Uid|Gid|Dir )
|
|
1314
|
-
UserId- Array of String - 是否必填:否
|
|
1312
|
+
UserType - Array of String - 是否必填:否 -(过滤条件)按配额类型过滤。(Uid|Gid|Dir,分别对应用户,用户组,目录 )
|
|
1313
|
+
UserId- Array of String - 是否必填:否 -(过滤条件)按用户id过滤。
|
|
1315
1314
|
*/
|
|
1316
1315
|
Filters?: Array<Filter>;
|
|
1317
1316
|
/**
|
|
1318
|
-
* Offset
|
|
1317
|
+
* Offset 分页码,默认值0
|
|
1319
1318
|
*/
|
|
1320
1319
|
Offset?: number;
|
|
1321
1320
|
/**
|
|
1322
|
-
* Limit 页面大小,可填范围为大于0
|
|
1321
|
+
* Limit 页面大小,可填范围为大于0的整数,默认值是10
|
|
1323
1322
|
*/
|
|
1324
1323
|
Limit?: number;
|
|
1325
1324
|
}
|
|
@@ -1501,11 +1500,11 @@ export interface CreateCfsFileSystemRequest {
|
|
|
1501
1500
|
*/
|
|
1502
1501
|
NetInterface: string;
|
|
1503
1502
|
/**
|
|
1504
|
-
* 权限组 ID
|
|
1503
|
+
* 权限组 ID,pgroupbasic 是默认权限组
|
|
1505
1504
|
*/
|
|
1506
1505
|
PGroupId: string;
|
|
1507
1506
|
/**
|
|
1508
|
-
* 文件系统协议类型, 值为 NFS、CIFS、TURBO ; 若留空则默认为 NFS协议,turbo系列必须选择
|
|
1507
|
+
* 文件系统协议类型, 值为 NFS、CIFS、TURBO ; 若留空则默认为 NFS协议,turbo系列必须选择TURBO,不支持NFS、CIFS
|
|
1509
1508
|
*/
|
|
1510
1509
|
Protocol?: string;
|
|
1511
1510
|
/**
|
|
@@ -1513,11 +1512,11 @@ export interface CreateCfsFileSystemRequest {
|
|
|
1513
1512
|
*/
|
|
1514
1513
|
StorageType?: string;
|
|
1515
1514
|
/**
|
|
1516
|
-
* 私有网络(VPC) ID,若网络类型选择的是VPC
|
|
1515
|
+
* 私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填.通过查询私有网络接口获取
|
|
1517
1516
|
*/
|
|
1518
1517
|
VpcId?: string;
|
|
1519
1518
|
/**
|
|
1520
|
-
* 子网 ID,若网络类型选择的是VPC
|
|
1519
|
+
* 子网 ID,若网络类型选择的是VPC,该字段为必填。通过查询子网接口获取
|
|
1521
1520
|
*/
|
|
1522
1521
|
SubnetId?: string;
|
|
1523
1522
|
/**
|
|
@@ -1537,7 +1536,7 @@ export interface CreateCfsFileSystemRequest {
|
|
|
1537
1536
|
*/
|
|
1538
1537
|
ClientToken?: string;
|
|
1539
1538
|
/**
|
|
1540
|
-
* 云联网ID, 若网络类型选择的是CCN
|
|
1539
|
+
* 云联网ID, 若网络类型选择的是CCN,该字段为必填;通过查询云联网列表接口获取
|
|
1541
1540
|
*/
|
|
1542
1541
|
CcnId?: string;
|
|
1543
1542
|
/**
|
|
@@ -1549,15 +1548,15 @@ export interface CreateCfsFileSystemRequest {
|
|
|
1549
1548
|
*/
|
|
1550
1549
|
Capacity?: number;
|
|
1551
1550
|
/**
|
|
1552
|
-
* 文件系统快照ID
|
|
1551
|
+
* 文件系统快照ID,通过查询快照列表获取该参数
|
|
1553
1552
|
*/
|
|
1554
1553
|
SnapshotId?: string;
|
|
1555
1554
|
/**
|
|
1556
|
-
* 定期快照策略ID
|
|
1555
|
+
* 定期快照策略ID,通过查询快照策略信息获取
|
|
1557
1556
|
*/
|
|
1558
1557
|
AutoSnapshotPolicyId?: string;
|
|
1559
1558
|
/**
|
|
1560
|
-
* 是否开启默认扩容,仅
|
|
1559
|
+
* 是否开启默认扩容,仅turbo类型文件存储支持
|
|
1561
1560
|
*/
|
|
1562
1561
|
EnableAutoScaleUp?: boolean;
|
|
1563
1562
|
/**
|
|
@@ -1731,13 +1730,13 @@ export interface DescribeCfsSnapshotsRequest {
|
|
|
1731
1730
|
<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
|
1732
1731
|
<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
|
1733
1732
|
<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
|
|
1734
|
-
(creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new
|
|
1733
|
+
(creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new:表示由快照创建新文件系统中| create-failed 创建失败)
|
|
1735
1734
|
<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
|
1736
1735
|
<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
|
1737
1736
|
*/
|
|
1738
1737
|
Filters?: Array<Filter>;
|
|
1739
1738
|
/**
|
|
1740
|
-
*
|
|
1739
|
+
* 按创建时间排序取值CreationTime
|
|
1741
1740
|
*/
|
|
1742
1741
|
OrderField?: string;
|
|
1743
1742
|
/**
|
|
@@ -1800,7 +1799,7 @@ export interface UpdateCfsFileSystemSizeLimitRequest {
|
|
|
1800
1799
|
*/
|
|
1801
1800
|
FsLimit: number;
|
|
1802
1801
|
/**
|
|
1803
|
-
* 文件系统ID
|
|
1802
|
+
* 文件系统ID,目前仅支持标准型文件系统。该参数通过查询文件系统列表获取
|
|
1804
1803
|
*/
|
|
1805
1804
|
FileSystemId: string;
|
|
1806
1805
|
}
|
|
@@ -1917,7 +1916,7 @@ export interface SnapshotInfo {
|
|
|
1917
1916
|
*/
|
|
1918
1917
|
AliveDay?: number;
|
|
1919
1918
|
/**
|
|
1920
|
-
* 快照进度百分比,1表示1%
|
|
1919
|
+
* 快照进度百分比,1表示1% 范围1-100
|
|
1921
1920
|
*/
|
|
1922
1921
|
Percent?: number;
|
|
1923
1922
|
/**
|
|
@@ -2035,7 +2034,7 @@ export interface DeleteAutoSnapshotPolicyResponse {
|
|
|
2035
2034
|
/**
|
|
2036
2035
|
* 快照策略ID
|
|
2037
2036
|
*/
|
|
2038
|
-
AutoSnapshotPolicyId
|
|
2037
|
+
AutoSnapshotPolicyId?: string;
|
|
2039
2038
|
/**
|
|
2040
2039
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2041
2040
|
*/
|