tencentcloud-sdk-nodejs-intl-en 3.0.548 → 3.0.550
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 +1 -1
- package/tencentcloud/cdn/v20180606/models.js +6 -9
- package/tencentcloud/cfs/v20190719/cfs_client.js +267 -105
- package/tencentcloud/cfs/v20190719/models.js +2290 -795
- package/tencentcloud/ciam/v20220331/ciam_client.js +15 -0
- package/tencentcloud/ciam/v20220331/models.js +379 -6
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/monitor/v20180724/models.js +739 -96
- package/tencentcloud/monitor/v20180724/monitor_client.js +26 -5
- package/tencentcloud/teo/v20220901/models.js +15280 -6810
- package/tencentcloud/teo/v20220901/teo_client.js +1269 -669
- package/tencentcloud/trtc/v20190722/models.js +3 -3
- package/tencentcloud/vod/v20180717/models.js +1 -1
package/package.json
CHANGED
|
@@ -730,11 +730,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
730
730
|
this.Switch = null;
|
|
731
731
|
|
|
732
732
|
/**
|
|
733
|
-
*
|
|
733
|
+
* Whether to enable HTTP2
|
|
734
734
|
`on`: Enable
|
|
735
735
|
`off`: Disable
|
|
736
|
-
|
|
737
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
736
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
738
737
|
* @type {string || null}
|
|
739
738
|
*/
|
|
740
739
|
this.Http2 = null;
|
|
@@ -6724,7 +6723,6 @@ class DomainAreaConfig extends AbstractModel {
|
|
|
6724
6723
|
* HTTPS acceleration server certificate configuration:
|
|
6725
6724
|
+ Supports deployment with certificates that are being hosted by the SSL Certificate Services
|
|
6726
6725
|
+ Supports uploading certificates of PEM format for deployment
|
|
6727
|
-
Note: when uploading certificates of PEM format, the Base64 encoding is required.
|
|
6728
6726
|
* @class
|
|
6729
6727
|
*/
|
|
6730
6728
|
class ServerCert extends AbstractModel {
|
|
@@ -9124,7 +9122,7 @@ This feature is in beta test.
|
|
|
9124
9122
|
this.DisableRange = null;
|
|
9125
9123
|
|
|
9126
9124
|
/**
|
|
9127
|
-
*
|
|
9125
|
+
* Custom HTTP request headers (Up to 20). `Name`: Up to 128 characters. `Value`: Up to 1024 characters.
|
|
9128
9126
|
* @type {Array.<HTTPHeader> || null}
|
|
9129
9127
|
*/
|
|
9130
9128
|
this.Headers = null;
|
|
@@ -12177,7 +12175,6 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
12177
12175
|
|
|
12178
12176
|
/**
|
|
12179
12177
|
* Action taken when threshold is reached
|
|
12180
|
-
`RESOLVE_DNS_TO_ORIGIN`: Requests will be forwarded to the origin server. This is only supported for domain names of external origin.
|
|
12181
12178
|
`RETURN_404`: A 404 error will be returned for all requests.
|
|
12182
12179
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
12183
12180
|
* @type {string || null}
|
|
@@ -15167,7 +15164,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
15167
15164
|
}
|
|
15168
15165
|
|
|
15169
15166
|
/**
|
|
15170
|
-
*
|
|
15167
|
+
* HTTP request header
|
|
15171
15168
|
* @class
|
|
15172
15169
|
*/
|
|
15173
15170
|
class HTTPHeader extends AbstractModel {
|
|
@@ -15175,13 +15172,13 @@ class HTTPHeader extends AbstractModel {
|
|
|
15175
15172
|
super();
|
|
15176
15173
|
|
|
15177
15174
|
/**
|
|
15178
|
-
*
|
|
15175
|
+
* Request header name
|
|
15179
15176
|
* @type {string || null}
|
|
15180
15177
|
*/
|
|
15181
15178
|
this.Name = null;
|
|
15182
15179
|
|
|
15183
15180
|
/**
|
|
15184
|
-
*
|
|
15181
|
+
* Request header value
|
|
15185
15182
|
* @type {string || null}
|
|
15186
15183
|
*/
|
|
15187
15184
|
this.Value = null;
|
|
@@ -17,56 +17,86 @@
|
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const DeleteCfsFileSystemResponse = models.DeleteCfsFileSystemResponse;
|
|
20
|
-
const
|
|
21
|
-
const UpdateCfsRuleRequest = models.UpdateCfsRuleRequest;
|
|
20
|
+
const SnapshotInfo = models.SnapshotInfo;
|
|
22
21
|
const DescribeCfsFileSystemsRequest = models.DescribeCfsFileSystemsRequest;
|
|
23
22
|
const DeleteMountTargetRequest = models.DeleteMountTargetRequest;
|
|
24
23
|
const CreateCfsRuleRequest = models.CreateCfsRuleRequest;
|
|
24
|
+
const FileSystemInfo = models.FileSystemInfo;
|
|
25
25
|
const PGroup = models.PGroup;
|
|
26
26
|
const DescribeAvailableZoneInfoResponse = models.DescribeAvailableZoneInfoResponse;
|
|
27
|
-
const
|
|
27
|
+
const SnapshotStatistics = models.SnapshotStatistics;
|
|
28
28
|
const UpdateCfsFileSystemNameRequest = models.UpdateCfsFileSystemNameRequest;
|
|
29
|
+
const DeleteCfsSnapshotResponse = models.DeleteCfsSnapshotResponse;
|
|
29
30
|
const DescribeCfsPGroupsResponse = models.DescribeCfsPGroupsResponse;
|
|
30
31
|
const DescribeCfsFileSystemClientsResponse = models.DescribeCfsFileSystemClientsResponse;
|
|
31
|
-
const
|
|
32
|
-
const
|
|
32
|
+
const SnapshotOperateLog = models.SnapshotOperateLog;
|
|
33
|
+
const DescribeSnapshotOperationLogsResponse = models.DescribeSnapshotOperationLogsResponse;
|
|
34
|
+
const UpdateCfsRuleRequest = models.UpdateCfsRuleRequest;
|
|
35
|
+
const DeleteAutoSnapshotPolicyResponse = models.DeleteAutoSnapshotPolicyResponse;
|
|
36
|
+
const CreateCfsSnapshotRequest = models.CreateCfsSnapshotRequest;
|
|
37
|
+
const DescribeSnapshotOperationLogsRequest = models.DescribeSnapshotOperationLogsRequest;
|
|
33
38
|
const DeleteCfsRuleResponse = models.DeleteCfsRuleResponse;
|
|
39
|
+
const DescribeCfsSnapshotOverviewResponse = models.DescribeCfsSnapshotOverviewResponse;
|
|
34
40
|
const DeleteCfsRuleRequest = models.DeleteCfsRuleRequest;
|
|
41
|
+
const DeleteMountTargetResponse = models.DeleteMountTargetResponse;
|
|
35
42
|
const UpdateCfsPGroupRequest = models.UpdateCfsPGroupRequest;
|
|
36
43
|
const MountInfo = models.MountInfo;
|
|
37
44
|
const UpdateCfsRuleResponse = models.UpdateCfsRuleResponse;
|
|
38
45
|
const FileSystemClient = models.FileSystemClient;
|
|
39
46
|
const DescribeCfsFileSystemsResponse = models.DescribeCfsFileSystemsResponse;
|
|
47
|
+
const DescribeAutoSnapshotPoliciesResponse = models.DescribeAutoSnapshotPoliciesResponse;
|
|
40
48
|
const CreateCfsFileSystemResponse = models.CreateCfsFileSystemResponse;
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const DescribeCfsPGroupsRequest = models.DescribeCfsPGroupsRequest;
|
|
49
|
+
const DescribeMountTargetsResponse = models.DescribeMountTargetsResponse;
|
|
50
|
+
const BindAutoSnapshotPolicyRequest = models.BindAutoSnapshotPolicyRequest;
|
|
44
51
|
const DescribeCfsFileSystemClientsRequest = models.DescribeCfsFileSystemClientsRequest;
|
|
52
|
+
const DeleteCfsSnapshotRequest = models.DeleteCfsSnapshotRequest;
|
|
53
|
+
const DescribeCfsPGroupsRequest = models.DescribeCfsPGroupsRequest;
|
|
54
|
+
const AvailableZone = models.AvailableZone;
|
|
45
55
|
const CreateCfsPGroupRequest = models.CreateCfsPGroupRequest;
|
|
46
56
|
const DeleteCfsPGroupResponse = models.DeleteCfsPGroupResponse;
|
|
47
|
-
const
|
|
48
|
-
const
|
|
57
|
+
const DescribeCfsSnapshotsResponse = models.DescribeCfsSnapshotsResponse;
|
|
58
|
+
const DescribeAutoSnapshotPoliciesRequest = models.DescribeAutoSnapshotPoliciesRequest;
|
|
59
|
+
const DeleteCfsFileSystemRequest = models.DeleteCfsFileSystemRequest;
|
|
49
60
|
const AvailableRegion = models.AvailableRegion;
|
|
61
|
+
const UpdateCfsSnapshotAttributeRequest = models.UpdateCfsSnapshotAttributeRequest;
|
|
50
62
|
const CreateCfsFileSystemRequest = models.CreateCfsFileSystemRequest;
|
|
51
63
|
const DescribeMountTargetsRequest = models.DescribeMountTargetsRequest;
|
|
52
64
|
const CreateCfsPGroupResponse = models.CreateCfsPGroupResponse;
|
|
53
|
-
const
|
|
65
|
+
const UpdateCfsFileSystemPGroupRequest = models.UpdateCfsFileSystemPGroupRequest;
|
|
66
|
+
const PGroupRuleInfo = models.PGroupRuleInfo;
|
|
67
|
+
const UpdateCfsFileSystemNameResponse = models.UpdateCfsFileSystemNameResponse;
|
|
54
68
|
const DescribeCfsServiceStatusRequest = models.DescribeCfsServiceStatusRequest;
|
|
69
|
+
const UpdateCfsSnapshotAttributeResponse = models.UpdateCfsSnapshotAttributeResponse;
|
|
70
|
+
const FileSystemByPolicy = models.FileSystemByPolicy;
|
|
55
71
|
const PGroupInfo = models.PGroupInfo;
|
|
72
|
+
const Filter = models.Filter;
|
|
73
|
+
const UnbindAutoSnapshotPolicyRequest = models.UnbindAutoSnapshotPolicyRequest;
|
|
56
74
|
const SignUpCfsServiceResponse = models.SignUpCfsServiceResponse;
|
|
57
|
-
const
|
|
75
|
+
const AutoSnapshotPolicyInfo = models.AutoSnapshotPolicyInfo;
|
|
58
76
|
const DescribeCfsServiceStatusResponse = models.DescribeCfsServiceStatusResponse;
|
|
59
77
|
const CreateCfsRuleResponse = models.CreateCfsRuleResponse;
|
|
78
|
+
const CreateAutoSnapshotPolicyResponse = models.CreateAutoSnapshotPolicyResponse;
|
|
79
|
+
const UpdateCfsFileSystemPGroupResponse = models.UpdateCfsFileSystemPGroupResponse;
|
|
80
|
+
const TagInfo = models.TagInfo;
|
|
60
81
|
const AvailableProtoStatus = models.AvailableProtoStatus;
|
|
61
82
|
const DescribeCfsRulesRequest = models.DescribeCfsRulesRequest;
|
|
62
|
-
const
|
|
83
|
+
const BindAutoSnapshotPolicyResponse = models.BindAutoSnapshotPolicyResponse;
|
|
84
|
+
const DescribeCfsSnapshotsRequest = models.DescribeCfsSnapshotsRequest;
|
|
85
|
+
const UpdateCfsFileSystemSizeLimitResponse = models.UpdateCfsFileSystemSizeLimitResponse;
|
|
63
86
|
const DeleteCfsPGroupRequest = models.DeleteCfsPGroupRequest;
|
|
87
|
+
const UpdateAutoSnapshotPolicyRequest = models.UpdateAutoSnapshotPolicyRequest;
|
|
88
|
+
const DescribeCfsSnapshotOverviewRequest = models.DescribeCfsSnapshotOverviewRequest;
|
|
64
89
|
const AvailableType = models.AvailableType;
|
|
90
|
+
const UnbindAutoSnapshotPolicyResponse = models.UnbindAutoSnapshotPolicyResponse;
|
|
65
91
|
const UpdateCfsFileSystemSizeLimitRequest = models.UpdateCfsFileSystemSizeLimitRequest;
|
|
66
|
-
const
|
|
92
|
+
const DescribeAvailableZoneInfoRequest = models.DescribeAvailableZoneInfoRequest;
|
|
67
93
|
const UpdateCfsPGroupResponse = models.UpdateCfsPGroupResponse;
|
|
68
94
|
const DescribeCfsRulesResponse = models.DescribeCfsRulesResponse;
|
|
69
|
-
const
|
|
95
|
+
const SignUpCfsServiceRequest = models.SignUpCfsServiceRequest;
|
|
96
|
+
const DeleteAutoSnapshotPolicyRequest = models.DeleteAutoSnapshotPolicyRequest;
|
|
97
|
+
const CreateAutoSnapshotPolicyRequest = models.CreateAutoSnapshotPolicyRequest;
|
|
98
|
+
const UpdateAutoSnapshotPolicyResponse = models.UpdateAutoSnapshotPolicyResponse;
|
|
99
|
+
const CreateCfsSnapshotResponse = models.CreateCfsSnapshotResponse;
|
|
70
100
|
|
|
71
101
|
|
|
72
102
|
/**
|
|
@@ -80,14 +110,47 @@ class CfsClient extends AbstractClient {
|
|
|
80
110
|
}
|
|
81
111
|
|
|
82
112
|
/**
|
|
83
|
-
* This API is used to
|
|
84
|
-
* @param {
|
|
85
|
-
* @param {function(string,
|
|
113
|
+
* This API is used to query the list of permission group rules.
|
|
114
|
+
* @param {DescribeCfsRulesRequest} req
|
|
115
|
+
* @param {function(string, DescribeCfsRulesResponse):void} cb
|
|
86
116
|
* @public
|
|
87
117
|
*/
|
|
88
|
-
|
|
89
|
-
let resp = new
|
|
90
|
-
this.request("
|
|
118
|
+
DescribeCfsRules(req, cb) {
|
|
119
|
+
let resp = new DescribeCfsRulesResponse();
|
|
120
|
+
this.request("DescribeCfsRules", req, resp, cb);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* This API is used to update the permission group used by a file system.
|
|
125
|
+
* @param {UpdateCfsFileSystemPGroupRequest} req
|
|
126
|
+
* @param {function(string, UpdateCfsFileSystemPGroupResponse):void} cb
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
UpdateCfsFileSystemPGroup(req, cb) {
|
|
130
|
+
let resp = new UpdateCfsFileSystemPGroupResponse();
|
|
131
|
+
this.request("UpdateCfsFileSystemPGroup", req, resp, cb);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* This API is used to activate the CFS service.
|
|
136
|
+
* @param {SignUpCfsServiceRequest} req
|
|
137
|
+
* @param {function(string, SignUpCfsServiceResponse):void} cb
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
SignUpCfsService(req, cb) {
|
|
141
|
+
let resp = new SignUpCfsServiceResponse();
|
|
142
|
+
this.request("SignUpCfsService", req, resp, cb);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* This API is used to delete a file system snapshot.
|
|
147
|
+
* @param {DeleteCfsSnapshotRequest} req
|
|
148
|
+
* @param {function(string, DeleteCfsSnapshotResponse):void} cb
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
DeleteCfsSnapshot(req, cb) {
|
|
152
|
+
let resp = new DeleteCfsSnapshotResponse();
|
|
153
|
+
this.request("DeleteCfsSnapshot", req, resp, cb);
|
|
91
154
|
}
|
|
92
155
|
|
|
93
156
|
/**
|
|
@@ -102,25 +165,58 @@ class CfsClient extends AbstractClient {
|
|
|
102
165
|
}
|
|
103
166
|
|
|
104
167
|
/**
|
|
105
|
-
* This API is used to query the list of
|
|
106
|
-
* @param {
|
|
107
|
-
* @param {function(string,
|
|
168
|
+
* This API is used to query the list of scheduled snapshot policies of a file system.
|
|
169
|
+
* @param {DescribeAutoSnapshotPoliciesRequest} req
|
|
170
|
+
* @param {function(string, DescribeAutoSnapshotPoliciesResponse):void} cb
|
|
108
171
|
* @public
|
|
109
172
|
*/
|
|
110
|
-
|
|
111
|
-
let resp = new
|
|
112
|
-
this.request("
|
|
173
|
+
DescribeAutoSnapshotPolicies(req, cb) {
|
|
174
|
+
let resp = new DescribeAutoSnapshotPoliciesResponse();
|
|
175
|
+
this.request("DescribeAutoSnapshotPolicies", req, resp, cb);
|
|
113
176
|
}
|
|
114
177
|
|
|
115
178
|
/**
|
|
116
|
-
* This API is used to
|
|
117
|
-
* @param {
|
|
118
|
-
* @param {function(string,
|
|
179
|
+
* This API is used to bind one or multiple file systems to a snapshot policy. A file system can be bound to only one policy.
|
|
180
|
+
* @param {BindAutoSnapshotPolicyRequest} req
|
|
181
|
+
* @param {function(string, BindAutoSnapshotPolicyResponse):void} cb
|
|
119
182
|
* @public
|
|
120
183
|
*/
|
|
121
|
-
|
|
122
|
-
let resp = new
|
|
123
|
-
this.request("
|
|
184
|
+
BindAutoSnapshotPolicy(req, cb) {
|
|
185
|
+
let resp = new BindAutoSnapshotPolicyResponse();
|
|
186
|
+
this.request("BindAutoSnapshotPolicy", req, resp, cb);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* This API is used to delete a permission group.
|
|
191
|
+
* @param {DeleteCfsPGroupRequest} req
|
|
192
|
+
* @param {function(string, DeleteCfsPGroupResponse):void} cb
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
DeleteCfsPGroup(req, cb) {
|
|
196
|
+
let resp = new DeleteCfsPGroupResponse();
|
|
197
|
+
this.request("DeleteCfsPGroup", req, resp, cb);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* This API is used to query clients on which this file system is mounted. To do so, the client needs to have the CFS monitoring plugin installed.
|
|
202
|
+
* @param {DescribeCfsFileSystemClientsRequest} req
|
|
203
|
+
* @param {function(string, DescribeCfsFileSystemClientsResponse):void} cb
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
DescribeCfsFileSystemClients(req, cb) {
|
|
207
|
+
let resp = new DescribeCfsFileSystemClientsResponse();
|
|
208
|
+
this.request("DescribeCfsFileSystemClients", req, resp, cb);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* This API is used to query the status of the CFS service.
|
|
213
|
+
* @param {DescribeCfsServiceStatusRequest} req
|
|
214
|
+
* @param {function(string, DescribeCfsServiceStatusResponse):void} cb
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
DescribeCfsServiceStatus(req, cb) {
|
|
218
|
+
let resp = new DescribeCfsServiceStatusResponse();
|
|
219
|
+
this.request("DescribeCfsServiceStatus", req, resp, cb);
|
|
124
220
|
}
|
|
125
221
|
|
|
126
222
|
/**
|
|
@@ -145,6 +241,17 @@ class CfsClient extends AbstractClient {
|
|
|
145
241
|
this.request("UpdateCfsFileSystemName", req, resp, cb);
|
|
146
242
|
}
|
|
147
243
|
|
|
244
|
+
/**
|
|
245
|
+
* This API is used to update the capacity limit of a file system.
|
|
246
|
+
* @param {UpdateCfsFileSystemSizeLimitRequest} req
|
|
247
|
+
* @param {function(string, UpdateCfsFileSystemSizeLimitResponse):void} cb
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
UpdateCfsFileSystemSizeLimit(req, cb) {
|
|
251
|
+
let resp = new UpdateCfsFileSystemSizeLimitResponse();
|
|
252
|
+
this.request("UpdateCfsFileSystemSizeLimit", req, resp, cb);
|
|
253
|
+
}
|
|
254
|
+
|
|
148
255
|
/**
|
|
149
256
|
* This API is used to delete a file system.
|
|
150
257
|
* @param {DeleteCfsFileSystemRequest} req
|
|
@@ -157,47 +264,47 @@ class CfsClient extends AbstractClient {
|
|
|
157
264
|
}
|
|
158
265
|
|
|
159
266
|
/**
|
|
160
|
-
* This API is used to
|
|
161
|
-
* @param {
|
|
162
|
-
* @param {function(string,
|
|
267
|
+
* This API is used to create a file system.
|
|
268
|
+
* @param {CreateCfsFileSystemRequest} req
|
|
269
|
+
* @param {function(string, CreateCfsFileSystemResponse):void} cb
|
|
163
270
|
* @public
|
|
164
271
|
*/
|
|
165
|
-
|
|
166
|
-
let resp = new
|
|
167
|
-
this.request("
|
|
272
|
+
CreateCfsFileSystem(req, cb) {
|
|
273
|
+
let resp = new CreateCfsFileSystemResponse();
|
|
274
|
+
this.request("CreateCfsFileSystem", req, resp, cb);
|
|
168
275
|
}
|
|
169
276
|
|
|
170
277
|
/**
|
|
171
|
-
* This API is used to
|
|
172
|
-
* @param {
|
|
173
|
-
* @param {function(string,
|
|
278
|
+
* This API is used to update the name and retention period of a file system snapshot.
|
|
279
|
+
* @param {UpdateCfsSnapshotAttributeRequest} req
|
|
280
|
+
* @param {function(string, UpdateCfsSnapshotAttributeResponse):void} cb
|
|
174
281
|
* @public
|
|
175
282
|
*/
|
|
176
|
-
|
|
177
|
-
let resp = new
|
|
178
|
-
this.request("
|
|
283
|
+
UpdateCfsSnapshotAttribute(req, cb) {
|
|
284
|
+
let resp = new UpdateCfsSnapshotAttributeResponse();
|
|
285
|
+
this.request("UpdateCfsSnapshotAttribute", req, resp, cb);
|
|
179
286
|
}
|
|
180
287
|
|
|
181
288
|
/**
|
|
182
|
-
* This API is used to
|
|
183
|
-
* @param {
|
|
184
|
-
* @param {function(string,
|
|
289
|
+
* This API is used to get the snapshot overview of a file system.
|
|
290
|
+
* @param {DescribeCfsSnapshotOverviewRequest} req
|
|
291
|
+
* @param {function(string, DescribeCfsSnapshotOverviewResponse):void} cb
|
|
185
292
|
* @public
|
|
186
293
|
*/
|
|
187
|
-
|
|
188
|
-
let resp = new
|
|
189
|
-
this.request("
|
|
294
|
+
DescribeCfsSnapshotOverview(req, cb) {
|
|
295
|
+
let resp = new DescribeCfsSnapshotOverviewResponse();
|
|
296
|
+
this.request("DescribeCfsSnapshotOverview", req, resp, cb);
|
|
190
297
|
}
|
|
191
298
|
|
|
192
299
|
/**
|
|
193
|
-
* This API is used to
|
|
194
|
-
* @param {
|
|
195
|
-
* @param {function(string,
|
|
300
|
+
* This API is used to update a scheduled snapshot policy.
|
|
301
|
+
* @param {UpdateAutoSnapshotPolicyRequest} req
|
|
302
|
+
* @param {function(string, UpdateAutoSnapshotPolicyResponse):void} cb
|
|
196
303
|
* @public
|
|
197
304
|
*/
|
|
198
|
-
|
|
199
|
-
let resp = new
|
|
200
|
-
this.request("
|
|
305
|
+
UpdateAutoSnapshotPolicy(req, cb) {
|
|
306
|
+
let resp = new UpdateAutoSnapshotPolicyResponse();
|
|
307
|
+
this.request("UpdateAutoSnapshotPolicy", req, resp, cb);
|
|
201
308
|
}
|
|
202
309
|
|
|
203
310
|
/**
|
|
@@ -212,91 +319,146 @@ class CfsClient extends AbstractClient {
|
|
|
212
319
|
}
|
|
213
320
|
|
|
214
321
|
/**
|
|
215
|
-
* This API is used to
|
|
216
|
-
* @param {
|
|
217
|
-
* @param {function(string,
|
|
322
|
+
* This API is used to query the list of snapshots of a file system.
|
|
323
|
+
* @param {DescribeCfsSnapshotsRequest} req
|
|
324
|
+
* @param {function(string, DescribeCfsSnapshotsResponse):void} cb
|
|
218
325
|
* @public
|
|
219
326
|
*/
|
|
220
|
-
|
|
221
|
-
let resp = new
|
|
222
|
-
this.request("
|
|
327
|
+
DescribeCfsSnapshots(req, cb) {
|
|
328
|
+
let resp = new DescribeCfsSnapshotsResponse();
|
|
329
|
+
this.request("DescribeCfsSnapshots", req, resp, cb);
|
|
223
330
|
}
|
|
224
331
|
|
|
225
332
|
/**
|
|
226
|
-
* This API is used to
|
|
227
|
-
* @param {
|
|
228
|
-
* @param {function(string,
|
|
333
|
+
* This API is used to query the mount targets of a file system.
|
|
334
|
+
* @param {DescribeMountTargetsRequest} req
|
|
335
|
+
* @param {function(string, DescribeMountTargetsResponse):void} cb
|
|
229
336
|
* @public
|
|
230
337
|
*/
|
|
231
|
-
|
|
232
|
-
let resp = new
|
|
233
|
-
this.request("
|
|
338
|
+
DescribeMountTargets(req, cb) {
|
|
339
|
+
let resp = new DescribeMountTargetsResponse();
|
|
340
|
+
this.request("DescribeMountTargets", req, resp, cb);
|
|
234
341
|
}
|
|
235
342
|
|
|
236
343
|
/**
|
|
237
|
-
* This API is used to delete a permission group.
|
|
238
|
-
* @param {
|
|
239
|
-
* @param {function(string,
|
|
344
|
+
* This API is used to delete a permission group rule.
|
|
345
|
+
* @param {DeleteCfsRuleRequest} req
|
|
346
|
+
* @param {function(string, DeleteCfsRuleResponse):void} cb
|
|
240
347
|
* @public
|
|
241
348
|
*/
|
|
242
|
-
|
|
243
|
-
let resp = new
|
|
244
|
-
this.request("
|
|
349
|
+
DeleteCfsRule(req, cb) {
|
|
350
|
+
let resp = new DeleteCfsRuleResponse();
|
|
351
|
+
this.request("DeleteCfsRule", req, resp, cb);
|
|
245
352
|
}
|
|
246
353
|
|
|
247
354
|
/**
|
|
248
|
-
* This API is used to
|
|
249
|
-
* @param {
|
|
250
|
-
* @param {function(string,
|
|
355
|
+
* This API is used to delete a mount target.
|
|
356
|
+
* @param {DeleteMountTargetRequest} req
|
|
357
|
+
* @param {function(string, DeleteMountTargetResponse):void} cb
|
|
251
358
|
* @public
|
|
252
359
|
*/
|
|
253
|
-
|
|
254
|
-
let resp = new
|
|
255
|
-
this.request("
|
|
360
|
+
DeleteMountTarget(req, cb) {
|
|
361
|
+
let resp = new DeleteMountTargetResponse();
|
|
362
|
+
this.request("DeleteMountTarget", req, resp, cb);
|
|
256
363
|
}
|
|
257
364
|
|
|
258
365
|
/**
|
|
259
|
-
* This API is used to
|
|
260
|
-
* @param {
|
|
261
|
-
* @param {function(string,
|
|
366
|
+
* This API is used to create a scheduled snapshot policy.
|
|
367
|
+
* @param {CreateAutoSnapshotPolicyRequest} req
|
|
368
|
+
* @param {function(string, CreateAutoSnapshotPolicyResponse):void} cb
|
|
262
369
|
* @public
|
|
263
370
|
*/
|
|
264
|
-
|
|
265
|
-
let resp = new
|
|
266
|
-
this.request("
|
|
371
|
+
CreateAutoSnapshotPolicy(req, cb) {
|
|
372
|
+
let resp = new CreateAutoSnapshotPolicyResponse();
|
|
373
|
+
this.request("CreateAutoSnapshotPolicy", req, resp, cb);
|
|
267
374
|
}
|
|
268
375
|
|
|
269
376
|
/**
|
|
270
|
-
* This API is used to
|
|
271
|
-
* @param {
|
|
272
|
-
* @param {function(string,
|
|
377
|
+
* This API is used to create a permission group.
|
|
378
|
+
* @param {CreateCfsPGroupRequest} req
|
|
379
|
+
* @param {function(string, CreateCfsPGroupResponse):void} cb
|
|
273
380
|
* @public
|
|
274
381
|
*/
|
|
275
|
-
|
|
276
|
-
let resp = new
|
|
277
|
-
this.request("
|
|
382
|
+
CreateCfsPGroup(req, cb) {
|
|
383
|
+
let resp = new CreateCfsPGroupResponse();
|
|
384
|
+
this.request("CreateCfsPGroup", req, resp, cb);
|
|
278
385
|
}
|
|
279
386
|
|
|
280
387
|
/**
|
|
281
|
-
* This API is used to
|
|
282
|
-
* @param {
|
|
283
|
-
* @param {function(string,
|
|
388
|
+
* This API is used to delete a scheduled snapshot policy.
|
|
389
|
+
* @param {DeleteAutoSnapshotPolicyRequest} req
|
|
390
|
+
* @param {function(string, DeleteAutoSnapshotPolicyResponse):void} cb
|
|
284
391
|
* @public
|
|
285
392
|
*/
|
|
286
|
-
|
|
287
|
-
let resp = new
|
|
288
|
-
this.request("
|
|
393
|
+
DeleteAutoSnapshotPolicy(req, cb) {
|
|
394
|
+
let resp = new DeleteAutoSnapshotPolicyResponse();
|
|
395
|
+
this.request("DeleteAutoSnapshotPolicy", req, resp, cb);
|
|
289
396
|
}
|
|
290
397
|
|
|
291
398
|
/**
|
|
292
|
-
* This API is used to
|
|
293
|
-
* @param {
|
|
294
|
-
* @param {function(string,
|
|
399
|
+
* This API is used to create a file system snapshot.
|
|
400
|
+
* @param {CreateCfsSnapshotRequest} req
|
|
401
|
+
* @param {function(string, CreateCfsSnapshotResponse):void} cb
|
|
295
402
|
* @public
|
|
296
403
|
*/
|
|
297
|
-
|
|
298
|
-
let resp = new
|
|
299
|
-
this.request("
|
|
404
|
+
CreateCfsSnapshot(req, cb) {
|
|
405
|
+
let resp = new CreateCfsSnapshotResponse();
|
|
406
|
+
this.request("CreateCfsSnapshot", req, resp, cb);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* This API is used to unbind a snapshot policy from a file system.
|
|
411
|
+
* @param {UnbindAutoSnapshotPolicyRequest} req
|
|
412
|
+
* @param {function(string, UnbindAutoSnapshotPolicyResponse):void} cb
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
415
|
+
UnbindAutoSnapshotPolicy(req, cb) {
|
|
416
|
+
let resp = new UnbindAutoSnapshotPolicyResponse();
|
|
417
|
+
this.request("UnbindAutoSnapshotPolicy", req, resp, cb);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* This API is used to query the operation logs of a snapshot.
|
|
422
|
+
* @param {DescribeSnapshotOperationLogsRequest} req
|
|
423
|
+
* @param {function(string, DescribeSnapshotOperationLogsResponse):void} cb
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
DescribeSnapshotOperationLogs(req, cb) {
|
|
427
|
+
let resp = new DescribeSnapshotOperationLogsResponse();
|
|
428
|
+
this.request("DescribeSnapshotOperationLogs", req, resp, cb);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* This API is used to create a permission group rule.
|
|
433
|
+
* @param {CreateCfsRuleRequest} req
|
|
434
|
+
* @param {function(string, CreateCfsRuleResponse):void} cb
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
CreateCfsRule(req, cb) {
|
|
438
|
+
let resp = new CreateCfsRuleResponse();
|
|
439
|
+
this.request("CreateCfsRule", req, resp, cb);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* This API is used to update a permission rule.
|
|
444
|
+
* @param {UpdateCfsRuleRequest} req
|
|
445
|
+
* @param {function(string, UpdateCfsRuleResponse):void} cb
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
UpdateCfsRule(req, cb) {
|
|
449
|
+
let resp = new UpdateCfsRuleResponse();
|
|
450
|
+
this.request("UpdateCfsRule", req, resp, cb);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* This API is used to update the information of a permission group.
|
|
455
|
+
* @param {UpdateCfsPGroupRequest} req
|
|
456
|
+
* @param {function(string, UpdateCfsPGroupResponse):void} cb
|
|
457
|
+
* @public
|
|
458
|
+
*/
|
|
459
|
+
UpdateCfsPGroup(req, cb) {
|
|
460
|
+
let resp = new UpdateCfsPGroupResponse();
|
|
461
|
+
this.request("UpdateCfsPGroup", req, resp, cb);
|
|
300
462
|
}
|
|
301
463
|
|
|
302
464
|
|