tencentcloud-sdk-nodejs-cfs 4.1.104 → 4.1.138
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 +6 -4
- package/es/services/cfs/v20190719/cfs_client.js +7 -10
- package/es/services/cfs/v20190719/cfs_models.js +1 -0
- package/package.json +7 -5
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +10 -15
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +13 -20
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +52 -30
- package/tencentcloud/services/index.js +1 -0
package/README.md
CHANGED
|
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
|
|
|
62
62
|
|
|
63
63
|
1. clone 代码到本地:
|
|
64
64
|
```
|
|
65
|
+
git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
|
|
66
|
+
# 或者
|
|
65
67
|
git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
66
68
|
# 或者
|
|
67
69
|
git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
135
137
|
// ...
|
|
136
138
|
```
|
|
137
139
|
|
|
138
|
-
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](
|
|
140
|
+
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
|
|
139
141
|
|
|
140
142
|
## Common Client
|
|
141
143
|
|
|
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
143
145
|
|
|
144
146
|
**注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
|
|
145
147
|
|
|
146
|
-
详细使用请参阅示例:[使用 Common Client 进行调用](
|
|
148
|
+
详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
|
|
147
149
|
|
|
148
150
|
## 更多示例
|
|
149
151
|
|
|
150
|
-
请参考 [examples](
|
|
152
|
+
请参考 [examples](examples) 目录。
|
|
151
153
|
|
|
152
154
|
# 相关配置
|
|
153
155
|
|
|
154
156
|
## 代理
|
|
155
157
|
|
|
156
|
-
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](
|
|
158
|
+
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
|
|
157
159
|
|
|
158
160
|
# 凭证管理
|
|
159
161
|
|
|
@@ -72,6 +72,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
72
72
|
async SignUpCfsService(req, cb) {
|
|
73
73
|
return this.request("SignUpCfsService", req, cb);
|
|
74
74
|
}
|
|
75
|
+
async CreateAutoSnapshotPolicy(req, cb) {
|
|
76
|
+
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
77
|
+
}
|
|
75
78
|
async DeleteMigrationTask(req, cb) {
|
|
76
79
|
return this.request("DeleteMigrationTask", req, cb);
|
|
77
80
|
}
|
|
@@ -102,8 +105,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
102
105
|
async ApplyPathLifecyclePolicy(req, cb) {
|
|
103
106
|
return this.request("ApplyPathLifecyclePolicy", req, cb);
|
|
104
107
|
}
|
|
105
|
-
async
|
|
106
|
-
return this.request("
|
|
108
|
+
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
109
|
+
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
107
110
|
}
|
|
108
111
|
async ModifyDataFlow(req, cb) {
|
|
109
112
|
return this.request("ModifyDataFlow", req, cb);
|
|
@@ -114,9 +117,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
114
117
|
async DescribeCfsFileSystems(req, cb) {
|
|
115
118
|
return this.request("DescribeCfsFileSystems", req, cb);
|
|
116
119
|
}
|
|
117
|
-
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
118
|
-
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
119
|
-
}
|
|
120
120
|
async DescribeCfsSnapshots(req, cb) {
|
|
121
121
|
return this.request("DescribeCfsSnapshots", req, cb);
|
|
122
122
|
}
|
|
@@ -135,11 +135,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
135
135
|
async CreateMigrationTask(req, cb) {
|
|
136
136
|
return this.request("CreateMigrationTask", req, cb);
|
|
137
137
|
}
|
|
138
|
-
async
|
|
139
|
-
return this.request("
|
|
140
|
-
}
|
|
141
|
-
async CreateAutoSnapshotPolicy(req, cb) {
|
|
142
|
-
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
138
|
+
async DeleteUserQuota(req, cb) {
|
|
139
|
+
return this.request("DeleteUserQuota", req, cb);
|
|
143
140
|
}
|
|
144
141
|
async DescribeAutoSnapshotPolicies(req, cb) {
|
|
145
142
|
return this.request("DescribeAutoSnapshotPolicies", req, cb);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-cfs",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.138",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "./tencentcloud/index.js",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build:es": "tsc -p tsconfig.es.json",
|
|
13
13
|
"build:slim": "node ./scripts/build_slim.js",
|
|
14
14
|
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
15
|
-
"clean": "rimraf tencentcloud es"
|
|
15
|
+
"clean": "rimraf tencentcloud es",
|
|
16
|
+
"test:common": "vitest run"
|
|
16
17
|
},
|
|
17
18
|
"engines": {
|
|
18
19
|
"node": ">=10"
|
|
@@ -44,9 +45,9 @@
|
|
|
44
45
|
"url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@types/
|
|
48
|
+
"@types/ini": "^4.1.1",
|
|
48
49
|
"@types/json-bigint": "^1.0.1",
|
|
49
|
-
"@types/node": "^
|
|
50
|
+
"@types/node": "^18.0.0",
|
|
50
51
|
"@types/node-fetch": "^2.5.7",
|
|
51
52
|
"@types/uuid": "^9.0.8",
|
|
52
53
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
"prettier": "^2.3.0",
|
|
62
63
|
"rimraf": "^5.0.10",
|
|
63
64
|
"ts-node": "^8.10.2",
|
|
64
|
-
"typescript": "^
|
|
65
|
+
"typescript": "^5.9.2",
|
|
66
|
+
"vitest": "2.1.9"
|
|
65
67
|
}
|
|
66
68
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, CreateLifecycleDataTaskRequest, DescribeCfsPGroupsResponse, ModifyDataFlowResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, CreateLifecyclePolicyDownloadTaskRequest, StopLifecycleDataTaskRequest, DescribeCfsFileSystemsResponse, CreateLifecycleDataTaskResponse, ApplyPathLifecyclePolicyRequest, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, CreateDataFlowResponse, SignUpCfsServiceRequest, SignUpCfsServiceResponse, CreateLifecyclePolicyDownloadTaskResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, DescribeLifecycleDataTaskResponse, UpdateCfsPGroupResponse, UpdateFileSystemBandwidthLimitResponse, DescribeLifecyclePoliciesRequest, DeleteAutoSnapshotPolicyRequest, CreateLifecyclePolicyResponse, UpdateCfsRuleRequest, StopLifecycleDataTaskResponse, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DoDirectoryOperationResponse,
|
|
2
|
+
import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, CreateLifecycleDataTaskRequest, DescribeCfsPGroupsResponse, ModifyDataFlowResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, CreateLifecyclePolicyDownloadTaskRequest, StopLifecycleDataTaskRequest, DescribeCfsFileSystemsResponse, CreateLifecycleDataTaskResponse, ApplyPathLifecyclePolicyRequest, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, CreateDataFlowResponse, SignUpCfsServiceRequest, SignUpCfsServiceResponse, CreateLifecyclePolicyDownloadTaskResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, DescribeLifecycleDataTaskResponse, UpdateCfsPGroupResponse, UpdateFileSystemBandwidthLimitResponse, DescribeLifecyclePoliciesRequest, DeleteAutoSnapshotPolicyRequest, CreateLifecyclePolicyResponse, UpdateCfsRuleRequest, StopLifecycleDataTaskResponse, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DoDirectoryOperationResponse, ModifyLifecyclePolicyResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, ApplyPathLifecyclePolicyResponse, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, DescribeLifecycleDataTaskRequest, DescribeSnapshotOperationLogsResponse, DeleteCfsFileSystemRequest, UpdateFileSystemBandwidthLimitRequest, DeleteLifecyclePolicyResponse, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DeleteUserQuotaResponse, DeleteMigrationTaskRequest, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, ModifyFileSystemAutoScaleUpRuleResponse, CreateCfsSnapshotResponse, CreateCfsRuleRequest, DeleteCfsFileSystemResponse, CreateCfsFileSystemResponse, DeleteDataFlowResponse, CreateAccessCertRequest, DescribeLifecyclePoliciesResponse, DescribeUserQuotaRequest, DescribeDataFlowRequest, DescribeBucketListResponse, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, DescribeCfsSnapshotsResponse, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, DescribeMigrationTasksRequest, UnbindAutoSnapshotPolicyRequest, UnbindAutoSnapshotPolicyResponse, DescribeCfsServiceStatusResponse, BindAutoSnapshotPolicyResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, DescribeCfsRulesResponse, UpdateCfsFileSystemPGroupResponse, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, DeleteDataFlowRequest, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, ModifyLifecyclePolicyRequest, DeleteLifecyclePolicyRequest, CreateLifecyclePolicyRequest, CreateCfsRuleResponse, StopMigrationTaskResponse, CreateAccessCertResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, ModifyDataFlowRequest, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest, CreateDataFlowRequest, DescribeDataFlowResponse, DoDirectoryOperationRequest } from "./cfs_models";
|
|
3
3
|
/**
|
|
4
4
|
* cfs client
|
|
5
5
|
* @class
|
|
@@ -15,7 +15,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
15
15
|
*/
|
|
16
16
|
UpdateCfsFileSystemPGroup(req: UpdateCfsFileSystemPGroupRequest, cb?: (error: string, rep: UpdateCfsFileSystemPGroupResponse) => void): Promise<UpdateCfsFileSystemPGroupResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* 查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
|
|
19
19
|
*/
|
|
20
20
|
DescribeLifecycleDataTask(req: DescribeLifecycleDataTaskRequest, cb?: (error: string, rep: DescribeLifecycleDataTaskResponse) => void): Promise<DescribeLifecycleDataTaskResponse>;
|
|
21
21
|
/**
|
|
@@ -100,6 +100,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
100
100
|
* 本接口(SignUpCfsService)用于开通CFS服务。
|
|
101
101
|
*/
|
|
102
102
|
SignUpCfsService(req?: SignUpCfsServiceRequest, cb?: (error: string, rep: SignUpCfsServiceResponse) => void): Promise<SignUpCfsServiceResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* 创建定期快照策略
|
|
105
|
+
*/
|
|
106
|
+
CreateAutoSnapshotPolicy(req: CreateAutoSnapshotPolicyRequest, cb?: (error: string, rep: CreateAutoSnapshotPolicyResponse) => void): Promise<CreateAutoSnapshotPolicyResponse>;
|
|
103
107
|
/**
|
|
104
108
|
* 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
|
105
109
|
*/
|
|
@@ -141,9 +145,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
141
145
|
*/
|
|
142
146
|
ApplyPathLifecyclePolicy(req: ApplyPathLifecyclePolicyRequest, cb?: (error: string, rep: ApplyPathLifecyclePolicyResponse) => void): Promise<ApplyPathLifecyclePolicyResponse>;
|
|
143
147
|
/**
|
|
144
|
-
*
|
|
148
|
+
* 用来设置文件系统扩容策略,该接口只支持turbo文件系统
|
|
145
149
|
*/
|
|
146
|
-
|
|
150
|
+
ModifyFileSystemAutoScaleUpRule(req: ModifyFileSystemAutoScaleUpRuleRequest, cb?: (error: string, rep: ModifyFileSystemAutoScaleUpRuleResponse) => void): Promise<ModifyFileSystemAutoScaleUpRuleResponse>;
|
|
147
151
|
/**
|
|
148
152
|
* 修改数据流动相关参数
|
|
149
153
|
*/
|
|
@@ -156,10 +160,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
156
160
|
* 本接口(DescribeCfsFileSystems)用于查询文件系统
|
|
157
161
|
*/
|
|
158
162
|
DescribeCfsFileSystems(req: DescribeCfsFileSystemsRequest, cb?: (error: string, rep: DescribeCfsFileSystemsResponse) => void): Promise<DescribeCfsFileSystemsResponse>;
|
|
159
|
-
/**
|
|
160
|
-
* 用来设置文件系统扩容策略,该接口只支持turbo文件系统
|
|
161
|
-
*/
|
|
162
|
-
ModifyFileSystemAutoScaleUpRule(req: ModifyFileSystemAutoScaleUpRuleRequest, cb?: (error: string, rep: ModifyFileSystemAutoScaleUpRuleResponse) => void): Promise<ModifyFileSystemAutoScaleUpRuleResponse>;
|
|
163
163
|
/**
|
|
164
164
|
* 查询文件系统快照列表
|
|
165
165
|
*/
|
|
@@ -185,14 +185,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
185
185
|
*/
|
|
186
186
|
CreateMigrationTask(req: CreateMigrationTaskRequest, cb?: (error: string, rep: CreateMigrationTaskResponse) => void): Promise<CreateMigrationTaskResponse>;
|
|
187
187
|
/**
|
|
188
|
-
|
|
189
|
-
说明:2022年6月1日之后创建的CFS文件系统删除时无需单独调用删除挂载点操作,此API仅适用老版本的CFS实例。
|
|
190
|
-
*/
|
|
191
|
-
DeleteMountTarget(req: DeleteMountTargetRequest, cb?: (error: string, rep: DeleteMountTargetResponse) => void): Promise<DeleteMountTargetResponse>;
|
|
192
|
-
/**
|
|
193
|
-
* 创建定期快照策略
|
|
188
|
+
* 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
194
189
|
*/
|
|
195
|
-
|
|
190
|
+
DeleteUserQuota(req: DeleteUserQuotaRequest, cb?: (error: string, rep: DeleteUserQuotaResponse) => void): Promise<DeleteUserQuotaResponse>;
|
|
196
191
|
/**
|
|
197
192
|
* 查询文件系统快照定期策略列表信息
|
|
198
193
|
*/
|
|
@@ -41,7 +41,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
41
41
|
return this.request("UpdateCfsFileSystemPGroup", req, cb);
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* 查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
|
|
45
45
|
*/
|
|
46
46
|
async DescribeLifecycleDataTask(req, cb) {
|
|
47
47
|
return this.request("DescribeLifecycleDataTask", req, cb);
|
|
@@ -168,6 +168,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
168
168
|
async SignUpCfsService(req, cb) {
|
|
169
169
|
return this.request("SignUpCfsService", req, cb);
|
|
170
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* 创建定期快照策略
|
|
173
|
+
*/
|
|
174
|
+
async CreateAutoSnapshotPolicy(req, cb) {
|
|
175
|
+
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
176
|
+
}
|
|
171
177
|
/**
|
|
172
178
|
* 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
|
173
179
|
*/
|
|
@@ -229,10 +235,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
229
235
|
return this.request("ApplyPathLifecyclePolicy", req, cb);
|
|
230
236
|
}
|
|
231
237
|
/**
|
|
232
|
-
*
|
|
238
|
+
* 用来设置文件系统扩容策略,该接口只支持turbo文件系统
|
|
233
239
|
*/
|
|
234
|
-
async
|
|
235
|
-
return this.request("
|
|
240
|
+
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
241
|
+
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
236
242
|
}
|
|
237
243
|
/**
|
|
238
244
|
* 修改数据流动相关参数
|
|
@@ -252,12 +258,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
252
258
|
async DescribeCfsFileSystems(req, cb) {
|
|
253
259
|
return this.request("DescribeCfsFileSystems", req, cb);
|
|
254
260
|
}
|
|
255
|
-
/**
|
|
256
|
-
* 用来设置文件系统扩容策略,该接口只支持turbo文件系统
|
|
257
|
-
*/
|
|
258
|
-
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
259
|
-
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
260
|
-
}
|
|
261
261
|
/**
|
|
262
262
|
* 查询文件系统快照列表
|
|
263
263
|
*/
|
|
@@ -295,17 +295,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
295
295
|
return this.request("CreateMigrationTask", req, cb);
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
|
-
|
|
299
|
-
说明:2022年6月1日之后创建的CFS文件系统删除时无需单独调用删除挂载点操作,此API仅适用老版本的CFS实例。
|
|
300
|
-
*/
|
|
301
|
-
async DeleteMountTarget(req, cb) {
|
|
302
|
-
return this.request("DeleteMountTarget", req, cb);
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* 创建定期快照策略
|
|
298
|
+
* 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
306
299
|
*/
|
|
307
|
-
async
|
|
308
|
-
return this.request("
|
|
300
|
+
async DeleteUserQuota(req, cb) {
|
|
301
|
+
return this.request("DeleteUserQuota", req, cb);
|
|
309
302
|
}
|
|
310
303
|
/**
|
|
311
304
|
* 查询文件系统快照定期策略列表信息
|
|
@@ -498,7 +498,7 @@ export interface DescribeAutoSnapshotPoliciesRequest {
|
|
|
498
498
|
/**
|
|
499
499
|
* DescribeAvailableZoneInfo请求参数结构体
|
|
500
500
|
*/
|
|
501
|
-
export
|
|
501
|
+
export type DescribeAvailableZoneInfoRequest = null;
|
|
502
502
|
/**
|
|
503
503
|
* DescribeMountTargets请求参数结构体
|
|
504
504
|
*/
|
|
@@ -524,7 +524,7 @@ export interface CreateDataFlowResponse {
|
|
|
524
524
|
/**
|
|
525
525
|
* SignUpCfsService请求参数结构体
|
|
526
526
|
*/
|
|
527
|
-
export
|
|
527
|
+
export type SignUpCfsServiceRequest = null;
|
|
528
528
|
/**
|
|
529
529
|
* SignUpCfsService返回参数结构体
|
|
530
530
|
*/
|
|
@@ -900,15 +900,6 @@ export interface DoDirectoryOperationResponse {
|
|
|
900
900
|
*/
|
|
901
901
|
RequestId?: string;
|
|
902
902
|
}
|
|
903
|
-
/**
|
|
904
|
-
* DeleteMountTarget返回参数结构体
|
|
905
|
-
*/
|
|
906
|
-
export interface DeleteMountTargetResponse {
|
|
907
|
-
/**
|
|
908
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
909
|
-
*/
|
|
910
|
-
RequestId?: string;
|
|
911
|
-
}
|
|
912
903
|
/**
|
|
913
904
|
* ModifyLifecyclePolicy返回参数结构体
|
|
914
905
|
*/
|
|
@@ -1030,15 +1021,15 @@ export interface DeleteMigrationTaskResponse {
|
|
|
1030
1021
|
*/
|
|
1031
1022
|
export interface DescribeLifecycleDataTaskRequest {
|
|
1032
1023
|
/**
|
|
1033
|
-
*
|
|
1024
|
+
* 开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
|
|
1034
1025
|
*/
|
|
1035
1026
|
StartTime: string;
|
|
1036
1027
|
/**
|
|
1037
|
-
*
|
|
1028
|
+
* 结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
|
|
1038
1029
|
*/
|
|
1039
1030
|
EndTime: string;
|
|
1040
1031
|
/**
|
|
1041
|
-
*
|
|
1032
|
+
* 任务ID
|
|
1042
1033
|
*/
|
|
1043
1034
|
TaskId?: string;
|
|
1044
1035
|
/**
|
|
@@ -1053,6 +1044,10 @@ export interface DescribeLifecycleDataTaskRequest {
|
|
|
1053
1044
|
* 过滤条件,TaskName,FileSystemId,Type
|
|
1054
1045
|
*/
|
|
1055
1046
|
Filters?: Array<Filter>;
|
|
1047
|
+
/**
|
|
1048
|
+
* 文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
|
|
1049
|
+
*/
|
|
1050
|
+
CfsVersion?: string;
|
|
1056
1051
|
}
|
|
1057
1052
|
/**
|
|
1058
1053
|
* DescribeSnapshotOperationLogs返回参数结构体
|
|
@@ -1134,7 +1129,7 @@ export interface CreateCfsPGroupResponse {
|
|
|
1134
1129
|
/**
|
|
1135
1130
|
* DescribeCfsServiceStatus请求参数结构体
|
|
1136
1131
|
*/
|
|
1137
|
-
export
|
|
1132
|
+
export type DescribeCfsServiceStatusRequest = null;
|
|
1138
1133
|
/**
|
|
1139
1134
|
* 有规则冲突时返回的已有冲突规则信息列表
|
|
1140
1135
|
*/
|
|
@@ -1434,19 +1429,6 @@ export interface UserQuota {
|
|
|
1434
1429
|
*/
|
|
1435
1430
|
Status?: string;
|
|
1436
1431
|
}
|
|
1437
|
-
/**
|
|
1438
|
-
* DeleteMountTarget请求参数结构体
|
|
1439
|
-
*/
|
|
1440
|
-
export interface DeleteMountTargetRequest {
|
|
1441
|
-
/**
|
|
1442
|
-
* 文件系统 ID
|
|
1443
|
-
*/
|
|
1444
|
-
FileSystemId: string;
|
|
1445
|
-
/**
|
|
1446
|
-
* 挂载点 ID
|
|
1447
|
-
*/
|
|
1448
|
-
MountTargetId: string;
|
|
1449
|
-
}
|
|
1450
1432
|
/**
|
|
1451
1433
|
* CreateCfsRule请求参数结构体
|
|
1452
1434
|
*/
|
|
@@ -2711,7 +2693,7 @@ export interface TagInfo {
|
|
|
2711
2693
|
/**
|
|
2712
2694
|
* DescribeCfsPGroups请求参数结构体
|
|
2713
2695
|
*/
|
|
2714
|
-
export
|
|
2696
|
+
export type DescribeCfsPGroupsRequest = null;
|
|
2715
2697
|
/**
|
|
2716
2698
|
* DeleteCfsPGroup返回参数结构体
|
|
2717
2699
|
*/
|
|
@@ -2953,11 +2935,31 @@ export interface ModifyDataFlowRequest {
|
|
|
2953
2935
|
* 密钥 key
|
|
2954
2936
|
*/
|
|
2955
2937
|
SecretKey?: string;
|
|
2938
|
+
/**
|
|
2939
|
+
* KafkaConsumer 消费时使用的Topic参数
|
|
2940
|
+
*/
|
|
2941
|
+
UserKafkaTopic?: string;
|
|
2942
|
+
/**
|
|
2943
|
+
* 服务地址
|
|
2944
|
+
*/
|
|
2945
|
+
ServerAddr?: string;
|
|
2946
|
+
/**
|
|
2947
|
+
* name
|
|
2948
|
+
*/
|
|
2949
|
+
UserName?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* Kafka消费用户密码
|
|
2952
|
+
*/
|
|
2953
|
+
Password?: string;
|
|
2954
|
+
/**
|
|
2955
|
+
* 元数据增量更新开关;1开启,0关闭
|
|
2956
|
+
*/
|
|
2957
|
+
AutoRefresh?: number;
|
|
2956
2958
|
}
|
|
2957
2959
|
/**
|
|
2958
2960
|
* DescribeCfsSnapshotOverview请求参数结构体
|
|
2959
2961
|
*/
|
|
2960
|
-
export
|
|
2962
|
+
export type DescribeCfsSnapshotOverviewRequest = null;
|
|
2961
2963
|
/**
|
|
2962
2964
|
* CreateAutoSnapshotPolicy请求参数结构体
|
|
2963
2965
|
*/
|
|
@@ -3023,6 +3025,26 @@ export interface CreateDataFlowRequest {
|
|
|
3023
3025
|
* 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
|
|
3024
3026
|
*/
|
|
3025
3027
|
DataFlowName?: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* 0:不开启自动更新 1:开启自动更新
|
|
3030
|
+
*/
|
|
3031
|
+
AutoRefresh?: number;
|
|
3032
|
+
/**
|
|
3033
|
+
* KafkaConsumer 消费时使用的Topic参数
|
|
3034
|
+
*/
|
|
3035
|
+
UserKafkaTopic?: string;
|
|
3036
|
+
/**
|
|
3037
|
+
* 服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095
|
|
3038
|
+
*/
|
|
3039
|
+
ServerAddr?: string;
|
|
3040
|
+
/**
|
|
3041
|
+
* Kafka消费用户名.示例值:name
|
|
3042
|
+
*/
|
|
3043
|
+
UserName?: string;
|
|
3044
|
+
/**
|
|
3045
|
+
* Kafka消费用户密码。默认${SecretId}#${SecretKey}。
|
|
3046
|
+
*/
|
|
3047
|
+
Password?: string;
|
|
3026
3048
|
}
|
|
3027
3049
|
/**
|
|
3028
3050
|
* DescribeDataFlow返回参数结构体
|