tencentcloud-sdk-nodejs-intl-en 3.0.281 → 3.0.285

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.
@@ -4186,6 +4186,13 @@ class DescribeLiveDomainsResponse extends AbstractModel {
4186
4186
  */
4187
4187
  this.DomainList = null;
4188
4188
 
4189
+ /**
4190
+ * The number of domain names that can be added
4191
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4192
+ * @type {number || null}
4193
+ */
4194
+ this.CreateLimitCount = null;
4195
+
4189
4196
  /**
4190
4197
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4191
4198
  * @type {string || null}
@@ -4211,6 +4218,7 @@ class DescribeLiveDomainsResponse extends AbstractModel {
4211
4218
  this.DomainList.push(obj);
4212
4219
  }
4213
4220
  }
4221
+ this.CreateLimitCount = 'CreateLimitCount' in params ? params.CreateLimitCount : null;
4214
4222
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4215
4223
 
4216
4224
  }
@@ -4828,7 +4836,9 @@ class CommonMixInputParam extends AbstractModel {
4828
4836
  super();
4829
4837
 
4830
4838
  /**
4831
- * Input stream name of up to 80 bytes, which is a string containing letters, digits, and underscores.
4839
+ * Input stream name, which can contain up to 80 bytes of letters, digits, and underscores.
4840
+ The value should be the name of an input stream for stream mix when `LayoutParams.InputType` is set to `0` (audio and video), `4` (pure audio), or `5` (pure video).
4841
+ The value can be a random name for identification, such as `Canvas1` or `Picture1`, when `LayoutParams.InputType` is set to `2` (image) or `3` (canvas).
4832
4842
  * @type {string || null}
4833
4843
  */
4834
4844
  this.InputStreamName = null;
@@ -9259,7 +9269,7 @@ class RecordParam extends AbstractModel {
9259
9269
  /**
9260
9270
  * Max recording time per file
9261
9271
  Default value: `1800` (seconds)
9262
- Value range: 60-7200
9272
+ Value range: 30-7200
9263
9273
  This parameter is invalid for HLS. Only one HLS file will be generated from push start to push end.
9264
9274
  * @type {number || null}
9265
9275
  */
@@ -10548,13 +10558,13 @@ class CreateRecordTaskRequest extends AbstractModel {
10548
10558
  this.AppName = null;
10549
10559
 
10550
10560
  /**
10551
- * Recording end time in UNIX timestamp format. EndTime should be later than StartTime”, and the duration between EndTime and StartTime is up to 24 hours.
10561
+ * Recording end time in UNIX timestamp format. `EndTime` should be later than `StartTime` and the current time, and the duration between `EndTime` and `StartTime` is up to 24 hours.
10552
10562
  * @type {number || null}
10553
10563
  */
10554
10564
  this.EndTime = null;
10555
10565
 
10556
10566
  /**
10557
- * Recording start time in UNIX timestamp format. If “StartTime” is not entered, recording will start immediately after the API is successfully called. StartTime should be within 6 days from the current time.
10567
+ * Recording start time in UNIX timestamp format. Leaving this parameter empty means starting recording now. `StartTime` cannot be later than the current time plus 6 days.
10558
10568
  * @type {number || null}
10559
10569
  */
10560
10570
  this.StartTime = null;
@@ -11017,13 +11027,15 @@ Value range: 5-300s.
11017
11027
  this.SnapshotInterval = null;
11018
11028
 
11019
11029
  /**
11020
- * Screenshot width. Default value: 0 (original width).
11030
+ * Screenshot width. Default value: `0` (original width)
11031
+ Value range: 0-3000
11021
11032
  * @type {number || null}
11022
11033
  */
11023
11034
  this.Width = null;
11024
11035
 
11025
11036
  /**
11026
- * Screenshot height. Default value: 0 (original height).
11037
+ * Screenshot height. Default value: `0` (original height)
11038
+ Value range: 0-2000
11027
11039
  * @type {number || null}
11028
11040
  */
11029
11041
  this.Height = null;
@@ -3480,19 +3480,19 @@ class ModifyDBInstanceSpecRequest extends AbstractModel {
3480
3480
  this.OplogSize = null;
3481
3481
 
3482
3482
  /**
3483
- * Node quantity after configuration modification. The value range is subject to the response parameter of the `DescribeSpecInfo` API. If this parameter is left empty, the node quantity won't change.
3483
+ * Node quantity after configuration modification. The value range is subject to the response parameter of the `DescribeSpecInfo` API. If this parameter is left empty, the node quantity remains unchanged.
3484
3484
  * @type {number || null}
3485
3485
  */
3486
3486
  this.NodeNum = null;
3487
3487
 
3488
3488
  /**
3489
- * Shard quantity after configuration modification, which can only be increased rather than decreased. The value range is subject to the response parameter of the `DescribeSpecInfo` API. If this parameter is left empty, the shard quantity won't change.
3489
+ * Shard quantity after configuration modification, which can only be increased rather than decreased. The value range is subject to the response parameter of the `DescribeSpecInfo` API. If this parameter is left empty, the shard quantity remains unchanged.
3490
3490
  * @type {number || null}
3491
3491
  */
3492
3492
  this.ReplicateSetNum = null;
3493
3493
 
3494
3494
  /**
3495
- * Switch time. Valid values: `0` (upon modification completion), `1` (during maintenance time). Default value: `0`. If the node quantity or the shard quantity is modified, `1` is invalid.
3495
+ * Switch time. Valid values: `0` (upon modification completion), `1` (during maintenance time). Default value: `0`. If the quantity of nodes or shards is modified, the value will be `0`.
3496
3496
  * @type {number || null}
3497
3497
  */
3498
3498
  this.InMaintenance = null;
@@ -7676,6 +7676,12 @@ class DescribeAlarmNoticesRequest extends AbstractModel {
7676
7676
  */
7677
7677
  this.GroupIds = null;
7678
7678
 
7679
+ /**
7680
+ * Filter by notification template ID. If an empty array is passed in or if this parameter is left empty, the filter operation will not be performed.
7681
+ * @type {Array.<string> || null}
7682
+ */
7683
+ this.NoticeIds = null;
7684
+
7679
7685
  }
7680
7686
 
7681
7687
  /**
@@ -7694,6 +7700,7 @@ class DescribeAlarmNoticesRequest extends AbstractModel {
7694
7700
  this.ReceiverType = 'ReceiverType' in params ? params.ReceiverType : null;
7695
7701
  this.UserIds = 'UserIds' in params ? params.UserIds : null;
7696
7702
  this.GroupIds = 'GroupIds' in params ? params.GroupIds : null;
7703
+ this.NoticeIds = 'NoticeIds' in params ? params.NoticeIds : null;
7697
7704
 
7698
7705
  }
7699
7706
  }
@@ -179,8 +179,8 @@ class DescribeSecretResponse extends AbstractModel {
179
179
  this.CreateTime = null;
180
180
 
181
181
  /**
182
- * 0: user-defined credential; 1: Tencent Cloud service credential.
183
- Note: this field may return null, indicating that no valid values can be obtained.
182
+ * `0`: user-defined secret; `1`: database credential; `2`: SSH key secret.
183
+ Note: this field may return `null`, indicating that no valid values can be obtained.
184
184
  * @type {number || null}
185
185
  */
186
186
  this.SecretType = null;
@@ -213,6 +213,27 @@ Note: this field may return null, indicating that no valid values can be obtaine
213
213
  */
214
214
  this.RotationFrequency = null;
215
215
 
216
+ /**
217
+ * Secret name. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
218
+ Note: this field may return null, indicating that no valid values can be obtained.
219
+ * @type {string || null}
220
+ */
221
+ this.ResourceName = null;
222
+
223
+ /**
224
+ * Project ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
225
+ Note: this field may return null, indicating that no valid values can be obtained.
226
+ * @type {number || null}
227
+ */
228
+ this.ProjectID = null;
229
+
230
+ /**
231
+ * ID of the CVM instance associated with the SSH key. ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
232
+ Note: this field may return null, indicating that no valid values can be obtained.
233
+ * @type {Array.<string> || null}
234
+ */
235
+ this.AssociatedInstanceIDs = null;
236
+
216
237
  /**
217
238
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
218
239
  * @type {string || null}
@@ -240,6 +261,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
240
261
  this.ResourceID = 'ResourceID' in params ? params.ResourceID : null;
241
262
  this.RotationStatus = 'RotationStatus' in params ? params.RotationStatus : null;
242
263
  this.RotationFrequency = 'RotationFrequency' in params ? params.RotationFrequency : null;
264
+ this.ResourceName = 'ResourceName' in params ? params.ResourceName : null;
265
+ this.ProjectID = 'ProjectID' in params ? params.ProjectID : null;
266
+ this.AssociatedInstanceIDs = 'AssociatedInstanceIDs' in params ? params.AssociatedInstanceIDs : null;
243
267
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
244
268
 
245
269
  }
@@ -266,6 +290,42 @@ class DescribeSupportedProductsRequest extends AbstractModel {
266
290
  }
267
291
  }
268
292
 
293
+ /**
294
+ * GetSecretValue request structure.
295
+ * @class
296
+ */
297
+ class GetSecretValueRequest extends AbstractModel {
298
+ constructor(){
299
+ super();
300
+
301
+ /**
302
+ * Name of a Secret.
303
+ * @type {string || null}
304
+ */
305
+ this.SecretName = null;
306
+
307
+ /**
308
+ * Specifies the version number of the corresponding credential.
309
+ For Tencent Cloud service credentials such as MySQL credentials, this API is used to get the plaintext information of a previously rotated credential by specifying the credential name and historical version number. If you want to get the plaintext of the credential version currently in use, you need to specify the version number as `SSM_Current`.
310
+ * @type {string || null}
311
+ */
312
+ this.VersionId = null;
313
+
314
+ }
315
+
316
+ /**
317
+ * @private
318
+ */
319
+ deserialize(params) {
320
+ if (!params) {
321
+ return;
322
+ }
323
+ this.SecretName = 'SecretName' in params ? params.SecretName : null;
324
+ this.VersionId = 'VersionId' in params ? params.VersionId : null;
325
+
326
+ }
327
+ }
328
+
269
329
  /**
270
330
  * DeleteSecret request structure.
271
331
  * @class
@@ -281,11 +341,20 @@ class DeleteSecretRequest extends AbstractModel {
281
341
  this.SecretName = null;
282
342
 
283
343
  /**
284
- * Scheduled deletion time, in days. If set to 0, the Secret is deleted immediately. A number in the range of 1 to 30 indicates the number of retention days. The Secret will be deleted after the set value.
344
+ * Scheduled deletion time (in days), indicating the number of retention days for the secret. Value range: 0-30. If it is `0`, the secret is deleted immediately.
345
+ For an SSH key secret, this field can only be `0`.
285
346
  * @type {number || null}
286
347
  */
287
348
  this.RecoveryWindowInDays = null;
288
349
 
350
+ /**
351
+ * Specifies whether to delete the SSH key from both the secret and the SSH key list in the CVM console. This field is only valid for SSH key secrets. Valid values:
352
+ `True`: deletes SSH key from both the secret and SSH key list in the CVM console. Note that the deletion will fail if the SSH key is already bound to a CVM instance.
353
+ `False`: only deletes the SSH key information in the secret.
354
+ * @type {boolean || null}
355
+ */
356
+ this.CleanSSHKey = null;
357
+
289
358
  }
290
359
 
291
360
  /**
@@ -297,6 +366,7 @@ class DeleteSecretRequest extends AbstractModel {
297
366
  }
298
367
  this.SecretName = 'SecretName' in params ? params.SecretName : null;
299
368
  this.RecoveryWindowInDays = 'RecoveryWindowInDays' in params ? params.RecoveryWindowInDays : null;
369
+ this.CleanSSHKey = 'CleanSSHKey' in params ? params.CleanSSHKey : null;
300
370
 
301
371
  }
302
372
  }
@@ -794,6 +864,27 @@ Note: this field may return null, indicating that no valid values can be obtaine
794
864
  */
795
865
  this.ProductName = null;
796
866
 
867
+ /**
868
+ * Secret name. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
869
+ Note: this field may return `null`, indicating that no valid values can be obtained.
870
+ * @type {string || null}
871
+ */
872
+ this.ResourceName = null;
873
+
874
+ /**
875
+ * Project ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
876
+ Note: this field may return `null`, indicating that no valid values can be obtained.
877
+ * @type {number || null}
878
+ */
879
+ this.ProjectID = null;
880
+
881
+ /**
882
+ * ID of the CVM instance associated with the SSH key. ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
883
+ Note: this field may return `null`, indicating that no valid values can be obtained.
884
+ * @type {Array.<string> || null}
885
+ */
886
+ this.AssociatedInstanceIDs = null;
887
+
797
888
  }
798
889
 
799
890
  /**
@@ -815,6 +906,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
815
906
  this.NextRotationTime = 'NextRotationTime' in params ? params.NextRotationTime : null;
816
907
  this.SecretType = 'SecretType' in params ? params.SecretType : null;
817
908
  this.ProductName = 'ProductName' in params ? params.ProductName : null;
909
+ this.ResourceName = 'ResourceName' in params ? params.ResourceName : null;
910
+ this.ProjectID = 'ProjectID' in params ? params.ProjectID : null;
911
+ this.AssociatedInstanceIDs = 'AssociatedInstanceIDs' in params ? params.AssociatedInstanceIDs : null;
818
912
 
819
913
  }
820
914
  }
@@ -876,18 +970,50 @@ class DescribeRotationDetailRequest extends AbstractModel {
876
970
  }
877
971
 
878
972
  /**
879
- * DescribeAsyncRequestInfo request structure.
973
+ * CreateSSHKeyPairSecret response structure.
880
974
  * @class
881
975
  */
882
- class DescribeAsyncRequestInfoRequest extends AbstractModel {
976
+ class CreateSSHKeyPairSecretResponse extends AbstractModel {
883
977
  constructor(){
884
978
  super();
885
979
 
886
980
  /**
887
- * Async task ID.
981
+ * Name of the created secret.
982
+ * @type {string || null}
983
+ */
984
+ this.SecretName = null;
985
+
986
+ /**
987
+ * ID of the created SSH key.
988
+ * @type {string || null}
989
+ */
990
+ this.SSHKeyID = null;
991
+
992
+ /**
993
+ * Name of the created SSH key.
994
+ * @type {string || null}
995
+ */
996
+ this.SSHKeyName = null;
997
+
998
+ /**
999
+ * Tag return code. `0`: success; `1`: internal error; `2`: business processing error.
1000
+ Note: this field may return `null`, indicating that no valid values can be obtained.
888
1001
  * @type {number || null}
889
1002
  */
890
- this.FlowID = null;
1003
+ this.TagCode = null;
1004
+
1005
+ /**
1006
+ * Tag return message.
1007
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1008
+ * @type {string || null}
1009
+ */
1010
+ this.TagMsg = null;
1011
+
1012
+ /**
1013
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1014
+ * @type {string || null}
1015
+ */
1016
+ this.RequestId = null;
891
1017
 
892
1018
  }
893
1019
 
@@ -898,7 +1024,12 @@ class DescribeAsyncRequestInfoRequest extends AbstractModel {
898
1024
  if (!params) {
899
1025
  return;
900
1026
  }
901
- this.FlowID = 'FlowID' in params ? params.FlowID : null;
1027
+ this.SecretName = 'SecretName' in params ? params.SecretName : null;
1028
+ this.SSHKeyID = 'SSHKeyID' in params ? params.SSHKeyID : null;
1029
+ this.SSHKeyName = 'SSHKeyName' in params ? params.SSHKeyName : null;
1030
+ this.TagCode = 'TagCode' in params ? params.TagCode : null;
1031
+ this.TagMsg = 'TagMsg' in params ? params.TagMsg : null;
1032
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
902
1033
 
903
1034
  }
904
1035
  }
@@ -1174,13 +1305,19 @@ The `PendingCreate` and `CreateFailed` status only take effect when `SecretType`
1174
1305
  this.TagFilters = null;
1175
1306
 
1176
1307
  /**
1177
- * 0: user-defined credential (default value).
1178
- 1: Tencent Cloud service credential.
1179
- Either 1 or 0 can be selected for this parameter.
1308
+ * `0` (default): user-defined secret.
1309
+ `1`: Tencent Cloud services secret.
1310
+ `2`: SSH key secret.
1180
1311
  * @type {number || null}
1181
1312
  */
1182
1313
  this.SecretType = null;
1183
1314
 
1315
+ /**
1316
+ *
1317
+ * @type {string || null}
1318
+ */
1319
+ this.ProductName = null;
1320
+
1184
1321
  }
1185
1322
 
1186
1323
  /**
@@ -1205,6 +1342,7 @@ Either 1 or 0 can be selected for this parameter.
1205
1342
  }
1206
1343
  }
1207
1344
  this.SecretType = 'SecretType' in params ? params.SecretType : null;
1345
+ this.ProductName = 'ProductName' in params ? params.ProductName : null;
1208
1346
 
1209
1347
  }
1210
1348
  }
@@ -1279,6 +1417,72 @@ class EnableSecretResponse extends AbstractModel {
1279
1417
  }
1280
1418
  }
1281
1419
 
1420
+ /**
1421
+ * CreateSSHKeyPairSecret request structure.
1422
+ * @class
1423
+ */
1424
+ class CreateSSHKeyPairSecretRequest extends AbstractModel {
1425
+ constructor(){
1426
+ super();
1427
+
1428
+ /**
1429
+ * Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and underscores and must begin with a letter or digit.
1430
+ * @type {string || null}
1431
+ */
1432
+ this.SecretName = null;
1433
+
1434
+ /**
1435
+ * ID of the project to which the created SSH key belongs.
1436
+ * @type {number || null}
1437
+ */
1438
+ this.ProjectId = null;
1439
+
1440
+ /**
1441
+ * Description, such as what it is used for. It contains up to 2,048 bytes.
1442
+ * @type {string || null}
1443
+ */
1444
+ this.Description = null;
1445
+
1446
+ /**
1447
+ * Specifies a KMS CMK to encrypt the secret.
1448
+ If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.
1449
+ You can also specify a custom KMS CMK created in the same region for encryption.
1450
+ * @type {string || null}
1451
+ */
1452
+ this.KmsKeyId = null;
1453
+
1454
+ /**
1455
+ * List of tags.
1456
+ * @type {Array.<Tag> || null}
1457
+ */
1458
+ this.Tags = null;
1459
+
1460
+ }
1461
+
1462
+ /**
1463
+ * @private
1464
+ */
1465
+ deserialize(params) {
1466
+ if (!params) {
1467
+ return;
1468
+ }
1469
+ this.SecretName = 'SecretName' in params ? params.SecretName : null;
1470
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
1471
+ this.Description = 'Description' in params ? params.Description : null;
1472
+ this.KmsKeyId = 'KmsKeyId' in params ? params.KmsKeyId : null;
1473
+
1474
+ if (params.Tags) {
1475
+ this.Tags = new Array();
1476
+ for (let z in params.Tags) {
1477
+ let obj = new Tag();
1478
+ obj.deserialize(params.Tags[z]);
1479
+ this.Tags.push(obj);
1480
+ }
1481
+ }
1482
+
1483
+ }
1484
+ }
1485
+
1282
1486
  /**
1283
1487
  * UpdateRotationStatus request structure.
1284
1488
  * @class
@@ -1295,8 +1499,8 @@ class UpdateRotationStatusRequest extends AbstractModel {
1295
1499
 
1296
1500
  /**
1297
1501
  * Specifies whether to enable rotation.
1298
- True: enable rotation.
1299
- False: disable rotation.
1502
+ `true`: enables rotation.
1503
+ `false`: disables rotation.
1300
1504
  * @type {boolean || null}
1301
1505
  */
1302
1506
  this.EnableRotation = null;
@@ -1308,8 +1512,8 @@ False: disable rotation.
1308
1512
  this.Frequency = null;
1309
1513
 
1310
1514
  /**
1311
- * User-Defined rotation start time in the format of 2006-01-02 15:04:05.
1312
- When `EnableRotation` is `True`, if `RotationBeginTime` is left empty, the current time will be entered by default.
1515
+ * User-defined rotation start time in the format of 2006-01-02 15:04:05.
1516
+ When `EnableRotation` is `true` and `RotationBeginTime` is left empty, the current time will be entered by default.
1313
1517
  * @type {string || null}
1314
1518
  */
1315
1519
  this.RotationBeginTime = null;
@@ -1606,6 +1810,48 @@ Either `SecretBinary` or `SecretString` must be set.
1606
1810
  }
1607
1811
  }
1608
1812
 
1813
+ /**
1814
+ * PutSecretValue response structure.
1815
+ * @class
1816
+ */
1817
+ class PutSecretValueResponse extends AbstractModel {
1818
+ constructor(){
1819
+ super();
1820
+
1821
+ /**
1822
+ * Name of the Secret.
1823
+ * @type {string || null}
1824
+ */
1825
+ this.SecretName = null;
1826
+
1827
+ /**
1828
+ * Version ID that is newly added.
1829
+ * @type {string || null}
1830
+ */
1831
+ this.VersionId = null;
1832
+
1833
+ /**
1834
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1835
+ * @type {string || null}
1836
+ */
1837
+ this.RequestId = null;
1838
+
1839
+ }
1840
+
1841
+ /**
1842
+ * @private
1843
+ */
1844
+ deserialize(params) {
1845
+ if (!params) {
1846
+ return;
1847
+ }
1848
+ this.SecretName = 'SecretName' in params ? params.SecretName : null;
1849
+ this.VersionId = 'VersionId' in params ? params.VersionId : null;
1850
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1851
+
1852
+ }
1853
+ }
1854
+
1609
1855
  /**
1610
1856
  * DescribeRotationHistory response structure.
1611
1857
  * @class
@@ -1649,25 +1895,24 @@ class DescribeRotationHistoryResponse extends AbstractModel {
1649
1895
  }
1650
1896
 
1651
1897
  /**
1652
- * GetSecretValue request structure.
1898
+ * GetSSHKeyPairValue request structure.
1653
1899
  * @class
1654
1900
  */
1655
- class GetSecretValueRequest extends AbstractModel {
1901
+ class GetSSHKeyPairValueRequest extends AbstractModel {
1656
1902
  constructor(){
1657
1903
  super();
1658
1904
 
1659
1905
  /**
1660
- * Name of a Secret.
1906
+ * Secret name. This field is only valid for SSH key secrets.
1661
1907
  * @type {string || null}
1662
1908
  */
1663
1909
  this.SecretName = null;
1664
1910
 
1665
1911
  /**
1666
- * Specifies the version number of the corresponding credential.
1667
- For Tencent Cloud service credentials such as MySQL credentials, this API is used to get the plaintext information of a previously rotated credential by specifying the credential name and historical version number. If you want to get the plaintext of the credential version currently in use, you need to specify the version number as `SSM_Current`.
1912
+ *
1668
1913
  * @type {string || null}
1669
1914
  */
1670
- this.VersionId = null;
1915
+ this.SSHKeyId = null;
1671
1916
 
1672
1917
  }
1673
1918
 
@@ -1679,7 +1924,35 @@ For Tencent Cloud service credentials such as MySQL credentials, this API is use
1679
1924
  return;
1680
1925
  }
1681
1926
  this.SecretName = 'SecretName' in params ? params.SecretName : null;
1682
- this.VersionId = 'VersionId' in params ? params.VersionId : null;
1927
+ this.SSHKeyId = 'SSHKeyId' in params ? params.SSHKeyId : null;
1928
+
1929
+ }
1930
+ }
1931
+
1932
+ /**
1933
+ * DescribeAsyncRequestInfo request structure.
1934
+ * @class
1935
+ */
1936
+ class DescribeAsyncRequestInfoRequest extends AbstractModel {
1937
+ constructor(){
1938
+ super();
1939
+
1940
+ /**
1941
+ * Async task ID.
1942
+ * @type {number || null}
1943
+ */
1944
+ this.FlowID = null;
1945
+
1946
+ }
1947
+
1948
+ /**
1949
+ * @private
1950
+ */
1951
+ deserialize(params) {
1952
+ if (!params) {
1953
+ return;
1954
+ }
1955
+ this.FlowID = 'FlowID' in params ? params.FlowID : null;
1683
1956
 
1684
1957
  }
1685
1958
  }
@@ -1735,7 +2008,7 @@ class DescribeRotationDetailResponse extends AbstractModel {
1735
2008
  super();
1736
2009
 
1737
2010
  /**
1738
- * Specifies whether to allow rotation. True: yes; False: no.
2011
+ * Whether to enable rotation. `true`: enabled; `false`: disabled.
1739
2012
  * @type {boolean || null}
1740
2013
  */
1741
2014
  this.EnableRotation = null;
@@ -1786,15 +2059,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
1786
2059
  }
1787
2060
 
1788
2061
  /**
1789
- * DescribeSecret request structure.
2062
+ * EnableSecret request structure.
1790
2063
  * @class
1791
2064
  */
1792
- class DescribeSecretRequest extends AbstractModel {
2065
+ class EnableSecretRequest extends AbstractModel {
1793
2066
  constructor(){
1794
2067
  super();
1795
2068
 
1796
2069
  /**
1797
- * Name of a Secret whose detailed information is to be obtained.
2070
+ * Name of the Secret to be enabled.
1798
2071
  * @type {string || null}
1799
2072
  */
1800
2073
  this.SecretName = null;
@@ -1923,24 +2196,50 @@ class DescribeRotationHistoryRequest extends AbstractModel {
1923
2196
  }
1924
2197
 
1925
2198
  /**
1926
- * PutSecretValue response structure.
2199
+ * GetSSHKeyPairValue response structure.
1927
2200
  * @class
1928
2201
  */
1929
- class PutSecretValueResponse extends AbstractModel {
2202
+ class GetSSHKeyPairValueResponse extends AbstractModel {
1930
2203
  constructor(){
1931
2204
  super();
1932
2205
 
1933
2206
  /**
1934
- * Name of the Secret.
2207
+ * ID of the SSH key.
1935
2208
  * @type {string || null}
1936
2209
  */
1937
- this.SecretName = null;
2210
+ this.SSHKeyID = null;
1938
2211
 
1939
2212
  /**
1940
- * Version ID that is newly added.
2213
+ * Plaintext value of the Base64-encoded public key.
1941
2214
  * @type {string || null}
1942
2215
  */
1943
- this.VersionId = null;
2216
+ this.PublicKey = null;
2217
+
2218
+ /**
2219
+ * Plaintext value of the Base64-encoded private key.
2220
+ * @type {string || null}
2221
+ */
2222
+ this.PrivateKey = null;
2223
+
2224
+ /**
2225
+ * ID of the project to which the SSH key belongs.
2226
+ * @type {number || null}
2227
+ */
2228
+ this.ProjectID = null;
2229
+
2230
+ /**
2231
+ * Description of the SSH key.
2232
+ The description can be modified in the CVM console.
2233
+ * @type {string || null}
2234
+ */
2235
+ this.SSHKeyDescription = null;
2236
+
2237
+ /**
2238
+ * Name of the SSH key.
2239
+ The name can be modified in the CVM console.
2240
+ * @type {string || null}
2241
+ */
2242
+ this.SSHKeyName = null;
1944
2243
 
1945
2244
  /**
1946
2245
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
@@ -1957,8 +2256,12 @@ class PutSecretValueResponse extends AbstractModel {
1957
2256
  if (!params) {
1958
2257
  return;
1959
2258
  }
1960
- this.SecretName = 'SecretName' in params ? params.SecretName : null;
1961
- this.VersionId = 'VersionId' in params ? params.VersionId : null;
2259
+ this.SSHKeyID = 'SSHKeyID' in params ? params.SSHKeyID : null;
2260
+ this.PublicKey = 'PublicKey' in params ? params.PublicKey : null;
2261
+ this.PrivateKey = 'PrivateKey' in params ? params.PrivateKey : null;
2262
+ this.ProjectID = 'ProjectID' in params ? params.ProjectID : null;
2263
+ this.SSHKeyDescription = 'SSHKeyDescription' in params ? params.SSHKeyDescription : null;
2264
+ this.SSHKeyName = 'SSHKeyName' in params ? params.SSHKeyName : null;
1962
2265
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1963
2266
 
1964
2267
  }
@@ -2144,15 +2447,15 @@ class ListSecretsResponse extends AbstractModel {
2144
2447
  }
2145
2448
 
2146
2449
  /**
2147
- * EnableSecret request structure.
2450
+ * DescribeSecret request structure.
2148
2451
  * @class
2149
2452
  */
2150
- class EnableSecretRequest extends AbstractModel {
2453
+ class DescribeSecretRequest extends AbstractModel {
2151
2454
  constructor(){
2152
2455
  super();
2153
2456
 
2154
2457
  /**
2155
- * Name of the Secret to be enabled.
2458
+ * Name of a Secret whose detailed information is to be obtained.
2156
2459
  * @type {string || null}
2157
2460
  */
2158
2461
  this.SecretName = null;
@@ -2249,6 +2552,7 @@ module.exports = {
2249
2552
  UpdateDescriptionResponse: UpdateDescriptionResponse,
2250
2553
  DescribeSecretResponse: DescribeSecretResponse,
2251
2554
  DescribeSupportedProductsRequest: DescribeSupportedProductsRequest,
2555
+ GetSecretValueRequest: GetSecretValueRequest,
2252
2556
  DeleteSecretRequest: DeleteSecretRequest,
2253
2557
  CreateSecretRequest: CreateSecretRequest,
2254
2558
  RotateProductSecretRequest: RotateProductSecretRequest,
@@ -2260,7 +2564,7 @@ module.exports = {
2260
2564
  SecretMetadata: SecretMetadata,
2261
2565
  ListSecretVersionIdsRequest: ListSecretVersionIdsRequest,
2262
2566
  DescribeRotationDetailRequest: DescribeRotationDetailRequest,
2263
- DescribeAsyncRequestInfoRequest: DescribeAsyncRequestInfoRequest,
2567
+ CreateSSHKeyPairSecretResponse: CreateSSHKeyPairSecretResponse,
2264
2568
  UpdateRotationStatusResponse: UpdateRotationStatusResponse,
2265
2569
  CreateSecretResponse: CreateSecretResponse,
2266
2570
  GetRegionsRequest: GetRegionsRequest,
@@ -2270,6 +2574,7 @@ module.exports = {
2270
2574
  ListSecretsRequest: ListSecretsRequest,
2271
2575
  UpdateDescriptionRequest: UpdateDescriptionRequest,
2272
2576
  EnableSecretResponse: EnableSecretResponse,
2577
+ CreateSSHKeyPairSecretRequest: CreateSSHKeyPairSecretRequest,
2273
2578
  UpdateRotationStatusRequest: UpdateRotationStatusRequest,
2274
2579
  UpdateSecretRequest: UpdateSecretRequest,
2275
2580
  DescribeAsyncRequestInfoResponse: DescribeAsyncRequestInfoResponse,
@@ -2278,19 +2583,21 @@ module.exports = {
2278
2583
  VersionInfo: VersionInfo,
2279
2584
  TagFilter: TagFilter,
2280
2585
  PutSecretValueRequest: PutSecretValueRequest,
2586
+ PutSecretValueResponse: PutSecretValueResponse,
2281
2587
  DescribeRotationHistoryResponse: DescribeRotationHistoryResponse,
2282
- GetSecretValueRequest: GetSecretValueRequest,
2588
+ GetSSHKeyPairValueRequest: GetSSHKeyPairValueRequest,
2589
+ DescribeAsyncRequestInfoRequest: DescribeAsyncRequestInfoRequest,
2283
2590
  GetServiceStatusResponse: GetServiceStatusResponse,
2284
2591
  DescribeRotationDetailResponse: DescribeRotationDetailResponse,
2285
- DescribeSecretRequest: DescribeSecretRequest,
2592
+ EnableSecretRequest: EnableSecretRequest,
2286
2593
  ProductPrivilegeUnit: ProductPrivilegeUnit,
2287
2594
  DescribeRotationHistoryRequest: DescribeRotationHistoryRequest,
2288
- PutSecretValueResponse: PutSecretValueResponse,
2595
+ GetSSHKeyPairValueResponse: GetSSHKeyPairValueResponse,
2289
2596
  DeleteSecretResponse: DeleteSecretResponse,
2290
2597
  DisableSecretRequest: DisableSecretRequest,
2291
2598
  CreateProductSecretResponse: CreateProductSecretResponse,
2292
2599
  ListSecretsResponse: ListSecretsResponse,
2293
- EnableSecretRequest: EnableSecretRequest,
2600
+ DescribeSecretRequest: DescribeSecretRequest,
2294
2601
  GetServiceStatusRequest: GetServiceStatusRequest,
2295
2602
  ListSecretVersionIdsResponse: ListSecretVersionIdsResponse,
2296
2603