tencentcloud-sdk-nodejs-cfs 4.1.50 → 4.1.51
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,9 +56,8 @@ 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
|
-
|
|
60
|
-
|
|
61
|
-
*/
|
|
59
|
+
* 用于终止迁移任务,可以终止等待中、运行中状态的任务。
|
|
60
|
+
*/
|
|
62
61
|
StopMigrationTask(req: StopMigrationTaskRequest, cb?: (error: string, rep: StopMigrationTaskResponse) => void): Promise<StopMigrationTaskResponse>;
|
|
63
62
|
/**
|
|
64
63
|
* 用于获取迁移任务列表。
|
|
@@ -74,9 +73,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
74
73
|
*/
|
|
75
74
|
UpdateCfsFileSystemName(req: UpdateCfsFileSystemNameRequest, cb?: (error: string, rep: UpdateCfsFileSystemNameResponse) => void): Promise<UpdateCfsFileSystemNameResponse>;
|
|
76
75
|
/**
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
*/
|
|
76
|
+
* 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
|
77
|
+
*/
|
|
80
78
|
DeleteMigrationTask(req: DeleteMigrationTaskRequest, cb?: (error: string, rep: DeleteMigrationTaskResponse) => void): Promise<DeleteMigrationTaskResponse>;
|
|
81
79
|
/**
|
|
82
80
|
* 该接口用于对turbo 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
|
|
@@ -139,14 +137,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
139
137
|
*/
|
|
140
138
|
DeleteCfsRule(req: DeleteCfsRuleRequest, cb?: (error: string, rep: DeleteCfsRuleResponse) => void): Promise<DeleteCfsRuleResponse>;
|
|
141
139
|
/**
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
*/
|
|
140
|
+
* 用于获取数据源桶列表。
|
|
141
|
+
*/
|
|
145
142
|
DescribeBucketList(req: DescribeBucketListRequest, cb?: (error: string, rep: DescribeBucketListResponse) => void): Promise<DescribeBucketListResponse>;
|
|
146
143
|
/**
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
*/
|
|
144
|
+
* 用于创建迁移任务。
|
|
145
|
+
*/
|
|
150
146
|
CreateMigrationTask(req: CreateMigrationTaskRequest, cb?: (error: string, rep: CreateMigrationTaskResponse) => void): Promise<CreateMigrationTaskResponse>;
|
|
151
147
|
/**
|
|
152
148
|
* 本接口(DeleteMountTarget)用于删除挂载点
|
|
@@ -102,9 +102,8 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
102
102
|
return this.request("DescribeCfsServiceStatus", req, cb);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
*/
|
|
105
|
+
* 用于终止迁移任务,可以终止等待中、运行中状态的任务。
|
|
106
|
+
*/
|
|
108
107
|
async StopMigrationTask(req, cb) {
|
|
109
108
|
return this.request("StopMigrationTask", req, cb);
|
|
110
109
|
}
|
|
@@ -128,9 +127,8 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
128
127
|
return this.request("UpdateCfsFileSystemName", req, cb);
|
|
129
128
|
}
|
|
130
129
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
*/
|
|
130
|
+
* 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
|
131
|
+
*/
|
|
134
132
|
async DeleteMigrationTask(req, cb) {
|
|
135
133
|
return this.request("DeleteMigrationTask", req, cb);
|
|
136
134
|
}
|
|
@@ -225,16 +223,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
225
223
|
return this.request("DeleteCfsRule", req, cb);
|
|
226
224
|
}
|
|
227
225
|
/**
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
*/
|
|
226
|
+
* 用于获取数据源桶列表。
|
|
227
|
+
*/
|
|
231
228
|
async DescribeBucketList(req, cb) {
|
|
232
229
|
return this.request("DescribeBucketList", req, cb);
|
|
233
230
|
}
|
|
234
231
|
/**
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
*/
|
|
232
|
+
* 用于创建迁移任务。
|
|
233
|
+
*/
|
|
238
234
|
async CreateMigrationTask(req, cb) {
|
|
239
235
|
return this.request("CreateMigrationTask", req, cb);
|
|
240
236
|
}
|
|
@@ -209,7 +209,7 @@ export interface MigrationTaskInfo {
|
|
|
209
209
|
*/
|
|
210
210
|
EndTime?: number;
|
|
211
211
|
/**
|
|
212
|
-
* 迁移状态。0: 已完成;1:
|
|
212
|
+
* 迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
|
213
213
|
*/
|
|
214
214
|
Status?: number;
|
|
215
215
|
/**
|
|
@@ -919,7 +919,6 @@ export interface DescribeBucketListRequest {
|
|
|
919
919
|
SrcService: string;
|
|
920
920
|
/**
|
|
921
921
|
* 数据源账号的SecretId
|
|
922
|
-
|
|
923
922
|
*/
|
|
924
923
|
SrcSecretId: string;
|
|
925
924
|
/**
|
|
@@ -1283,12 +1282,12 @@ export interface BucketInfo {
|
|
|
1283
1282
|
/**
|
|
1284
1283
|
* 桶名称
|
|
1285
1284
|
*/
|
|
1286
|
-
Name
|
|
1285
|
+
Name?: string;
|
|
1287
1286
|
/**
|
|
1288
1287
|
* 桶所在地域
|
|
1289
1288
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1290
1289
|
*/
|
|
1291
|
-
Region
|
|
1290
|
+
Region?: string;
|
|
1292
1291
|
}
|
|
1293
1292
|
/**
|
|
1294
1293
|
* CreateAccessCert请求参数结构体
|
|
@@ -2254,7 +2253,7 @@ export interface StopMigrationTaskResponse {
|
|
|
2254
2253
|
*/
|
|
2255
2254
|
TaskId?: string;
|
|
2256
2255
|
/**
|
|
2257
|
-
* 迁移状态。0: 已完成;1:
|
|
2256
|
+
* 迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
|
2258
2257
|
*/
|
|
2259
2258
|
Status?: number;
|
|
2260
2259
|
/**
|