tencentcloud-sdk-nodejs-cfs 4.1.47 → 4.1.50
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
|
@@ -56,7 +56,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
56
56
|
*/
|
|
57
57
|
DescribeCfsServiceStatus(req?: DescribeCfsServiceStatusRequest, cb?: (error: string, rep: DescribeCfsServiceStatusResponse) => void): Promise<DescribeCfsServiceStatusResponse>;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* 用于终止迁移任务,非运行中状态不支持终止。
|
|
60
60
|
此接口需提交工单,开启白名单之后才能使用。
|
|
61
61
|
*/
|
|
62
62
|
StopMigrationTask(req: StopMigrationTaskRequest, cb?: (error: string, rep: StopMigrationTaskResponse) => void): Promise<StopMigrationTaskResponse>;
|
|
@@ -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
|
/**
|
|
@@ -102,7 +102,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
102
102
|
return this.request("DescribeCfsServiceStatus", req, cb);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 用于终止迁移任务,非运行中状态不支持终止。
|
|
106
106
|
此接口需提交工单,开启白名单之后才能使用。
|
|
107
107
|
*/
|
|
108
108
|
async StopMigrationTask(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);
|
|
@@ -136,15 +136,15 @@ export interface DescribeMountTargetsResponse {
|
|
|
136
136
|
*/
|
|
137
137
|
export interface DescribeSnapshotOperationLogsRequest {
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* 快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
|
|
140
140
|
*/
|
|
141
141
|
SnapshotId: string;
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* 起始时间,格式“YYYY-MM-DD hh:mm:ss”
|
|
144
144
|
*/
|
|
145
145
|
StartTime: string;
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* 结束时间,格式“YYYY-MM-DD hh:mm:ss”
|
|
148
148
|
*/
|
|
149
149
|
EndTime: string;
|
|
150
150
|
}
|
|
@@ -274,7 +274,7 @@ export interface FileSystemClient {
|
|
|
274
274
|
*/
|
|
275
275
|
VpcId?: string;
|
|
276
276
|
/**
|
|
277
|
-
* 可用区名称,例如ap-beijing-1
|
|
277
|
+
* 可用区名称,例如ap-beijing-1,参考[简介](https://cloud.tencent.com/document/api/582/38144)文档中的地域与可用区列表
|
|
278
278
|
*/
|
|
279
279
|
Zone?: string;
|
|
280
280
|
/**
|
|
@@ -480,7 +480,7 @@ export interface BindAutoSnapshotPolicyRequest {
|
|
|
480
480
|
*/
|
|
481
481
|
export interface ModifyFileSystemAutoScaleUpRuleRequest {
|
|
482
482
|
/**
|
|
483
|
-
* 文件系统
|
|
483
|
+
* 文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
|
|
484
484
|
*/
|
|
485
485
|
FileSystemId: string;
|
|
486
486
|
/**
|
|
@@ -527,7 +527,7 @@ export interface CreateCfsPGroupRequest {
|
|
|
527
527
|
*/
|
|
528
528
|
export interface DescribeMigrationTasksResponse {
|
|
529
529
|
/**
|
|
530
|
-
*
|
|
530
|
+
* 迁移任务的总数量
|
|
531
531
|
*/
|
|
532
532
|
TotalCount?: number;
|
|
533
533
|
/**
|
|
@@ -577,7 +577,7 @@ export declare type DescribeAvailableZoneInfoRequest = null;
|
|
|
577
577
|
*/
|
|
578
578
|
export interface DescribeMountTargetsRequest {
|
|
579
579
|
/**
|
|
580
|
-
* 文件系统 ID
|
|
580
|
+
* 文件系统 ID,[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)可以获得id
|
|
581
581
|
*/
|
|
582
582
|
FileSystemId: string;
|
|
583
583
|
}
|
|
@@ -687,7 +687,7 @@ export interface AutoSnapshotPolicyInfo {
|
|
|
687
687
|
*/
|
|
688
688
|
export interface DescribeCfsRulesRequest {
|
|
689
689
|
/**
|
|
690
|
-
* 权限组 ID
|
|
690
|
+
* 权限组 ID,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
|
|
691
691
|
*/
|
|
692
692
|
PGroupId: string;
|
|
693
693
|
}
|
|
@@ -696,11 +696,11 @@ export interface DescribeCfsRulesRequest {
|
|
|
696
696
|
*/
|
|
697
697
|
export interface UpdateCfsFileSystemNameRequest {
|
|
698
698
|
/**
|
|
699
|
-
* 文件系统 ID
|
|
699
|
+
* 文件系统 ID,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
|
|
700
700
|
*/
|
|
701
701
|
FileSystemId: string;
|
|
702
702
|
/**
|
|
703
|
-
*
|
|
703
|
+
* 用户自定义文件系统名称,64字节内的中文字母数字或者 _,-,与CreationToken 至少填一个
|
|
704
704
|
*/
|
|
705
705
|
FsName?: string;
|
|
706
706
|
}
|
|
@@ -709,7 +709,7 @@ export interface UpdateCfsFileSystemNameRequest {
|
|
|
709
709
|
*/
|
|
710
710
|
export interface DeleteCfsPGroupRequest {
|
|
711
711
|
/**
|
|
712
|
-
* 权限组 ID
|
|
712
|
+
* 权限组 ID,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
|
|
713
713
|
*/
|
|
714
714
|
PGroupId: string;
|
|
715
715
|
}
|
|
@@ -772,7 +772,7 @@ export interface SnapshotOperateLog {
|
|
|
772
772
|
*/
|
|
773
773
|
export interface DeleteAutoSnapshotPolicyRequest {
|
|
774
774
|
/**
|
|
775
|
-
* 快照策略ID
|
|
775
|
+
* 快照策略ID,查询快照策略接口获取,[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208)
|
|
776
776
|
*/
|
|
777
777
|
AutoSnapshotPolicyId: string;
|
|
778
778
|
}
|
|
@@ -790,11 +790,11 @@ export interface DeleteCfsFileSystemResponse {
|
|
|
790
790
|
*/
|
|
791
791
|
export interface UpdateCfsRuleRequest {
|
|
792
792
|
/**
|
|
793
|
-
* 权限组 ID
|
|
793
|
+
* 权限组 ID,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
|
|
794
794
|
*/
|
|
795
795
|
PGroupId: string;
|
|
796
796
|
/**
|
|
797
|
-
* 规则 ID
|
|
797
|
+
* 规则 ID,可通过[DescribeCfsRules](https://cloud.tencent.com/document/api/582/38156)接口获取
|
|
798
798
|
*/
|
|
799
799
|
RuleId: string;
|
|
800
800
|
/**
|
|
@@ -824,7 +824,7 @@ export interface UpdateCfsRuleRequest {
|
|
|
824
824
|
*/
|
|
825
825
|
export interface DeleteUserQuotaRequest {
|
|
826
826
|
/**
|
|
827
|
-
* 文件系统
|
|
827
|
+
* 文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
|
|
828
828
|
*/
|
|
829
829
|
FileSystemId: string;
|
|
830
830
|
/**
|
|
@@ -897,11 +897,11 @@ export interface DeleteMountTargetResponse {
|
|
|
897
897
|
*/
|
|
898
898
|
export interface CreateCfsSnapshotRequest {
|
|
899
899
|
/**
|
|
900
|
-
* 文件系统
|
|
900
|
+
* 文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
|
|
901
901
|
*/
|
|
902
902
|
FileSystemId: string;
|
|
903
903
|
/**
|
|
904
|
-
*
|
|
904
|
+
* 快照名称,支持不超过64字符长度,支持中文、数字、_、-
|
|
905
905
|
*/
|
|
906
906
|
SnapshotName?: string;
|
|
907
907
|
/**
|
|
@@ -932,11 +932,11 @@ export interface DescribeBucketListRequest {
|
|
|
932
932
|
*/
|
|
933
933
|
export interface DeleteCfsRuleRequest {
|
|
934
934
|
/**
|
|
935
|
-
* 权限组 ID
|
|
935
|
+
* 权限组 ID,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
|
|
936
936
|
*/
|
|
937
937
|
PGroupId: string;
|
|
938
938
|
/**
|
|
939
|
-
* 规则 ID
|
|
939
|
+
* 规则 ID,可通过[DescribeCfsRules](https://cloud.tencent.com/document/api/582/38156)接口获取
|
|
940
940
|
*/
|
|
941
941
|
RuleId: string;
|
|
942
942
|
}
|
|
@@ -1013,7 +1013,7 @@ export interface DescribeSnapshotOperationLogsResponse {
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
export interface DeleteCfsFileSystemRequest {
|
|
1015
1015
|
/**
|
|
1016
|
-
* 文件系统 ID
|
|
1016
|
+
* 文件系统 ID,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取。说明,进行删除文件系统操作前需要先调用 DeleteMountTarget 接口删除该文件系统的挂载点,否则会删除失败。
|
|
1017
1017
|
*/
|
|
1018
1018
|
FileSystemId: string;
|
|
1019
1019
|
}
|
|
@@ -1022,7 +1022,7 @@ export interface DeleteCfsFileSystemRequest {
|
|
|
1022
1022
|
*/
|
|
1023
1023
|
export interface UpdateFileSystemBandwidthLimitRequest {
|
|
1024
1024
|
/**
|
|
1025
|
-
* 文件系统 ID
|
|
1025
|
+
* 文件系统 ID,可通过[DescribeCfsFileSystems](https://cloud.tencent.com/document/api/582/38170)接口获取
|
|
1026
1026
|
*/
|
|
1027
1027
|
FileSystemId: string;
|
|
1028
1028
|
/**
|
|
@@ -1099,7 +1099,7 @@ export interface PGroup {
|
|
|
1099
1099
|
*/
|
|
1100
1100
|
export interface SetUserQuotaRequest {
|
|
1101
1101
|
/**
|
|
1102
|
-
* 文件系统 ID
|
|
1102
|
+
* 文件系统 ID,通过[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)获取
|
|
1103
1103
|
*/
|
|
1104
1104
|
FileSystemId: string;
|
|
1105
1105
|
/**
|
|
@@ -1251,7 +1251,7 @@ export interface DeleteMountTargetRequest {
|
|
|
1251
1251
|
*/
|
|
1252
1252
|
export interface CreateCfsRuleRequest {
|
|
1253
1253
|
/**
|
|
1254
|
-
* 权限组 ID
|
|
1254
|
+
* 权限组 ID,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
|
|
1255
1255
|
*/
|
|
1256
1256
|
PGroupId: string;
|
|
1257
1257
|
/**
|
|
@@ -1267,7 +1267,7 @@ export interface CreateCfsRuleRequest {
|
|
|
1267
1267
|
*/
|
|
1268
1268
|
RWPermission?: string;
|
|
1269
1269
|
/**
|
|
1270
|
-
* 用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash
|
|
1270
|
+
* 用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash。默认值为root_squash
|
|
1271
1271
|
all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。
|
|
1272
1272
|
no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。
|
|
1273
1273
|
root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。
|
|
@@ -1304,7 +1304,7 @@ export interface CreateAccessCertRequest {
|
|
|
1304
1304
|
*/
|
|
1305
1305
|
export interface DescribeUserQuotaRequest {
|
|
1306
1306
|
/**
|
|
1307
|
-
* 文件系统 ID
|
|
1307
|
+
* 文件系统 ID,通过[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)获取
|
|
1308
1308
|
*/
|
|
1309
1309
|
FileSystemId: string;
|
|
1310
1310
|
/**
|
|
@@ -1395,11 +1395,12 @@ export interface AutoScaleUpRule {
|
|
|
1395
1395
|
*/
|
|
1396
1396
|
export interface DeleteCfsSnapshotRequest {
|
|
1397
1397
|
/**
|
|
1398
|
-
*
|
|
1398
|
+
* 快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
|
|
1399
1399
|
*/
|
|
1400
1400
|
SnapshotId?: string;
|
|
1401
1401
|
/**
|
|
1402
1402
|
* 需要删除的文件系统快照ID 列表,快照ID,跟ID列表至少填一项
|
|
1403
|
+
快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
|
|
1403
1404
|
*/
|
|
1404
1405
|
SnapshotIds?: Array<string>;
|
|
1405
1406
|
}
|
|
@@ -1408,7 +1409,7 @@ export interface DeleteCfsSnapshotRequest {
|
|
|
1408
1409
|
*/
|
|
1409
1410
|
export interface DescribeCfsFileSystemClientsRequest {
|
|
1410
1411
|
/**
|
|
1411
|
-
* 文件系统 ID
|
|
1412
|
+
* 文件系统 ID,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
|
|
1412
1413
|
*/
|
|
1413
1414
|
FileSystemId: string;
|
|
1414
1415
|
/**
|
|
@@ -1610,21 +1611,7 @@ export interface DescribeMigrationTasksRequest {
|
|
|
1610
1611
|
*/
|
|
1611
1612
|
Limit?: number;
|
|
1612
1613
|
/**
|
|
1613
|
-
* <br><li> taskId
|
|
1614
|
-
|
|
1615
|
-
按照【迁移任务id】进行过滤。
|
|
1616
|
-
类型:String
|
|
1617
|
-
|
|
1618
|
-
必选:否
|
|
1619
|
-
|
|
1620
|
-
<br><li> taskName
|
|
1621
|
-
|
|
1622
|
-
按照【迁移任务名字】进行模糊搜索过滤。
|
|
1623
|
-
类型:String
|
|
1624
|
-
|
|
1625
|
-
必选:否
|
|
1626
|
-
|
|
1627
|
-
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
1614
|
+
* <br><li> taskId按照【迁移任务id】进行过滤。类型:String必选:否<br></li><br><li> taskName按照【迁移任务名字】进行模糊搜索过滤。类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。</li>
|
|
1628
1615
|
*/
|
|
1629
1616
|
Filters?: Array<Filter>;
|
|
1630
1617
|
}
|
|
@@ -1646,11 +1633,11 @@ export interface Filter {
|
|
|
1646
1633
|
*/
|
|
1647
1634
|
export interface UnbindAutoSnapshotPolicyRequest {
|
|
1648
1635
|
/**
|
|
1649
|
-
* 需要解绑的文件系统ID列表,用"," 分割,文件系统
|
|
1636
|
+
* 需要解绑的文件系统ID列表,用"," 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
|
|
1650
1637
|
*/
|
|
1651
1638
|
FileSystemIds: string;
|
|
1652
1639
|
/**
|
|
1653
|
-
*
|
|
1640
|
+
* 解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
|
|
1654
1641
|
*/
|
|
1655
1642
|
AutoSnapshotPolicyId: string;
|
|
1656
1643
|
}
|
|
@@ -1742,7 +1729,7 @@ export interface DescribeCfsSnapshotsRequest {
|
|
|
1742
1729
|
*/
|
|
1743
1730
|
Filters?: Array<Filter>;
|
|
1744
1731
|
/**
|
|
1745
|
-
* 按创建时间排序取值
|
|
1732
|
+
* 按创建时间排序取值
|
|
1746
1733
|
*/
|
|
1747
1734
|
OrderField?: string;
|
|
1748
1735
|
/**
|
|
@@ -1764,7 +1751,7 @@ export interface UpdateCfsFileSystemSizeLimitResponse {
|
|
|
1764
1751
|
*/
|
|
1765
1752
|
export interface UpdateAutoSnapshotPolicyRequest {
|
|
1766
1753
|
/**
|
|
1767
|
-
*
|
|
1754
|
+
* 解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
|
|
1768
1755
|
*/
|
|
1769
1756
|
AutoSnapshotPolicyId: string;
|
|
1770
1757
|
/**
|
|
@@ -2012,11 +1999,11 @@ export interface MountInfo {
|
|
|
2012
1999
|
*/
|
|
2013
2000
|
export interface UpdateCfsFileSystemPGroupRequest {
|
|
2014
2001
|
/**
|
|
2015
|
-
* 权限组 ID
|
|
2002
|
+
* 权限组 ID,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
|
|
2016
2003
|
*/
|
|
2017
2004
|
PGroupId: string;
|
|
2018
2005
|
/**
|
|
2019
|
-
* 文件系统 ID
|
|
2006
|
+
* 文件系统 ID,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
|
|
2020
2007
|
*/
|
|
2021
2008
|
FileSystemId: string;
|
|
2022
2009
|
}
|
|
@@ -2081,7 +2068,7 @@ export interface UpdateCfsSnapshotAttributeResponse {
|
|
|
2081
2068
|
*/
|
|
2082
2069
|
export interface UpdateCfsPGroupRequest {
|
|
2083
2070
|
/**
|
|
2084
|
-
* 权限组 ID
|
|
2071
|
+
* 权限组 ID,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
|
|
2085
2072
|
*/
|
|
2086
2073
|
PGroupId: string;
|
|
2087
2074
|
/**
|
|
@@ -2158,11 +2145,11 @@ export interface DeleteCfsPGroupResponse {
|
|
|
2158
2145
|
*/
|
|
2159
2146
|
export interface UpdateCfsSnapshotAttributeRequest {
|
|
2160
2147
|
/**
|
|
2161
|
-
*
|
|
2148
|
+
* 快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
|
|
2162
2149
|
*/
|
|
2163
2150
|
SnapshotId: string;
|
|
2164
2151
|
/**
|
|
2165
|
-
* 文件系统快照名称,与AliveDays
|
|
2152
|
+
* 文件系统快照名称,与AliveDays 必须填一个,快照名称,支持不超过64字符长度,支持中文、数字、_、-
|
|
2166
2153
|
*/
|
|
2167
2154
|
SnapshotName?: string;
|
|
2168
2155
|
/**
|