tencentcloud-sdk-nodejs-intl-en 3.0.355 → 3.0.359
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/cbs/v20170312/cbs_client.js +5 -4
- package/tencentcloud/cbs/v20170312/models.js +209 -140
- package/tencentcloud/cdb/v20170320/cdb_client.js +28 -41
- package/tencentcloud/cdb/v20170320/models.js +204 -238
- package/tencentcloud/chdfs/v20201112/models.js +65 -5
- package/tencentcloud/clb/v20180317/clb_client.js +27 -1
- package/tencentcloud/clb/v20180317/models.js +338 -31
- package/tencentcloud/cls/v20201016/cls_client.js +75 -21
- package/tencentcloud/cls/v20201016/models.js +564 -120
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +15 -2
- package/tencentcloud/dbbrain/v20210527/models.js +179 -64
- package/tencentcloud/faceid/v20180301/faceid_client.js +13 -0
- package/tencentcloud/faceid/v20180301/models.js +114 -0
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +13 -0
- package/tencentcloud/mariadb/v20170312/models.js +72 -0
- package/tencentcloud/mongodb/v20190725/models.js +501 -43
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +18 -1
- package/tencentcloud/tke/v20180525/models.js +8 -1
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const AutoMountConfiguration = models.AutoMountConfiguration;
|
|
19
20
|
const DetachDisksRequest = models.DetachDisksRequest;
|
|
20
21
|
const DescribeDiskOperationLogsResponse = models.DescribeDiskOperationLogsResponse;
|
|
21
22
|
const ResizeDiskRequest = models.ResizeDiskRequest;
|
|
@@ -27,7 +28,7 @@ const ModifyDiskAttributesResponse = models.ModifyDiskAttributesResponse;
|
|
|
27
28
|
const TerminateDisksRequest = models.TerminateDisksRequest;
|
|
28
29
|
const DescribeDisksRequest = models.DescribeDisksRequest;
|
|
29
30
|
const DescribeInstancesDiskNumRequest = models.DescribeInstancesDiskNumRequest;
|
|
30
|
-
const
|
|
31
|
+
const AttachDisksResponse = models.AttachDisksResponse;
|
|
31
32
|
const Policy = models.Policy;
|
|
32
33
|
const ModifySnapshotsSharePermissionResponse = models.ModifySnapshotsSharePermissionResponse;
|
|
33
34
|
const InquirePriceModifyDiskExtraPerformanceRequest = models.InquirePriceModifyDiskExtraPerformanceRequest;
|
|
@@ -47,7 +48,7 @@ const DescribeDiskConfigQuotaRequest = models.DescribeDiskConfigQuotaRequest;
|
|
|
47
48
|
const DeleteAutoSnapshotPoliciesRequest = models.DeleteAutoSnapshotPoliciesRequest;
|
|
48
49
|
const DiskChargePrepaid = models.DiskChargePrepaid;
|
|
49
50
|
const DescribeSnapshotOperationLogsResponse = models.DescribeSnapshotOperationLogsResponse;
|
|
50
|
-
const
|
|
51
|
+
const DescribeAutoSnapshotPoliciesRequest = models.DescribeAutoSnapshotPoliciesRequest;
|
|
51
52
|
const TerminateDisksResponse = models.TerminateDisksResponse;
|
|
52
53
|
const GetSnapOverviewResponse = models.GetSnapOverviewResponse;
|
|
53
54
|
const ApplySnapshotResponse = models.ApplySnapshotResponse;
|
|
@@ -63,7 +64,7 @@ const DescribeSnapshotsResponse = models.DescribeSnapshotsResponse;
|
|
|
63
64
|
const Snapshot = models.Snapshot;
|
|
64
65
|
const SnapshotOperationLog = models.SnapshotOperationLog;
|
|
65
66
|
const CreateDisksResponse = models.CreateDisksResponse;
|
|
66
|
-
const
|
|
67
|
+
const AutoSnapshotPolicy = models.AutoSnapshotPolicy;
|
|
67
68
|
const CreateAutoSnapshotPolicyResponse = models.CreateAutoSnapshotPolicyResponse;
|
|
68
69
|
const ModifySnapshotsSharePermissionRequest = models.ModifySnapshotsSharePermissionRequest;
|
|
69
70
|
const DiskOperationLog = models.DiskOperationLog;
|
|
@@ -75,7 +76,7 @@ const CreateDisksRequest = models.CreateDisksRequest;
|
|
|
75
76
|
const AttachDisksRequest = models.AttachDisksRequest;
|
|
76
77
|
const DescribeAutoSnapshotPoliciesResponse = models.DescribeAutoSnapshotPoliciesResponse;
|
|
77
78
|
const DescribeDiskAssociatedAutoSnapshotPolicyRequest = models.DescribeDiskAssociatedAutoSnapshotPolicyRequest;
|
|
78
|
-
const
|
|
79
|
+
const DescribeDiskAssociatedAutoSnapshotPolicyResponse = models.DescribeDiskAssociatedAutoSnapshotPolicyResponse;
|
|
79
80
|
const Image = models.Image;
|
|
80
81
|
const DescribeDiskConfigQuotaResponse = models.DescribeDiskConfigQuotaResponse;
|
|
81
82
|
const ModifyDiskAttributesRequest = models.ModifyDiskAttributesRequest;
|
|
@@ -16,6 +16,48 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* This parameter describes the configuration of automatically initializing and mounting the cloud disk to the CVM when purchasing a new cloud disk.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class AutoMountConfiguration extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* ID of the instance to which the cloud disk is attached.
|
|
29
|
+
* @type {Array.<string> || null}
|
|
30
|
+
*/
|
|
31
|
+
this.InstanceId = null;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Path to the mount point in the CVM
|
|
35
|
+
* @type {Array.<string> || null}
|
|
36
|
+
*/
|
|
37
|
+
this.MountPoint = null;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* File system type. Supported: ext4 and xfs.
|
|
41
|
+
* @type {string || null}
|
|
42
|
+
*/
|
|
43
|
+
this.FileSystemType = null;
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
deserialize(params) {
|
|
51
|
+
if (!params) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
55
|
+
this.MountPoint = 'MountPoint' in params ? params.MountPoint : null;
|
|
56
|
+
this.FileSystemType = 'FileSystemType' in params ? params.FileSystemType : null;
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
19
61
|
/**
|
|
20
62
|
* DetachDisks request structure.
|
|
21
63
|
* @class
|
|
@@ -498,72 +540,18 @@ class DescribeInstancesDiskNumRequest extends AbstractModel {
|
|
|
498
540
|
}
|
|
499
541
|
|
|
500
542
|
/**
|
|
501
|
-
*
|
|
543
|
+
* AttachDisks response structure.
|
|
502
544
|
* @class
|
|
503
545
|
*/
|
|
504
|
-
class
|
|
546
|
+
class AttachDisksResponse extends AbstractModel {
|
|
505
547
|
constructor(){
|
|
506
548
|
super();
|
|
507
549
|
|
|
508
550
|
/**
|
|
509
|
-
*
|
|
510
|
-
* @type {string || null}
|
|
511
|
-
*/
|
|
512
|
-
this.AutoSnapshotPolicyId = null;
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* Scheduled snapshot policy name.
|
|
516
|
-
* @type {string || null}
|
|
517
|
-
*/
|
|
518
|
-
this.AutoSnapshotPolicyName = null;
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* Scheduled snapshot policy state. Value range:<br><li>NORMAL: Normal<br><li>ISOLATED: Isolated.
|
|
522
|
-
* @type {string || null}
|
|
523
|
-
*/
|
|
524
|
-
this.AutoSnapshotPolicyState = null;
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* Whether scheduled snapshot policy is activated.
|
|
528
|
-
* @type {boolean || null}
|
|
529
|
-
*/
|
|
530
|
-
this.IsActivated = null;
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* Whether the snapshot created by this scheduled snapshot policy is retained permanently.
|
|
534
|
-
* @type {boolean || null}
|
|
535
|
-
*/
|
|
536
|
-
this.IsPermanent = null;
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* Number of days the snapshot created by this scheduled snapshot policy is retained.
|
|
540
|
-
* @type {number || null}
|
|
541
|
-
*/
|
|
542
|
-
this.RetentionDays = null;
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* The time the scheduled snapshot policy was created.
|
|
546
|
-
* @type {string || null}
|
|
547
|
-
*/
|
|
548
|
-
this.CreateTime = null;
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* The time the scheduled snapshot will be triggered again.
|
|
551
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
552
552
|
* @type {string || null}
|
|
553
553
|
*/
|
|
554
|
-
this.
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* The policy for executing the scheduled snapshot.
|
|
558
|
-
* @type {Array.<Policy> || null}
|
|
559
|
-
*/
|
|
560
|
-
this.Policy = null;
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* The list of cloud disk IDs that the current scheduled snapshot policy is bound to.
|
|
564
|
-
* @type {Array.<string> || null}
|
|
565
|
-
*/
|
|
566
|
-
this.DiskIdSet = null;
|
|
554
|
+
this.RequestId = null;
|
|
567
555
|
|
|
568
556
|
}
|
|
569
557
|
|
|
@@ -574,24 +562,7 @@ class AutoSnapshotPolicy extends AbstractModel {
|
|
|
574
562
|
if (!params) {
|
|
575
563
|
return;
|
|
576
564
|
}
|
|
577
|
-
this.
|
|
578
|
-
this.AutoSnapshotPolicyName = 'AutoSnapshotPolicyName' in params ? params.AutoSnapshotPolicyName : null;
|
|
579
|
-
this.AutoSnapshotPolicyState = 'AutoSnapshotPolicyState' in params ? params.AutoSnapshotPolicyState : null;
|
|
580
|
-
this.IsActivated = 'IsActivated' in params ? params.IsActivated : null;
|
|
581
|
-
this.IsPermanent = 'IsPermanent' in params ? params.IsPermanent : null;
|
|
582
|
-
this.RetentionDays = 'RetentionDays' in params ? params.RetentionDays : null;
|
|
583
|
-
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
584
|
-
this.NextTriggerTime = 'NextTriggerTime' in params ? params.NextTriggerTime : null;
|
|
585
|
-
|
|
586
|
-
if (params.Policy) {
|
|
587
|
-
this.Policy = new Array();
|
|
588
|
-
for (let z in params.Policy) {
|
|
589
|
-
let obj = new Policy();
|
|
590
|
-
obj.deserialize(params.Policy[z]);
|
|
591
|
-
this.Policy.push(obj);
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
this.DiskIdSet = 'DiskIdSet' in params ? params.DiskIdSet : null;
|
|
565
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
595
566
|
|
|
596
567
|
}
|
|
597
568
|
}
|
|
@@ -1349,30 +1320,48 @@ class DescribeSnapshotOperationLogsResponse extends AbstractModel {
|
|
|
1349
1320
|
}
|
|
1350
1321
|
|
|
1351
1322
|
/**
|
|
1352
|
-
*
|
|
1323
|
+
* DescribeAutoSnapshotPolicies request structure.
|
|
1353
1324
|
* @class
|
|
1354
1325
|
*/
|
|
1355
|
-
class
|
|
1326
|
+
class DescribeAutoSnapshotPoliciesRequest extends AbstractModel {
|
|
1356
1327
|
constructor(){
|
|
1357
1328
|
super();
|
|
1358
1329
|
|
|
1359
1330
|
/**
|
|
1360
|
-
*
|
|
1331
|
+
* List of scheduled snapshot policy IDs to be queried. The parameter does not support specifying both `SnapshotIds` and `Filters`.
|
|
1332
|
+
* @type {Array.<string> || null}
|
|
1333
|
+
*/
|
|
1334
|
+
this.AutoSnapshotPolicyIds = null;
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* Filter conditions. Specification of both the `AutoSnapshotPolicyIds` and `Filters` parameters is not supported.<br><li>auto-snapshot-policy-id - Array of String - Required or not: No - (Filter condition) Filters according to the scheduled snapshot policy ID. The format of the scheduled snapshot policy ID is as follows: `asp-11112222`. <br><li>auto-snapshot-policy-state - Array of String - Required or not: No - (Filter condition) Filters according to the status of the scheduled snapshot policy. The format of the scheduled snapshot policy ID is as follows: `asp-11112222`. (NORMAL: normal | ISOLATED: isolated)<br><li>auto-snapshot-policy-name - Array of String - Required or not: No - (Filter condition) Filters according to the name of the scheduled snapshot policy.
|
|
1338
|
+
* @type {Array.<Filter> || null}
|
|
1339
|
+
*/
|
|
1340
|
+
this.Filters = null;
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* Number of results to be returned. Default is 20. Maximum is 100. For more information on `Limit`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
1361
1344
|
* @type {number || null}
|
|
1362
1345
|
*/
|
|
1363
|
-
this.
|
|
1346
|
+
this.Limit = null;
|
|
1364
1347
|
|
|
1365
1348
|
/**
|
|
1366
|
-
*
|
|
1367
|
-
* @type {
|
|
1349
|
+
* Offset. Default is 0. For more information on `Offset`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
1350
|
+
* @type {number || null}
|
|
1368
1351
|
*/
|
|
1369
|
-
this.
|
|
1352
|
+
this.Offset = null;
|
|
1370
1353
|
|
|
1371
1354
|
/**
|
|
1372
|
-
*
|
|
1355
|
+
* Outputs the ordering of the scheduled snapshot lists. Value range: <br><li>ASC: Ascending order <br><li>DESC: Descending order.
|
|
1373
1356
|
* @type {string || null}
|
|
1374
1357
|
*/
|
|
1375
|
-
this.
|
|
1358
|
+
this.Order = null;
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* The sorting filter applied to the scheduled snapshot list. Value range: <Sort by creation time of scheduled snapshot. By default, this is sorted by creation time.
|
|
1362
|
+
* @type {string || null}
|
|
1363
|
+
*/
|
|
1364
|
+
this.OrderField = null;
|
|
1376
1365
|
|
|
1377
1366
|
}
|
|
1378
1367
|
|
|
@@ -1383,17 +1372,20 @@ class DescribeDiskAssociatedAutoSnapshotPolicyResponse extends AbstractModel {
|
|
|
1383
1372
|
if (!params) {
|
|
1384
1373
|
return;
|
|
1385
1374
|
}
|
|
1386
|
-
this.
|
|
1375
|
+
this.AutoSnapshotPolicyIds = 'AutoSnapshotPolicyIds' in params ? params.AutoSnapshotPolicyIds : null;
|
|
1387
1376
|
|
|
1388
|
-
if (params.
|
|
1389
|
-
this.
|
|
1390
|
-
for (let z in params.
|
|
1391
|
-
let obj = new
|
|
1392
|
-
obj.deserialize(params.
|
|
1393
|
-
this.
|
|
1377
|
+
if (params.Filters) {
|
|
1378
|
+
this.Filters = new Array();
|
|
1379
|
+
for (let z in params.Filters) {
|
|
1380
|
+
let obj = new Filter();
|
|
1381
|
+
obj.deserialize(params.Filters[z]);
|
|
1382
|
+
this.Filters.push(obj);
|
|
1394
1383
|
}
|
|
1395
1384
|
}
|
|
1396
|
-
this.
|
|
1385
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1386
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1387
|
+
this.Order = 'Order' in params ? params.Order : null;
|
|
1388
|
+
this.OrderField = 'OrderField' in params ? params.OrderField : null;
|
|
1397
1389
|
|
|
1398
1390
|
}
|
|
1399
1391
|
}
|
|
@@ -2198,18 +2190,72 @@ class CreateDisksResponse extends AbstractModel {
|
|
|
2198
2190
|
}
|
|
2199
2191
|
|
|
2200
2192
|
/**
|
|
2201
|
-
*
|
|
2193
|
+
* This describes the detailed information of the scheduled snapshot policy.
|
|
2202
2194
|
* @class
|
|
2203
2195
|
*/
|
|
2204
|
-
class
|
|
2196
|
+
class AutoSnapshotPolicy extends AbstractModel {
|
|
2205
2197
|
constructor(){
|
|
2206
2198
|
super();
|
|
2207
2199
|
|
|
2208
2200
|
/**
|
|
2209
|
-
*
|
|
2201
|
+
* Scheduled snapshot policy ID.
|
|
2210
2202
|
* @type {string || null}
|
|
2211
2203
|
*/
|
|
2212
|
-
this.
|
|
2204
|
+
this.AutoSnapshotPolicyId = null;
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
* Scheduled snapshot policy name.
|
|
2208
|
+
* @type {string || null}
|
|
2209
|
+
*/
|
|
2210
|
+
this.AutoSnapshotPolicyName = null;
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* Scheduled snapshot policy state. Value range:<br><li>NORMAL: Normal<br><li>ISOLATED: Isolated.
|
|
2214
|
+
* @type {string || null}
|
|
2215
|
+
*/
|
|
2216
|
+
this.AutoSnapshotPolicyState = null;
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* Whether scheduled snapshot policy is activated.
|
|
2220
|
+
* @type {boolean || null}
|
|
2221
|
+
*/
|
|
2222
|
+
this.IsActivated = null;
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* Whether the snapshot created by this scheduled snapshot policy is retained permanently.
|
|
2226
|
+
* @type {boolean || null}
|
|
2227
|
+
*/
|
|
2228
|
+
this.IsPermanent = null;
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* Number of days the snapshot created by this scheduled snapshot policy is retained.
|
|
2232
|
+
* @type {number || null}
|
|
2233
|
+
*/
|
|
2234
|
+
this.RetentionDays = null;
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* The time the scheduled snapshot policy was created.
|
|
2238
|
+
* @type {string || null}
|
|
2239
|
+
*/
|
|
2240
|
+
this.CreateTime = null;
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* The time the scheduled snapshot will be triggered again.
|
|
2244
|
+
* @type {string || null}
|
|
2245
|
+
*/
|
|
2246
|
+
this.NextTriggerTime = null;
|
|
2247
|
+
|
|
2248
|
+
/**
|
|
2249
|
+
* The policy for executing the scheduled snapshot.
|
|
2250
|
+
* @type {Array.<Policy> || null}
|
|
2251
|
+
*/
|
|
2252
|
+
this.Policy = null;
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* The list of cloud disk IDs that the current scheduled snapshot policy is bound to.
|
|
2256
|
+
* @type {Array.<string> || null}
|
|
2257
|
+
*/
|
|
2258
|
+
this.DiskIdSet = null;
|
|
2213
2259
|
|
|
2214
2260
|
}
|
|
2215
2261
|
|
|
@@ -2220,7 +2266,24 @@ class AttachDisksResponse extends AbstractModel {
|
|
|
2220
2266
|
if (!params) {
|
|
2221
2267
|
return;
|
|
2222
2268
|
}
|
|
2223
|
-
this.
|
|
2269
|
+
this.AutoSnapshotPolicyId = 'AutoSnapshotPolicyId' in params ? params.AutoSnapshotPolicyId : null;
|
|
2270
|
+
this.AutoSnapshotPolicyName = 'AutoSnapshotPolicyName' in params ? params.AutoSnapshotPolicyName : null;
|
|
2271
|
+
this.AutoSnapshotPolicyState = 'AutoSnapshotPolicyState' in params ? params.AutoSnapshotPolicyState : null;
|
|
2272
|
+
this.IsActivated = 'IsActivated' in params ? params.IsActivated : null;
|
|
2273
|
+
this.IsPermanent = 'IsPermanent' in params ? params.IsPermanent : null;
|
|
2274
|
+
this.RetentionDays = 'RetentionDays' in params ? params.RetentionDays : null;
|
|
2275
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2276
|
+
this.NextTriggerTime = 'NextTriggerTime' in params ? params.NextTriggerTime : null;
|
|
2277
|
+
|
|
2278
|
+
if (params.Policy) {
|
|
2279
|
+
this.Policy = new Array();
|
|
2280
|
+
for (let z in params.Policy) {
|
|
2281
|
+
let obj = new Policy();
|
|
2282
|
+
obj.deserialize(params.Policy[z]);
|
|
2283
|
+
this.Policy.push(obj);
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
this.DiskIdSet = 'DiskIdSet' in params ? params.DiskIdSet : null;
|
|
2224
2287
|
|
|
2225
2288
|
}
|
|
2226
2289
|
}
|
|
@@ -2630,6 +2693,12 @@ class CreateDisksRequest extends AbstractModel {
|
|
|
2630
2693
|
*/
|
|
2631
2694
|
this.DeleteSnapshot = null;
|
|
2632
2695
|
|
|
2696
|
+
/**
|
|
2697
|
+
* When a cloud disk is created, automatically initialize it and attach it to the specified mount point
|
|
2698
|
+
* @type {AutoMountConfiguration || null}
|
|
2699
|
+
*/
|
|
2700
|
+
this.AutoMountConfiguration = null;
|
|
2701
|
+
|
|
2633
2702
|
}
|
|
2634
2703
|
|
|
2635
2704
|
/**
|
|
@@ -2672,6 +2741,12 @@ class CreateDisksRequest extends AbstractModel {
|
|
|
2672
2741
|
}
|
|
2673
2742
|
this.DeleteSnapshot = 'DeleteSnapshot' in params ? params.DeleteSnapshot : null;
|
|
2674
2743
|
|
|
2744
|
+
if (params.AutoMountConfiguration) {
|
|
2745
|
+
let obj = new AutoMountConfiguration();
|
|
2746
|
+
obj.deserialize(params.AutoMountConfiguration)
|
|
2747
|
+
this.AutoMountConfiguration = obj;
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2675
2750
|
}
|
|
2676
2751
|
}
|
|
2677
2752
|
|
|
@@ -2803,48 +2878,30 @@ class DescribeDiskAssociatedAutoSnapshotPolicyRequest extends AbstractModel {
|
|
|
2803
2878
|
}
|
|
2804
2879
|
|
|
2805
2880
|
/**
|
|
2806
|
-
*
|
|
2881
|
+
* DescribeDiskAssociatedAutoSnapshotPolicy response structure.
|
|
2807
2882
|
* @class
|
|
2808
2883
|
*/
|
|
2809
|
-
class
|
|
2884
|
+
class DescribeDiskAssociatedAutoSnapshotPolicyResponse extends AbstractModel {
|
|
2810
2885
|
constructor(){
|
|
2811
2886
|
super();
|
|
2812
2887
|
|
|
2813
2888
|
/**
|
|
2814
|
-
*
|
|
2815
|
-
* @type {Array.<string> || null}
|
|
2816
|
-
*/
|
|
2817
|
-
this.AutoSnapshotPolicyIds = null;
|
|
2818
|
-
|
|
2819
|
-
/**
|
|
2820
|
-
* Filter conditions. Specification of both the `AutoSnapshotPolicyIds` and `Filters` parameters is not supported.<br><li>auto-snapshot-policy-id - Array of String - Required or not: No - (Filter condition) Filters according to the scheduled snapshot policy ID. The format of the scheduled snapshot policy ID is as follows: `asp-11112222`. <br><li>auto-snapshot-policy-state - Array of String - Required or not: No - (Filter condition) Filters according to the status of the scheduled snapshot policy. The format of the scheduled snapshot policy ID is as follows: `asp-11112222`. (NORMAL: normal | ISOLATED: isolated)<br><li>auto-snapshot-policy-name - Array of String - Required or not: No - (Filter condition) Filters according to the name of the scheduled snapshot policy.
|
|
2821
|
-
* @type {Array.<Filter> || null}
|
|
2822
|
-
*/
|
|
2823
|
-
this.Filters = null;
|
|
2824
|
-
|
|
2825
|
-
/**
|
|
2826
|
-
* Number of results to be returned. Default is 20. Maximum is 100. For more information on `Limit`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
2827
|
-
* @type {number || null}
|
|
2828
|
-
*/
|
|
2829
|
-
this.Limit = null;
|
|
2830
|
-
|
|
2831
|
-
/**
|
|
2832
|
-
* Offset. Default is 0. For more information on `Offset`, please see relevant sections in API [Introduction](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
|
|
2889
|
+
* The quantity of scheduled snapshots binded to cloud disk.
|
|
2833
2890
|
* @type {number || null}
|
|
2834
2891
|
*/
|
|
2835
|
-
this.
|
|
2892
|
+
this.TotalCount = null;
|
|
2836
2893
|
|
|
2837
2894
|
/**
|
|
2838
|
-
*
|
|
2839
|
-
* @type {
|
|
2895
|
+
* List of scheduled snapshots bound to cloud disk.
|
|
2896
|
+
* @type {Array.<AutoSnapshotPolicy> || null}
|
|
2840
2897
|
*/
|
|
2841
|
-
this.
|
|
2898
|
+
this.AutoSnapshotPolicySet = null;
|
|
2842
2899
|
|
|
2843
2900
|
/**
|
|
2844
|
-
* The
|
|
2901
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2845
2902
|
* @type {string || null}
|
|
2846
2903
|
*/
|
|
2847
|
-
this.
|
|
2904
|
+
this.RequestId = null;
|
|
2848
2905
|
|
|
2849
2906
|
}
|
|
2850
2907
|
|
|
@@ -2855,20 +2912,17 @@ class DescribeAutoSnapshotPoliciesRequest extends AbstractModel {
|
|
|
2855
2912
|
if (!params) {
|
|
2856
2913
|
return;
|
|
2857
2914
|
}
|
|
2858
|
-
this.
|
|
2915
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2859
2916
|
|
|
2860
|
-
if (params.
|
|
2861
|
-
this.
|
|
2862
|
-
for (let z in params.
|
|
2863
|
-
let obj = new
|
|
2864
|
-
obj.deserialize(params.
|
|
2865
|
-
this.
|
|
2917
|
+
if (params.AutoSnapshotPolicySet) {
|
|
2918
|
+
this.AutoSnapshotPolicySet = new Array();
|
|
2919
|
+
for (let z in params.AutoSnapshotPolicySet) {
|
|
2920
|
+
let obj = new AutoSnapshotPolicy();
|
|
2921
|
+
obj.deserialize(params.AutoSnapshotPolicySet[z]);
|
|
2922
|
+
this.AutoSnapshotPolicySet.push(obj);
|
|
2866
2923
|
}
|
|
2867
2924
|
}
|
|
2868
|
-
this.
|
|
2869
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2870
|
-
this.Order = 'Order' in params ? params.Order : null;
|
|
2871
|
-
this.OrderField = 'OrderField' in params ? params.OrderField : null;
|
|
2925
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2872
2926
|
|
|
2873
2927
|
}
|
|
2874
2928
|
}
|
|
@@ -3879,6 +3933,18 @@ class ApplySnapshotRequest extends AbstractModel {
|
|
|
3879
3933
|
*/
|
|
3880
3934
|
this.DiskId = null;
|
|
3881
3935
|
|
|
3936
|
+
/**
|
|
3937
|
+
* Specifies whether to shut down a CVM automatically before a rollback
|
|
3938
|
+
* @type {boolean || null}
|
|
3939
|
+
*/
|
|
3940
|
+
this.AutoStopInstance = null;
|
|
3941
|
+
|
|
3942
|
+
/**
|
|
3943
|
+
* Specifies whether to start up a CVM automatically after a rollback
|
|
3944
|
+
* @type {boolean || null}
|
|
3945
|
+
*/
|
|
3946
|
+
this.AutoStartInstance = null;
|
|
3947
|
+
|
|
3882
3948
|
}
|
|
3883
3949
|
|
|
3884
3950
|
/**
|
|
@@ -3890,11 +3956,14 @@ class ApplySnapshotRequest extends AbstractModel {
|
|
|
3890
3956
|
}
|
|
3891
3957
|
this.SnapshotId = 'SnapshotId' in params ? params.SnapshotId : null;
|
|
3892
3958
|
this.DiskId = 'DiskId' in params ? params.DiskId : null;
|
|
3959
|
+
this.AutoStopInstance = 'AutoStopInstance' in params ? params.AutoStopInstance : null;
|
|
3960
|
+
this.AutoStartInstance = 'AutoStartInstance' in params ? params.AutoStartInstance : null;
|
|
3893
3961
|
|
|
3894
3962
|
}
|
|
3895
3963
|
}
|
|
3896
3964
|
|
|
3897
3965
|
module.exports = {
|
|
3966
|
+
AutoMountConfiguration: AutoMountConfiguration,
|
|
3898
3967
|
DetachDisksRequest: DetachDisksRequest,
|
|
3899
3968
|
DescribeDiskOperationLogsResponse: DescribeDiskOperationLogsResponse,
|
|
3900
3969
|
ResizeDiskRequest: ResizeDiskRequest,
|
|
@@ -3906,7 +3975,7 @@ module.exports = {
|
|
|
3906
3975
|
TerminateDisksRequest: TerminateDisksRequest,
|
|
3907
3976
|
DescribeDisksRequest: DescribeDisksRequest,
|
|
3908
3977
|
DescribeInstancesDiskNumRequest: DescribeInstancesDiskNumRequest,
|
|
3909
|
-
|
|
3978
|
+
AttachDisksResponse: AttachDisksResponse,
|
|
3910
3979
|
Policy: Policy,
|
|
3911
3980
|
ModifySnapshotsSharePermissionResponse: ModifySnapshotsSharePermissionResponse,
|
|
3912
3981
|
InquirePriceModifyDiskExtraPerformanceRequest: InquirePriceModifyDiskExtraPerformanceRequest,
|
|
@@ -3926,7 +3995,7 @@ module.exports = {
|
|
|
3926
3995
|
DeleteAutoSnapshotPoliciesRequest: DeleteAutoSnapshotPoliciesRequest,
|
|
3927
3996
|
DiskChargePrepaid: DiskChargePrepaid,
|
|
3928
3997
|
DescribeSnapshotOperationLogsResponse: DescribeSnapshotOperationLogsResponse,
|
|
3929
|
-
|
|
3998
|
+
DescribeAutoSnapshotPoliciesRequest: DescribeAutoSnapshotPoliciesRequest,
|
|
3930
3999
|
TerminateDisksResponse: TerminateDisksResponse,
|
|
3931
4000
|
GetSnapOverviewResponse: GetSnapOverviewResponse,
|
|
3932
4001
|
ApplySnapshotResponse: ApplySnapshotResponse,
|
|
@@ -3942,7 +4011,7 @@ module.exports = {
|
|
|
3942
4011
|
Snapshot: Snapshot,
|
|
3943
4012
|
SnapshotOperationLog: SnapshotOperationLog,
|
|
3944
4013
|
CreateDisksResponse: CreateDisksResponse,
|
|
3945
|
-
|
|
4014
|
+
AutoSnapshotPolicy: AutoSnapshotPolicy,
|
|
3946
4015
|
CreateAutoSnapshotPolicyResponse: CreateAutoSnapshotPolicyResponse,
|
|
3947
4016
|
ModifySnapshotsSharePermissionRequest: ModifySnapshotsSharePermissionRequest,
|
|
3948
4017
|
DiskOperationLog: DiskOperationLog,
|
|
@@ -3954,7 +4023,7 @@ module.exports = {
|
|
|
3954
4023
|
AttachDisksRequest: AttachDisksRequest,
|
|
3955
4024
|
DescribeAutoSnapshotPoliciesResponse: DescribeAutoSnapshotPoliciesResponse,
|
|
3956
4025
|
DescribeDiskAssociatedAutoSnapshotPolicyRequest: DescribeDiskAssociatedAutoSnapshotPolicyRequest,
|
|
3957
|
-
|
|
4026
|
+
DescribeDiskAssociatedAutoSnapshotPolicyResponse: DescribeDiskAssociatedAutoSnapshotPolicyResponse,
|
|
3958
4027
|
Image: Image,
|
|
3959
4028
|
DescribeDiskConfigQuotaResponse: DescribeDiskConfigQuotaResponse,
|
|
3960
4029
|
ModifyDiskAttributesRequest: ModifyDiskAttributesRequest,
|