tencentcloud-sdk-nodejs-intl-en 3.0.1042 → 3.0.1043
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/apigateway/v20180808/models.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +141 -86
- package/tencentcloud/cvm/v20170312/models.js +748 -254
- package/tencentcloud/faceid/v20180301/models.js +5 -2
- package/tencentcloud/tke/v20180525/models.js +2 -2
- package/tencentcloud/trtc/v20190722/models.js +1178 -217
- package/tencentcloud/trtc/v20190722/trtc_client.js +108 -8
|
@@ -81,7 +81,7 @@ class AssociateInstancesKeyPairsResponse extends AbstractModel {
|
|
|
81
81
|
super();
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* The unique request ID,
|
|
84
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
85
85
|
* @type {string || null}
|
|
86
86
|
*/
|
|
87
87
|
this.RequestId = null;
|
|
@@ -115,7 +115,7 @@ class DescribeImageQuotaResponse extends AbstractModel {
|
|
|
115
115
|
this.ImageNumQuota = null;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* The unique request ID,
|
|
118
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
119
119
|
* @type {string || null}
|
|
120
120
|
*/
|
|
121
121
|
this.RequestId = null;
|
|
@@ -179,7 +179,7 @@ class ConfigureChcDeployVpcResponse extends AbstractModel {
|
|
|
179
179
|
super();
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* The unique request ID,
|
|
182
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
183
183
|
* @type {string || null}
|
|
184
184
|
*/
|
|
185
185
|
this.RequestId = null;
|
|
@@ -207,7 +207,7 @@ class ResetInstancesTypeResponse extends AbstractModel {
|
|
|
207
207
|
super();
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
* The unique request ID,
|
|
210
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
211
211
|
* @type {string || null}
|
|
212
212
|
*/
|
|
213
213
|
this.RequestId = null;
|
|
@@ -383,7 +383,7 @@ class TerminateInstancesResponse extends AbstractModel {
|
|
|
383
383
|
super();
|
|
384
384
|
|
|
385
385
|
/**
|
|
386
|
-
* The unique request ID,
|
|
386
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
387
387
|
* @type {string || null}
|
|
388
388
|
*/
|
|
389
389
|
this.RequestId = null;
|
|
@@ -411,7 +411,7 @@ class ResetInstancesInternetMaxBandwidthResponse extends AbstractModel {
|
|
|
411
411
|
super();
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
|
-
* The unique request ID,
|
|
414
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
415
415
|
* @type {string || null}
|
|
416
416
|
*/
|
|
417
417
|
this.RequestId = null;
|
|
@@ -466,7 +466,7 @@ class InquiryPriceResetInstancesInternetMaxBandwidthResponse extends AbstractMo
|
|
|
466
466
|
this.Price = null;
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
|
-
* The unique request ID,
|
|
469
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
470
470
|
* @type {string || null}
|
|
471
471
|
*/
|
|
472
472
|
this.RequestId = null;
|
|
@@ -955,7 +955,7 @@ class DescribeInstancesResponse extends AbstractModel {
|
|
|
955
955
|
this.InstanceSet = null;
|
|
956
956
|
|
|
957
957
|
/**
|
|
958
|
-
* The unique request ID,
|
|
958
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
959
959
|
* @type {string || null}
|
|
960
960
|
*/
|
|
961
961
|
this.RequestId = null;
|
|
@@ -1005,7 +1005,7 @@ class DescribeHostsResponse extends AbstractModel {
|
|
|
1005
1005
|
this.HostSet = null;
|
|
1006
1006
|
|
|
1007
1007
|
/**
|
|
1008
|
-
* The unique request ID,
|
|
1008
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1009
1009
|
* @type {string || null}
|
|
1010
1010
|
*/
|
|
1011
1011
|
this.RequestId = null;
|
|
@@ -1043,7 +1043,7 @@ class DeleteKeyPairsRequest extends AbstractModel {
|
|
|
1043
1043
|
super();
|
|
1044
1044
|
|
|
1045
1045
|
/**
|
|
1046
|
-
*
|
|
1046
|
+
* One or more key pair IDs to be operated. The maximum number of key pairs per request is 100.<br>You can obtain an available key pair ID in the following ways:<br><li>Log in to the [console](https://console.cloud.tencent.com/cvm/sshkey) to query the key pair ID.</li><br><li>Call the [DescribeKeyPairs](https://intl.cloud.tencent.com/document/api/213/15699?from_cn_redirect=1) API and obtain the key pair ID from the `KeyId` in the response.</li>
|
|
1047
1047
|
* @type {Array.<string> || null}
|
|
1048
1048
|
*/
|
|
1049
1049
|
this.KeyIds = null;
|
|
@@ -1146,13 +1146,13 @@ class ResetInstanceRequest extends AbstractModel {
|
|
|
1146
1146
|
this.LoginSettings = null;
|
|
1147
1147
|
|
|
1148
1148
|
/**
|
|
1149
|
-
* Enhanced services. You can
|
|
1149
|
+
* Enhanced services. You can specify whether to enable services such as Cloud Security and Cloud Monitor through this parameter. If this parameter is not specified, Cloud Monitor and Cloud Security are enabled for public images by default, but not enabled for custom images and marketplace images by default. Instead, they use services retained in the images.
|
|
1150
1150
|
* @type {EnhancedService || null}
|
|
1151
1151
|
*/
|
|
1152
1152
|
this.EnhancedService = null;
|
|
1153
1153
|
|
|
1154
1154
|
/**
|
|
1155
|
-
*
|
|
1155
|
+
* When reinstalling a system, you can modify an instance's hostname.<br><li>Period (.) and hyphen (-) should not be used as the first or last character of the hostname, and should not be used consecutively.</li><br><li>Windows instances: The hostname should contain 2 to 15 characters, including letters (case insensitive), digits, and hyphens (-), does not support periods (.), and should not be all digits.</li><br><li>Instances of other types (such as Linux instances): The hostname should contain 2 to 60 characters, including multiple periods (.), with each segment between periods considered as one section. Each section can contain letters (case insensitive), digits, and hyphens (-).</li>
|
|
1156
1156
|
* @type {string || null}
|
|
1157
1157
|
*/
|
|
1158
1158
|
this.HostName = null;
|
|
@@ -1199,24 +1199,18 @@ class ResetInstanceRequest extends AbstractModel {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
|
|
1201
1201
|
/**
|
|
1202
|
-
*
|
|
1202
|
+
* ExitRescueMode response structure.
|
|
1203
1203
|
* @class
|
|
1204
1204
|
*/
|
|
1205
|
-
class
|
|
1205
|
+
class ExitRescueModeResponse extends AbstractModel {
|
|
1206
1206
|
constructor(){
|
|
1207
1207
|
super();
|
|
1208
1208
|
|
|
1209
1209
|
/**
|
|
1210
|
-
*
|
|
1210
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1211
1211
|
* @type {string || null}
|
|
1212
1212
|
*/
|
|
1213
|
-
this.
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* Instance launch template version number. If specified, this parameter will be used to create a new instance launch template.
|
|
1217
|
-
* @type {number || null}
|
|
1218
|
-
*/
|
|
1219
|
-
this.LaunchTemplateVersion = null;
|
|
1213
|
+
this.RequestId = null;
|
|
1220
1214
|
|
|
1221
1215
|
}
|
|
1222
1216
|
|
|
@@ -1227,8 +1221,7 @@ class LaunchTemplate extends AbstractModel {
|
|
|
1227
1221
|
if (!params) {
|
|
1228
1222
|
return;
|
|
1229
1223
|
}
|
|
1230
|
-
this.
|
|
1231
|
-
this.LaunchTemplateVersion = 'LaunchTemplateVersion' in params ? params.LaunchTemplateVersion : null;
|
|
1224
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1232
1225
|
|
|
1233
1226
|
}
|
|
1234
1227
|
}
|
|
@@ -1254,7 +1247,7 @@ class DescribeChcHostsResponse extends AbstractModel {
|
|
|
1254
1247
|
this.ChcHostSet = null;
|
|
1255
1248
|
|
|
1256
1249
|
/**
|
|
1257
|
-
* The unique request ID,
|
|
1250
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1258
1251
|
* @type {string || null}
|
|
1259
1252
|
*/
|
|
1260
1253
|
this.RequestId = null;
|
|
@@ -1372,33 +1365,18 @@ class AllocateHostsRequest extends AbstractModel {
|
|
|
1372
1365
|
}
|
|
1373
1366
|
|
|
1374
1367
|
/**
|
|
1375
|
-
*
|
|
1368
|
+
* DescribeImageFromFamily request structure.
|
|
1376
1369
|
* @class
|
|
1377
1370
|
*/
|
|
1378
|
-
class
|
|
1371
|
+
class DescribeImageFromFamilyRequest extends AbstractModel {
|
|
1379
1372
|
constructor(){
|
|
1380
1373
|
super();
|
|
1381
1374
|
|
|
1382
1375
|
/**
|
|
1383
|
-
*
|
|
1384
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
1385
|
-
* @type {string || null}
|
|
1386
|
-
*/
|
|
1387
|
-
this.Password = null;
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1390
|
-
* List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair. You can call [`DescribeKeyPairs`](https://intl.cloud.tencent.com/document/api/213/15699?from_cn_redirect=1) to obtain `KeyId`. You cannot specify a key and a password at the same time. Windows instances do not support keys.
|
|
1391
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
1392
|
-
* @type {Array.<string> || null}
|
|
1393
|
-
*/
|
|
1394
|
-
this.KeyIds = null;
|
|
1395
|
-
|
|
1396
|
-
/**
|
|
1397
|
-
* Whether to keep the original settings of an image. You cannot specify this parameter and `Password` or `KeyIds.N` at the same time. You can specify this parameter as `TRUE` only when you create an instance using a custom image, a shared image, or an imported image. Valid values: <br><li>TRUE: keep the login settings of the image <br><li>FALSE: do not keep the login settings of the image <br><br>Default value: FALSE.
|
|
1398
|
-
Note: This field may return null, indicating that no valid value is found.
|
|
1376
|
+
* Image family
|
|
1399
1377
|
* @type {string || null}
|
|
1400
1378
|
*/
|
|
1401
|
-
this.
|
|
1379
|
+
this.ImageFamily = null;
|
|
1402
1380
|
|
|
1403
1381
|
}
|
|
1404
1382
|
|
|
@@ -1409,9 +1387,7 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
1409
1387
|
if (!params) {
|
|
1410
1388
|
return;
|
|
1411
1389
|
}
|
|
1412
|
-
this.
|
|
1413
|
-
this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
|
|
1414
|
-
this.KeepImageLogin = 'KeepImageLogin' in params ? params.KeepImageLogin : null;
|
|
1390
|
+
this.ImageFamily = 'ImageFamily' in params ? params.ImageFamily : null;
|
|
1415
1391
|
|
|
1416
1392
|
}
|
|
1417
1393
|
}
|
|
@@ -1437,7 +1413,7 @@ class DescribeRegionsResponse extends AbstractModel {
|
|
|
1437
1413
|
this.RegionSet = null;
|
|
1438
1414
|
|
|
1439
1415
|
/**
|
|
1440
|
-
* The unique request ID,
|
|
1416
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1441
1417
|
* @type {string || null}
|
|
1442
1418
|
*/
|
|
1443
1419
|
this.RequestId = null;
|
|
@@ -1615,7 +1591,7 @@ class DeleteLaunchTemplateResponse extends AbstractModel {
|
|
|
1615
1591
|
super();
|
|
1616
1592
|
|
|
1617
1593
|
/**
|
|
1618
|
-
* The unique request ID,
|
|
1594
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1619
1595
|
* @type {string || null}
|
|
1620
1596
|
*/
|
|
1621
1597
|
this.RequestId = null;
|
|
@@ -1649,7 +1625,7 @@ class DescribeChcDeniedActionsResponse extends AbstractModel {
|
|
|
1649
1625
|
this.ChcHostDeniedActionSet = null;
|
|
1650
1626
|
|
|
1651
1627
|
/**
|
|
1652
|
-
* The unique request ID,
|
|
1628
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1653
1629
|
* @type {string || null}
|
|
1654
1630
|
*/
|
|
1655
1631
|
this.RequestId = null;
|
|
@@ -1698,7 +1674,7 @@ class DescribeInstancesStatusResponse extends AbstractModel {
|
|
|
1698
1674
|
this.InstanceStatusSet = null;
|
|
1699
1675
|
|
|
1700
1676
|
/**
|
|
1701
|
-
* The unique request ID,
|
|
1677
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1702
1678
|
* @type {string || null}
|
|
1703
1679
|
*/
|
|
1704
1680
|
this.RequestId = null;
|
|
@@ -1736,21 +1712,22 @@ class ZoneInfo extends AbstractModel {
|
|
|
1736
1712
|
super();
|
|
1737
1713
|
|
|
1738
1714
|
/**
|
|
1739
|
-
* Availability zone name,
|
|
1740
|
-
|
|
1715
|
+
* Availability zone name, for example, ap-guangzhou-3.
|
|
1716
|
+
|
|
1717
|
+
The names of availability zones across the network are as follows:
|
|
1741
1718
|
<li> ap-chongqing-1 </li>
|
|
1742
1719
|
<li> ap-seoul-1 </li>
|
|
1743
1720
|
<li> ap-seoul-2 </li>
|
|
1744
1721
|
<li> ap-chengdu-1 </li>
|
|
1745
1722
|
<li> ap-chengdu-2 </li>
|
|
1746
|
-
<li> ap-hongkong-1 (
|
|
1723
|
+
<li> ap-hongkong-1 (sold out)</li>
|
|
1747
1724
|
<li> ap-hongkong-2 </li>
|
|
1748
1725
|
<li> ap-hongkong-3 </li>
|
|
1749
1726
|
<li> ap-shenzhen-fsi-1 </li>
|
|
1750
1727
|
<li> ap-shenzhen-fsi-2 </li>
|
|
1751
|
-
<li> ap-shenzhen-fsi-3 </li>
|
|
1752
|
-
<li> ap-guangzhou-1 (
|
|
1753
|
-
<li> ap-guangzhou-2 (
|
|
1728
|
+
<li> ap-shenzhen-fsi-3 (sold out)</li>
|
|
1729
|
+
<li> ap-guangzhou-1 (sold out)</li>
|
|
1730
|
+
<li> ap-guangzhou-2 (sold out)</li>
|
|
1754
1731
|
<li> ap-guangzhou-3 </li>
|
|
1755
1732
|
<li> ap-guangzhou-4 </li>
|
|
1756
1733
|
<li> ap-guangzhou-6 </li>
|
|
@@ -1766,7 +1743,7 @@ The following is a list of all availability zones:
|
|
|
1766
1743
|
<li> ap-shanghai-fsi-3 </li>
|
|
1767
1744
|
<li> ap-bangkok-1 </li>
|
|
1768
1745
|
<li> ap-bangkok-2 </li>
|
|
1769
|
-
<li> ap-shanghai-1 (
|
|
1746
|
+
<li> ap-shanghai-1 (sold out)</li>
|
|
1770
1747
|
<li> ap-shanghai-2 </li>
|
|
1771
1748
|
<li> ap-shanghai-3 </li>
|
|
1772
1749
|
<li> ap-shanghai-4 </li>
|
|
@@ -1775,7 +1752,7 @@ The following is a list of all availability zones:
|
|
|
1775
1752
|
<li> ap-mumbai-1 </li>
|
|
1776
1753
|
<li> ap-mumbai-2 </li>
|
|
1777
1754
|
<li> eu-moscow-1 </li>
|
|
1778
|
-
<li> ap-beijing-1 (
|
|
1755
|
+
<li> ap-beijing-1 (sold out)</li>
|
|
1779
1756
|
<li> ap-beijing-2 </li>
|
|
1780
1757
|
<li> ap-beijing-3 </li>
|
|
1781
1758
|
<li> ap-beijing-4 </li>
|
|
@@ -1786,7 +1763,6 @@ The following is a list of all availability zones:
|
|
|
1786
1763
|
<li> na-siliconvalley-2 </li>
|
|
1787
1764
|
<li> eu-frankfurt-1 </li>
|
|
1788
1765
|
<li> eu-frankfurt-2 </li>
|
|
1789
|
-
<li> na-toronto-1 </li>
|
|
1790
1766
|
<li> na-ashburn-1 </li>
|
|
1791
1767
|
<li> na-ashburn-2 </li>
|
|
1792
1768
|
<li> ap-nanjing-1 </li>
|
|
@@ -1843,7 +1819,7 @@ class ModifyLaunchTemplateDefaultVersionResponse extends AbstractModel {
|
|
|
1843
1819
|
super();
|
|
1844
1820
|
|
|
1845
1821
|
/**
|
|
1846
|
-
* The unique request ID,
|
|
1822
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1847
1823
|
* @type {string || null}
|
|
1848
1824
|
*/
|
|
1849
1825
|
this.RequestId = null;
|
|
@@ -1948,7 +1924,7 @@ class ModifyImageSharePermissionResponse extends AbstractModel {
|
|
|
1948
1924
|
super();
|
|
1949
1925
|
|
|
1950
1926
|
/**
|
|
1951
|
-
* The unique request ID,
|
|
1927
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1952
1928
|
* @type {string || null}
|
|
1953
1929
|
*/
|
|
1954
1930
|
this.RequestId = null;
|
|
@@ -1982,7 +1958,7 @@ class ImportKeyPairResponse extends AbstractModel {
|
|
|
1982
1958
|
this.KeyId = null;
|
|
1983
1959
|
|
|
1984
1960
|
/**
|
|
1985
|
-
* The unique request ID,
|
|
1961
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1986
1962
|
* @type {string || null}
|
|
1987
1963
|
*/
|
|
1988
1964
|
this.RequestId = null;
|
|
@@ -2023,7 +1999,7 @@ class DescribeKeyPairsResponse extends AbstractModel {
|
|
|
2023
1999
|
this.KeyPairSet = null;
|
|
2024
2000
|
|
|
2025
2001
|
/**
|
|
2026
|
-
* The unique request ID,
|
|
2002
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2027
2003
|
* @type {string || null}
|
|
2028
2004
|
*/
|
|
2029
2005
|
this.RequestId = null;
|
|
@@ -2112,7 +2088,7 @@ class RemoveChcAssistVpcResponse extends AbstractModel {
|
|
|
2112
2088
|
super();
|
|
2113
2089
|
|
|
2114
2090
|
/**
|
|
2115
|
-
* The unique request ID,
|
|
2091
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2116
2092
|
* @type {string || null}
|
|
2117
2093
|
*/
|
|
2118
2094
|
this.RequestId = null;
|
|
@@ -2187,7 +2163,7 @@ class DescribeImagesResponse extends AbstractModel {
|
|
|
2187
2163
|
this.TotalCount = null;
|
|
2188
2164
|
|
|
2189
2165
|
/**
|
|
2190
|
-
* The unique request ID,
|
|
2166
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2191
2167
|
* @type {string || null}
|
|
2192
2168
|
*/
|
|
2193
2169
|
this.RequestId = null;
|
|
@@ -2225,7 +2201,7 @@ class ModifyInstancesVpcAttributeResponse extends AbstractModel {
|
|
|
2225
2201
|
super();
|
|
2226
2202
|
|
|
2227
2203
|
/**
|
|
2228
|
-
* The unique request ID,
|
|
2204
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2229
2205
|
* @type {string || null}
|
|
2230
2206
|
*/
|
|
2231
2207
|
this.RequestId = null;
|
|
@@ -2295,7 +2271,7 @@ class CreateKeyPairResponse extends AbstractModel {
|
|
|
2295
2271
|
this.KeyPair = null;
|
|
2296
2272
|
|
|
2297
2273
|
/**
|
|
2298
|
-
* The unique request ID,
|
|
2274
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2299
2275
|
* @type {string || null}
|
|
2300
2276
|
*/
|
|
2301
2277
|
this.RequestId = null;
|
|
@@ -2329,7 +2305,7 @@ class DeleteKeyPairsResponse extends AbstractModel {
|
|
|
2329
2305
|
super();
|
|
2330
2306
|
|
|
2331
2307
|
/**
|
|
2332
|
-
* The unique request ID,
|
|
2308
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2333
2309
|
* @type {string || null}
|
|
2334
2310
|
*/
|
|
2335
2311
|
this.RequestId = null;
|
|
@@ -2348,6 +2324,55 @@ class DeleteKeyPairsResponse extends AbstractModel {
|
|
|
2348
2324
|
}
|
|
2349
2325
|
}
|
|
2350
2326
|
|
|
2327
|
+
/**
|
|
2328
|
+
* EnterRescueMode request structure.
|
|
2329
|
+
* @class
|
|
2330
|
+
*/
|
|
2331
|
+
class EnterRescueModeRequest extends AbstractModel {
|
|
2332
|
+
constructor(){
|
|
2333
|
+
super();
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* Instance ID Needs to Enter Rescue Mode
|
|
2337
|
+
* @type {string || null}
|
|
2338
|
+
*/
|
|
2339
|
+
this.InstanceId = null;
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* System Password in Rescue Mode
|
|
2343
|
+
* @type {string || null}
|
|
2344
|
+
*/
|
|
2345
|
+
this.Password = null;
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* System Username in Rescue Mode
|
|
2349
|
+
* @type {string || null}
|
|
2350
|
+
*/
|
|
2351
|
+
this.Username = null;
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* Whether to perform forced shutdown.
|
|
2355
|
+
* @type {boolean || null}
|
|
2356
|
+
*/
|
|
2357
|
+
this.ForceStop = null;
|
|
2358
|
+
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* @private
|
|
2363
|
+
*/
|
|
2364
|
+
deserialize(params) {
|
|
2365
|
+
if (!params) {
|
|
2366
|
+
return;
|
|
2367
|
+
}
|
|
2368
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2369
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
2370
|
+
this.Username = 'Username' in params ? params.Username : null;
|
|
2371
|
+
this.ForceStop = 'ForceStop' in params ? params.ForceStop : null;
|
|
2372
|
+
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2351
2376
|
/**
|
|
2352
2377
|
* Description of tags associated with resource instances during instance creation.
|
|
2353
2378
|
* @class
|
|
@@ -2402,13 +2427,13 @@ class ModifyImageSharePermissionRequest extends AbstractModel {
|
|
|
2402
2427
|
super();
|
|
2403
2428
|
|
|
2404
2429
|
/**
|
|
2405
|
-
* Image ID such as `img-gvbnzy6f`. You can obtain the image
|
|
2430
|
+
* Image ID, such as `img-gvbnzy6f`. You can obtain the image ID in the following ways:<br><li>Call the [DescribeImages](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1) API and find the value of `ImageId` in the response.</li><br><li>Obtain it in the [Image console](https://console.cloud.tencent.com/cvm/image).</li><br>The image ID should correspond to an image in the `NORMAL` state. For more information on image status, see [Image Data Table](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#Image).
|
|
2406
2431
|
* @type {string || null}
|
|
2407
2432
|
*/
|
|
2408
2433
|
this.ImageId = null;
|
|
2409
2434
|
|
|
2410
2435
|
/**
|
|
2411
|
-
*
|
|
2436
|
+
* ID list of root accounts receiving shared images. For the format of array-type parameters, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/568?from_cn_redirect=1). An account ID is different from a QQ number. For details on root account IDs, refer to the account ID section in [Account Information](https://console.cloud.tencent.com/developer).
|
|
2412
2437
|
* @type {Array.<string> || null}
|
|
2413
2438
|
*/
|
|
2414
2439
|
this.AccountIds = null;
|
|
@@ -2444,7 +2469,7 @@ class DisassociateInstancesKeyPairsResponse extends AbstractModel {
|
|
|
2444
2469
|
super();
|
|
2445
2470
|
|
|
2446
2471
|
/**
|
|
2447
|
-
* The unique request ID,
|
|
2472
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2448
2473
|
* @type {string || null}
|
|
2449
2474
|
*/
|
|
2450
2475
|
this.RequestId = null;
|
|
@@ -2548,13 +2573,14 @@ class InquiryPriceResizeInstanceDisksRequest extends AbstractModel {
|
|
|
2548
2573
|
this.InstanceId = null;
|
|
2549
2574
|
|
|
2550
2575
|
/**
|
|
2551
|
-
*
|
|
2576
|
+
* Configuration information of a data disk to be expanded. Only inelastic data disks (with `Portable` being `false` in the return values of [DescribeDisks](https://intl.cloud.tencent.com/document/api/362/16315?from_cn_redirect=1)) can be expanded. The unit of data disk capacity is GB. The minimum expansion step is 10 GB. For more information about data disk types, refer to Disk Product Introduction. The available data disk type is restricted by the instance type `InstanceType`. Additionally, the maximum allowable capacity for expansion varies by data disk type.
|
|
2577
|
+
<dx-alert infotype="explain" title="">You should specify either DataDisks or SystemDisk, but you cannot specify both at the same time.</dx-alert>
|
|
2552
2578
|
* @type {Array.<DataDisk> || null}
|
|
2553
2579
|
*/
|
|
2554
2580
|
this.DataDisks = null;
|
|
2555
2581
|
|
|
2556
2582
|
/**
|
|
2557
|
-
* Whether to
|
|
2583
|
+
* Whether to forcibly shut down a running instance. It is recommended to manually shut down a running instance first and then reset the user password. Valid values:<br><li>true: Forcibly shut down an instance after a normal shutdown fails.</li><br><li>false: Do not forcibly shut down an instance after a normal shutdown fails.</li><br><br>Default value: false.<br><br>Forced shutdown is equivalent to turning off a physical computer's power switch. Forced shutdown may cause data loss or file system corruption and should only be used when a server cannot be shut down normally.
|
|
2558
2584
|
* @type {boolean || null}
|
|
2559
2585
|
*/
|
|
2560
2586
|
this.ForceStop = null;
|
|
@@ -2650,6 +2676,20 @@ class ReservedInstancePrice extends AbstractModel {
|
|
|
2650
2676
|
*/
|
|
2651
2677
|
this.DiscountUsagePrice = null;
|
|
2652
2678
|
|
|
2679
|
+
/**
|
|
2680
|
+
* Discount on upfront cost. For example, 20.0 indicates 80% off. Note: This field may return null, indicating that no valid value is found.
|
|
2681
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
2682
|
+
* @type {number || null}
|
|
2683
|
+
*/
|
|
2684
|
+
this.FixedPriceDiscount = null;
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* Discount on subsequent cost. For example, 20.0 indicates 80% off. Note: This field may return null, indicating that no valid value is found.
|
|
2688
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
2689
|
+
* @type {number || null}
|
|
2690
|
+
*/
|
|
2691
|
+
this.UsagePriceDiscount = null;
|
|
2692
|
+
|
|
2653
2693
|
}
|
|
2654
2694
|
|
|
2655
2695
|
/**
|
|
@@ -2663,6 +2703,8 @@ class ReservedInstancePrice extends AbstractModel {
|
|
|
2663
2703
|
this.DiscountFixedPrice = 'DiscountFixedPrice' in params ? params.DiscountFixedPrice : null;
|
|
2664
2704
|
this.OriginalUsagePrice = 'OriginalUsagePrice' in params ? params.OriginalUsagePrice : null;
|
|
2665
2705
|
this.DiscountUsagePrice = 'DiscountUsagePrice' in params ? params.DiscountUsagePrice : null;
|
|
2706
|
+
this.FixedPriceDiscount = 'FixedPriceDiscount' in params ? params.FixedPriceDiscount : null;
|
|
2707
|
+
this.UsagePriceDiscount = 'UsagePriceDiscount' in params ? params.UsagePriceDiscount : null;
|
|
2666
2708
|
|
|
2667
2709
|
}
|
|
2668
2710
|
}
|
|
@@ -2676,7 +2718,7 @@ class ModifyInstancesAttributeResponse extends AbstractModel {
|
|
|
2676
2718
|
super();
|
|
2677
2719
|
|
|
2678
2720
|
/**
|
|
2679
|
-
* The unique request ID,
|
|
2721
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2680
2722
|
* @type {string || null}
|
|
2681
2723
|
*/
|
|
2682
2724
|
this.RequestId = null;
|
|
@@ -2710,7 +2752,7 @@ class DescribeInstancesOperationLimitResponse extends AbstractModel {
|
|
|
2710
2752
|
this.InstanceOperationLimitSet = null;
|
|
2711
2753
|
|
|
2712
2754
|
/**
|
|
2713
|
-
* The unique request ID,
|
|
2755
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2714
2756
|
* @type {string || null}
|
|
2715
2757
|
*/
|
|
2716
2758
|
this.RequestId = null;
|
|
@@ -2753,7 +2795,7 @@ class SyncImagesResponse extends AbstractModel {
|
|
|
2753
2795
|
this.ImageSet = null;
|
|
2754
2796
|
|
|
2755
2797
|
/**
|
|
2756
|
-
* The unique request ID,
|
|
2798
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2757
2799
|
* @type {string || null}
|
|
2758
2800
|
*/
|
|
2759
2801
|
this.RequestId = null;
|
|
@@ -2796,7 +2838,7 @@ class DescribeZoneInstanceConfigInfosResponse extends AbstractModel {
|
|
|
2796
2838
|
this.InstanceTypeQuotaSet = null;
|
|
2797
2839
|
|
|
2798
2840
|
/**
|
|
2799
|
-
* The unique request ID,
|
|
2841
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2800
2842
|
* @type {string || null}
|
|
2801
2843
|
*/
|
|
2802
2844
|
this.RequestId = null;
|
|
@@ -2845,6 +2887,12 @@ class ModifyInstancesAttributeRequest extends AbstractModel {
|
|
|
2845
2887
|
*/
|
|
2846
2888
|
this.InstanceName = null;
|
|
2847
2889
|
|
|
2890
|
+
/**
|
|
2891
|
+
* User data provided to an instance, which needs to be encoded in Base64 format with a maximum size of 16 KB. For details on obtaining this parameter, refer to the startup commands for [Windows](https://intl.cloud.tencent.com/document/product/213/17526?from_cn_redirect=1) and [Linux](https://intl.cloud.tencent.com/document/product/213/17525?from_cn_redirect=1).
|
|
2892
|
+
* @type {string || null}
|
|
2893
|
+
*/
|
|
2894
|
+
this.UserData = null;
|
|
2895
|
+
|
|
2848
2896
|
/**
|
|
2849
2897
|
* IDs of security groups associated with the specified instance. You can associate with a security group by adding its ID, or cancel the association with a security group by removing its ID. <dx-alert infotype="explain" title="">Either `InstanceName` or `SecurityGroups` must be specified, but they cannot be both set.</dx-alert>
|
|
2850
2898
|
* @type {Array.<string> || null}
|
|
@@ -2858,13 +2906,13 @@ class ModifyInstancesAttributeRequest extends AbstractModel {
|
|
|
2858
2906
|
this.CamRoleName = null;
|
|
2859
2907
|
|
|
2860
2908
|
/**
|
|
2861
|
-
*
|
|
2909
|
+
* Modified hostname of an instance.<li>Period (.) and hyphen (-) should not be used as the first or last character of the hostname, and should not be used consecutively.</li><li>Windows instances: The hostname should contain 2 to 15 characters, including letters (case insensitive), digits, and hyphens (-), does not support periods (.), and should not be all digits.</li><li>Instances of other types (such as Linux instances): The hostname should contain 2 to 60 characters, including multiple periods (.), with each segment between periods considered as one section. Each section can contain letters (case insensitive), digits, and hyphens (-).</li>Note: After the hostname is modified, the instance will restart immediately, and the new hostname will take effect after the restart.
|
|
2862
2910
|
* @type {string || null}
|
|
2863
2911
|
*/
|
|
2864
2912
|
this.HostName = null;
|
|
2865
2913
|
|
|
2866
2914
|
/**
|
|
2867
|
-
*
|
|
2915
|
+
* Instance termination protection flag, indicating whether an instance is allowed to be deleted through an API. Valid values:<li>true: Instance protection is enabled, and the instance is not allowed to be deleted through the API.</li><li>false: Instance protection is disabled, and the instance is allowed to be deleted through the API.</li>Default value: false.
|
|
2868
2916
|
* @type {boolean || null}
|
|
2869
2917
|
*/
|
|
2870
2918
|
this.DisableApiTermination = null;
|
|
@@ -2877,6 +2925,15 @@ When the value obtained in `RoleType` is `user` (default) or `system`, `CamRoleT
|
|
|
2877
2925
|
*/
|
|
2878
2926
|
this.CamRoleType = null;
|
|
2879
2927
|
|
|
2928
|
+
/**
|
|
2929
|
+
* Whether to automatically restart an instance when modifying a hostname. If not specified, the instance will automatically restart by default.
|
|
2930
|
+
- true: Modify the hostname and automatically restart the instance.
|
|
2931
|
+
- false: Modify the hostname without automatically restarting the instance. A manual restart is required for the new hostname to take effect.
|
|
2932
|
+
Note: This parameter is valid only when a hostname is modified.
|
|
2933
|
+
* @type {boolean || null}
|
|
2934
|
+
*/
|
|
2935
|
+
this.AutoReboot = null;
|
|
2936
|
+
|
|
2880
2937
|
}
|
|
2881
2938
|
|
|
2882
2939
|
/**
|
|
@@ -2888,11 +2945,13 @@ When the value obtained in `RoleType` is `user` (default) or `system`, `CamRoleT
|
|
|
2888
2945
|
}
|
|
2889
2946
|
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
2890
2947
|
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
2948
|
+
this.UserData = 'UserData' in params ? params.UserData : null;
|
|
2891
2949
|
this.SecurityGroups = 'SecurityGroups' in params ? params.SecurityGroups : null;
|
|
2892
2950
|
this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
|
|
2893
2951
|
this.HostName = 'HostName' in params ? params.HostName : null;
|
|
2894
2952
|
this.DisableApiTermination = 'DisableApiTermination' in params ? params.DisableApiTermination : null;
|
|
2895
2953
|
this.CamRoleType = 'CamRoleType' in params ? params.CamRoleType : null;
|
|
2954
|
+
this.AutoReboot = 'AutoReboot' in params ? params.AutoReboot : null;
|
|
2896
2955
|
|
|
2897
2956
|
}
|
|
2898
2957
|
}
|
|
@@ -2912,7 +2971,7 @@ class CreateDisasterRecoverGroupResponse extends AbstractModel {
|
|
|
2912
2971
|
this.DisasterRecoverGroupId = null;
|
|
2913
2972
|
|
|
2914
2973
|
/**
|
|
2915
|
-
* Type of
|
|
2974
|
+
* Type of a spread placement group. Valid values:<br><li>HOST: physical machine.</li><li>SW: switch.</li><li>RACK: rack.</li>
|
|
2916
2975
|
* @type {string || null}
|
|
2917
2976
|
*/
|
|
2918
2977
|
this.Type = null;
|
|
@@ -2942,7 +3001,7 @@ class CreateDisasterRecoverGroupResponse extends AbstractModel {
|
|
|
2942
3001
|
this.CreateTime = null;
|
|
2943
3002
|
|
|
2944
3003
|
/**
|
|
2945
|
-
* The unique request ID,
|
|
3004
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2946
3005
|
* @type {string || null}
|
|
2947
3006
|
*/
|
|
2948
3007
|
this.RequestId = null;
|
|
@@ -2995,6 +3054,55 @@ class RemoveChcAssistVpcRequest extends AbstractModel {
|
|
|
2995
3054
|
}
|
|
2996
3055
|
}
|
|
2997
3056
|
|
|
3057
|
+
/**
|
|
3058
|
+
* ConvertOperatingSystems request structure.
|
|
3059
|
+
* @class
|
|
3060
|
+
*/
|
|
3061
|
+
class ConvertOperatingSystemsRequest extends AbstractModel {
|
|
3062
|
+
constructor(){
|
|
3063
|
+
super();
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* ID of an instance to execute operating system switching.
|
|
3067
|
+
* @type {Array.<string> || null}
|
|
3068
|
+
*/
|
|
3069
|
+
this.InstanceIds = null;
|
|
3070
|
+
|
|
3071
|
+
/**
|
|
3072
|
+
* Whether it is a minimum scale switching.
|
|
3073
|
+
* @type {boolean || null}
|
|
3074
|
+
*/
|
|
3075
|
+
this.MinimalConversion = null;
|
|
3076
|
+
|
|
3077
|
+
/**
|
|
3078
|
+
* Whether it is pre-check only.
|
|
3079
|
+
* @type {boolean || null}
|
|
3080
|
+
*/
|
|
3081
|
+
this.DryRun = null;
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* Target operating system type for switching. Only TencentOS is supported.
|
|
3085
|
+
* @type {string || null}
|
|
3086
|
+
*/
|
|
3087
|
+
this.TargetOSType = null;
|
|
3088
|
+
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* @private
|
|
3093
|
+
*/
|
|
3094
|
+
deserialize(params) {
|
|
3095
|
+
if (!params) {
|
|
3096
|
+
return;
|
|
3097
|
+
}
|
|
3098
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
3099
|
+
this.MinimalConversion = 'MinimalConversion' in params ? params.MinimalConversion : null;
|
|
3100
|
+
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
3101
|
+
this.TargetOSType = 'TargetOSType' in params ? params.TargetOSType : null;
|
|
3102
|
+
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
|
|
2998
3106
|
/**
|
|
2999
3107
|
* StartInstances request structure.
|
|
3000
3108
|
* @class
|
|
@@ -3193,7 +3301,7 @@ class ModifyKeyPairAttributeResponse extends AbstractModel {
|
|
|
3193
3301
|
super();
|
|
3194
3302
|
|
|
3195
3303
|
/**
|
|
3196
|
-
* The unique request ID,
|
|
3304
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3197
3305
|
* @type {string || null}
|
|
3198
3306
|
*/
|
|
3199
3307
|
this.RequestId = null;
|
|
@@ -3221,31 +3329,35 @@ class SyncImagesRequest extends AbstractModel {
|
|
|
3221
3329
|
super();
|
|
3222
3330
|
|
|
3223
3331
|
/**
|
|
3224
|
-
*
|
|
3332
|
+
* Image ID list. You can obtain the image IDs in the following ways:<br><li>Call the [DescribeImages](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1) API and find the value of `ImageId` in the response.</li><li>Obtain the image IDs in the [Image console](https://console.cloud.tencent.com/cvm/image).<br>The image IDs should meet the following requirement:</li><li>The image ID should correspond to an image in the `NORMAL` state.</li>For more information on image status, see [Image Data Table](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#Image).
|
|
3225
3333
|
* @type {Array.<string> || null}
|
|
3226
3334
|
*/
|
|
3227
3335
|
this.ImageIds = null;
|
|
3228
3336
|
|
|
3229
3337
|
/**
|
|
3230
|
-
* List of
|
|
3338
|
+
* List of target synchronization regions, which should meet the following requirements:<br><li>It should be a valid region.</li><li>If it is a custom image, the target synchronization region cannot be the source region.</li><li>If it is a shared image, the target synchronization region only supports the source region, meaning the shared image will be copied as a custom image in the source region.</li><li>Partial region synchronization is not supported currently. For details, see [Copying Images](https://intl.cloud.tencent.com/document/product/213/4943?from_cn_redirect=1#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E).</li>For specific regional parameters, refer to [Region](https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1).
|
|
3231
3339
|
* @type {Array.<string> || null}
|
|
3232
3340
|
*/
|
|
3233
3341
|
this.DestinationRegions = null;
|
|
3234
3342
|
|
|
3235
3343
|
/**
|
|
3236
3344
|
* Checks whether image synchronization can be initiated.
|
|
3345
|
+
|
|
3346
|
+
Default value: false.
|
|
3237
3347
|
* @type {boolean || null}
|
|
3238
3348
|
*/
|
|
3239
3349
|
this.DryRun = null;
|
|
3240
3350
|
|
|
3241
3351
|
/**
|
|
3242
|
-
*
|
|
3352
|
+
* Target image name. By default, the source image name is used.
|
|
3243
3353
|
* @type {string || null}
|
|
3244
3354
|
*/
|
|
3245
3355
|
this.ImageName = null;
|
|
3246
3356
|
|
|
3247
3357
|
/**
|
|
3248
|
-
* Whether to return the ID of image created in the
|
|
3358
|
+
* Whether to return the ID of the image created in the target region.
|
|
3359
|
+
|
|
3360
|
+
Default value: false.
|
|
3249
3361
|
* @type {boolean || null}
|
|
3250
3362
|
*/
|
|
3251
3363
|
this.ImageSetRequired = null;
|
|
@@ -3393,7 +3505,7 @@ class DescribeInstanceFamilyConfigsResponse extends AbstractModel {
|
|
|
3393
3505
|
this.InstanceFamilyConfigSet = null;
|
|
3394
3506
|
|
|
3395
3507
|
/**
|
|
3396
|
-
* The unique request ID,
|
|
3508
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3397
3509
|
* @type {string || null}
|
|
3398
3510
|
*/
|
|
3399
3511
|
this.RequestId = null;
|
|
@@ -3437,7 +3549,7 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
3437
3549
|
this.ImageId = null;
|
|
3438
3550
|
|
|
3439
3551
|
/**
|
|
3440
|
-
* The unique request ID,
|
|
3552
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3441
3553
|
* @type {string || null}
|
|
3442
3554
|
*/
|
|
3443
3555
|
this.RequestId = null;
|
|
@@ -3466,7 +3578,7 @@ class StopInstancesResponse extends AbstractModel {
|
|
|
3466
3578
|
super();
|
|
3467
3579
|
|
|
3468
3580
|
/**
|
|
3469
|
-
* The unique request ID,
|
|
3581
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3470
3582
|
* @type {string || null}
|
|
3471
3583
|
*/
|
|
3472
3584
|
this.RequestId = null;
|
|
@@ -3542,7 +3654,7 @@ class DescribeImageSharePermissionResponse extends AbstractModel {
|
|
|
3542
3654
|
this.SharePermissionSet = null;
|
|
3543
3655
|
|
|
3544
3656
|
/**
|
|
3545
|
-
* The unique request ID,
|
|
3657
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3546
3658
|
* @type {string || null}
|
|
3547
3659
|
*/
|
|
3548
3660
|
this.RequestId = null;
|
|
@@ -3579,7 +3691,7 @@ class DeleteLaunchTemplateVersionsResponse extends AbstractModel {
|
|
|
3579
3691
|
super();
|
|
3580
3692
|
|
|
3581
3693
|
/**
|
|
3582
|
-
* The unique request ID,
|
|
3694
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3583
3695
|
* @type {string || null}
|
|
3584
3696
|
*/
|
|
3585
3697
|
this.RequestId = null;
|
|
@@ -3607,7 +3719,7 @@ class ResetInstancesPasswordResponse extends AbstractModel {
|
|
|
3607
3719
|
super();
|
|
3608
3720
|
|
|
3609
3721
|
/**
|
|
3610
|
-
* The unique request ID,
|
|
3722
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3611
3723
|
* @type {string || null}
|
|
3612
3724
|
*/
|
|
3613
3725
|
this.RequestId = null;
|
|
@@ -3697,7 +3809,7 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
|
|
|
3697
3809
|
this.InstanceCount = null;
|
|
3698
3810
|
|
|
3699
3811
|
/**
|
|
3700
|
-
* Instance name
|
|
3812
|
+
* Instance name.<br><li>If this parameter is not specified, "Unnamed" will be displayed by default.</li><li>If you purchase multiple instances and specify a pattern string `{R:x}`, numbers `[x, x+n-1]` will be generated, where `n` represents the number of instances purchased. For example, you specify a pattern string `server_{R:3}`. If you purchase only one instance, the instance will be named `server_3`; if you purchase two, they will be named `server_3` and `server_4`. You can specify multiple pattern strings in the format of `{R:x}`.</li><li>If you purchase multiple instances without specifying a pattern string, the instance names will be suffixed with `1, 2...n`, where `n` represents the number of instances purchased. For example, if you purchase two instances with the name `server_`, the instance names will be `server_1` and `server_2`.</li><li>This parameter can contain up to 60 characters (including pattern strings).</li>
|
|
3701
3813
|
* @type {string || null}
|
|
3702
3814
|
*/
|
|
3703
3815
|
this.InstanceName = null;
|
|
@@ -3727,7 +3839,7 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
|
|
|
3727
3839
|
this.ClientToken = null;
|
|
3728
3840
|
|
|
3729
3841
|
/**
|
|
3730
|
-
*
|
|
3842
|
+
* Hostname of Cloud Virtual Machine.<br><li>Period (.) and hyphen (-) should not be used as the first or last character of the hostname, and should not be used consecutively.</li><br><li>Windows instances: The hostname should contain 2 to 15 characters, including letters (case insensitive), digits, and hyphens (-), does not support periods (.), and should not be all digits.</li><br><li>Instances of other types (such as Linux instances): The hostname should contain 2 to 30 characters, including multiple periods (.), with each segment between periods considered as one section. Each section can contain letters (case insensitive), digits, and hyphens (-).</li>
|
|
3731
3843
|
* @type {string || null}
|
|
3732
3844
|
*/
|
|
3733
3845
|
this.HostName = null;
|
|
@@ -3750,6 +3862,18 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
|
|
|
3750
3862
|
*/
|
|
3751
3863
|
this.HpcClusterId = null;
|
|
3752
3864
|
|
|
3865
|
+
/**
|
|
3866
|
+
* Information about the CPU topology of an instance. If not specified, it is determined by system resources.
|
|
3867
|
+
* @type {CpuTopology || null}
|
|
3868
|
+
*/
|
|
3869
|
+
this.CpuTopology = null;
|
|
3870
|
+
|
|
3871
|
+
/**
|
|
3872
|
+
*
|
|
3873
|
+
* @type {LaunchTemplate || null}
|
|
3874
|
+
*/
|
|
3875
|
+
this.LaunchTemplate = null;
|
|
3876
|
+
|
|
3753
3877
|
}
|
|
3754
3878
|
|
|
3755
3879
|
/**
|
|
@@ -3835,6 +3959,18 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
|
|
|
3835
3959
|
}
|
|
3836
3960
|
this.HpcClusterId = 'HpcClusterId' in params ? params.HpcClusterId : null;
|
|
3837
3961
|
|
|
3962
|
+
if (params.CpuTopology) {
|
|
3963
|
+
let obj = new CpuTopology();
|
|
3964
|
+
obj.deserialize(params.CpuTopology)
|
|
3965
|
+
this.CpuTopology = obj;
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
if (params.LaunchTemplate) {
|
|
3969
|
+
let obj = new LaunchTemplate();
|
|
3970
|
+
obj.deserialize(params.LaunchTemplate)
|
|
3971
|
+
this.LaunchTemplate = obj;
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3838
3974
|
}
|
|
3839
3975
|
}
|
|
3840
3976
|
|
|
@@ -3952,6 +4088,18 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
3952
4088
|
*/
|
|
3953
4089
|
this.LicenseType = null;
|
|
3954
4090
|
|
|
4091
|
+
/**
|
|
4092
|
+
* Image family, Note: This field may return empty
|
|
4093
|
+
* @type {string || null}
|
|
4094
|
+
*/
|
|
4095
|
+
this.ImageFamily = null;
|
|
4096
|
+
|
|
4097
|
+
/**
|
|
4098
|
+
* Whether the image is deprecated
|
|
4099
|
+
* @type {boolean || null}
|
|
4100
|
+
*/
|
|
4101
|
+
this.ImageDeprecated = null;
|
|
4102
|
+
|
|
3955
4103
|
}
|
|
3956
4104
|
|
|
3957
4105
|
/**
|
|
@@ -3994,6 +4142,8 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
3994
4142
|
}
|
|
3995
4143
|
}
|
|
3996
4144
|
this.LicenseType = 'LicenseType' in params ? params.LicenseType : null;
|
|
4145
|
+
this.ImageFamily = 'ImageFamily' in params ? params.ImageFamily : null;
|
|
4146
|
+
this.ImageDeprecated = 'ImageDeprecated' in params ? params.ImageDeprecated : null;
|
|
3997
4147
|
|
|
3998
4148
|
}
|
|
3999
4149
|
}
|
|
@@ -4058,7 +4208,7 @@ class DescribeDisasterRecoverGroupQuotaResponse extends AbstractModel {
|
|
|
4058
4208
|
this.CvmInRackGroupQuota = null;
|
|
4059
4209
|
|
|
4060
4210
|
/**
|
|
4061
|
-
* The unique request ID,
|
|
4211
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4062
4212
|
* @type {string || null}
|
|
4063
4213
|
*/
|
|
4064
4214
|
this.RequestId = null;
|
|
@@ -4118,7 +4268,7 @@ class CreateDisasterRecoverGroupRequest extends AbstractModel {
|
|
|
4118
4268
|
this.Name = null;
|
|
4119
4269
|
|
|
4120
4270
|
/**
|
|
4121
|
-
* Type of
|
|
4271
|
+
* Type of a spread placement group. Valid values:<br><li>HOST: physical machine.</li><li>SW: switch.</li><li>RACK: rack.</li>
|
|
4122
4272
|
* @type {string || null}
|
|
4123
4273
|
*/
|
|
4124
4274
|
this.Type = null;
|
|
@@ -4160,7 +4310,7 @@ class DescribeReservedInstancesConfigInfosResponse extends AbstractModel {
|
|
|
4160
4310
|
this.ReservedInstanceConfigInfos = null;
|
|
4161
4311
|
|
|
4162
4312
|
/**
|
|
4163
|
-
* The unique request ID,
|
|
4313
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4164
4314
|
* @type {string || null}
|
|
4165
4315
|
*/
|
|
4166
4316
|
this.RequestId = null;
|
|
@@ -4209,7 +4359,7 @@ class DescribeImportImageOsResponse extends AbstractModel {
|
|
|
4209
4359
|
this.ImportImageOsVersionSet = null;
|
|
4210
4360
|
|
|
4211
4361
|
/**
|
|
4212
|
-
* The unique request ID,
|
|
4362
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4213
4363
|
* @type {string || null}
|
|
4214
4364
|
*/
|
|
4215
4365
|
this.RequestId = null;
|
|
@@ -4467,7 +4617,7 @@ class DescribeKeyPairsRequest extends AbstractModel {
|
|
|
4467
4617
|
this.Filters = null;
|
|
4468
4618
|
|
|
4469
4619
|
/**
|
|
4470
|
-
* Offset
|
|
4620
|
+
* Offset. The default value is `0`. For more information on `Offset`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
4471
4621
|
* @type {number || null}
|
|
4472
4622
|
*/
|
|
4473
4623
|
this.Offset = null;
|
|
@@ -4888,6 +5038,41 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4888
5038
|
}
|
|
4889
5039
|
}
|
|
4890
5040
|
|
|
5041
|
+
/**
|
|
5042
|
+
* Information about the target operating system for operating system switching.
|
|
5043
|
+
* @class
|
|
5044
|
+
*/
|
|
5045
|
+
class TargetOS extends AbstractModel {
|
|
5046
|
+
constructor(){
|
|
5047
|
+
super();
|
|
5048
|
+
|
|
5049
|
+
/**
|
|
5050
|
+
* Target operating system type.
|
|
5051
|
+
* @type {string || null}
|
|
5052
|
+
*/
|
|
5053
|
+
this.TargetOSType = null;
|
|
5054
|
+
|
|
5055
|
+
/**
|
|
5056
|
+
* Target operating system version.
|
|
5057
|
+
* @type {string || null}
|
|
5058
|
+
*/
|
|
5059
|
+
this.TargetOSVersion = null;
|
|
5060
|
+
|
|
5061
|
+
}
|
|
5062
|
+
|
|
5063
|
+
/**
|
|
5064
|
+
* @private
|
|
5065
|
+
*/
|
|
5066
|
+
deserialize(params) {
|
|
5067
|
+
if (!params) {
|
|
5068
|
+
return;
|
|
5069
|
+
}
|
|
5070
|
+
this.TargetOSType = 'TargetOSType' in params ? params.TargetOSType : null;
|
|
5071
|
+
this.TargetOSVersion = 'TargetOSVersion' in params ? params.TargetOSVersion : null;
|
|
5072
|
+
|
|
5073
|
+
}
|
|
5074
|
+
}
|
|
5075
|
+
|
|
4891
5076
|
/**
|
|
4892
5077
|
* DeleteDisasterRecoverGroups response structure.
|
|
4893
5078
|
* @class
|
|
@@ -4897,7 +5082,7 @@ class DeleteDisasterRecoverGroupsResponse extends AbstractModel {
|
|
|
4897
5082
|
super();
|
|
4898
5083
|
|
|
4899
5084
|
/**
|
|
4900
|
-
* The unique request ID,
|
|
5085
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4901
5086
|
* @type {string || null}
|
|
4902
5087
|
*/
|
|
4903
5088
|
this.RequestId = null;
|
|
@@ -5090,33 +5275,86 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
5090
5275
|
}
|
|
5091
5276
|
|
|
5092
5277
|
/**
|
|
5093
|
-
*
|
|
5278
|
+
* ConvertOperatingSystems response structure.
|
|
5094
5279
|
* @class
|
|
5095
5280
|
*/
|
|
5096
|
-
class
|
|
5281
|
+
class ConvertOperatingSystemsResponse extends AbstractModel {
|
|
5097
5282
|
constructor(){
|
|
5098
5283
|
super();
|
|
5099
5284
|
|
|
5100
5285
|
/**
|
|
5101
|
-
*
|
|
5102
|
-
|
|
5286
|
+
* Information about the target operating system, which is returned only when the input parameter DryRun is true.
|
|
5287
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
5288
|
+
* @type {Array.<TargetOS> || null}
|
|
5103
5289
|
*/
|
|
5104
|
-
this.
|
|
5290
|
+
this.SupportTargetOSList = null;
|
|
5105
5291
|
|
|
5106
5292
|
/**
|
|
5107
|
-
* ID
|
|
5293
|
+
* Task ID for operating system switching.
|
|
5294
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
5108
5295
|
* @type {string || null}
|
|
5109
5296
|
*/
|
|
5110
|
-
this.
|
|
5297
|
+
this.TaskId = null;
|
|
5111
5298
|
|
|
5112
5299
|
/**
|
|
5113
|
-
*
|
|
5300
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5114
5301
|
* @type {string || null}
|
|
5115
5302
|
*/
|
|
5116
|
-
this.
|
|
5303
|
+
this.RequestId = null;
|
|
5117
5304
|
|
|
5118
|
-
|
|
5119
|
-
|
|
5305
|
+
}
|
|
5306
|
+
|
|
5307
|
+
/**
|
|
5308
|
+
* @private
|
|
5309
|
+
*/
|
|
5310
|
+
deserialize(params) {
|
|
5311
|
+
if (!params) {
|
|
5312
|
+
return;
|
|
5313
|
+
}
|
|
5314
|
+
|
|
5315
|
+
if (params.SupportTargetOSList) {
|
|
5316
|
+
this.SupportTargetOSList = new Array();
|
|
5317
|
+
for (let z in params.SupportTargetOSList) {
|
|
5318
|
+
let obj = new TargetOS();
|
|
5319
|
+
obj.deserialize(params.SupportTargetOSList[z]);
|
|
5320
|
+
this.SupportTargetOSList.push(obj);
|
|
5321
|
+
}
|
|
5322
|
+
}
|
|
5323
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
5324
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5325
|
+
|
|
5326
|
+
}
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
/**
|
|
5330
|
+
* CreateImage request structure.
|
|
5331
|
+
* @class
|
|
5332
|
+
*/
|
|
5333
|
+
class CreateImageRequest extends AbstractModel {
|
|
5334
|
+
constructor(){
|
|
5335
|
+
super();
|
|
5336
|
+
|
|
5337
|
+
/**
|
|
5338
|
+
* Image name
|
|
5339
|
+
* @type {string || null}
|
|
5340
|
+
*/
|
|
5341
|
+
this.ImageName = null;
|
|
5342
|
+
|
|
5343
|
+
/**
|
|
5344
|
+
* ID of the instance from which an image will be created. This parameter is required when using instance to create an image.
|
|
5345
|
+
* @type {string || null}
|
|
5346
|
+
*/
|
|
5347
|
+
this.InstanceId = null;
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
* Image description
|
|
5351
|
+
* @type {string || null}
|
|
5352
|
+
*/
|
|
5353
|
+
this.ImageDescription = null;
|
|
5354
|
+
|
|
5355
|
+
/**
|
|
5356
|
+
* Whether to perform forced power-off operation to create an image.
|
|
5357
|
+
Valid values:<br><li>true: indicates that an image is created after forced power-off operation</li><br><li>false: indicates that an image is created in the power-on state</li><br><br>Default value: false.<br><br>Creating an image in the power-on state may result in some unbacked-up data, affecting data security.
|
|
5120
5358
|
* @type {string || null}
|
|
5121
5359
|
*/
|
|
5122
5360
|
this.ForcePoweroff = null;
|
|
@@ -5154,6 +5392,12 @@ Click [here](https://intl.cloud.tencent.com/document/product/213/43498?from_cn_r
|
|
|
5154
5392
|
*/
|
|
5155
5393
|
this.TagSpecification = null;
|
|
5156
5394
|
|
|
5395
|
+
/**
|
|
5396
|
+
* Image family
|
|
5397
|
+
* @type {string || null}
|
|
5398
|
+
*/
|
|
5399
|
+
this.ImageFamily = null;
|
|
5400
|
+
|
|
5157
5401
|
}
|
|
5158
5402
|
|
|
5159
5403
|
/**
|
|
@@ -5180,6 +5424,7 @@ Click [here](https://intl.cloud.tencent.com/document/product/213/43498?from_cn_r
|
|
|
5180
5424
|
this.TagSpecification.push(obj);
|
|
5181
5425
|
}
|
|
5182
5426
|
}
|
|
5427
|
+
this.ImageFamily = 'ImageFamily' in params ? params.ImageFamily : null;
|
|
5183
5428
|
|
|
5184
5429
|
}
|
|
5185
5430
|
}
|
|
@@ -5398,6 +5643,12 @@ Note: this field may return null, indicating that no valid value was found.
|
|
|
5398
5643
|
*/
|
|
5399
5644
|
this.RdmaIpAddresses = null;
|
|
5400
5645
|
|
|
5646
|
+
/**
|
|
5647
|
+
*
|
|
5648
|
+
* @type {string || null}
|
|
5649
|
+
*/
|
|
5650
|
+
this.DedicatedClusterId = null;
|
|
5651
|
+
|
|
5401
5652
|
/**
|
|
5402
5653
|
* The isolation status of the instance. Valid values:<br><li>`ARREAR`: isolated due to overdue payment;<br></li><li>`EXPIRE`: isolated upon expiration;<br></li><li>`MANMADE`: isolated after manual returning;<br></li><li>`NOTISOLATED`: not isolated<br></li>
|
|
5403
5654
|
Note: this field may return null, indicating that no valid value was found.
|
|
@@ -5526,6 +5777,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5526
5777
|
this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
|
|
5527
5778
|
this.HpcClusterId = 'HpcClusterId' in params ? params.HpcClusterId : null;
|
|
5528
5779
|
this.RdmaIpAddresses = 'RdmaIpAddresses' in params ? params.RdmaIpAddresses : null;
|
|
5780
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
5529
5781
|
this.IsolatedSource = 'IsolatedSource' in params ? params.IsolatedSource : null;
|
|
5530
5782
|
|
|
5531
5783
|
if (params.GPUInfo) {
|
|
@@ -5575,8 +5827,9 @@ class CreateLaunchTemplateVersionRequest extends AbstractModel {
|
|
|
5575
5827
|
this.LaunchTemplateVersionDescription = null;
|
|
5576
5828
|
|
|
5577
5829
|
/**
|
|
5578
|
-
*
|
|
5579
|
-
|
|
5830
|
+
* Instance model. Different instance models specify different resource specifications.
|
|
5831
|
+
|
|
5832
|
+
<br><li>For instances created with the payment modes PREPAID or POSTPAID_BY_HOUR, the specific values can be obtained by calling the [DescribeInstanceTypeConfigs](https://intl.cloud.tencent.com/document/api/213/15749?from_cn_redirect=1) API for the latest specification table or referring to [Instance Specifications](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1). If this parameter is not specified, the system will dynamically assign a default model based on the current resource sales situation in a region.</li><br><li>For instances created with the payment mode CDHPAID, this parameter has the prefix "CDH_" and is generated based on the CPU and memory configuration. The specific format is: CDH_XCXG. For example, for creating a CDH instance with 1 CPU core and 1 GB memory, this parameter should be CDH_1C1G.</li>
|
|
5580
5833
|
* @type {string || null}
|
|
5581
5834
|
*/
|
|
5582
5835
|
this.InstanceType = null;
|
|
@@ -5618,7 +5871,7 @@ class CreateLaunchTemplateVersionRequest extends AbstractModel {
|
|
|
5618
5871
|
this.InstanceCount = null;
|
|
5619
5872
|
|
|
5620
5873
|
/**
|
|
5621
|
-
* Instance name
|
|
5874
|
+
* Instance name.<br><li>If this parameter is not specified, "Unnamed" will be displayed by default.</li><li>If you purchase multiple instances and specify a pattern string `{R:x}`, numbers `[x, x+n-1]` will be generated, where `n` represents the number of instances purchased. For example, you specify a pattern string `server_{R:3}`. If you purchase only one instance, the instance will be named `server_3`; if you purchase two, they will be named `server_3` and `server_4`. You can specify multiple pattern strings in the format of `{R:x}`.</li><li>If you purchase multiple instances without specifying a pattern string, the instance names will be suffixed with `1, 2...n`, where `n` represents the number of instances purchased. For example, if you purchase two instances with the name `server_`, the instance names will be `server_1` and `server_2`.</li><li>This parameter can contain up to 60 characters (including pattern strings).</li>
|
|
5622
5875
|
* @type {string || null}
|
|
5623
5876
|
*/
|
|
5624
5877
|
this.InstanceName = null;
|
|
@@ -5648,7 +5901,7 @@ class CreateLaunchTemplateVersionRequest extends AbstractModel {
|
|
|
5648
5901
|
this.ClientToken = null;
|
|
5649
5902
|
|
|
5650
5903
|
/**
|
|
5651
|
-
*
|
|
5904
|
+
* Hostname of Cloud Virtual Machine.<br><li>Period (.) and hyphen (-) should not be used as the first or last character of the hostname, and should not be used consecutively.</li><br><li>Windows instances: The hostname should contain 2 to 15 characters, including letters (case insensitive), digits, and hyphens (-), does not support periods (.), and should not be all digits.</li><br><li>Instances of other types (such as Linux instances): The hostname should contain 2 to 60 characters, including multiple periods (.), with each segment between periods considered as one section. Each section can contain letters (case insensitive), digits, and hyphens (-).</li>
|
|
5652
5905
|
* @type {string || null}
|
|
5653
5906
|
*/
|
|
5654
5907
|
this.HostName = null;
|
|
@@ -5706,7 +5959,7 @@ If the dry run succeeds, the RequestId will be returned.
|
|
|
5706
5959
|
this.HpcClusterId = null;
|
|
5707
5960
|
|
|
5708
5961
|
/**
|
|
5709
|
-
* Instance [billing mode](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1)
|
|
5962
|
+
* Instance [billing mode](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1).<br><li>PREPAID: prepaid, that is, monthly subscription.</li><li>POSTPAID_BY_HOUR: pay-as-you-go by hour.</li><li>CDHPAID: CDH instance (created based on CDH; the resources of the host are free of charge).</li><li>SPOTPAID: spot payment.</li>Default value: POSTPAID_BY_HOUR.
|
|
5710
5963
|
* @type {string || null}
|
|
5711
5964
|
*/
|
|
5712
5965
|
this.InstanceChargeType = null;
|
|
@@ -5718,7 +5971,7 @@ If the dry run succeeds, the RequestId will be returned.
|
|
|
5718
5971
|
this.InstanceChargePrepaid = null;
|
|
5719
5972
|
|
|
5720
5973
|
/**
|
|
5721
|
-
*
|
|
5974
|
+
* Instance termination protection flag, indicating whether an instance is allowed to be deleted through an API. Valid values:<br><li>TRUE: Instance protection is enabled, and the instance is not allowed to be deleted through the API.</li><br><li>FALSE: Instance protection is disabled, and the instance is allowed to be deleted through the API.</li><br><br>Default value: FALSE.
|
|
5722
5975
|
* @type {boolean || null}
|
|
5723
5976
|
*/
|
|
5724
5977
|
this.DisableApiTermination = null;
|
|
@@ -5905,7 +6158,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5905
6158
|
this.LaunchTemplateSet = null;
|
|
5906
6159
|
|
|
5907
6160
|
/**
|
|
5908
|
-
* The unique request ID,
|
|
6161
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5909
6162
|
* @type {string || null}
|
|
5910
6163
|
*/
|
|
5911
6164
|
this.RequestId = null;
|
|
@@ -6071,6 +6324,34 @@ class ReservedInstanceFamilyItem extends AbstractModel {
|
|
|
6071
6324
|
}
|
|
6072
6325
|
}
|
|
6073
6326
|
|
|
6327
|
+
/**
|
|
6328
|
+
* ExitRescueMode request structure.
|
|
6329
|
+
* @class
|
|
6330
|
+
*/
|
|
6331
|
+
class ExitRescueModeRequest extends AbstractModel {
|
|
6332
|
+
constructor(){
|
|
6333
|
+
super();
|
|
6334
|
+
|
|
6335
|
+
/**
|
|
6336
|
+
* Instance ID Exiting Rescue Mode
|
|
6337
|
+
* @type {string || null}
|
|
6338
|
+
*/
|
|
6339
|
+
this.InstanceId = null;
|
|
6340
|
+
|
|
6341
|
+
}
|
|
6342
|
+
|
|
6343
|
+
/**
|
|
6344
|
+
* @private
|
|
6345
|
+
*/
|
|
6346
|
+
deserialize(params) {
|
|
6347
|
+
if (!params) {
|
|
6348
|
+
return;
|
|
6349
|
+
}
|
|
6350
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
6351
|
+
|
|
6352
|
+
}
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6074
6355
|
/**
|
|
6075
6356
|
* DescribeDisasterRecoverGroups response structure.
|
|
6076
6357
|
* @class
|
|
@@ -6092,7 +6373,7 @@ class DescribeDisasterRecoverGroupsResponse extends AbstractModel {
|
|
|
6092
6373
|
this.TotalCount = null;
|
|
6093
6374
|
|
|
6094
6375
|
/**
|
|
6095
|
-
* The unique request ID,
|
|
6376
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6096
6377
|
* @type {string || null}
|
|
6097
6378
|
*/
|
|
6098
6379
|
this.RequestId = null;
|
|
@@ -6450,7 +6731,7 @@ class ResetInstancesInternetMaxBandwidthRequest extends AbstractModel {
|
|
|
6450
6731
|
this.StartTime = null;
|
|
6451
6732
|
|
|
6452
6733
|
/**
|
|
6453
|
-
* Date until which the
|
|
6734
|
+
* Date until which the bandwidth takes effect, in the format of `YYYY-MM-DD`, such as `2016-10-30`. The validity period of the new bandwidth covers the end date. The end date should not be later than the expiration date of a monthly subscription instance. You can obtain the expiration date of an instance through the `ExpiredTime` in the return value from the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/9388?from_cn_redirect=1). This parameter is only valid for monthly subscription bandwidth, and is not supported for bandwidth billed by other modes. Otherwise, the API will return a corresponding error code.
|
|
6454
6735
|
* @type {string || null}
|
|
6455
6736
|
*/
|
|
6456
6737
|
this.EndTime = null;
|
|
@@ -6522,7 +6803,7 @@ class RemoveChcDeployVpcResponse extends AbstractModel {
|
|
|
6522
6803
|
super();
|
|
6523
6804
|
|
|
6524
6805
|
/**
|
|
6525
|
-
* The unique request ID,
|
|
6806
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6526
6807
|
* @type {string || null}
|
|
6527
6808
|
*/
|
|
6528
6809
|
this.RequestId = null;
|
|
@@ -6550,7 +6831,7 @@ class AssociateSecurityGroupsResponse extends AbstractModel {
|
|
|
6550
6831
|
super();
|
|
6551
6832
|
|
|
6552
6833
|
/**
|
|
6553
|
-
* The unique request ID,
|
|
6834
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6554
6835
|
* @type {string || null}
|
|
6555
6836
|
*/
|
|
6556
6837
|
this.RequestId = null;
|
|
@@ -6646,6 +6927,12 @@ Valid values:
|
|
|
6646
6927
|
*/
|
|
6647
6928
|
this.BootMode = null;
|
|
6648
6929
|
|
|
6930
|
+
/**
|
|
6931
|
+
* Image family
|
|
6932
|
+
* @type {string || null}
|
|
6933
|
+
*/
|
|
6934
|
+
this.ImageFamily = null;
|
|
6935
|
+
|
|
6649
6936
|
}
|
|
6650
6937
|
|
|
6651
6938
|
/**
|
|
@@ -6674,6 +6961,7 @@ Valid values:
|
|
|
6674
6961
|
}
|
|
6675
6962
|
this.LicenseType = 'LicenseType' in params ? params.LicenseType : null;
|
|
6676
6963
|
this.BootMode = 'BootMode' in params ? params.BootMode : null;
|
|
6964
|
+
this.ImageFamily = 'ImageFamily' in params ? params.ImageFamily : null;
|
|
6677
6965
|
|
|
6678
6966
|
}
|
|
6679
6967
|
}
|
|
@@ -6815,10 +7103,11 @@ class CreateKeyPairRequest extends AbstractModel {
|
|
|
6815
7103
|
this.KeyName = null;
|
|
6816
7104
|
|
|
6817
7105
|
/**
|
|
6818
|
-
*
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
<li>
|
|
7106
|
+
* ID of the project to which the created key pair belongs.
|
|
7107
|
+
|
|
7108
|
+
You can obtain a project ID in the following ways:
|
|
7109
|
+
<li>Query the project ID through the project list.</li>
|
|
7110
|
+
<li>Call the [DescribeProjects](https://intl.cloud.tencent.com/document/api/651/78725?from_cn_redirect=1) API and obtain the `projectId` from the return information.</li>
|
|
6822
7111
|
* @type {number || null}
|
|
6823
7112
|
*/
|
|
6824
7113
|
this.ProjectId = null;
|
|
@@ -6868,7 +7157,7 @@ class InstanceStatus extends AbstractModel {
|
|
|
6868
7157
|
this.InstanceId = null;
|
|
6869
7158
|
|
|
6870
7159
|
/**
|
|
6871
|
-
*
|
|
7160
|
+
* Instance status. Valid values:<br><li>PENDING: Creating.<br></li><li>LAUNCH_FAILED: Creation failed.<br></li><li>RUNNING: Running.<br></li><li>STOPPED: Shut down.<br></li><li>STARTING: Starting up.<br></li><li>STOPPING: Shutting down.<br></li><li>REBOOTING: Restarting.<br></li><li>SHUTDOWN: Shut down and to be terminated.<br></li><li>TERMINATING: Terminating.<br></li><li>ENTER_RESCUE_MODE: Entering the rescue mode.<br></li><li>RESCUE_MODE: In the rescue mode.<br></li><li>EXIT_RESCUE_MODE: Exiting the rescue mode.<br></li><li>ENTER_SERVICE_LIVE_MIGRATE: Entering online service migration.<br></li><li>SERVICE_LIVE_MIGRATE: In online service migration.<br></li><li>EXIT_SERVICE_LIVE_MIGRATE: Exiting online service migration.<br></li>
|
|
6872
7161
|
* @type {string || null}
|
|
6873
7162
|
*/
|
|
6874
7163
|
this.InstanceState = null;
|
|
@@ -6940,6 +7229,18 @@ Valid value: `Linux`.
|
|
|
6940
7229
|
*/
|
|
6941
7230
|
this.ProductDescription = null;
|
|
6942
7231
|
|
|
7232
|
+
/**
|
|
7233
|
+
* Upfront total cost, in USD.
|
|
7234
|
+
* @type {number || null}
|
|
7235
|
+
*/
|
|
7236
|
+
this.DiscountUsagePrice = null;
|
|
7237
|
+
|
|
7238
|
+
/**
|
|
7239
|
+
* Discount price for subsequent total cost, in USD/hr.
|
|
7240
|
+
* @type {number || null}
|
|
7241
|
+
*/
|
|
7242
|
+
this.DiscountFixedPrice = null;
|
|
7243
|
+
|
|
6943
7244
|
}
|
|
6944
7245
|
|
|
6945
7246
|
/**
|
|
@@ -6956,6 +7257,8 @@ Valid value: `Linux`.
|
|
|
6956
7257
|
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
6957
7258
|
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
6958
7259
|
this.ProductDescription = 'ProductDescription' in params ? params.ProductDescription : null;
|
|
7260
|
+
this.DiscountUsagePrice = 'DiscountUsagePrice' in params ? params.DiscountUsagePrice : null;
|
|
7261
|
+
this.DiscountFixedPrice = 'DiscountFixedPrice' in params ? params.DiscountFixedPrice : null;
|
|
6959
7262
|
|
|
6960
7263
|
}
|
|
6961
7264
|
}
|
|
@@ -6975,7 +7278,7 @@ class AllocateHostsResponse extends AbstractModel {
|
|
|
6975
7278
|
this.HostIdSet = null;
|
|
6976
7279
|
|
|
6977
7280
|
/**
|
|
6978
|
-
* The unique request ID,
|
|
7281
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6979
7282
|
* @type {string || null}
|
|
6980
7283
|
*/
|
|
6981
7284
|
this.RequestId = null;
|
|
@@ -7024,56 +7327,51 @@ class DescribeImageSharePermissionRequest extends AbstractModel {
|
|
|
7024
7327
|
}
|
|
7025
7328
|
|
|
7026
7329
|
/**
|
|
7027
|
-
*
|
|
7330
|
+
* DescribeInstances request structure.
|
|
7028
7331
|
* @class
|
|
7029
7332
|
*/
|
|
7030
|
-
class
|
|
7333
|
+
class DescribeInstancesRequest extends AbstractModel {
|
|
7031
7334
|
constructor(){
|
|
7032
7335
|
super();
|
|
7033
7336
|
|
|
7034
7337
|
/**
|
|
7035
|
-
* ID of
|
|
7036
|
-
* @type {string || null}
|
|
7037
|
-
*/
|
|
7038
|
-
this.DisasterRecoverGroupId = null;
|
|
7039
|
-
|
|
7040
|
-
/**
|
|
7041
|
-
* Name of a spread placement group, which must be 1-60 characters long.
|
|
7042
|
-
* @type {string || null}
|
|
7338
|
+
* Query by instance ID(s). For example, instance ID: `ins-xxxxxxxx`. For the specific format, refer to section `Ids.N` of the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). You can query up to 100 instances in each request. However, `InstanceIds` and `Filters` cannot be specified at the same time.
|
|
7339
|
+
* @type {Array.<string> || null}
|
|
7043
7340
|
*/
|
|
7044
|
-
this.
|
|
7341
|
+
this.InstanceIds = null;
|
|
7045
7342
|
|
|
7046
7343
|
/**
|
|
7047
|
-
*
|
|
7048
|
-
|
|
7344
|
+
* Filters
|
|
7345
|
+
<li> `zone` - String - Optional - Filter by the availability zone.</li>
|
|
7346
|
+
<li> `project-id` - Integer - Optional - Filter by the project ID. You can query the list of created projects by calling `DescribeProject` or logging in to the [CVM console](https://console.cloud.tencent.com/cvm/index). You can also call `AddProject` to create projects. </li>
|
|
7347
|
+
<li> `host-id` - String - Optional - Filter by the CDH instance ID. Format: `host-xxxxxxxx`.</li>
|
|
7348
|
+
</li>`vpc-id` - String - Optional - Filter by the VPC ID. Format: `vpc-xxxxxxxx`.</li>
|
|
7349
|
+
<li> `subnet-id` - String - Optional - Filter by the subnet ID. Format: `subnet-xxxxxxxx`.</li>
|
|
7350
|
+
</li>`instance-id` - String - Optional - Filter by the instance ID. Format: `ins-xxxxxxxx`.</li>
|
|
7351
|
+
</li>`security-group-id` - String - Optional - Filter by the security group ID. Format: `sg-8jlk3f3r`.</li>
|
|
7352
|
+
</li>`instance-name` - String - Optional - Filter by the instance name.</li>
|
|
7353
|
+
</li>`instance-charge-type` - String - Optional - Filter by the instance billing method. `POSTPAID_BY_HOUR`: pay-as-you-go | `CDHPAID`: You are only billed for [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances, not the CVMs running on the [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances.</li>
|
|
7354
|
+
</li>`private-ip-address` - String - Optional - Filter by the private IP address of the instance's primary ENI.</li>
|
|
7355
|
+
</li>`public-ip-address` - String - Optional - Filter by the public IP address of the instance's primary ENI, including the IP addresses automatically assigned during the instance creation and the EIPs manually associated after the instance creation.</li>
|
|
7356
|
+
<li> `tag-key` - String - Optional - Filter by the tag key.</li>
|
|
7357
|
+
</li>`tag-value` - String - Optional - Filter by the tag value.</li>
|
|
7358
|
+
<li> `tag:tag-key` - String - Optional - Filter by the tag key-value pair. Replace `tag-key` with the actual tag keys. See example 2.</li>
|
|
7359
|
+
Each request can have up to 10 `Filters` and 5 `Filters.Values`. You cannot specify `InstanceIds` and `Filters` at the same time.
|
|
7360
|
+
* @type {Array.<Filter> || null}
|
|
7049
7361
|
*/
|
|
7050
|
-
this.
|
|
7362
|
+
this.Filters = null;
|
|
7051
7363
|
|
|
7052
7364
|
/**
|
|
7053
|
-
*
|
|
7365
|
+
* Offset; default value: 0. For more information on `Offset`, see the corresponding section in API [Introduction](https://intl.cloud.tencent.com/document/product/377).
|
|
7054
7366
|
* @type {number || null}
|
|
7055
7367
|
*/
|
|
7056
|
-
this.
|
|
7368
|
+
this.Offset = null;
|
|
7057
7369
|
|
|
7058
7370
|
/**
|
|
7059
|
-
*
|
|
7371
|
+
* Number of results returned; default value: 20; maximum: 100. For more information on `Limit`, see the corresponding section in API [Introduction](https://intl.cloud.tencent.com/document/product/377).
|
|
7060
7372
|
* @type {number || null}
|
|
7061
7373
|
*/
|
|
7062
|
-
this.
|
|
7063
|
-
|
|
7064
|
-
/**
|
|
7065
|
-
* The list of CVM IDs in a spread placement group.
|
|
7066
|
-
Note: This field may return null, indicating that no valid value was found.
|
|
7067
|
-
* @type {Array.<string> || null}
|
|
7068
|
-
*/
|
|
7069
|
-
this.InstanceIds = null;
|
|
7070
|
-
|
|
7071
|
-
/**
|
|
7072
|
-
* Creation time of a spread placement group.
|
|
7073
|
-
Note: This field may return null, indicating that no valid value is found.
|
|
7074
|
-
* @type {string || null}
|
|
7075
|
-
*/
|
|
7076
|
-
this.CreateTime = null;
|
|
7374
|
+
this.Limit = null;
|
|
7077
7375
|
|
|
7078
7376
|
}
|
|
7079
7377
|
|
|
@@ -7084,13 +7382,18 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
7084
7382
|
if (!params) {
|
|
7085
7383
|
return;
|
|
7086
7384
|
}
|
|
7087
|
-
this.DisasterRecoverGroupId = 'DisasterRecoverGroupId' in params ? params.DisasterRecoverGroupId : null;
|
|
7088
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
7089
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
7090
|
-
this.CvmQuotaTotal = 'CvmQuotaTotal' in params ? params.CvmQuotaTotal : null;
|
|
7091
|
-
this.CurrentNum = 'CurrentNum' in params ? params.CurrentNum : null;
|
|
7092
7385
|
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
7093
|
-
|
|
7386
|
+
|
|
7387
|
+
if (params.Filters) {
|
|
7388
|
+
this.Filters = new Array();
|
|
7389
|
+
for (let z in params.Filters) {
|
|
7390
|
+
let obj = new Filter();
|
|
7391
|
+
obj.deserialize(params.Filters[z]);
|
|
7392
|
+
this.Filters.push(obj);
|
|
7393
|
+
}
|
|
7394
|
+
}
|
|
7395
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
7396
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
7094
7397
|
|
|
7095
7398
|
}
|
|
7096
7399
|
}
|
|
@@ -7110,7 +7413,7 @@ class InquiryPriceResetInstanceResponse extends AbstractModel {
|
|
|
7110
7413
|
this.Price = null;
|
|
7111
7414
|
|
|
7112
7415
|
/**
|
|
7113
|
-
* The unique request ID,
|
|
7416
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7114
7417
|
* @type {string || null}
|
|
7115
7418
|
*/
|
|
7116
7419
|
this.RequestId = null;
|
|
@@ -7586,7 +7889,7 @@ class InquiryPriceResetInstancesInternetMaxBandwidthRequest extends AbstractMod
|
|
|
7586
7889
|
this.StartTime = null;
|
|
7587
7890
|
|
|
7588
7891
|
/**
|
|
7589
|
-
* Date until which the
|
|
7892
|
+
* Date until which the bandwidth takes effect, in the format of `YYYY-MM-DD`, such as `2016-10-30`. The validity period of the new bandwidth covers the end date. The end date should not be later than the expiration date of a monthly subscription instance. You can obtain the expiration date of an instance through the `ExpiredTime` in the return value from the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). This parameter is only valid for monthly subscription bandwidth, and is not supported for bandwidth billed by other modes. Otherwise, the API will return a corresponding error code.
|
|
7590
7893
|
* @type {string || null}
|
|
7591
7894
|
*/
|
|
7592
7895
|
this.EndTime = null;
|
|
@@ -7622,7 +7925,35 @@ class ModifyHostsAttributeResponse extends AbstractModel {
|
|
|
7622
7925
|
super();
|
|
7623
7926
|
|
|
7624
7927
|
/**
|
|
7625
|
-
* The unique request ID,
|
|
7928
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7929
|
+
* @type {string || null}
|
|
7930
|
+
*/
|
|
7931
|
+
this.RequestId = null;
|
|
7932
|
+
|
|
7933
|
+
}
|
|
7934
|
+
|
|
7935
|
+
/**
|
|
7936
|
+
* @private
|
|
7937
|
+
*/
|
|
7938
|
+
deserialize(params) {
|
|
7939
|
+
if (!params) {
|
|
7940
|
+
return;
|
|
7941
|
+
}
|
|
7942
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7943
|
+
|
|
7944
|
+
}
|
|
7945
|
+
}
|
|
7946
|
+
|
|
7947
|
+
/**
|
|
7948
|
+
* EnterRescueMode response structure.
|
|
7949
|
+
* @class
|
|
7950
|
+
*/
|
|
7951
|
+
class EnterRescueModeResponse extends AbstractModel {
|
|
7952
|
+
constructor(){
|
|
7953
|
+
super();
|
|
7954
|
+
|
|
7955
|
+
/**
|
|
7956
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7626
7957
|
* @type {string || null}
|
|
7627
7958
|
*/
|
|
7628
7959
|
this.RequestId = null;
|
|
@@ -7650,7 +7981,7 @@ class ModifyChcAttributeResponse extends AbstractModel {
|
|
|
7650
7981
|
super();
|
|
7651
7982
|
|
|
7652
7983
|
/**
|
|
7653
|
-
* The unique request ID,
|
|
7984
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7654
7985
|
* @type {string || null}
|
|
7655
7986
|
*/
|
|
7656
7987
|
this.RequestId = null;
|
|
@@ -7699,7 +8030,7 @@ class StartInstancesResponse extends AbstractModel {
|
|
|
7699
8030
|
super();
|
|
7700
8031
|
|
|
7701
8032
|
/**
|
|
7702
|
-
* The unique request ID,
|
|
8033
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7703
8034
|
* @type {string || null}
|
|
7704
8035
|
*/
|
|
7705
8036
|
this.RequestId = null;
|
|
@@ -7822,7 +8153,7 @@ class DescribeInternetChargeTypeConfigsResponse extends AbstractModel {
|
|
|
7822
8153
|
this.InternetChargeTypeConfigSet = null;
|
|
7823
8154
|
|
|
7824
8155
|
/**
|
|
7825
|
-
* The unique request ID,
|
|
8156
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7826
8157
|
* @type {string || null}
|
|
7827
8158
|
*/
|
|
7828
8159
|
this.RequestId = null;
|
|
@@ -7907,7 +8238,7 @@ class DescribeZonesResponse extends AbstractModel {
|
|
|
7907
8238
|
this.ZoneSet = null;
|
|
7908
8239
|
|
|
7909
8240
|
/**
|
|
7910
|
-
* The unique request ID,
|
|
8241
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7911
8242
|
* @type {string || null}
|
|
7912
8243
|
*/
|
|
7913
8244
|
this.RequestId = null;
|
|
@@ -8188,7 +8519,7 @@ Note: This field may return null, indicating that no valid value is found.
|
|
|
8188
8519
|
this.LocalDiskTypeList = null;
|
|
8189
8520
|
|
|
8190
8521
|
/**
|
|
8191
|
-
* Whether an instance
|
|
8522
|
+
* Whether an instance is for sale. Valid values:<br><li>SELL: The instance is available for purchase.<br></li>SOLD_OUT: The instance has been sold out.
|
|
8192
8523
|
* @type {string || null}
|
|
8193
8524
|
*/
|
|
8194
8525
|
this.Status = null;
|
|
@@ -8260,6 +8591,17 @@ Note: this field may return null, indicating that no valid value is obtained.
|
|
|
8260
8591
|
*/
|
|
8261
8592
|
this.Frequency = null;
|
|
8262
8593
|
|
|
8594
|
+
/**
|
|
8595
|
+
* Inventory status. Valid values:
|
|
8596
|
+
<li>EnoughStock: Inventory is sufficient.</li>
|
|
8597
|
+
<li>NormalStock: Supply is guaranteed.</li>
|
|
8598
|
+
<li>UnderStock: Inventory is about to sell out.</li>
|
|
8599
|
+
<li>WithoutStock: Inventory is already sold out.</li>
|
|
8600
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
8601
|
+
* @type {string || null}
|
|
8602
|
+
*/
|
|
8603
|
+
this.StatusCategory = null;
|
|
8604
|
+
|
|
8263
8605
|
}
|
|
8264
8606
|
|
|
8265
8607
|
/**
|
|
@@ -8309,6 +8651,7 @@ Note: this field may return null, indicating that no valid value is obtained.
|
|
|
8309
8651
|
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
8310
8652
|
this.GpuCount = 'GpuCount' in params ? params.GpuCount : null;
|
|
8311
8653
|
this.Frequency = 'Frequency' in params ? params.Frequency : null;
|
|
8654
|
+
this.StatusCategory = 'StatusCategory' in params ? params.StatusCategory : null;
|
|
8312
8655
|
|
|
8313
8656
|
}
|
|
8314
8657
|
}
|
|
@@ -8503,7 +8846,7 @@ class ExportImagesResponse extends AbstractModel {
|
|
|
8503
8846
|
this.CosPaths = null;
|
|
8504
8847
|
|
|
8505
8848
|
/**
|
|
8506
|
-
* The unique request ID,
|
|
8849
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8507
8850
|
* @type {string || null}
|
|
8508
8851
|
*/
|
|
8509
8852
|
this.RequestId = null;
|
|
@@ -8567,7 +8910,7 @@ class InquiryPriceRunInstancesResponse extends AbstractModel {
|
|
|
8567
8910
|
this.Price = null;
|
|
8568
8911
|
|
|
8569
8912
|
/**
|
|
8570
|
-
* The unique request ID,
|
|
8913
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8571
8914
|
* @type {string || null}
|
|
8572
8915
|
*/
|
|
8573
8916
|
this.RequestId = null;
|
|
@@ -8772,7 +9115,7 @@ class InquiryPriceResizeInstanceDisksResponse extends AbstractModel {
|
|
|
8772
9115
|
this.Price = null;
|
|
8773
9116
|
|
|
8774
9117
|
/**
|
|
8775
|
-
* The unique request ID,
|
|
9118
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8776
9119
|
* @type {string || null}
|
|
8777
9120
|
*/
|
|
8778
9121
|
this.RequestId = null;
|
|
@@ -8806,13 +9149,14 @@ class TerminateInstancesRequest extends AbstractModel {
|
|
|
8806
9149
|
super();
|
|
8807
9150
|
|
|
8808
9151
|
/**
|
|
8809
|
-
*
|
|
9152
|
+
* One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
|
|
8810
9153
|
* @type {Array.<string> || null}
|
|
8811
9154
|
*/
|
|
8812
9155
|
this.InstanceIds = null;
|
|
8813
9156
|
|
|
8814
9157
|
/**
|
|
8815
|
-
*
|
|
9158
|
+
* Whether to release a monthly subscription data disk mounted on an instance. true: Release the data disk along with termination of the instance. false: Only terminate the instance.
|
|
9159
|
+
Default value: `false`.
|
|
8816
9160
|
* @type {boolean || null}
|
|
8817
9161
|
*/
|
|
8818
9162
|
this.ReleasePrepaidDataDisks = null;
|
|
@@ -8876,7 +9220,7 @@ class DeleteImagesResponse extends AbstractModel {
|
|
|
8876
9220
|
super();
|
|
8877
9221
|
|
|
8878
9222
|
/**
|
|
8879
|
-
* The unique request ID,
|
|
9223
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8880
9224
|
* @type {string || null}
|
|
8881
9225
|
*/
|
|
8882
9226
|
this.RequestId = null;
|
|
@@ -8904,7 +9248,7 @@ class ImportImageResponse extends AbstractModel {
|
|
|
8904
9248
|
super();
|
|
8905
9249
|
|
|
8906
9250
|
/**
|
|
8907
|
-
* The unique request ID,
|
|
9251
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8908
9252
|
* @type {string || null}
|
|
8909
9253
|
*/
|
|
8910
9254
|
this.RequestId = null;
|
|
@@ -8967,7 +9311,7 @@ class ConfigureChcAssistVpcResponse extends AbstractModel {
|
|
|
8967
9311
|
super();
|
|
8968
9312
|
|
|
8969
9313
|
/**
|
|
8970
|
-
* The unique request ID,
|
|
9314
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8971
9315
|
* @type {string || null}
|
|
8972
9316
|
*/
|
|
8973
9317
|
this.RequestId = null;
|
|
@@ -8995,7 +9339,7 @@ class RebootInstancesResponse extends AbstractModel {
|
|
|
8995
9339
|
super();
|
|
8996
9340
|
|
|
8997
9341
|
/**
|
|
8998
|
-
* The unique request ID,
|
|
9342
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8999
9343
|
* @type {string || null}
|
|
9000
9344
|
*/
|
|
9001
9345
|
this.RequestId = null;
|
|
@@ -9082,6 +9426,41 @@ class DescribeChcHostsRequest extends AbstractModel {
|
|
|
9082
9426
|
}
|
|
9083
9427
|
}
|
|
9084
9428
|
|
|
9429
|
+
/**
|
|
9430
|
+
* Instance launch template. This parameter enables you to create an instance using the preset parameters in the template.
|
|
9431
|
+
* @class
|
|
9432
|
+
*/
|
|
9433
|
+
class LaunchTemplate extends AbstractModel {
|
|
9434
|
+
constructor(){
|
|
9435
|
+
super();
|
|
9436
|
+
|
|
9437
|
+
/**
|
|
9438
|
+
* Instance launch template ID. This parameter enables you to create an instance using the preset parameters in the template.
|
|
9439
|
+
* @type {string || null}
|
|
9440
|
+
*/
|
|
9441
|
+
this.LaunchTemplateId = null;
|
|
9442
|
+
|
|
9443
|
+
/**
|
|
9444
|
+
* Instance launch template version number. If specified, this parameter will be used to create a new instance launch template.
|
|
9445
|
+
* @type {number || null}
|
|
9446
|
+
*/
|
|
9447
|
+
this.LaunchTemplateVersion = null;
|
|
9448
|
+
|
|
9449
|
+
}
|
|
9450
|
+
|
|
9451
|
+
/**
|
|
9452
|
+
* @private
|
|
9453
|
+
*/
|
|
9454
|
+
deserialize(params) {
|
|
9455
|
+
if (!params) {
|
|
9456
|
+
return;
|
|
9457
|
+
}
|
|
9458
|
+
this.LaunchTemplateId = 'LaunchTemplateId' in params ? params.LaunchTemplateId : null;
|
|
9459
|
+
this.LaunchTemplateVersion = 'LaunchTemplateVersion' in params ? params.LaunchTemplateVersion : null;
|
|
9460
|
+
|
|
9461
|
+
}
|
|
9462
|
+
}
|
|
9463
|
+
|
|
9085
9464
|
/**
|
|
9086
9465
|
* InquiryPriceResetInstancesType response structure.
|
|
9087
9466
|
* @class
|
|
@@ -9097,7 +9476,7 @@ class InquiryPriceResetInstancesTypeResponse extends AbstractModel {
|
|
|
9097
9476
|
this.Price = null;
|
|
9098
9477
|
|
|
9099
9478
|
/**
|
|
9100
|
-
* The unique request ID,
|
|
9479
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9101
9480
|
* @type {string || null}
|
|
9102
9481
|
*/
|
|
9103
9482
|
this.RequestId = null;
|
|
@@ -9137,7 +9516,7 @@ class CreateLaunchTemplateVersionResponse extends AbstractModel {
|
|
|
9137
9516
|
this.LaunchTemplateVersionNumber = null;
|
|
9138
9517
|
|
|
9139
9518
|
/**
|
|
9140
|
-
* The unique request ID,
|
|
9519
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9141
9520
|
* @type {string || null}
|
|
9142
9521
|
*/
|
|
9143
9522
|
this.RequestId = null;
|
|
@@ -9208,7 +9587,7 @@ class ModifyImageAttributeResponse extends AbstractModel {
|
|
|
9208
9587
|
super();
|
|
9209
9588
|
|
|
9210
9589
|
/**
|
|
9211
|
-
* The unique request ID,
|
|
9590
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9212
9591
|
* @type {string || null}
|
|
9213
9592
|
*/
|
|
9214
9593
|
this.RequestId = null;
|
|
@@ -9273,51 +9652,59 @@ Note: this field may return `null`, indicating that no valid value can be found.
|
|
|
9273
9652
|
}
|
|
9274
9653
|
|
|
9275
9654
|
/**
|
|
9276
|
-
*
|
|
9655
|
+
* Information on disaster recovery groups
|
|
9277
9656
|
* @class
|
|
9278
9657
|
*/
|
|
9279
|
-
class
|
|
9658
|
+
class DisasterRecoverGroup extends AbstractModel {
|
|
9280
9659
|
constructor(){
|
|
9281
9660
|
super();
|
|
9282
9661
|
|
|
9283
9662
|
/**
|
|
9284
|
-
*
|
|
9285
|
-
* @type {
|
|
9663
|
+
* ID of a spread placement group.
|
|
9664
|
+
* @type {string || null}
|
|
9286
9665
|
*/
|
|
9287
|
-
this.
|
|
9666
|
+
this.DisasterRecoverGroupId = null;
|
|
9288
9667
|
|
|
9289
9668
|
/**
|
|
9290
|
-
*
|
|
9291
|
-
|
|
9292
|
-
<li> `project-id` - Integer - Optional - Filter by the project ID. You can query the list of created projects by calling `DescribeProject` or logging in to the [CVM console](https://console.cloud.tencent.com/cvm/index). You can also call `AddProject` to create projects. </li>
|
|
9293
|
-
<li> `host-id` - String - Optional - Filter by the CDH instance ID. Format: `host-xxxxxxxx`.</li>
|
|
9294
|
-
</li>`vpc-id` - String - Optional - Filter by the VPC ID. Format: `vpc-xxxxxxxx`.</li>
|
|
9295
|
-
<li> `subnet-id` - String - Optional - Filter by the subnet ID. Format: `subnet-xxxxxxxx`.</li>
|
|
9296
|
-
</li>`instance-id` - String - Optional - Filter by the instance ID. Format: `ins-xxxxxxxx`.</li>
|
|
9297
|
-
</li>`security-group-id` - String - Optional - Filter by the security group ID. Format: `sg-8jlk3f3r`.</li>
|
|
9298
|
-
</li>`instance-name` - String - Optional - Filter by the instance name.</li>
|
|
9299
|
-
</li>`instance-charge-type` - String - Optional - Filter by the instance billing method. `POSTPAID_BY_HOUR`: pay-as-you-go | `CDHPAID`: You are only billed for [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances, not the CVMs running on the [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances.</li>
|
|
9300
|
-
</li>`private-ip-address` - String - Optional - Filter by the private IP address of the instance's primary ENI.</li>
|
|
9301
|
-
</li>`public-ip-address` - String - Optional - Filter by the public IP address of the instance's primary ENI, including the IP addresses automatically assigned during the instance creation and the EIPs manually associated after the instance creation.</li>
|
|
9302
|
-
<li> `tag-key` - String - Optional - Filter by the tag key.</li>
|
|
9303
|
-
</li>`tag-value` - String - Optional - Filter by the tag value.</li>
|
|
9304
|
-
<li> `tag:tag-key` - String - Optional - Filter by the tag key-value pair. Replace `tag-key` with the actual tag keys. See example 2.</li>
|
|
9305
|
-
Each request can have up to 10 `Filters` and 5 `Filters.Values`. You cannot specify `InstanceIds` and `Filters` at the same time.
|
|
9306
|
-
* @type {Array.<Filter> || null}
|
|
9669
|
+
* Name of a spread placement group, which must be 1-60 characters long.
|
|
9670
|
+
* @type {string || null}
|
|
9307
9671
|
*/
|
|
9308
|
-
this.
|
|
9672
|
+
this.Name = null;
|
|
9309
9673
|
|
|
9310
9674
|
/**
|
|
9311
|
-
*
|
|
9675
|
+
* Type of a spread placement group. Valid values:<br>
|
|
9676
|
+
<li>HOST: physical machine.<br></li>
|
|
9677
|
+
<li>SW: switch.<br></li>
|
|
9678
|
+
<li>RACK: rack.</li>
|
|
9679
|
+
* @type {string || null}
|
|
9680
|
+
*/
|
|
9681
|
+
this.Type = null;
|
|
9682
|
+
|
|
9683
|
+
/**
|
|
9684
|
+
* The maximum number of CVMs that can be hosted in a spread placement group.
|
|
9312
9685
|
* @type {number || null}
|
|
9313
9686
|
*/
|
|
9314
|
-
this.
|
|
9687
|
+
this.CvmQuotaTotal = null;
|
|
9315
9688
|
|
|
9316
9689
|
/**
|
|
9317
|
-
*
|
|
9690
|
+
* The current number of CVMs in a spread placement group.
|
|
9318
9691
|
* @type {number || null}
|
|
9319
9692
|
*/
|
|
9320
|
-
this.
|
|
9693
|
+
this.CurrentNum = null;
|
|
9694
|
+
|
|
9695
|
+
/**
|
|
9696
|
+
* The list of CVM IDs in a spread placement group.
|
|
9697
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
9698
|
+
* @type {Array.<string> || null}
|
|
9699
|
+
*/
|
|
9700
|
+
this.InstanceIds = null;
|
|
9701
|
+
|
|
9702
|
+
/**
|
|
9703
|
+
* Creation time of a spread placement group.
|
|
9704
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
9705
|
+
* @type {string || null}
|
|
9706
|
+
*/
|
|
9707
|
+
this.CreateTime = null;
|
|
9321
9708
|
|
|
9322
9709
|
}
|
|
9323
9710
|
|
|
@@ -9328,18 +9715,13 @@ Each request can have up to 10 `Filters` and 5 `Filters.Values`. You cannot spec
|
|
|
9328
9715
|
if (!params) {
|
|
9329
9716
|
return;
|
|
9330
9717
|
}
|
|
9718
|
+
this.DisasterRecoverGroupId = 'DisasterRecoverGroupId' in params ? params.DisasterRecoverGroupId : null;
|
|
9719
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
9720
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
9721
|
+
this.CvmQuotaTotal = 'CvmQuotaTotal' in params ? params.CvmQuotaTotal : null;
|
|
9722
|
+
this.CurrentNum = 'CurrentNum' in params ? params.CurrentNum : null;
|
|
9331
9723
|
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
9332
|
-
|
|
9333
|
-
if (params.Filters) {
|
|
9334
|
-
this.Filters = new Array();
|
|
9335
|
-
for (let z in params.Filters) {
|
|
9336
|
-
let obj = new Filter();
|
|
9337
|
-
obj.deserialize(params.Filters[z]);
|
|
9338
|
-
this.Filters.push(obj);
|
|
9339
|
-
}
|
|
9340
|
-
}
|
|
9341
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
9342
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
9724
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
9343
9725
|
|
|
9344
9726
|
}
|
|
9345
9727
|
}
|
|
@@ -9415,24 +9797,25 @@ class DescribeChcDeniedActionsRequest extends AbstractModel {
|
|
|
9415
9797
|
}
|
|
9416
9798
|
|
|
9417
9799
|
/**
|
|
9418
|
-
*
|
|
9800
|
+
* DescribeImageFromFamily response structure.
|
|
9419
9801
|
* @class
|
|
9420
9802
|
*/
|
|
9421
|
-
class
|
|
9803
|
+
class DescribeImageFromFamilyResponse extends AbstractModel {
|
|
9422
9804
|
constructor(){
|
|
9423
9805
|
super();
|
|
9424
9806
|
|
|
9425
9807
|
/**
|
|
9426
|
-
*
|
|
9427
|
-
|
|
9808
|
+
* Image information. Null is returned when there is no available image.
|
|
9809
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
9810
|
+
* @type {Image || null}
|
|
9428
9811
|
*/
|
|
9429
|
-
this.
|
|
9812
|
+
this.Image = null;
|
|
9430
9813
|
|
|
9431
9814
|
/**
|
|
9432
|
-
*
|
|
9815
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9433
9816
|
* @type {string || null}
|
|
9434
9817
|
*/
|
|
9435
|
-
this.
|
|
9818
|
+
this.RequestId = null;
|
|
9436
9819
|
|
|
9437
9820
|
}
|
|
9438
9821
|
|
|
@@ -9443,8 +9826,13 @@ class InquiryPriceResetInstancesTypeRequest extends AbstractModel {
|
|
|
9443
9826
|
if (!params) {
|
|
9444
9827
|
return;
|
|
9445
9828
|
}
|
|
9446
|
-
|
|
9447
|
-
|
|
9829
|
+
|
|
9830
|
+
if (params.Image) {
|
|
9831
|
+
let obj = new Image();
|
|
9832
|
+
obj.deserialize(params.Image)
|
|
9833
|
+
this.Image = obj;
|
|
9834
|
+
}
|
|
9835
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9448
9836
|
|
|
9449
9837
|
}
|
|
9450
9838
|
}
|
|
@@ -9644,23 +10032,35 @@ class ModifyImageAttributeRequest extends AbstractModel {
|
|
|
9644
10032
|
super();
|
|
9645
10033
|
|
|
9646
10034
|
/**
|
|
9647
|
-
* Image ID such as `img-gvbnzy6f`. You can obtain the image
|
|
10035
|
+
* Image ID, such as `img-gvbnzy6f`. You can obtain the image ID in the following ways:<li>Call the [DescribeImages](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1) API and find the value of `ImageId` in the response.</li><li>Obtain it in the [Image console](https://console.cloud.tencent.com/cvm/image).</li>
|
|
9648
10036
|
* @type {string || null}
|
|
9649
10037
|
*/
|
|
9650
10038
|
this.ImageId = null;
|
|
9651
10039
|
|
|
9652
10040
|
/**
|
|
9653
|
-
* New image name, which
|
|
10041
|
+
* New image name, which should meet the following requirements:<li>It should not exceed 60 characters.</li><li>It should be unique.</li>
|
|
9654
10042
|
* @type {string || null}
|
|
9655
10043
|
*/
|
|
9656
10044
|
this.ImageName = null;
|
|
9657
10045
|
|
|
9658
10046
|
/**
|
|
9659
|
-
* New image description, which
|
|
10047
|
+
* New image description, which should meet the following requirement:<li>It should not exceed 256 characters.</li>
|
|
9660
10048
|
* @type {string || null}
|
|
9661
10049
|
*/
|
|
9662
10050
|
this.ImageDescription = null;
|
|
9663
10051
|
|
|
10052
|
+
/**
|
|
10053
|
+
* Sets the image family;
|
|
10054
|
+
* @type {string || null}
|
|
10055
|
+
*/
|
|
10056
|
+
this.ImageFamily = null;
|
|
10057
|
+
|
|
10058
|
+
/**
|
|
10059
|
+
* Sets whether the image is deprecated;
|
|
10060
|
+
* @type {boolean || null}
|
|
10061
|
+
*/
|
|
10062
|
+
this.ImageDeprecated = null;
|
|
10063
|
+
|
|
9664
10064
|
}
|
|
9665
10065
|
|
|
9666
10066
|
/**
|
|
@@ -9673,6 +10073,8 @@ class ModifyImageAttributeRequest extends AbstractModel {
|
|
|
9673
10073
|
this.ImageId = 'ImageId' in params ? params.ImageId : null;
|
|
9674
10074
|
this.ImageName = 'ImageName' in params ? params.ImageName : null;
|
|
9675
10075
|
this.ImageDescription = 'ImageDescription' in params ? params.ImageDescription : null;
|
|
10076
|
+
this.ImageFamily = 'ImageFamily' in params ? params.ImageFamily : null;
|
|
10077
|
+
this.ImageDeprecated = 'ImageDeprecated' in params ? params.ImageDeprecated : null;
|
|
9676
10078
|
|
|
9677
10079
|
}
|
|
9678
10080
|
}
|
|
@@ -9686,7 +10088,7 @@ class ResizeInstanceDisksResponse extends AbstractModel {
|
|
|
9686
10088
|
super();
|
|
9687
10089
|
|
|
9688
10090
|
/**
|
|
9689
|
-
* The unique request ID,
|
|
10091
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9690
10092
|
* @type {string || null}
|
|
9691
10093
|
*/
|
|
9692
10094
|
this.RequestId = null;
|
|
@@ -9705,6 +10107,51 @@ class ResizeInstanceDisksResponse extends AbstractModel {
|
|
|
9705
10107
|
}
|
|
9706
10108
|
}
|
|
9707
10109
|
|
|
10110
|
+
/**
|
|
10111
|
+
* Describes login settings of an instance.
|
|
10112
|
+
* @class
|
|
10113
|
+
*/
|
|
10114
|
+
class LoginSettings extends AbstractModel {
|
|
10115
|
+
constructor(){
|
|
10116
|
+
super();
|
|
10117
|
+
|
|
10118
|
+
/**
|
|
10119
|
+
* Login password of the instance. <br><li>For Linux instances, the password must include 8-30 characters, and contain at least two of the following character sets: [a-z], [A-Z], [0-9] and [()\`~!@#$%^&*-+=|{}[]:;',.?/]. <br><li>For Windows instances, the password must include 12-30 characters, and contain at least three of the following character sets: [a-z], [A-Z], [0-9] and [()\`~!@#$%^&*-+=|{}[]:;',.?/]. <br><br>If it's not specified, the user needs to set the login password using the **Reset password** option in the CVM console or calling the API `ResetInstancesPassword` to complete the creation of the CVM instance(s).
|
|
10120
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
10121
|
+
* @type {string || null}
|
|
10122
|
+
*/
|
|
10123
|
+
this.Password = null;
|
|
10124
|
+
|
|
10125
|
+
/**
|
|
10126
|
+
* List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair. You can call [`DescribeKeyPairs`](https://intl.cloud.tencent.com/document/api/213/15699?from_cn_redirect=1) to obtain `KeyId`. You cannot specify a key and a password at the same time. Windows instances do not support keys.
|
|
10127
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
10128
|
+
* @type {Array.<string> || null}
|
|
10129
|
+
*/
|
|
10130
|
+
this.KeyIds = null;
|
|
10131
|
+
|
|
10132
|
+
/**
|
|
10133
|
+
* Maintains the original settings of the image. This parameter cannot be specified simultaneously with Password or KeyIds.N. It can be set to true only when an instance is created with a custom image, shared image, or externally imported image. Valid values: <li>true: indicates that the login settings of the image are maintained</li><li>false: indicates that the login settings of the image are not maintained</li>Default value: false.
|
|
10134
|
+
Note: This field may return null, indicating that no valid value is found.
|
|
10135
|
+
* @type {string || null}
|
|
10136
|
+
*/
|
|
10137
|
+
this.KeepImageLogin = null;
|
|
10138
|
+
|
|
10139
|
+
}
|
|
10140
|
+
|
|
10141
|
+
/**
|
|
10142
|
+
* @private
|
|
10143
|
+
*/
|
|
10144
|
+
deserialize(params) {
|
|
10145
|
+
if (!params) {
|
|
10146
|
+
return;
|
|
10147
|
+
}
|
|
10148
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
10149
|
+
this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
|
|
10150
|
+
this.KeepImageLogin = 'KeepImageLogin' in params ? params.KeepImageLogin : null;
|
|
10151
|
+
|
|
10152
|
+
}
|
|
10153
|
+
}
|
|
10154
|
+
|
|
9708
10155
|
/**
|
|
9709
10156
|
* InquirePricePurchaseReservedInstancesOffering response structure.
|
|
9710
10157
|
* @class
|
|
@@ -9720,7 +10167,7 @@ class InquirePricePurchaseReservedInstancesOfferingResponse extends AbstractMod
|
|
|
9720
10167
|
this.Price = null;
|
|
9721
10168
|
|
|
9722
10169
|
/**
|
|
9723
|
-
* The unique request ID,
|
|
10170
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9724
10171
|
* @type {string || null}
|
|
9725
10172
|
*/
|
|
9726
10173
|
this.RequestId = null;
|
|
@@ -10037,7 +10484,7 @@ class DescribeReservedInstancesOfferingsResponse extends AbstractModel {
|
|
|
10037
10484
|
this.ReservedInstancesOfferingsSet = null;
|
|
10038
10485
|
|
|
10039
10486
|
/**
|
|
10040
|
-
* The unique request ID,
|
|
10487
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10041
10488
|
* @type {string || null}
|
|
10042
10489
|
*/
|
|
10043
10490
|
this.RequestId = null;
|
|
@@ -10087,7 +10534,7 @@ class DescribeLaunchTemplateVersionsResponse extends AbstractModel {
|
|
|
10087
10534
|
this.LaunchTemplateVersionSet = null;
|
|
10088
10535
|
|
|
10089
10536
|
/**
|
|
10090
|
-
* The unique request ID,
|
|
10537
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10091
10538
|
* @type {string || null}
|
|
10092
10539
|
*/
|
|
10093
10540
|
this.RequestId = null;
|
|
@@ -10181,7 +10628,7 @@ class ResetInstanceResponse extends AbstractModel {
|
|
|
10181
10628
|
super();
|
|
10182
10629
|
|
|
10183
10630
|
/**
|
|
10184
|
-
* The unique request ID,
|
|
10631
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10185
10632
|
* @type {string || null}
|
|
10186
10633
|
*/
|
|
10187
10634
|
this.RequestId = null;
|
|
@@ -10265,7 +10712,7 @@ class ModifyDisasterRecoverGroupAttributeResponse extends AbstractModel {
|
|
|
10265
10712
|
super();
|
|
10266
10713
|
|
|
10267
10714
|
/**
|
|
10268
|
-
* The unique request ID,
|
|
10715
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10269
10716
|
* @type {string || null}
|
|
10270
10717
|
*/
|
|
10271
10718
|
this.RequestId = null;
|
|
@@ -10299,19 +10746,22 @@ class ResizeInstanceDisksRequest extends AbstractModel {
|
|
|
10299
10746
|
this.InstanceId = null;
|
|
10300
10747
|
|
|
10301
10748
|
/**
|
|
10302
|
-
* Configuration of data
|
|
10749
|
+
* Configuration information of a data disk to be expanded. Only inelastic data disks (with `Portable` being `false` in the return values of [DescribeDisks](https://intl.cloud.tencent.com/document/api/362/16315?from_cn_redirect=1)) can be expanded. The unit of data disk capacity is GB. The minimum expansion step is 10 GB. For more information about data disk types, refer to [Disk Product Introduction](https://intl.cloud.tencent.com/document/product/362/2353?from_cn_redirect=1). The available data disk type is restricted by the instance type `InstanceType`. Additionally, the maximum allowable capacity for expansion varies by data disk type.
|
|
10750
|
+
<dx-alert infotype="explain" title="">You should specify either DataDisks or SystemDisk, but you cannot specify both at the same time.</dx-alert>
|
|
10303
10751
|
* @type {Array.<DataDisk> || null}
|
|
10304
10752
|
*/
|
|
10305
10753
|
this.DataDisks = null;
|
|
10306
10754
|
|
|
10307
10755
|
/**
|
|
10308
|
-
* Whether to
|
|
10756
|
+
* Whether to forcibly shut down a running instance. It is recommended to manually shut down a running instance first and then reset the user password. Valid values:<br><li>true: Forcibly shut down an instance after a normal shutdown fails.</li><br><li>false: Do not forcibly shut down an instance after a normal shutdown fails.</li><br><br>Default value: false.<br><br>Forced shutdown is equivalent to turning off a physical computer's power switch. Forced shutdown may cause data loss or file system corruption and should only be used when a server cannot be shut down normally.
|
|
10309
10757
|
* @type {boolean || null}
|
|
10310
10758
|
*/
|
|
10311
10759
|
this.ForceStop = null;
|
|
10312
10760
|
|
|
10313
10761
|
/**
|
|
10314
|
-
* Configuration of
|
|
10762
|
+
* Configuration information of a system disk to be expanded. Only cloud disks can be expanded.
|
|
10763
|
+
|
|
10764
|
+
<dx-alert infotype="explain" title="">You should specify either DataDisks or SystemDisk, but you cannot specify both at the same time.</dx-alert>
|
|
10315
10765
|
* @type {SystemDisk || null}
|
|
10316
10766
|
*/
|
|
10317
10767
|
this.SystemDisk = null;
|
|
@@ -10431,7 +10881,7 @@ class PurchaseReservedInstancesOfferingResponse extends AbstractModel {
|
|
|
10431
10881
|
this.ReservedInstanceId = null;
|
|
10432
10882
|
|
|
10433
10883
|
/**
|
|
10434
|
-
* The unique request ID,
|
|
10884
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10435
10885
|
* @type {string || null}
|
|
10436
10886
|
*/
|
|
10437
10887
|
this.RequestId = null;
|
|
@@ -10647,7 +11097,7 @@ class DisassociateSecurityGroupsResponse extends AbstractModel {
|
|
|
10647
11097
|
super();
|
|
10648
11098
|
|
|
10649
11099
|
/**
|
|
10650
|
-
* The unique request ID,
|
|
11100
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10651
11101
|
* @type {string || null}
|
|
10652
11102
|
*/
|
|
10653
11103
|
this.RequestId = null;
|
|
@@ -10719,7 +11169,7 @@ class ModifyInstancesProjectResponse extends AbstractModel {
|
|
|
10719
11169
|
super();
|
|
10720
11170
|
|
|
10721
11171
|
/**
|
|
10722
|
-
* The unique request ID,
|
|
11172
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10723
11173
|
* @type {string || null}
|
|
10724
11174
|
*/
|
|
10725
11175
|
this.RequestId = null;
|
|
@@ -10820,6 +11270,41 @@ class Price extends AbstractModel {
|
|
|
10820
11270
|
}
|
|
10821
11271
|
}
|
|
10822
11272
|
|
|
11273
|
+
/**
|
|
11274
|
+
* InquiryPriceResetInstancesType request structure.
|
|
11275
|
+
* @class
|
|
11276
|
+
*/
|
|
11277
|
+
class InquiryPriceResetInstancesTypeRequest extends AbstractModel {
|
|
11278
|
+
constructor(){
|
|
11279
|
+
super();
|
|
11280
|
+
|
|
11281
|
+
/**
|
|
11282
|
+
* One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 1.
|
|
11283
|
+
* @type {Array.<string> || null}
|
|
11284
|
+
*/
|
|
11285
|
+
this.InstanceIds = null;
|
|
11286
|
+
|
|
11287
|
+
/**
|
|
11288
|
+
* Instance model. Resources vary with the instance model. Specific values can be found in the tables of [Instance Types] (https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1) or in the latest specifications via the [DescribeInstanceTypeConfigs] (https://intl.cloud.tencent.com/document/product/213/15749?from_cn_redirect=1) API.
|
|
11289
|
+
* @type {string || null}
|
|
11290
|
+
*/
|
|
11291
|
+
this.InstanceType = null;
|
|
11292
|
+
|
|
11293
|
+
}
|
|
11294
|
+
|
|
11295
|
+
/**
|
|
11296
|
+
* @private
|
|
11297
|
+
*/
|
|
11298
|
+
deserialize(params) {
|
|
11299
|
+
if (!params) {
|
|
11300
|
+
return;
|
|
11301
|
+
}
|
|
11302
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
11303
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
11304
|
+
|
|
11305
|
+
}
|
|
11306
|
+
}
|
|
11307
|
+
|
|
10823
11308
|
module.exports = {
|
|
10824
11309
|
LocalDiskType: LocalDiskType,
|
|
10825
11310
|
AssociateInstancesKeyPairsResponse: AssociateInstancesKeyPairsResponse,
|
|
@@ -10846,10 +11331,10 @@ module.exports = {
|
|
|
10846
11331
|
DeleteKeyPairsRequest: DeleteKeyPairsRequest,
|
|
10847
11332
|
SystemDisk: SystemDisk,
|
|
10848
11333
|
ResetInstanceRequest: ResetInstanceRequest,
|
|
10849
|
-
|
|
11334
|
+
ExitRescueModeResponse: ExitRescueModeResponse,
|
|
10850
11335
|
DescribeChcHostsResponse: DescribeChcHostsResponse,
|
|
10851
11336
|
AllocateHostsRequest: AllocateHostsRequest,
|
|
10852
|
-
|
|
11337
|
+
DescribeImageFromFamilyRequest: DescribeImageFromFamilyRequest,
|
|
10853
11338
|
DescribeRegionsResponse: DescribeRegionsResponse,
|
|
10854
11339
|
PurchaseReservedInstancesOfferingRequest: PurchaseReservedInstancesOfferingRequest,
|
|
10855
11340
|
RebootInstancesRequest: RebootInstancesRequest,
|
|
@@ -10871,6 +11356,7 @@ module.exports = {
|
|
|
10871
11356
|
CpuTopology: CpuTopology,
|
|
10872
11357
|
CreateKeyPairResponse: CreateKeyPairResponse,
|
|
10873
11358
|
DeleteKeyPairsResponse: DeleteKeyPairsResponse,
|
|
11359
|
+
EnterRescueModeRequest: EnterRescueModeRequest,
|
|
10874
11360
|
TagSpecification: TagSpecification,
|
|
10875
11361
|
ModifyImageSharePermissionRequest: ModifyImageSharePermissionRequest,
|
|
10876
11362
|
DisassociateInstancesKeyPairsResponse: DisassociateInstancesKeyPairsResponse,
|
|
@@ -10885,6 +11371,7 @@ module.exports = {
|
|
|
10885
11371
|
ModifyInstancesAttributeRequest: ModifyInstancesAttributeRequest,
|
|
10886
11372
|
CreateDisasterRecoverGroupResponse: CreateDisasterRecoverGroupResponse,
|
|
10887
11373
|
RemoveChcAssistVpcRequest: RemoveChcAssistVpcRequest,
|
|
11374
|
+
ConvertOperatingSystemsRequest: ConvertOperatingSystemsRequest,
|
|
10888
11375
|
StartInstancesRequest: StartInstancesRequest,
|
|
10889
11376
|
Tag: Tag,
|
|
10890
11377
|
RunSecurityServiceEnabled: RunSecurityServiceEnabled,
|
|
@@ -10916,9 +11403,11 @@ module.exports = {
|
|
|
10916
11403
|
OperationCountLimit: OperationCountLimit,
|
|
10917
11404
|
ReservedInstanceConfigInfoItem: ReservedInstanceConfigInfoItem,
|
|
10918
11405
|
LaunchTemplateVersionData: LaunchTemplateVersionData,
|
|
11406
|
+
TargetOS: TargetOS,
|
|
10919
11407
|
DeleteDisasterRecoverGroupsResponse: DeleteDisasterRecoverGroupsResponse,
|
|
10920
11408
|
HostItem: HostItem,
|
|
10921
11409
|
Externals: Externals,
|
|
11410
|
+
ConvertOperatingSystemsResponse: ConvertOperatingSystemsResponse,
|
|
10922
11411
|
CreateImageRequest: CreateImageRequest,
|
|
10923
11412
|
Instance: Instance,
|
|
10924
11413
|
CreateLaunchTemplateVersionRequest: CreateLaunchTemplateVersionRequest,
|
|
@@ -10926,6 +11415,7 @@ module.exports = {
|
|
|
10926
11415
|
DescribeLaunchTemplatesResponse: DescribeLaunchTemplatesResponse,
|
|
10927
11416
|
DescribeReservedInstancesOfferingsRequest: DescribeReservedInstancesOfferingsRequest,
|
|
10928
11417
|
ReservedInstanceFamilyItem: ReservedInstanceFamilyItem,
|
|
11418
|
+
ExitRescueModeRequest: ExitRescueModeRequest,
|
|
10929
11419
|
DescribeDisasterRecoverGroupsResponse: DescribeDisasterRecoverGroupsResponse,
|
|
10930
11420
|
ExportImagesRequest: ExportImagesRequest,
|
|
10931
11421
|
ActionTimer: ActionTimer,
|
|
@@ -10945,13 +11435,14 @@ module.exports = {
|
|
|
10945
11435
|
ReservedInstancePriceItem: ReservedInstancePriceItem,
|
|
10946
11436
|
AllocateHostsResponse: AllocateHostsResponse,
|
|
10947
11437
|
DescribeImageSharePermissionRequest: DescribeImageSharePermissionRequest,
|
|
10948
|
-
|
|
11438
|
+
DescribeInstancesRequest: DescribeInstancesRequest,
|
|
10949
11439
|
InquiryPriceResetInstanceResponse: InquiryPriceResetInstanceResponse,
|
|
10950
11440
|
RunInstancesRequest: RunInstancesRequest,
|
|
10951
11441
|
Filter: Filter,
|
|
10952
11442
|
LaunchTemplateInfo: LaunchTemplateInfo,
|
|
10953
11443
|
InquiryPriceResetInstancesInternetMaxBandwidthRequest: InquiryPriceResetInstancesInternetMaxBandwidthRequest,
|
|
10954
11444
|
ModifyHostsAttributeResponse: ModifyHostsAttributeResponse,
|
|
11445
|
+
EnterRescueModeResponse: EnterRescueModeResponse,
|
|
10955
11446
|
ModifyChcAttributeResponse: ModifyChcAttributeResponse,
|
|
10956
11447
|
DescribeDisasterRecoverGroupQuotaRequest: DescribeDisasterRecoverGroupQuotaRequest,
|
|
10957
11448
|
StartInstancesResponse: StartInstancesResponse,
|
|
@@ -10979,21 +11470,23 @@ module.exports = {
|
|
|
10979
11470
|
ConfigureChcAssistVpcResponse: ConfigureChcAssistVpcResponse,
|
|
10980
11471
|
RebootInstancesResponse: RebootInstancesResponse,
|
|
10981
11472
|
DescribeChcHostsRequest: DescribeChcHostsRequest,
|
|
11473
|
+
LaunchTemplate: LaunchTemplate,
|
|
10982
11474
|
InquiryPriceResetInstancesTypeResponse: InquiryPriceResetInstancesTypeResponse,
|
|
10983
11475
|
CreateLaunchTemplateVersionResponse: CreateLaunchTemplateVersionResponse,
|
|
10984
11476
|
OsVersion: OsVersion,
|
|
10985
11477
|
ModifyImageAttributeResponse: ModifyImageAttributeResponse,
|
|
10986
11478
|
GPUInfo: GPUInfo,
|
|
10987
|
-
|
|
11479
|
+
DisasterRecoverGroup: DisasterRecoverGroup,
|
|
10988
11480
|
RegionInfo: RegionInfo,
|
|
10989
11481
|
DescribeChcDeniedActionsRequest: DescribeChcDeniedActionsRequest,
|
|
10990
|
-
|
|
11482
|
+
DescribeImageFromFamilyResponse: DescribeImageFromFamilyResponse,
|
|
10991
11483
|
ModifyLaunchTemplateDefaultVersionRequest: ModifyLaunchTemplateDefaultVersionRequest,
|
|
10992
11484
|
StopInstancesRequest: StopInstancesRequest,
|
|
10993
11485
|
DescribeInternetChargeTypeConfigsRequest: DescribeInternetChargeTypeConfigsRequest,
|
|
10994
11486
|
DescribeImagesRequest: DescribeImagesRequest,
|
|
10995
11487
|
ModifyImageAttributeRequest: ModifyImageAttributeRequest,
|
|
10996
11488
|
ResizeInstanceDisksResponse: ResizeInstanceDisksResponse,
|
|
11489
|
+
LoginSettings: LoginSettings,
|
|
10997
11490
|
InquirePricePurchaseReservedInstancesOfferingResponse: InquirePricePurchaseReservedInstancesOfferingResponse,
|
|
10998
11491
|
DisassociateSecurityGroupsRequest: DisassociateSecurityGroupsRequest,
|
|
10999
11492
|
ModifyHostsAttributeRequest: ModifyHostsAttributeRequest,
|
|
@@ -11019,5 +11512,6 @@ module.exports = {
|
|
|
11019
11512
|
ModifyInstancesProjectResponse: ModifyInstancesProjectResponse,
|
|
11020
11513
|
InstanceChargePrepaid: InstanceChargePrepaid,
|
|
11021
11514
|
Price: Price,
|
|
11515
|
+
InquiryPriceResetInstancesTypeRequest: InquiryPriceResetInstancesTypeRequest,
|
|
11022
11516
|
|
|
11023
11517
|
}
|