tencentcloud-sdk-nodejs-cfs 4.1.230 → 4.1.241
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.
|
@@ -3,6 +3,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("cfs.tencentcloudapi.com", "2019-07-19", clientConfig);
|
|
5
5
|
}
|
|
6
|
+
async DoDirectoryOperation(req, cb) {
|
|
7
|
+
return this.request("DoDirectoryOperation", req, cb);
|
|
8
|
+
}
|
|
6
9
|
async DescribeCfsRules(req, cb) {
|
|
7
10
|
return this.request("DescribeCfsRules", req, cb);
|
|
8
11
|
}
|
|
@@ -30,8 +33,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
30
33
|
async SetUserQuota(req, cb) {
|
|
31
34
|
return this.request("SetUserQuota", req, cb);
|
|
32
35
|
}
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
36
|
+
async DeleteDataRetrieval(req, cb) {
|
|
37
|
+
return this.request("DeleteDataRetrieval", req, cb);
|
|
35
38
|
}
|
|
36
39
|
async DescribeMountTargets(req, cb) {
|
|
37
40
|
return this.request("DescribeMountTargets", req, cb);
|
|
@@ -45,6 +48,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
45
48
|
async DeleteLifecyclePolicy(req, cb) {
|
|
46
49
|
return this.request("DeleteLifecyclePolicy", req, cb);
|
|
47
50
|
}
|
|
51
|
+
async DescribeAutoSnapshotPolicies(req, cb) {
|
|
52
|
+
return this.request("DescribeAutoSnapshotPolicies", req, cb);
|
|
53
|
+
}
|
|
48
54
|
async UnbindAutoSnapshotPolicy(req, cb) {
|
|
49
55
|
return this.request("UnbindAutoSnapshotPolicy", req, cb);
|
|
50
56
|
}
|
|
@@ -57,11 +63,14 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
57
63
|
async DescribeCfsServiceStatus(req, cb) {
|
|
58
64
|
return this.request("DescribeCfsServiceStatus", req, cb);
|
|
59
65
|
}
|
|
66
|
+
async DescribeDataRetrieval(req, cb) {
|
|
67
|
+
return this.request("DescribeDataRetrieval", req, cb);
|
|
68
|
+
}
|
|
60
69
|
async StopMigrationTask(req, cb) {
|
|
61
70
|
return this.request("StopMigrationTask", req, cb);
|
|
62
71
|
}
|
|
63
|
-
async
|
|
64
|
-
return this.request("
|
|
72
|
+
async CreateDataRetrieval(req, cb) {
|
|
73
|
+
return this.request("CreateDataRetrieval", req, cb);
|
|
65
74
|
}
|
|
66
75
|
async DescribeAvailableZoneInfo(req, cb) {
|
|
67
76
|
return this.request("DescribeAvailableZoneInfo", req, cb);
|
|
@@ -75,9 +84,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
75
84
|
async SignUpCfsService(req, cb) {
|
|
76
85
|
return this.request("SignUpCfsService", req, cb);
|
|
77
86
|
}
|
|
78
|
-
async CreateAutoSnapshotPolicy(req, cb) {
|
|
79
|
-
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
80
|
-
}
|
|
81
87
|
async DeleteMigrationTask(req, cb) {
|
|
82
88
|
return this.request("DeleteMigrationTask", req, cb);
|
|
83
89
|
}
|
|
@@ -93,9 +99,15 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
93
99
|
async CreateCfsFileSystem(req, cb) {
|
|
94
100
|
return this.request("CreateCfsFileSystem", req, cb);
|
|
95
101
|
}
|
|
102
|
+
async DescribeBucketList(req, cb) {
|
|
103
|
+
return this.request("DescribeBucketList", req, cb);
|
|
104
|
+
}
|
|
96
105
|
async DescribeCfsPGroups(req, cb) {
|
|
97
106
|
return this.request("DescribeCfsPGroups", req, cb);
|
|
98
107
|
}
|
|
108
|
+
async ModifyDataRetrieval(req, cb) {
|
|
109
|
+
return this.request("ModifyDataRetrieval", req, cb);
|
|
110
|
+
}
|
|
99
111
|
async DescribeCfsSnapshotOverview(req, cb) {
|
|
100
112
|
return this.request("DescribeCfsSnapshotOverview", req, cb);
|
|
101
113
|
}
|
|
@@ -108,8 +120,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
108
120
|
async ApplyPathLifecyclePolicy(req, cb) {
|
|
109
121
|
return this.request("ApplyPathLifecyclePolicy", req, cb);
|
|
110
122
|
}
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
123
|
+
async DeleteUserQuota(req, cb) {
|
|
124
|
+
return this.request("DeleteUserQuota", req, cb);
|
|
113
125
|
}
|
|
114
126
|
async ModifyDataFlow(req, cb) {
|
|
115
127
|
return this.request("ModifyDataFlow", req, cb);
|
|
@@ -120,6 +132,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
120
132
|
async DescribeCfsFileSystems(req, cb) {
|
|
121
133
|
return this.request("DescribeCfsFileSystems", req, cb);
|
|
122
134
|
}
|
|
135
|
+
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
136
|
+
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
137
|
+
}
|
|
123
138
|
async DescribeCfsSnapshots(req, cb) {
|
|
124
139
|
return this.request("DescribeCfsSnapshots", req, cb);
|
|
125
140
|
}
|
|
@@ -138,11 +153,11 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
138
153
|
async CreateMigrationTask(req, cb) {
|
|
139
154
|
return this.request("CreateMigrationTask", req, cb);
|
|
140
155
|
}
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
156
|
+
async CreateAutoSnapshotPolicy(req, cb) {
|
|
157
|
+
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
143
158
|
}
|
|
144
|
-
async
|
|
145
|
-
return this.request("
|
|
159
|
+
async CreateCfsPGroup(req, cb) {
|
|
160
|
+
return this.request("CreateCfsPGroup", req, cb);
|
|
146
161
|
}
|
|
147
162
|
async DeleteAutoSnapshotPolicy(req, cb) {
|
|
148
163
|
return this.request("DeleteAutoSnapshotPolicy", req, cb);
|
|
@@ -156,8 +171,11 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
156
171
|
async UpdateAutoSnapshotPolicy(req, cb) {
|
|
157
172
|
return this.request("UpdateAutoSnapshotPolicy", req, cb);
|
|
158
173
|
}
|
|
159
|
-
async
|
|
160
|
-
return this.request("
|
|
174
|
+
async RunDataRetrievalTask(req, cb) {
|
|
175
|
+
return this.request("RunDataRetrievalTask", req, cb);
|
|
176
|
+
}
|
|
177
|
+
async DescribeDataRetrievalTask(req, cb) {
|
|
178
|
+
return this.request("DescribeDataRetrievalTask", req, cb);
|
|
161
179
|
}
|
|
162
180
|
async DescribeSnapshotOperationLogs(req, cb) {
|
|
163
181
|
return this.request("DescribeSnapshotOperationLogs", req, cb);
|
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
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,
|
|
2
|
+
import { CreateMigrationTaskRequest, ScaleUpFileSystemResponse, CreateLifecycleDataTaskRequest, DescribeCfsPGroupsResponse, ModifyDataFlowResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, CreateLifecyclePolicyDownloadTaskRequest, StopLifecycleDataTaskRequest, DescribeCfsFileSystemsResponse, CreateLifecycleDataTaskResponse, ApplyPathLifecyclePolicyRequest, BindAutoSnapshotPolicyRequest, ModifyFileSystemAutoScaleUpRuleRequest, ScaleUpFileSystemRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, ModifyDataRetrievalRequest, DescribeMountTargetsRequest, CreateDataRetrievalResponse, CreateDataFlowResponse, SignUpCfsServiceRequest, DeleteDataRetrievalRequest, SignUpCfsServiceResponse, CreateLifecyclePolicyDownloadTaskResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, DescribeLifecycleDataTaskResponse, UpdateCfsPGroupResponse, UpdateFileSystemBandwidthLimitResponse, DescribeLifecyclePoliciesRequest, DeleteAutoSnapshotPolicyRequest, CreateLifecyclePolicyResponse, UpdateCfsRuleRequest, DescribeDataRetrievalTaskRequest, StopLifecycleDataTaskResponse, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DoDirectoryOperationResponse, ModifyDataRetrievalResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, ApplyPathLifecyclePolicyResponse, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, DescribeLifecycleDataTaskRequest, DescribeSnapshotOperationLogsResponse, DescribeDataRetrievalResponse, DeleteCfsFileSystemRequest, UpdateFileSystemBandwidthLimitRequest, DeleteLifecyclePolicyResponse, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DescribeDataRetrievalRequest, DeleteUserQuotaResponse, DeleteMigrationTaskRequest, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, ModifyFileSystemAutoScaleUpRuleResponse, RunDataRetrievalTaskResponse, CreateCfsSnapshotResponse, CreateCfsRuleRequest, DeleteCfsFileSystemResponse, CreateCfsFileSystemResponse, DeleteDataFlowResponse, CreateAccessCertRequest, DescribeLifecyclePoliciesResponse, DescribeUserQuotaRequest, OverrideCfsRulesResponse, DescribeDataFlowRequest, DescribeBucketListResponse, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, OverrideCfsRulesRequest, CreateDataRetrievalRequest, DescribeCfsSnapshotsResponse, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, RunDataRetrievalTaskRequest, DescribeMigrationTasksRequest, UnbindAutoSnapshotPolicyRequest, DescribeDataRetrievalTaskResponse, DescribeCfsServiceStatusResponse, BindAutoSnapshotPolicyResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, DeleteDataRetrievalResponse, DescribeCfsRulesResponse, UpdateCfsFileSystemPGroupResponse, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, DeleteDataFlowRequest, ModifyLifecyclePolicyResponse, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, ModifyLifecyclePolicyRequest, DeleteLifecyclePolicyRequest, CreateLifecyclePolicyRequest, CreateCfsRuleResponse, StopMigrationTaskResponse, CreateAccessCertResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, ModifyDataFlowRequest, DescribeCfsSnapshotOverviewRequest, UnbindAutoSnapshotPolicyResponse, CreateAutoSnapshotPolicyRequest, CreateDataFlowRequest, DescribeDataFlowResponse, DoDirectoryOperationRequest } from "./cfs_models";
|
|
3
3
|
/**
|
|
4
4
|
* cfs client
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
+
/**
|
|
10
|
+
* 文件系统目录操作接口。当前仅 Turbo 系列文件系统支持调用此接口进行目录操作,通用系列文件系统(含增强型)不支持调用。
|
|
11
|
+
*/
|
|
12
|
+
DoDirectoryOperation(req: DoDirectoryOperationRequest, cb?: (error: string, rep: DoDirectoryOperationResponse) => void): Promise<DoDirectoryOperationResponse>;
|
|
9
13
|
/**
|
|
10
14
|
* 本接口(DescribeCfsRules)用于查询权限组规则列表。
|
|
11
15
|
*/
|
|
@@ -45,9 +49,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
45
49
|
*/
|
|
46
50
|
SetUserQuota(req: SetUserQuotaRequest, cb?: (error: string, rep: SetUserQuotaResponse) => void): Promise<SetUserQuotaResponse>;
|
|
47
51
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
* 删除数据检索。
|
|
53
|
+
|
|
54
|
+
删除指定的数据检索配置,不允许在存在关联任务时删除。调用接口后,若通过 DescribeDataRetrieval 接口查询不到对应的数据检索,则表示删除成功。
|
|
55
|
+
*/
|
|
56
|
+
DeleteDataRetrieval(req: DeleteDataRetrievalRequest, cb?: (error: string, rep: DeleteDataRetrievalResponse) => void): Promise<DeleteDataRetrievalResponse>;
|
|
51
57
|
/**
|
|
52
58
|
* 本接口(DescribeMountTargets)用于查询文件系统挂载点信息
|
|
53
59
|
*/
|
|
@@ -64,6 +70,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
64
70
|
* 删除生命周期管理策略
|
|
65
71
|
*/
|
|
66
72
|
DeleteLifecyclePolicy(req: DeleteLifecyclePolicyRequest, cb?: (error: string, rep: DeleteLifecyclePolicyResponse) => void): Promise<DeleteLifecyclePolicyResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* 查询文件系统快照定期策略列表信息
|
|
75
|
+
*/
|
|
76
|
+
DescribeAutoSnapshotPolicies(req: DescribeAutoSnapshotPoliciesRequest, cb?: (error: string, rep: DescribeAutoSnapshotPoliciesResponse) => void): Promise<DescribeAutoSnapshotPoliciesResponse>;
|
|
67
77
|
/**
|
|
68
78
|
* 解除文件系统绑定的快照策略
|
|
69
79
|
*/
|
|
@@ -80,14 +90,20 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
80
90
|
* 本接口(DescribeCfsServiceStatus)用于查询用户使用CFS的服务状态。
|
|
81
91
|
*/
|
|
82
92
|
DescribeCfsServiceStatus(req?: DescribeCfsServiceStatusRequest, cb?: (error: string, rep: DescribeCfsServiceStatusResponse) => void): Promise<DescribeCfsServiceStatusResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* 查询数据检索。
|
|
95
|
+
|
|
96
|
+
查询数据检索列表,支持按文件系统 ID、数据检索 ID、名称等条件筛选。
|
|
97
|
+
*/
|
|
98
|
+
DescribeDataRetrieval(req: DescribeDataRetrievalRequest, cb?: (error: string, rep: DescribeDataRetrievalResponse) => void): Promise<DescribeDataRetrievalResponse>;
|
|
83
99
|
/**
|
|
84
100
|
* 用于终止迁移任务,可以终止等待中、运行中状态的任务。
|
|
85
101
|
*/
|
|
86
102
|
StopMigrationTask(req: StopMigrationTaskRequest, cb?: (error: string, rep: StopMigrationTaskResponse) => void): Promise<StopMigrationTaskResponse>;
|
|
87
103
|
/**
|
|
88
|
-
*
|
|
104
|
+
* 创建数据检索
|
|
89
105
|
*/
|
|
90
|
-
|
|
106
|
+
CreateDataRetrieval(req: CreateDataRetrievalRequest, cb?: (error: string, rep: CreateDataRetrievalResponse) => void): Promise<CreateDataRetrievalResponse>;
|
|
91
107
|
/**
|
|
92
108
|
* 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
|
|
93
109
|
*/
|
|
@@ -104,10 +120,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
104
120
|
* 本接口(SignUpCfsService)用于开通CFS服务。
|
|
105
121
|
*/
|
|
106
122
|
SignUpCfsService(req?: SignUpCfsServiceRequest, cb?: (error: string, rep: SignUpCfsServiceResponse) => void): Promise<SignUpCfsServiceResponse>;
|
|
107
|
-
/**
|
|
108
|
-
* 创建定期快照策略
|
|
109
|
-
*/
|
|
110
|
-
CreateAutoSnapshotPolicy(req: CreateAutoSnapshotPolicyRequest, cb?: (error: string, rep: CreateAutoSnapshotPolicyResponse) => void): Promise<CreateAutoSnapshotPolicyResponse>;
|
|
111
123
|
/**
|
|
112
124
|
* 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
|
113
125
|
*/
|
|
@@ -128,10 +140,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
128
140
|
* 用于添加新文件系统
|
|
129
141
|
*/
|
|
130
142
|
CreateCfsFileSystem(req: CreateCfsFileSystemRequest, cb?: (error: string, rep: CreateCfsFileSystemResponse) => void): Promise<CreateCfsFileSystemResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* 用于获取数据源桶列表。
|
|
145
|
+
*/
|
|
146
|
+
DescribeBucketList(req: DescribeBucketListRequest, cb?: (error: string, rep: DescribeBucketListResponse) => void): Promise<DescribeBucketListResponse>;
|
|
131
147
|
/**
|
|
132
148
|
* 本接口(DescribeCfsPGroups)用于查询权限组列表。
|
|
133
149
|
*/
|
|
134
150
|
DescribeCfsPGroups(req?: DescribeCfsPGroupsRequest, cb?: (error: string, rep: DescribeCfsPGroupsResponse) => void): Promise<DescribeCfsPGroupsResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* 修改数据检索
|
|
153
|
+
*/
|
|
154
|
+
ModifyDataRetrieval(req: ModifyDataRetrievalRequest, cb?: (error: string, rep: ModifyDataRetrievalResponse) => void): Promise<ModifyDataRetrievalResponse>;
|
|
135
155
|
/**
|
|
136
156
|
* 文件系统快照概览
|
|
137
157
|
*/
|
|
@@ -149,9 +169,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
149
169
|
*/
|
|
150
170
|
ApplyPathLifecyclePolicy(req: ApplyPathLifecyclePolicyRequest, cb?: (error: string, rep: ApplyPathLifecyclePolicyResponse) => void): Promise<ApplyPathLifecyclePolicyResponse>;
|
|
151
171
|
/**
|
|
152
|
-
*
|
|
172
|
+
* 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
153
173
|
*/
|
|
154
|
-
|
|
174
|
+
DeleteUserQuota(req: DeleteUserQuotaRequest, cb?: (error: string, rep: DeleteUserQuotaResponse) => void): Promise<DeleteUserQuotaResponse>;
|
|
155
175
|
/**
|
|
156
176
|
* 修改数据流动相关参数
|
|
157
177
|
*/
|
|
@@ -164,6 +184,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
164
184
|
* 本接口(DescribeCfsFileSystems)用于查询文件系统
|
|
165
185
|
*/
|
|
166
186
|
DescribeCfsFileSystems(req: DescribeCfsFileSystemsRequest, cb?: (error: string, rep: DescribeCfsFileSystemsResponse) => void): Promise<DescribeCfsFileSystemsResponse>;
|
|
187
|
+
/**
|
|
188
|
+
* 用来设置文件系统扩容策略,该接口只支持turbo文件系统
|
|
189
|
+
*/
|
|
190
|
+
ModifyFileSystemAutoScaleUpRule(req: ModifyFileSystemAutoScaleUpRuleRequest, cb?: (error: string, rep: ModifyFileSystemAutoScaleUpRuleResponse) => void): Promise<ModifyFileSystemAutoScaleUpRuleResponse>;
|
|
167
191
|
/**
|
|
168
192
|
* 查询文件系统快照列表
|
|
169
193
|
*/
|
|
@@ -189,13 +213,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
189
213
|
*/
|
|
190
214
|
CreateMigrationTask(req: CreateMigrationTaskRequest, cb?: (error: string, rep: CreateMigrationTaskResponse) => void): Promise<CreateMigrationTaskResponse>;
|
|
191
215
|
/**
|
|
192
|
-
*
|
|
216
|
+
* 创建定期快照策略
|
|
193
217
|
*/
|
|
194
|
-
|
|
218
|
+
CreateAutoSnapshotPolicy(req: CreateAutoSnapshotPolicyRequest, cb?: (error: string, rep: CreateAutoSnapshotPolicyResponse) => void): Promise<CreateAutoSnapshotPolicyResponse>;
|
|
195
219
|
/**
|
|
196
|
-
*
|
|
220
|
+
* 本接口(CreateCfsPGroup)用于创建权限组
|
|
197
221
|
*/
|
|
198
|
-
|
|
222
|
+
CreateCfsPGroup(req: CreateCfsPGroupRequest, cb?: (error: string, rep: CreateCfsPGroupResponse) => void): Promise<CreateCfsPGroupResponse>;
|
|
199
223
|
/**
|
|
200
224
|
* 删除快照定期策略
|
|
201
225
|
*/
|
|
@@ -213,9 +237,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
213
237
|
*/
|
|
214
238
|
UpdateAutoSnapshotPolicy(req: UpdateAutoSnapshotPolicyRequest, cb?: (error: string, rep: UpdateAutoSnapshotPolicyResponse) => void): Promise<UpdateAutoSnapshotPolicyResponse>;
|
|
215
239
|
/**
|
|
216
|
-
|
|
240
|
+
* 执行数据检索任务。
|
|
241
|
+
|
|
242
|
+
手动触发指定数据检索的执行,创建一个新的数据检索任务。单个文件系统同时执行的任务数不超过 20 个。
|
|
243
|
+
*/
|
|
244
|
+
RunDataRetrievalTask(req?: RunDataRetrievalTaskRequest, cb?: (error: string, rep: RunDataRetrievalTaskResponse) => void): Promise<RunDataRetrievalTaskResponse>;
|
|
245
|
+
/**
|
|
246
|
+
* 查询数据检索任务
|
|
217
247
|
*/
|
|
218
|
-
|
|
248
|
+
DescribeDataRetrievalTask(req: DescribeDataRetrievalTaskRequest, cb?: (error: string, rep: DescribeDataRetrievalTaskResponse) => void): Promise<DescribeDataRetrievalTaskResponse>;
|
|
219
249
|
/**
|
|
220
250
|
* 查询快照操作日志
|
|
221
251
|
*/
|
|
@@ -28,6 +28,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
constructor(clientConfig) {
|
|
29
29
|
super("cfs.tencentcloudapi.com", "2019-07-19", clientConfig);
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* 文件系统目录操作接口。当前仅 Turbo 系列文件系统支持调用此接口进行目录操作,通用系列文件系统(含增强型)不支持调用。
|
|
33
|
+
*/
|
|
34
|
+
async DoDirectoryOperation(req, cb) {
|
|
35
|
+
return this.request("DoDirectoryOperation", req, cb);
|
|
36
|
+
}
|
|
31
37
|
/**
|
|
32
38
|
* 本接口(DescribeCfsRules)用于查询权限组规则列表。
|
|
33
39
|
*/
|
|
@@ -85,10 +91,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
85
91
|
return this.request("SetUserQuota", req, cb);
|
|
86
92
|
}
|
|
87
93
|
/**
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
94
|
+
* 删除数据检索。
|
|
95
|
+
|
|
96
|
+
删除指定的数据检索配置,不允许在存在关联任务时删除。调用接口后,若通过 DescribeDataRetrieval 接口查询不到对应的数据检索,则表示删除成功。
|
|
97
|
+
*/
|
|
98
|
+
async DeleteDataRetrieval(req, cb) {
|
|
99
|
+
return this.request("DeleteDataRetrieval", req, cb);
|
|
92
100
|
}
|
|
93
101
|
/**
|
|
94
102
|
* 本接口(DescribeMountTargets)用于查询文件系统挂载点信息
|
|
@@ -114,6 +122,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
114
122
|
async DeleteLifecyclePolicy(req, cb) {
|
|
115
123
|
return this.request("DeleteLifecyclePolicy", req, cb);
|
|
116
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* 查询文件系统快照定期策略列表信息
|
|
127
|
+
*/
|
|
128
|
+
async DescribeAutoSnapshotPolicies(req, cb) {
|
|
129
|
+
return this.request("DescribeAutoSnapshotPolicies", req, cb);
|
|
130
|
+
}
|
|
117
131
|
/**
|
|
118
132
|
* 解除文件系统绑定的快照策略
|
|
119
133
|
*/
|
|
@@ -138,6 +152,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
138
152
|
async DescribeCfsServiceStatus(req, cb) {
|
|
139
153
|
return this.request("DescribeCfsServiceStatus", req, cb);
|
|
140
154
|
}
|
|
155
|
+
/**
|
|
156
|
+
* 查询数据检索。
|
|
157
|
+
|
|
158
|
+
查询数据检索列表,支持按文件系统 ID、数据检索 ID、名称等条件筛选。
|
|
159
|
+
*/
|
|
160
|
+
async DescribeDataRetrieval(req, cb) {
|
|
161
|
+
return this.request("DescribeDataRetrieval", req, cb);
|
|
162
|
+
}
|
|
141
163
|
/**
|
|
142
164
|
* 用于终止迁移任务,可以终止等待中、运行中状态的任务。
|
|
143
165
|
*/
|
|
@@ -145,10 +167,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
145
167
|
return this.request("StopMigrationTask", req, cb);
|
|
146
168
|
}
|
|
147
169
|
/**
|
|
148
|
-
*
|
|
170
|
+
* 创建数据检索
|
|
149
171
|
*/
|
|
150
|
-
async
|
|
151
|
-
return this.request("
|
|
172
|
+
async CreateDataRetrieval(req, cb) {
|
|
173
|
+
return this.request("CreateDataRetrieval", req, cb);
|
|
152
174
|
}
|
|
153
175
|
/**
|
|
154
176
|
* 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
|
|
@@ -174,12 +196,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
174
196
|
async SignUpCfsService(req, cb) {
|
|
175
197
|
return this.request("SignUpCfsService", req, cb);
|
|
176
198
|
}
|
|
177
|
-
/**
|
|
178
|
-
* 创建定期快照策略
|
|
179
|
-
*/
|
|
180
|
-
async CreateAutoSnapshotPolicy(req, cb) {
|
|
181
|
-
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
182
|
-
}
|
|
183
199
|
/**
|
|
184
200
|
* 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
|
185
201
|
*/
|
|
@@ -210,12 +226,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
210
226
|
async CreateCfsFileSystem(req, cb) {
|
|
211
227
|
return this.request("CreateCfsFileSystem", req, cb);
|
|
212
228
|
}
|
|
229
|
+
/**
|
|
230
|
+
* 用于获取数据源桶列表。
|
|
231
|
+
*/
|
|
232
|
+
async DescribeBucketList(req, cb) {
|
|
233
|
+
return this.request("DescribeBucketList", req, cb);
|
|
234
|
+
}
|
|
213
235
|
/**
|
|
214
236
|
* 本接口(DescribeCfsPGroups)用于查询权限组列表。
|
|
215
237
|
*/
|
|
216
238
|
async DescribeCfsPGroups(req, cb) {
|
|
217
239
|
return this.request("DescribeCfsPGroups", req, cb);
|
|
218
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* 修改数据检索
|
|
243
|
+
*/
|
|
244
|
+
async ModifyDataRetrieval(req, cb) {
|
|
245
|
+
return this.request("ModifyDataRetrieval", req, cb);
|
|
246
|
+
}
|
|
219
247
|
/**
|
|
220
248
|
* 文件系统快照概览
|
|
221
249
|
*/
|
|
@@ -241,10 +269,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
241
269
|
return this.request("ApplyPathLifecyclePolicy", req, cb);
|
|
242
270
|
}
|
|
243
271
|
/**
|
|
244
|
-
*
|
|
272
|
+
* 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
245
273
|
*/
|
|
246
|
-
async
|
|
247
|
-
return this.request("
|
|
274
|
+
async DeleteUserQuota(req, cb) {
|
|
275
|
+
return this.request("DeleteUserQuota", req, cb);
|
|
248
276
|
}
|
|
249
277
|
/**
|
|
250
278
|
* 修改数据流动相关参数
|
|
@@ -264,6 +292,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
264
292
|
async DescribeCfsFileSystems(req, cb) {
|
|
265
293
|
return this.request("DescribeCfsFileSystems", req, cb);
|
|
266
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* 用来设置文件系统扩容策略,该接口只支持turbo文件系统
|
|
297
|
+
*/
|
|
298
|
+
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
299
|
+
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
300
|
+
}
|
|
267
301
|
/**
|
|
268
302
|
* 查询文件系统快照列表
|
|
269
303
|
*/
|
|
@@ -301,16 +335,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
301
335
|
return this.request("CreateMigrationTask", req, cb);
|
|
302
336
|
}
|
|
303
337
|
/**
|
|
304
|
-
*
|
|
338
|
+
* 创建定期快照策略
|
|
305
339
|
*/
|
|
306
|
-
async
|
|
307
|
-
return this.request("
|
|
340
|
+
async CreateAutoSnapshotPolicy(req, cb) {
|
|
341
|
+
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
308
342
|
}
|
|
309
343
|
/**
|
|
310
|
-
*
|
|
344
|
+
* 本接口(CreateCfsPGroup)用于创建权限组
|
|
311
345
|
*/
|
|
312
|
-
async
|
|
313
|
-
return this.request("
|
|
346
|
+
async CreateCfsPGroup(req, cb) {
|
|
347
|
+
return this.request("CreateCfsPGroup", req, cb);
|
|
314
348
|
}
|
|
315
349
|
/**
|
|
316
350
|
* 删除快照定期策略
|
|
@@ -337,10 +371,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
337
371
|
return this.request("UpdateAutoSnapshotPolicy", req, cb);
|
|
338
372
|
}
|
|
339
373
|
/**
|
|
340
|
-
|
|
374
|
+
* 执行数据检索任务。
|
|
375
|
+
|
|
376
|
+
手动触发指定数据检索的执行,创建一个新的数据检索任务。单个文件系统同时执行的任务数不超过 20 个。
|
|
377
|
+
*/
|
|
378
|
+
async RunDataRetrievalTask(req, cb) {
|
|
379
|
+
return this.request("RunDataRetrievalTask", req, cb);
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* 查询数据检索任务
|
|
341
383
|
*/
|
|
342
|
-
async
|
|
343
|
-
return this.request("
|
|
384
|
+
async DescribeDataRetrievalTask(req, cb) {
|
|
385
|
+
return this.request("DescribeDataRetrievalTask", req, cb);
|
|
344
386
|
}
|
|
345
387
|
/**
|
|
346
388
|
* 查询快照操作日志
|
|
@@ -503,6 +503,39 @@ export interface DescribeAutoSnapshotPoliciesRequest {
|
|
|
503
503
|
* DescribeAvailableZoneInfo请求参数结构体
|
|
504
504
|
*/
|
|
505
505
|
export type DescribeAvailableZoneInfoRequest = null;
|
|
506
|
+
/**
|
|
507
|
+
* ModifyDataRetrieval请求参数结构体
|
|
508
|
+
*/
|
|
509
|
+
export interface ModifyDataRetrievalRequest {
|
|
510
|
+
/**
|
|
511
|
+
* <p>数据检索ID示例值:dataretrieval-123456</p>
|
|
512
|
+
*/
|
|
513
|
+
DataRetrievalId: string;
|
|
514
|
+
/**
|
|
515
|
+
* <p>数据检索名称示例值:DataDive</p>
|
|
516
|
+
*/
|
|
517
|
+
DataRetrievalName?: string;
|
|
518
|
+
/**
|
|
519
|
+
* <p>聚合检索条件 示例值:from entries|where size >4096</p>
|
|
520
|
+
*/
|
|
521
|
+
CompoundCondition?: string;
|
|
522
|
+
/**
|
|
523
|
+
* <p>列表检索条件</p>
|
|
524
|
+
*/
|
|
525
|
+
QueryCondition?: string;
|
|
526
|
+
/**
|
|
527
|
+
* <p>数据检索按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照;例如1 代表1号;与DayOfWeek二选一</p>
|
|
528
|
+
*/
|
|
529
|
+
DayOfMonth?: string;
|
|
530
|
+
/**
|
|
531
|
+
* <p>数据检索重复日期,星期一到星期日。 1代表星期一、7代表星期天,与DayOfMonth,二选一</p>
|
|
532
|
+
*/
|
|
533
|
+
DayOfWeek?: string;
|
|
534
|
+
/**
|
|
535
|
+
* <p>重复时间点,0-23,小时</p>
|
|
536
|
+
*/
|
|
537
|
+
Hour?: string;
|
|
538
|
+
}
|
|
506
539
|
/**
|
|
507
540
|
* DescribeMountTargets请求参数结构体
|
|
508
541
|
*/
|
|
@@ -512,6 +545,19 @@ export interface DescribeMountTargetsRequest {
|
|
|
512
545
|
*/
|
|
513
546
|
FileSystemId: string;
|
|
514
547
|
}
|
|
548
|
+
/**
|
|
549
|
+
* CreateDataRetrieval返回参数结构体
|
|
550
|
+
*/
|
|
551
|
+
export interface CreateDataRetrievalResponse {
|
|
552
|
+
/**
|
|
553
|
+
* <p>数据检索ID示例值:dataretrieval-123456</p>
|
|
554
|
+
*/
|
|
555
|
+
DataRetrievalId?: string;
|
|
556
|
+
/**
|
|
557
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
558
|
+
*/
|
|
559
|
+
RequestId?: string;
|
|
560
|
+
}
|
|
515
561
|
/**
|
|
516
562
|
* CreateDataFlow返回参数结构体
|
|
517
563
|
*/
|
|
@@ -529,6 +575,15 @@ export interface CreateDataFlowResponse {
|
|
|
529
575
|
* SignUpCfsService请求参数结构体
|
|
530
576
|
*/
|
|
531
577
|
export type SignUpCfsServiceRequest = null;
|
|
578
|
+
/**
|
|
579
|
+
* DeleteDataRetrieval请求参数结构体
|
|
580
|
+
*/
|
|
581
|
+
export interface DeleteDataRetrievalRequest {
|
|
582
|
+
/**
|
|
583
|
+
* <p>数据检索 ID。可通过 DescribeDataRetrieval 接口获取。</p>
|
|
584
|
+
*/
|
|
585
|
+
DataRetrievalId: string;
|
|
586
|
+
}
|
|
532
587
|
/**
|
|
533
588
|
* SignUpCfsService返回参数结构体
|
|
534
589
|
*/
|
|
@@ -730,37 +785,49 @@ export interface UpdateFileSystemBandwidthLimitResponse {
|
|
|
730
785
|
RequestId?: string;
|
|
731
786
|
}
|
|
732
787
|
/**
|
|
733
|
-
*
|
|
788
|
+
* 数据检索信息
|
|
734
789
|
*/
|
|
735
|
-
export interface
|
|
790
|
+
export interface DataRetrievalInfo {
|
|
736
791
|
/**
|
|
737
|
-
*
|
|
738
|
-
CreateCfsSnapshot:创建快照
|
|
739
|
-
DeleteCfsSnapshot:删除快照
|
|
740
|
-
CreateCfsFileSystem:创建文件系统
|
|
741
|
-
UpdateCfsSnapshotAttribute:更新快照
|
|
792
|
+
* <p>数据检索策略名称</p>
|
|
742
793
|
*/
|
|
743
|
-
|
|
794
|
+
DataRetrievalName?: string;
|
|
744
795
|
/**
|
|
745
|
-
*
|
|
796
|
+
* <p>迁移任务id<br>示例值:migrate-001</p>
|
|
746
797
|
*/
|
|
747
|
-
|
|
798
|
+
DataRetrievalId?: string;
|
|
748
799
|
/**
|
|
749
|
-
*
|
|
750
|
-
CreateCfsSnapshot
|
|
751
|
-
DeleteCfsSnapshot
|
|
752
|
-
CreateCfsFileSystem
|
|
753
|
-
UpdateCfsSnapshotAttribute
|
|
800
|
+
* <p>文件系统实例 ID,通过查询文件系统 DescribeCfsFileSystems </p><p>获取示例值:cfs-xxxxxx</p>
|
|
754
801
|
*/
|
|
755
|
-
|
|
802
|
+
FileSystemId?: string;
|
|
756
803
|
/**
|
|
757
|
-
*
|
|
804
|
+
* <p>聚合检索条件</p>
|
|
758
805
|
*/
|
|
759
|
-
|
|
806
|
+
CompoundCondition?: string;
|
|
760
807
|
/**
|
|
761
|
-
*
|
|
808
|
+
* <p>创建时间<br>示例值:2023-01-09 15:03:57</p>
|
|
762
809
|
*/
|
|
763
|
-
|
|
810
|
+
CreateTime?: string;
|
|
811
|
+
/**
|
|
812
|
+
* <p>数据检索重复日期,星期一到星期日。 1代表星期一、7代表星期天,与DayOfMonth,二选一</p>
|
|
813
|
+
*/
|
|
814
|
+
DayOfWeek?: string;
|
|
815
|
+
/**
|
|
816
|
+
* <p>数据检索按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照;例如1 代表1号;与DayOfWeek二选一</p>
|
|
817
|
+
*/
|
|
818
|
+
DayOfMonth?: string;
|
|
819
|
+
/**
|
|
820
|
+
* <p>重复时间点,0-23,小时</p>
|
|
821
|
+
*/
|
|
822
|
+
Hour?: string;
|
|
823
|
+
/**
|
|
824
|
+
* <p>列表检索条件</p>
|
|
825
|
+
*/
|
|
826
|
+
QueryCondition?: string;
|
|
827
|
+
/**
|
|
828
|
+
* <p>修改时间</p><p>参数格式:2023-01-10 15:03:57</p>
|
|
829
|
+
*/
|
|
830
|
+
UpdateTime?: string;
|
|
764
831
|
}
|
|
765
832
|
/**
|
|
766
833
|
* DescribeLifecyclePolicies请求参数结构体
|
|
@@ -844,17 +911,33 @@ export interface UpdateCfsRuleRequest {
|
|
|
844
911
|
Priority?: number;
|
|
845
912
|
}
|
|
846
913
|
/**
|
|
847
|
-
*
|
|
914
|
+
* DescribeDataRetrievalTask请求参数结构体
|
|
848
915
|
*/
|
|
849
|
-
export interface
|
|
916
|
+
export interface DescribeDataRetrievalTaskRequest {
|
|
850
917
|
/**
|
|
851
|
-
*
|
|
918
|
+
* <p>开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据</p><p>参数格式:2024-11-19 10:15:37</p>
|
|
852
919
|
*/
|
|
853
|
-
|
|
920
|
+
StartTime: string;
|
|
854
921
|
/**
|
|
855
|
-
*
|
|
922
|
+
* <p>结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。</p><p>参数格式:2024-10- 19 10:15:37</p>
|
|
856
923
|
*/
|
|
857
|
-
|
|
924
|
+
EndTime: string;
|
|
925
|
+
/**
|
|
926
|
+
* <p>数据检索ID示例值:dataretrieval-123456</p>
|
|
927
|
+
*/
|
|
928
|
+
DataRetrievalId: string;
|
|
929
|
+
/**
|
|
930
|
+
* <p>分页的偏移量,默认值为0。 示例值:0</p>
|
|
931
|
+
*/
|
|
932
|
+
Offset?: number;
|
|
933
|
+
/**
|
|
934
|
+
* <p>分页单页限制数目,默认值为20,最大值100。 示例值:20</p>
|
|
935
|
+
*/
|
|
936
|
+
Limit?: number;
|
|
937
|
+
/**
|
|
938
|
+
* <p>DataRetrievalTaskID按照【数据检索任务id】进行过滤。类型:String</p>
|
|
939
|
+
*/
|
|
940
|
+
Filters?: Array<Filter>;
|
|
858
941
|
}
|
|
859
942
|
/**
|
|
860
943
|
* StopLifecycleDataTask返回参数结构体
|
|
@@ -943,13 +1026,9 @@ export interface DoDirectoryOperationResponse {
|
|
|
943
1026
|
RequestId?: string;
|
|
944
1027
|
}
|
|
945
1028
|
/**
|
|
946
|
-
*
|
|
1029
|
+
* ModifyDataRetrieval返回参数结构体
|
|
947
1030
|
*/
|
|
948
|
-
export interface
|
|
949
|
-
/**
|
|
950
|
-
* 生命周期管理策略ID
|
|
951
|
-
*/
|
|
952
|
-
LifecyclePolicyID?: string;
|
|
1031
|
+
export interface ModifyDataRetrievalResponse {
|
|
953
1032
|
/**
|
|
954
1033
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
955
1034
|
*/
|
|
@@ -1016,6 +1095,59 @@ export interface ApplyPathLifecyclePolicyResponse {
|
|
|
1016
1095
|
*/
|
|
1017
1096
|
RequestId?: string;
|
|
1018
1097
|
}
|
|
1098
|
+
/**
|
|
1099
|
+
* 数据检索任务信息
|
|
1100
|
+
*/
|
|
1101
|
+
export interface DataRetrievalTaskInfo {
|
|
1102
|
+
/**
|
|
1103
|
+
* <p>数据检索任务ID<br>示例值:dataretrievaltask-123456</p>
|
|
1104
|
+
*/
|
|
1105
|
+
DataRetrievalTaskID?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* <p>迁移任务id<br>示例值:migrate-001</p>
|
|
1108
|
+
*/
|
|
1109
|
+
DataRetrievalId?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* <p>文件系统实例 ID,通过查询文件系统 DescribeCfsFileSystems 获取示例值:cfs-xxxxxx</p>
|
|
1112
|
+
*/
|
|
1113
|
+
FileSystemId?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* <p>聚合检索条件<br>示例值:from entries|where size >4096</p>
|
|
1116
|
+
*/
|
|
1117
|
+
CompoundCondition?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* <p>列表检索条件</p>
|
|
1120
|
+
*/
|
|
1121
|
+
QueryCondition?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* <p>创建时间<br>示例值:2023-01-09 15:03:57</p>
|
|
1124
|
+
*/
|
|
1125
|
+
CreateTime?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* <p>任务状态<br>已完成:completed<br>排队中:waiting<br>进行中:running<br>失败:failed</p>
|
|
1128
|
+
*/
|
|
1129
|
+
State?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* <p>文件数量<br>示例:1000</p>
|
|
1132
|
+
*/
|
|
1133
|
+
FileNum?: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* <p>目录数量<br>示例:1000</p>
|
|
1136
|
+
*/
|
|
1137
|
+
DirNum?: number;
|
|
1138
|
+
/**
|
|
1139
|
+
* <p>总文件大小,单位KiB<br>示例:1024</p>
|
|
1140
|
+
*/
|
|
1141
|
+
Size?: number;
|
|
1142
|
+
/**
|
|
1143
|
+
* <p>文件清单下载地址<br>示例值:https://xx-12345.cos.ap-shanghai.myqcloud.com/list.csv</p>
|
|
1144
|
+
*/
|
|
1145
|
+
FileList?: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* <p>检索错误提示。默认:Null,当Status为failed时,将提示信息展示给用户。</p>
|
|
1148
|
+
*/
|
|
1149
|
+
ErrorInfo?: string;
|
|
1150
|
+
}
|
|
1019
1151
|
/**
|
|
1020
1152
|
* UpdateCfsRule返回参数结构体
|
|
1021
1153
|
*/
|
|
@@ -1108,6 +1240,23 @@ export interface DescribeSnapshotOperationLogsResponse {
|
|
|
1108
1240
|
*/
|
|
1109
1241
|
RequestId?: string;
|
|
1110
1242
|
}
|
|
1243
|
+
/**
|
|
1244
|
+
* DescribeDataRetrieval返回参数结构体
|
|
1245
|
+
*/
|
|
1246
|
+
export interface DescribeDataRetrievalResponse {
|
|
1247
|
+
/**
|
|
1248
|
+
* <p>数据检索总数。</p>
|
|
1249
|
+
*/
|
|
1250
|
+
TotalCount?: number;
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>数据检索策略的详细信息</p>
|
|
1253
|
+
*/
|
|
1254
|
+
DataRetrievals?: Array<DataRetrievalInfo>;
|
|
1255
|
+
/**
|
|
1256
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1257
|
+
*/
|
|
1258
|
+
RequestId?: string;
|
|
1259
|
+
}
|
|
1111
1260
|
/**
|
|
1112
1261
|
* DeleteCfsFileSystem请求参数结构体
|
|
1113
1262
|
*/
|
|
@@ -1172,6 +1321,23 @@ export interface CreateCfsPGroupResponse {
|
|
|
1172
1321
|
* DescribeCfsServiceStatus请求参数结构体
|
|
1173
1322
|
*/
|
|
1174
1323
|
export type DescribeCfsServiceStatusRequest = null;
|
|
1324
|
+
/**
|
|
1325
|
+
* DescribeDataRetrieval请求参数结构体
|
|
1326
|
+
*/
|
|
1327
|
+
export interface DescribeDataRetrievalRequest {
|
|
1328
|
+
/**
|
|
1329
|
+
* <p>分页偏移量,默认值为 0。</p>
|
|
1330
|
+
*/
|
|
1331
|
+
Offset?: number;
|
|
1332
|
+
/**
|
|
1333
|
+
* <p>分页单页限制数目,默认值为 20,最大值为 100。</p>
|
|
1334
|
+
*/
|
|
1335
|
+
Limit?: number;
|
|
1336
|
+
/**
|
|
1337
|
+
* <p>过滤条件列表。支持的过滤字段:FileSystemId(文件系统 ID)、DataRetrievalId(数据检索 ID)、Name(数据检索名称,支持模糊搜索)。最多支持 10 个。</p>
|
|
1338
|
+
*/
|
|
1339
|
+
Filters?: Array<Filter>;
|
|
1340
|
+
}
|
|
1175
1341
|
/**
|
|
1176
1342
|
* 有规则冲突时返回的已有冲突规则信息列表
|
|
1177
1343
|
*/
|
|
@@ -1416,6 +1582,19 @@ export interface LifecyclePolicy {
|
|
|
1416
1582
|
*/
|
|
1417
1583
|
Paths: Array<PathInfo>;
|
|
1418
1584
|
}
|
|
1585
|
+
/**
|
|
1586
|
+
* RunDataRetrievalTask返回参数结构体
|
|
1587
|
+
*/
|
|
1588
|
+
export interface RunDataRetrievalTaskResponse {
|
|
1589
|
+
/**
|
|
1590
|
+
* <p>数据检索任务 ID。</p>
|
|
1591
|
+
*/
|
|
1592
|
+
DataRetrievalTaskId?: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1595
|
+
*/
|
|
1596
|
+
RequestId?: string;
|
|
1597
|
+
}
|
|
1419
1598
|
/**
|
|
1420
1599
|
* CreateCfsSnapshot返回参数结构体
|
|
1421
1600
|
*/
|
|
@@ -2100,6 +2279,52 @@ export interface DescribeCfsFileSystemClientsRequest {
|
|
|
2100
2279
|
*/
|
|
2101
2280
|
Limit?: number;
|
|
2102
2281
|
}
|
|
2282
|
+
/**
|
|
2283
|
+
* OverrideCfsRules请求参数结构体
|
|
2284
|
+
*/
|
|
2285
|
+
export interface OverrideCfsRulesRequest {
|
|
2286
|
+
/**
|
|
2287
|
+
* 权限组 ID
|
|
2288
|
+
*/
|
|
2289
|
+
PermissionGroupId: string;
|
|
2290
|
+
/**
|
|
2291
|
+
* 权限组规则列表
|
|
2292
|
+
*/
|
|
2293
|
+
RuleList: Array<InputPermissionGroupRules>;
|
|
2294
|
+
}
|
|
2295
|
+
/**
|
|
2296
|
+
* CreateDataRetrieval请求参数结构体
|
|
2297
|
+
*/
|
|
2298
|
+
export interface CreateDataRetrievalRequest {
|
|
2299
|
+
/**
|
|
2300
|
+
* <p>文件系统实例 ID,通过查询文件系统 DescribeCfsFileSystems 获取 示例值:cfs-xxxxxx</p>
|
|
2301
|
+
*/
|
|
2302
|
+
FileSystemId: string;
|
|
2303
|
+
/**
|
|
2304
|
+
* <p>数据检索名称 示例值:DataDive</p>
|
|
2305
|
+
*/
|
|
2306
|
+
DataRetrievalName: string;
|
|
2307
|
+
/**
|
|
2308
|
+
* <p>聚合检索条件 示例值:from entries|where size >4096</p>
|
|
2309
|
+
*/
|
|
2310
|
+
CompoundCondition?: string;
|
|
2311
|
+
/**
|
|
2312
|
+
* <p>列表检索条件</p>
|
|
2313
|
+
*/
|
|
2314
|
+
QueryCondition?: string;
|
|
2315
|
+
/**
|
|
2316
|
+
* <p>数据检索按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照;例如1 代表1号;与DayOfWeek二选一 示例值:1</p>
|
|
2317
|
+
*/
|
|
2318
|
+
DayOfMonth?: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* <p>数据检索重复日期,星期一到星期日。 1代表星期一、7代表星期天,与DayOfMonth,二选一 示例值:2,3</p>
|
|
2321
|
+
*/
|
|
2322
|
+
DayOfWeek?: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* <p>重复时间点,0-23,小时 示例值:1,3,5</p>
|
|
2325
|
+
*/
|
|
2326
|
+
Hour?: string;
|
|
2327
|
+
}
|
|
2103
2328
|
/**
|
|
2104
2329
|
* DescribeCfsSnapshots返回参数结构体
|
|
2105
2330
|
*/
|
|
@@ -2285,6 +2510,10 @@ export interface AvailableZone {
|
|
|
2285
2510
|
*/
|
|
2286
2511
|
ZoneName?: string;
|
|
2287
2512
|
}
|
|
2513
|
+
/**
|
|
2514
|
+
* RunDataRetrievalTask请求参数结构体
|
|
2515
|
+
*/
|
|
2516
|
+
export type RunDataRetrievalTaskRequest = null;
|
|
2288
2517
|
/**
|
|
2289
2518
|
* DescribeMigrationTasks请求参数结构体
|
|
2290
2519
|
*/
|
|
@@ -2358,13 +2587,17 @@ export interface UnbindAutoSnapshotPolicyRequest {
|
|
|
2358
2587
|
AutoSnapshotPolicyId: string;
|
|
2359
2588
|
}
|
|
2360
2589
|
/**
|
|
2361
|
-
*
|
|
2590
|
+
* DescribeDataRetrievalTask返回参数结构体
|
|
2362
2591
|
*/
|
|
2363
|
-
export interface
|
|
2592
|
+
export interface DescribeDataRetrievalTaskResponse {
|
|
2364
2593
|
/**
|
|
2365
|
-
*
|
|
2594
|
+
* <p>数据检索任务总量 示例值:0</p>
|
|
2366
2595
|
*/
|
|
2367
|
-
|
|
2596
|
+
TotalCount?: number;
|
|
2597
|
+
/**
|
|
2598
|
+
* <p>检索任务详情</p>
|
|
2599
|
+
*/
|
|
2600
|
+
DataRetrievalTasks?: Array<DataRetrievalTaskInfo>;
|
|
2368
2601
|
/**
|
|
2369
2602
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2370
2603
|
*/
|
|
@@ -2458,6 +2691,39 @@ export interface UpdateCfsFileSystemSizeLimitResponse {
|
|
|
2458
2691
|
*/
|
|
2459
2692
|
RequestId?: string;
|
|
2460
2693
|
}
|
|
2694
|
+
/**
|
|
2695
|
+
* 快照操作日志
|
|
2696
|
+
*/
|
|
2697
|
+
export interface SnapshotOperateLog {
|
|
2698
|
+
/**
|
|
2699
|
+
* 操作类型
|
|
2700
|
+
CreateCfsSnapshot:创建快照
|
|
2701
|
+
DeleteCfsSnapshot:删除快照
|
|
2702
|
+
CreateCfsFileSystem:创建文件系统
|
|
2703
|
+
UpdateCfsSnapshotAttribute:更新快照
|
|
2704
|
+
*/
|
|
2705
|
+
Action?: string;
|
|
2706
|
+
/**
|
|
2707
|
+
* 操作时间
|
|
2708
|
+
*/
|
|
2709
|
+
ActionTime?: string;
|
|
2710
|
+
/**
|
|
2711
|
+
* 操作名称
|
|
2712
|
+
CreateCfsSnapshot
|
|
2713
|
+
DeleteCfsSnapshot
|
|
2714
|
+
CreateCfsFileSystem
|
|
2715
|
+
UpdateCfsSnapshotAttribute
|
|
2716
|
+
*/
|
|
2717
|
+
ActionName?: string;
|
|
2718
|
+
/**
|
|
2719
|
+
* 操作者uin
|
|
2720
|
+
*/
|
|
2721
|
+
Operator?: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* 1-任务进行中;2-任务成功;3-任务失败
|
|
2724
|
+
*/
|
|
2725
|
+
Result?: number;
|
|
2726
|
+
}
|
|
2461
2727
|
/**
|
|
2462
2728
|
* UpdateAutoSnapshotPolicy请求参数结构体
|
|
2463
2729
|
*/
|
|
@@ -2508,6 +2774,15 @@ export interface UpdateCfsFileSystemSizeLimitRequest {
|
|
|
2508
2774
|
*/
|
|
2509
2775
|
FileSystemId: string;
|
|
2510
2776
|
}
|
|
2777
|
+
/**
|
|
2778
|
+
* DeleteDataRetrieval返回参数结构体
|
|
2779
|
+
*/
|
|
2780
|
+
export interface DeleteDataRetrievalResponse {
|
|
2781
|
+
/**
|
|
2782
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2783
|
+
*/
|
|
2784
|
+
RequestId?: string;
|
|
2785
|
+
}
|
|
2511
2786
|
/**
|
|
2512
2787
|
* DescribeCfsRules返回参数结构体
|
|
2513
2788
|
*/
|
|
@@ -2764,21 +3039,17 @@ export interface DeleteDataFlowRequest {
|
|
|
2764
3039
|
FileSystemId?: string;
|
|
2765
3040
|
}
|
|
2766
3041
|
/**
|
|
2767
|
-
*
|
|
3042
|
+
* ModifyLifecyclePolicy返回参数结构体
|
|
2768
3043
|
*/
|
|
2769
|
-
export interface
|
|
2770
|
-
/**
|
|
2771
|
-
* 文件系统ID
|
|
2772
|
-
*/
|
|
2773
|
-
FileSystemId: string;
|
|
3044
|
+
export interface ModifyLifecyclePolicyResponse {
|
|
2774
3045
|
/**
|
|
2775
|
-
*
|
|
3046
|
+
* 生命周期管理策略ID
|
|
2776
3047
|
*/
|
|
2777
|
-
|
|
3048
|
+
LifecyclePolicyID?: string;
|
|
2778
3049
|
/**
|
|
2779
|
-
*
|
|
3050
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2780
3051
|
*/
|
|
2781
|
-
|
|
3052
|
+
RequestId?: string;
|
|
2782
3053
|
}
|
|
2783
3054
|
/**
|
|
2784
3055
|
* SetUserQuota返回参数结构体
|
|
@@ -3076,6 +3347,36 @@ export interface ModifyDataFlowRequest {
|
|
|
3076
3347
|
* DescribeCfsSnapshotOverview请求参数结构体
|
|
3077
3348
|
*/
|
|
3078
3349
|
export type DescribeCfsSnapshotOverviewRequest = null;
|
|
3350
|
+
/**
|
|
3351
|
+
* UnbindAutoSnapshotPolicy返回参数结构体
|
|
3352
|
+
*/
|
|
3353
|
+
export interface UnbindAutoSnapshotPolicyResponse {
|
|
3354
|
+
/**
|
|
3355
|
+
* 快照策略ID
|
|
3356
|
+
*/
|
|
3357
|
+
AutoSnapshotPolicyId?: string;
|
|
3358
|
+
/**
|
|
3359
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3360
|
+
*/
|
|
3361
|
+
RequestId?: string;
|
|
3362
|
+
}
|
|
3363
|
+
/**
|
|
3364
|
+
* 生命周期管理策略关联目录的绝对路径
|
|
3365
|
+
*/
|
|
3366
|
+
export interface PathInfo {
|
|
3367
|
+
/**
|
|
3368
|
+
* 文件系统ID
|
|
3369
|
+
*/
|
|
3370
|
+
FileSystemId: string;
|
|
3371
|
+
/**
|
|
3372
|
+
* 目录绝对路径
|
|
3373
|
+
*/
|
|
3374
|
+
Path: string;
|
|
3375
|
+
/**
|
|
3376
|
+
* 数据流动Id
|
|
3377
|
+
*/
|
|
3378
|
+
DataFlowId?: string;
|
|
3379
|
+
}
|
|
3079
3380
|
/**
|
|
3080
3381
|
* CreateAutoSnapshotPolicy请求参数结构体
|
|
3081
3382
|
*/
|