tencentcloud-sdk-nodejs-intl-en 3.0.1243 → 3.0.1245
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/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +51 -19
- package/tencentcloud/cvm/v20170312/models.js +235 -61
- package/tencentcloud/faceid/v20180301/models.js +55 -23
- package/tencentcloud/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/sqlserver/v20180328/models.js +12308 -5910
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +1345 -666
- package/tencentcloud/teo/v20220901/models.js +13 -62
- package/tencentcloud/teo/v20220901/teo_client.js +8 -2
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1245";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -19,6 +19,7 @@ const AbstractClient = require('../../common/abstract_client')
|
|
|
19
19
|
const ChargePrepaid = models.ChargePrepaid;
|
|
20
20
|
const LocalDiskType = models.LocalDiskType;
|
|
21
21
|
const AssociateInstancesKeyPairsResponse = models.AssociateInstancesKeyPairsResponse;
|
|
22
|
+
const RenewInstancesRequest = models.RenewInstancesRequest;
|
|
22
23
|
const DescribeImageQuotaResponse = models.DescribeImageQuotaResponse;
|
|
23
24
|
const ModifyInstancesProjectRequest = models.ModifyInstancesProjectRequest;
|
|
24
25
|
const ConfigureChcDeployVpcResponse = models.ConfigureChcDeployVpcResponse;
|
|
@@ -149,7 +150,7 @@ const DescribeImportImageOsRequest = models.DescribeImportImageOsRequest;
|
|
|
149
150
|
const CreateLaunchTemplateResponse = models.CreateLaunchTemplateResponse;
|
|
150
151
|
const CreateKeyPairRequest = models.CreateKeyPairRequest;
|
|
151
152
|
const InstanceStatus = models.InstanceStatus;
|
|
152
|
-
const
|
|
153
|
+
const InquiryPriceRenewInstancesResponse = models.InquiryPriceRenewInstancesResponse;
|
|
153
154
|
const AllocateHostsResponse = models.AllocateHostsResponse;
|
|
154
155
|
const DescribeImageSharePermissionRequest = models.DescribeImageSharePermissionRequest;
|
|
155
156
|
const DescribeInstancesAttributesRequest = models.DescribeInstancesAttributesRequest;
|
|
@@ -188,6 +189,7 @@ const ReservedInstances = models.ReservedInstances;
|
|
|
188
189
|
const DeleteImagesResponse = models.DeleteImagesResponse;
|
|
189
190
|
const ImportImageResponse = models.ImportImageResponse;
|
|
190
191
|
const ModifyDisasterRecoverGroupAttributeRequest = models.ModifyDisasterRecoverGroupAttributeRequest;
|
|
192
|
+
const ReservedInstancePriceItem = models.ReservedInstancePriceItem;
|
|
191
193
|
const ConfigureChcAssistVpcResponse = models.ConfigureChcAssistVpcResponse;
|
|
192
194
|
const RebootInstancesResponse = models.RebootInstancesResponse;
|
|
193
195
|
const DescribeChcHostsRequest = models.DescribeChcHostsRequest;
|
|
@@ -196,6 +198,7 @@ const InquiryPriceResetInstancesTypeResponse = models.InquiryPriceResetInstances
|
|
|
196
198
|
const CreateLaunchTemplateVersionResponse = models.CreateLaunchTemplateVersionResponse;
|
|
197
199
|
const OsVersion = models.OsVersion;
|
|
198
200
|
const ModifyImageAttributeResponse = models.ModifyImageAttributeResponse;
|
|
201
|
+
const InquiryPriceRenewInstancesRequest = models.InquiryPriceRenewInstancesRequest;
|
|
199
202
|
const GPUInfo = models.GPUInfo;
|
|
200
203
|
const DisasterRecoverGroup = models.DisasterRecoverGroup;
|
|
201
204
|
const RegionInfo = models.RegionInfo;
|
|
@@ -215,6 +218,7 @@ const ImportKeyPairRequest = models.ImportKeyPairRequest;
|
|
|
215
218
|
const SyncImage = models.SyncImage;
|
|
216
219
|
const KeyPair = models.KeyPair;
|
|
217
220
|
const DescribeReservedInstancesOfferingsResponse = models.DescribeReservedInstancesOfferingsResponse;
|
|
221
|
+
const RenewInstancesResponse = models.RenewInstancesResponse;
|
|
218
222
|
const DescribeLaunchTemplateVersionsResponse = models.DescribeLaunchTemplateVersionsResponse;
|
|
219
223
|
const RunAutomationServiceEnabled = models.RunAutomationServiceEnabled;
|
|
220
224
|
const RunMonitorServiceEnabled = models.RunMonitorServiceEnabled;
|
|
@@ -715,6 +719,21 @@ If you currently use a password to log in, you will no longer be able to do so a
|
|
|
715
719
|
this.request("ModifyInstancesRenewFlag", req, resp, cb);
|
|
716
720
|
}
|
|
717
721
|
|
|
722
|
+
/**
|
|
723
|
+
* This API is used to synchronize custom images to other regions.
|
|
724
|
+
|
|
725
|
+
* This API only supports synchronizing one image per call.
|
|
726
|
+
* This API supports multiple synchronization regions.
|
|
727
|
+
* A single account can have a maximum of 500 custom images in each region.
|
|
728
|
+
* @param {SyncImagesRequest} req
|
|
729
|
+
* @param {function(string, SyncImagesResponse):void} cb
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
732
|
+
SyncImages(req, cb) {
|
|
733
|
+
let resp = new SyncImagesResponse();
|
|
734
|
+
this.request("SyncImages", req, resp, cb);
|
|
735
|
+
}
|
|
736
|
+
|
|
718
737
|
/**
|
|
719
738
|
* This API is used to query the price for adjusting the instance model.
|
|
720
739
|
|
|
@@ -978,18 +997,16 @@ This API is used to create an instance launch template. After the initial creati
|
|
|
978
997
|
}
|
|
979
998
|
|
|
980
999
|
/**
|
|
981
|
-
* This API is used to
|
|
1000
|
+
* This API is used to inquire about the price for renewing a monthly subscription instance.
|
|
982
1001
|
|
|
983
|
-
|
|
984
|
-
*
|
|
985
|
-
*
|
|
986
|
-
* @param {SyncImagesRequest} req
|
|
987
|
-
* @param {function(string, SyncImagesResponse):void} cb
|
|
1002
|
+
This API is used to query the renewal price of monthly subscription instances.
|
|
1003
|
+
* @param {InquiryPriceRenewInstancesRequest} req
|
|
1004
|
+
* @param {function(string, InquiryPriceRenewInstancesResponse):void} cb
|
|
988
1005
|
* @public
|
|
989
1006
|
*/
|
|
990
|
-
|
|
991
|
-
let resp = new
|
|
992
|
-
this.request("
|
|
1007
|
+
InquiryPriceRenewInstances(req, cb) {
|
|
1008
|
+
let resp = new InquiryPriceRenewInstancesResponse();
|
|
1009
|
+
this.request("InquiryPriceRenewInstances", req, resp, cb);
|
|
993
1010
|
}
|
|
994
1011
|
|
|
995
1012
|
/**
|
|
@@ -1085,18 +1102,18 @@ This API is used to create an instance launch template. After the initial creati
|
|
|
1085
1102
|
}
|
|
1086
1103
|
|
|
1087
1104
|
/**
|
|
1088
|
-
* This API is used to
|
|
1105
|
+
* This API is used to renew annual and monthly subscription instances.
|
|
1089
1106
|
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
*
|
|
1093
|
-
* @param {
|
|
1094
|
-
* @param {function(string,
|
|
1107
|
+
This API is used to operate on monthly subscription instances only.
|
|
1108
|
+
This API is used to ensure your account balance is sufficient for renewal. You can check the balance via the DescribeAccountBalance API (https://www.tencentcloud.comom/document/product/555/20253?from_cn_redirect=1).
|
|
1109
|
+
* You can query the result of the instance operation by calling the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
|
|
1110
|
+
* @param {RenewInstancesRequest} req
|
|
1111
|
+
* @param {function(string, RenewInstancesResponse):void} cb
|
|
1095
1112
|
* @public
|
|
1096
1113
|
*/
|
|
1097
|
-
|
|
1098
|
-
let resp = new
|
|
1099
|
-
this.request("
|
|
1114
|
+
RenewInstances(req, cb) {
|
|
1115
|
+
let resp = new RenewInstancesResponse();
|
|
1116
|
+
this.request("RenewInstances", req, resp, cb);
|
|
1100
1117
|
}
|
|
1101
1118
|
|
|
1102
1119
|
/**
|
|
@@ -1110,6 +1127,21 @@ This API is used to create an instance launch template. After the initial creati
|
|
|
1110
1127
|
this.request("DescribeDisasterRecoverGroups", req, resp, cb);
|
|
1111
1128
|
}
|
|
1112
1129
|
|
|
1130
|
+
/**
|
|
1131
|
+
* This API is used to start instances.
|
|
1132
|
+
|
|
1133
|
+
* You can only perform this operation on instances whose status is `STOPPED`.
|
|
1134
|
+
* The instance status will become `STARTING` when the API is called successfully and `RUNNING` when the instance is successfully started.
|
|
1135
|
+
* Batch operations are supported. The maximum number of instances in each request is 100.
|
|
1136
|
+
* @param {StartInstancesRequest} req
|
|
1137
|
+
* @param {function(string, StartInstancesResponse):void} cb
|
|
1138
|
+
* @public
|
|
1139
|
+
*/
|
|
1140
|
+
StartInstances(req, cb) {
|
|
1141
|
+
let resp = new StartInstancesResponse();
|
|
1142
|
+
this.request("StartInstances", req, resp, cb);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1113
1145
|
/**
|
|
1114
1146
|
* This API is used to query key pairs.
|
|
1115
1147
|
|
|
@@ -135,6 +135,54 @@ class AssociateInstancesKeyPairsResponse extends AbstractModel {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
/**
|
|
139
|
+
* RenewInstances request structure.
|
|
140
|
+
* @class
|
|
141
|
+
*/
|
|
142
|
+
class RenewInstancesRequest extends AbstractModel {
|
|
143
|
+
constructor(){
|
|
144
|
+
super();
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* 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://www.tencentcloud.comom/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
|
|
148
|
+
* @type {Array.<string> || null}
|
|
149
|
+
*/
|
|
150
|
+
this.InstanceIds = null;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Prepaid mode, that is, parameter settings related to monthly/annual subscription. specifies attributes of a monthly subscription instance, such as renewal duration and whether to enable auto-renewal, by specifying this parameter. <dx-alert infotype="explain" title="">.
|
|
154
|
+
Annual and monthly subscription instances. this parameter is a required parameter.</dx-alert>.
|
|
155
|
+
* @type {InstanceChargePrepaid || null}
|
|
156
|
+
*/
|
|
157
|
+
this.InstanceChargePrepaid = null;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Whether to renew the elastic data disk. valid values:<br><li>true: indicates renewing the annual and monthly subscription instance and its mounted elastic data disk simultaneously</li><li>false: indicates renewing the annual and monthly subscription instance while no longer renewing its mounted elastic data disk</li><br>default value: true.
|
|
161
|
+
* @type {boolean || null}
|
|
162
|
+
*/
|
|
163
|
+
this.RenewPortableDataDisk = null;
|
|
164
|
+
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @private
|
|
169
|
+
*/
|
|
170
|
+
deserialize(params) {
|
|
171
|
+
if (!params) {
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
175
|
+
|
|
176
|
+
if (params.InstanceChargePrepaid) {
|
|
177
|
+
let obj = new InstanceChargePrepaid();
|
|
178
|
+
obj.deserialize(params.InstanceChargePrepaid)
|
|
179
|
+
this.InstanceChargePrepaid = obj;
|
|
180
|
+
}
|
|
181
|
+
this.RenewPortableDataDisk = 'RenewPortableDataDisk' in params ? params.RenewPortableDataDisk : null;
|
|
182
|
+
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
138
186
|
/**
|
|
139
187
|
* DescribeImageQuota response structure.
|
|
140
188
|
* @class
|
|
@@ -7850,68 +7898,24 @@ class InstanceStatus extends AbstractModel {
|
|
|
7850
7898
|
}
|
|
7851
7899
|
|
|
7852
7900
|
/**
|
|
7853
|
-
*
|
|
7901
|
+
* InquiryPriceRenewInstances response structure.
|
|
7854
7902
|
* @class
|
|
7855
7903
|
*/
|
|
7856
|
-
class
|
|
7904
|
+
class InquiryPriceRenewInstancesResponse extends AbstractModel {
|
|
7857
7905
|
constructor(){
|
|
7858
7906
|
super();
|
|
7859
7907
|
|
|
7860
7908
|
/**
|
|
7861
|
-
*
|
|
7862
|
-
* @type {
|
|
7863
|
-
*/
|
|
7864
|
-
this.OfferingType = null;
|
|
7865
|
-
|
|
7866
|
-
/**
|
|
7867
|
-
* Upfront payment, in USD.
|
|
7868
|
-
* @type {number || null}
|
|
7869
|
-
*/
|
|
7870
|
-
this.FixedPrice = null;
|
|
7871
|
-
|
|
7872
|
-
/**
|
|
7873
|
-
* Subsequent unit price, in USD/hr.
|
|
7874
|
-
* @type {number || null}
|
|
7875
|
-
*/
|
|
7876
|
-
this.UsagePrice = null;
|
|
7877
|
-
|
|
7878
|
-
/**
|
|
7879
|
-
* The ID of the reserved instance offering.
|
|
7880
|
-
* @type {string || null}
|
|
7881
|
-
*/
|
|
7882
|
-
this.ReservedInstancesOfferingId = null;
|
|
7883
|
-
|
|
7884
|
-
/**
|
|
7885
|
-
* The availability zone in which the reserved instance can be purchased.
|
|
7886
|
-
* @type {string || null}
|
|
7887
|
-
*/
|
|
7888
|
-
this.Zone = null;
|
|
7889
|
-
|
|
7890
|
-
/**
|
|
7891
|
-
* The **validity** of the reserved instance in seconds, which is the purchased usage period. For example, `31536000`.
|
|
7892
|
-
Unit: second
|
|
7893
|
-
* @type {number || null}
|
|
7909
|
+
* This parameter indicates the price for the corresponding configuration instance.
|
|
7910
|
+
* @type {Price || null}
|
|
7894
7911
|
*/
|
|
7895
|
-
this.
|
|
7912
|
+
this.Price = null;
|
|
7896
7913
|
|
|
7897
7914
|
/**
|
|
7898
|
-
* The
|
|
7899
|
-
Valid value: `Linux`.
|
|
7915
|
+
* 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.
|
|
7900
7916
|
* @type {string || null}
|
|
7901
7917
|
*/
|
|
7902
|
-
this.
|
|
7903
|
-
|
|
7904
|
-
/**
|
|
7905
|
-
* Discount price for subsequent total cost, in USD/hr.
|
|
7906
|
-
* @type {number || null}
|
|
7907
|
-
*/
|
|
7908
|
-
this.DiscountUsagePrice = null;
|
|
7909
|
-
|
|
7910
|
-
/**
|
|
7911
|
-
* Discount price for upfront total cost, in USD.
|
|
7912
|
-
* @type {number || null}
|
|
7913
|
-
*/
|
|
7914
|
-
this.DiscountFixedPrice = null;
|
|
7918
|
+
this.RequestId = null;
|
|
7915
7919
|
|
|
7916
7920
|
}
|
|
7917
7921
|
|
|
@@ -7922,15 +7926,13 @@ Valid value: `Linux`.
|
|
|
7922
7926
|
if (!params) {
|
|
7923
7927
|
return;
|
|
7924
7928
|
}
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
this.
|
|
7932
|
-
this.DiscountUsagePrice = 'DiscountUsagePrice' in params ? params.DiscountUsagePrice : null;
|
|
7933
|
-
this.DiscountFixedPrice = 'DiscountFixedPrice' in params ? params.DiscountFixedPrice : null;
|
|
7929
|
+
|
|
7930
|
+
if (params.Price) {
|
|
7931
|
+
let obj = new Price();
|
|
7932
|
+
obj.deserialize(params.Price)
|
|
7933
|
+
this.Price = obj;
|
|
7934
|
+
}
|
|
7935
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7934
7936
|
|
|
7935
7937
|
}
|
|
7936
7938
|
}
|
|
@@ -10241,6 +10243,92 @@ class ModifyDisasterRecoverGroupAttributeRequest extends AbstractModel {
|
|
|
10241
10243
|
}
|
|
10242
10244
|
}
|
|
10243
10245
|
|
|
10246
|
+
/**
|
|
10247
|
+
* Price information of the reserved instance based on the payment method.
|
|
10248
|
+
* @class
|
|
10249
|
+
*/
|
|
10250
|
+
class ReservedInstancePriceItem extends AbstractModel {
|
|
10251
|
+
constructor(){
|
|
10252
|
+
super();
|
|
10253
|
+
|
|
10254
|
+
/**
|
|
10255
|
+
* Payment method. Valid values: All Upfront, Partial Upfront, and No Upfront.
|
|
10256
|
+
* @type {string || null}
|
|
10257
|
+
*/
|
|
10258
|
+
this.OfferingType = null;
|
|
10259
|
+
|
|
10260
|
+
/**
|
|
10261
|
+
* Upfront payment, in USD.
|
|
10262
|
+
* @type {number || null}
|
|
10263
|
+
*/
|
|
10264
|
+
this.FixedPrice = null;
|
|
10265
|
+
|
|
10266
|
+
/**
|
|
10267
|
+
* Subsequent unit price, in USD/hr.
|
|
10268
|
+
* @type {number || null}
|
|
10269
|
+
*/
|
|
10270
|
+
this.UsagePrice = null;
|
|
10271
|
+
|
|
10272
|
+
/**
|
|
10273
|
+
* The ID of the reserved instance offering.
|
|
10274
|
+
* @type {string || null}
|
|
10275
|
+
*/
|
|
10276
|
+
this.ReservedInstancesOfferingId = null;
|
|
10277
|
+
|
|
10278
|
+
/**
|
|
10279
|
+
* The availability zone in which the reserved instance can be purchased.
|
|
10280
|
+
* @type {string || null}
|
|
10281
|
+
*/
|
|
10282
|
+
this.Zone = null;
|
|
10283
|
+
|
|
10284
|
+
/**
|
|
10285
|
+
* The **validity** of the reserved instance in seconds, which is the purchased usage period. For example, `31536000`.
|
|
10286
|
+
Unit: second
|
|
10287
|
+
* @type {number || null}
|
|
10288
|
+
*/
|
|
10289
|
+
this.Duration = null;
|
|
10290
|
+
|
|
10291
|
+
/**
|
|
10292
|
+
* The operating system of the reserved instance, such as `Linux`.
|
|
10293
|
+
Valid value: `Linux`.
|
|
10294
|
+
* @type {string || null}
|
|
10295
|
+
*/
|
|
10296
|
+
this.ProductDescription = null;
|
|
10297
|
+
|
|
10298
|
+
/**
|
|
10299
|
+
* Discount price for subsequent total cost, in USD/hr.
|
|
10300
|
+
* @type {number || null}
|
|
10301
|
+
*/
|
|
10302
|
+
this.DiscountUsagePrice = null;
|
|
10303
|
+
|
|
10304
|
+
/**
|
|
10305
|
+
* Discount price for upfront total cost, in USD.
|
|
10306
|
+
* @type {number || null}
|
|
10307
|
+
*/
|
|
10308
|
+
this.DiscountFixedPrice = null;
|
|
10309
|
+
|
|
10310
|
+
}
|
|
10311
|
+
|
|
10312
|
+
/**
|
|
10313
|
+
* @private
|
|
10314
|
+
*/
|
|
10315
|
+
deserialize(params) {
|
|
10316
|
+
if (!params) {
|
|
10317
|
+
return;
|
|
10318
|
+
}
|
|
10319
|
+
this.OfferingType = 'OfferingType' in params ? params.OfferingType : null;
|
|
10320
|
+
this.FixedPrice = 'FixedPrice' in params ? params.FixedPrice : null;
|
|
10321
|
+
this.UsagePrice = 'UsagePrice' in params ? params.UsagePrice : null;
|
|
10322
|
+
this.ReservedInstancesOfferingId = 'ReservedInstancesOfferingId' in params ? params.ReservedInstancesOfferingId : null;
|
|
10323
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
10324
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
10325
|
+
this.ProductDescription = 'ProductDescription' in params ? params.ProductDescription : null;
|
|
10326
|
+
this.DiscountUsagePrice = 'DiscountUsagePrice' in params ? params.DiscountUsagePrice : null;
|
|
10327
|
+
this.DiscountFixedPrice = 'DiscountFixedPrice' in params ? params.DiscountFixedPrice : null;
|
|
10328
|
+
|
|
10329
|
+
}
|
|
10330
|
+
}
|
|
10331
|
+
|
|
10244
10332
|
/**
|
|
10245
10333
|
* ConfigureChcAssistVpc response structure.
|
|
10246
10334
|
* @class
|
|
@@ -10545,6 +10633,60 @@ class ModifyImageAttributeResponse extends AbstractModel {
|
|
|
10545
10633
|
}
|
|
10546
10634
|
}
|
|
10547
10635
|
|
|
10636
|
+
/**
|
|
10637
|
+
* InquiryPriceRenewInstances request structure.
|
|
10638
|
+
* @class
|
|
10639
|
+
*/
|
|
10640
|
+
class InquiryPriceRenewInstancesRequest extends AbstractModel {
|
|
10641
|
+
constructor(){
|
|
10642
|
+
super();
|
|
10643
|
+
|
|
10644
|
+
/**
|
|
10645
|
+
* 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://www.tencentcloud.comom/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
|
|
10646
|
+
* @type {Array.<string> || null}
|
|
10647
|
+
*/
|
|
10648
|
+
this.InstanceIds = null;
|
|
10649
|
+
|
|
10650
|
+
/**
|
|
10651
|
+
* Prepaid mode, that is, monthly subscription-related parameter settings. You can specify attributes of a monthly subscription instance, such as purchase duration and whether to set auto-renewal, through this parameter.
|
|
10652
|
+
* @type {InstanceChargePrepaid || null}
|
|
10653
|
+
*/
|
|
10654
|
+
this.InstanceChargePrepaid = null;
|
|
10655
|
+
|
|
10656
|
+
/**
|
|
10657
|
+
* Trial run, for testing purposes, does not execute specific logic. valid values: <li>`true`: skip execution logic</li> <li>`false`: execute logic</li> default value: `false`.
|
|
10658
|
+
* @type {boolean || null}
|
|
10659
|
+
*/
|
|
10660
|
+
this.DryRun = null;
|
|
10661
|
+
|
|
10662
|
+
/**
|
|
10663
|
+
* Whether to renew the elastic data disk. valid values:<br><li>true: indicates renewing the annual and monthly subscription instance and its mounted elastic data disk simultaneously</li><li>false: indicates renewing the annual and monthly subscription instance while no longer renewing its mounted elastic data disk</li><br>default value: true.
|
|
10664
|
+
* @type {boolean || null}
|
|
10665
|
+
*/
|
|
10666
|
+
this.RenewPortableDataDisk = null;
|
|
10667
|
+
|
|
10668
|
+
}
|
|
10669
|
+
|
|
10670
|
+
/**
|
|
10671
|
+
* @private
|
|
10672
|
+
*/
|
|
10673
|
+
deserialize(params) {
|
|
10674
|
+
if (!params) {
|
|
10675
|
+
return;
|
|
10676
|
+
}
|
|
10677
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
10678
|
+
|
|
10679
|
+
if (params.InstanceChargePrepaid) {
|
|
10680
|
+
let obj = new InstanceChargePrepaid();
|
|
10681
|
+
obj.deserialize(params.InstanceChargePrepaid)
|
|
10682
|
+
this.InstanceChargePrepaid = obj;
|
|
10683
|
+
}
|
|
10684
|
+
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
10685
|
+
this.RenewPortableDataDisk = 'RenewPortableDataDisk' in params ? params.RenewPortableDataDisk : null;
|
|
10686
|
+
|
|
10687
|
+
}
|
|
10688
|
+
}
|
|
10689
|
+
|
|
10548
10690
|
/**
|
|
10549
10691
|
* GPU information of the instance
|
|
10550
10692
|
* @class
|
|
@@ -11465,6 +11607,34 @@ class DescribeReservedInstancesOfferingsResponse extends AbstractModel {
|
|
|
11465
11607
|
}
|
|
11466
11608
|
}
|
|
11467
11609
|
|
|
11610
|
+
/**
|
|
11611
|
+
* RenewInstances response structure.
|
|
11612
|
+
* @class
|
|
11613
|
+
*/
|
|
11614
|
+
class RenewInstancesResponse extends AbstractModel {
|
|
11615
|
+
constructor(){
|
|
11616
|
+
super();
|
|
11617
|
+
|
|
11618
|
+
/**
|
|
11619
|
+
* 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.
|
|
11620
|
+
* @type {string || null}
|
|
11621
|
+
*/
|
|
11622
|
+
this.RequestId = null;
|
|
11623
|
+
|
|
11624
|
+
}
|
|
11625
|
+
|
|
11626
|
+
/**
|
|
11627
|
+
* @private
|
|
11628
|
+
*/
|
|
11629
|
+
deserialize(params) {
|
|
11630
|
+
if (!params) {
|
|
11631
|
+
return;
|
|
11632
|
+
}
|
|
11633
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11634
|
+
|
|
11635
|
+
}
|
|
11636
|
+
}
|
|
11637
|
+
|
|
11468
11638
|
/**
|
|
11469
11639
|
* DescribeLaunchTemplateVersions response structure.
|
|
11470
11640
|
* @class
|
|
@@ -12368,6 +12538,7 @@ module.exports = {
|
|
|
12368
12538
|
ChargePrepaid: ChargePrepaid,
|
|
12369
12539
|
LocalDiskType: LocalDiskType,
|
|
12370
12540
|
AssociateInstancesKeyPairsResponse: AssociateInstancesKeyPairsResponse,
|
|
12541
|
+
RenewInstancesRequest: RenewInstancesRequest,
|
|
12371
12542
|
DescribeImageQuotaResponse: DescribeImageQuotaResponse,
|
|
12372
12543
|
ModifyInstancesProjectRequest: ModifyInstancesProjectRequest,
|
|
12373
12544
|
ConfigureChcDeployVpcResponse: ConfigureChcDeployVpcResponse,
|
|
@@ -12498,7 +12669,7 @@ module.exports = {
|
|
|
12498
12669
|
CreateLaunchTemplateResponse: CreateLaunchTemplateResponse,
|
|
12499
12670
|
CreateKeyPairRequest: CreateKeyPairRequest,
|
|
12500
12671
|
InstanceStatus: InstanceStatus,
|
|
12501
|
-
|
|
12672
|
+
InquiryPriceRenewInstancesResponse: InquiryPriceRenewInstancesResponse,
|
|
12502
12673
|
AllocateHostsResponse: AllocateHostsResponse,
|
|
12503
12674
|
DescribeImageSharePermissionRequest: DescribeImageSharePermissionRequest,
|
|
12504
12675
|
DescribeInstancesAttributesRequest: DescribeInstancesAttributesRequest,
|
|
@@ -12537,6 +12708,7 @@ module.exports = {
|
|
|
12537
12708
|
DeleteImagesResponse: DeleteImagesResponse,
|
|
12538
12709
|
ImportImageResponse: ImportImageResponse,
|
|
12539
12710
|
ModifyDisasterRecoverGroupAttributeRequest: ModifyDisasterRecoverGroupAttributeRequest,
|
|
12711
|
+
ReservedInstancePriceItem: ReservedInstancePriceItem,
|
|
12540
12712
|
ConfigureChcAssistVpcResponse: ConfigureChcAssistVpcResponse,
|
|
12541
12713
|
RebootInstancesResponse: RebootInstancesResponse,
|
|
12542
12714
|
DescribeChcHostsRequest: DescribeChcHostsRequest,
|
|
@@ -12545,6 +12717,7 @@ module.exports = {
|
|
|
12545
12717
|
CreateLaunchTemplateVersionResponse: CreateLaunchTemplateVersionResponse,
|
|
12546
12718
|
OsVersion: OsVersion,
|
|
12547
12719
|
ModifyImageAttributeResponse: ModifyImageAttributeResponse,
|
|
12720
|
+
InquiryPriceRenewInstancesRequest: InquiryPriceRenewInstancesRequest,
|
|
12548
12721
|
GPUInfo: GPUInfo,
|
|
12549
12722
|
DisasterRecoverGroup: DisasterRecoverGroup,
|
|
12550
12723
|
RegionInfo: RegionInfo,
|
|
@@ -12564,6 +12737,7 @@ module.exports = {
|
|
|
12564
12737
|
SyncImage: SyncImage,
|
|
12565
12738
|
KeyPair: KeyPair,
|
|
12566
12739
|
DescribeReservedInstancesOfferingsResponse: DescribeReservedInstancesOfferingsResponse,
|
|
12740
|
+
RenewInstancesResponse: RenewInstancesResponse,
|
|
12567
12741
|
DescribeLaunchTemplateVersionsResponse: DescribeLaunchTemplateVersionsResponse,
|
|
12568
12742
|
RunAutomationServiceEnabled: RunAutomationServiceEnabled,
|
|
12569
12743
|
RunMonitorServiceEnabled: RunMonitorServiceEnabled,
|
|
@@ -364,6 +364,18 @@ class GetSdkVerificationResultResponse extends AbstractModel {
|
|
|
364
364
|
*/
|
|
365
365
|
this.Extra = null;
|
|
366
366
|
|
|
367
|
+
/**
|
|
368
|
+
* Describe the risk level of the device where the current request is located, with a total of 4 levels. The details are as follows:
|
|
369
|
+
1 - Secure
|
|
370
|
+
2 - Low Risk
|
|
371
|
+
3 - Medium Risk
|
|
372
|
+
4 - High Risk
|
|
373
|
+
Empty - Risk level not obtained.
|
|
374
|
+
Only returned for the ENHANCED version, with the default value being empty.
|
|
375
|
+
* @type {string || null}
|
|
376
|
+
*/
|
|
377
|
+
this.DeviceInfoLevel = null;
|
|
378
|
+
|
|
367
379
|
/**
|
|
368
380
|
* 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.
|
|
369
381
|
* @type {string || null}
|
|
@@ -401,6 +413,7 @@ class GetSdkVerificationResultResponse extends AbstractModel {
|
|
|
401
413
|
}
|
|
402
414
|
}
|
|
403
415
|
this.Extra = 'Extra' in params ? params.Extra : null;
|
|
416
|
+
this.DeviceInfoLevel = 'DeviceInfoLevel' in params ? params.DeviceInfoLevel : null;
|
|
404
417
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
405
418
|
|
|
406
419
|
}
|
|
@@ -789,7 +802,7 @@ class GetFaceIdTokenIntlRequest extends AbstractModel {
|
|
|
789
802
|
/**
|
|
790
803
|
* The detection mode. Valid values:
|
|
791
804
|
`liveness`: Liveness detection only.
|
|
792
|
-
`compare`: Selfie
|
|
805
|
+
`compare`: Selfie Verification(liveness detection and face comparison).
|
|
793
806
|
Default value: `liveness`.
|
|
794
807
|
* @type {string || null}
|
|
795
808
|
*/
|
|
@@ -833,6 +846,12 @@ The default value is blink. The different action types passed in this parameter
|
|
|
833
846
|
*/
|
|
834
847
|
this.ActionList = null;
|
|
835
848
|
|
|
849
|
+
/**
|
|
850
|
+
* ENHANCED: Enhanced Version, BASIC: Basic Version (Default)
|
|
851
|
+
* @type {string || null}
|
|
852
|
+
*/
|
|
853
|
+
this.SdkVersion = null;
|
|
854
|
+
|
|
836
855
|
}
|
|
837
856
|
|
|
838
857
|
/**
|
|
@@ -847,6 +866,7 @@ The default value is blink. The different action types passed in this parameter
|
|
|
847
866
|
this.Image = 'Image' in params ? params.Image : null;
|
|
848
867
|
this.Extra = 'Extra' in params ? params.Extra : null;
|
|
849
868
|
this.ActionList = 'ActionList' in params ? params.ActionList : null;
|
|
869
|
+
this.SdkVersion = 'SdkVersion' in params ? params.SdkVersion : null;
|
|
850
870
|
|
|
851
871
|
}
|
|
852
872
|
}
|
|
@@ -2133,6 +2153,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2133
2153
|
*/
|
|
2134
2154
|
this.Extra = null;
|
|
2135
2155
|
|
|
2156
|
+
/**
|
|
2157
|
+
* Describe the risk level of the device where the current request is located, with a total of 4 levels. The details are as follows:
|
|
2158
|
+
1 - Secure
|
|
2159
|
+
2 - Low Risk
|
|
2160
|
+
3 - Medium Risk
|
|
2161
|
+
4 - High Risk
|
|
2162
|
+
Empty - Risk level not obtained.
|
|
2163
|
+
Only returned for the ENHANCED version, with the default value being empty.
|
|
2164
|
+
* @type {string || null}
|
|
2165
|
+
*/
|
|
2166
|
+
this.DeviceInfoLevel = null;
|
|
2167
|
+
|
|
2136
2168
|
/**
|
|
2137
2169
|
* 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.
|
|
2138
2170
|
* @type {string || null}
|
|
@@ -2155,6 +2187,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2155
2187
|
this.ActionVideo = 'ActionVideo' in params ? params.ActionVideo : null;
|
|
2156
2188
|
this.Similarity = 'Similarity' in params ? params.Similarity : null;
|
|
2157
2189
|
this.Extra = 'Extra' in params ? params.Extra : null;
|
|
2190
|
+
this.DeviceInfoLevel = 'DeviceInfoLevel' in params ? params.DeviceInfoLevel : null;
|
|
2158
2191
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2159
2192
|
|
|
2160
2193
|
}
|
|
@@ -2190,28 +2223,20 @@ Default value: 4
|
|
|
2190
2223
|
this.SecurityLevel = null;
|
|
2191
2224
|
|
|
2192
2225
|
/**
|
|
2193
|
-
*
|
|
2194
|
-
1.
|
|
2195
|
-
2.
|
|
2196
|
-
3.
|
|
2197
|
-
4.
|
|
2198
|
-
5.
|
|
2199
|
-
6.
|
|
2200
|
-
7.
|
|
2201
|
-
8.
|
|
2202
|
-
9.
|
|
2203
|
-
10
|
|
2204
|
-
11.
|
|
2205
|
-
12.
|
|
2206
|
-
13.
|
|
2207
|
-
14.JapanIDCard: Japan ID Card
|
|
2208
|
-
15.MLDrivingLicense: Malaysian Driving License
|
|
2209
|
-
16.IndonesiaDrivingLicense: Indonesia Driving License
|
|
2210
|
-
17.ThailandDrivingLicense: Thailand Driving License
|
|
2211
|
-
18.SingaporeDrivingLicense: Singapore Driving License
|
|
2212
|
-
19.JapanDrivingLicense: Japan Driving License
|
|
2213
|
-
20.TaiWanIDCard:Taiwan ID Card
|
|
2214
|
-
21.HMTPermit: exit/entry permit (card) for traveling to and from Hong Kong, Macao, or Taiwan
|
|
2226
|
+
* Card Types Supported for Authentication: Currently supported types are as follows:
|
|
2227
|
+
1.HK (Default): Hong Kong (China) Identity Card
|
|
2228
|
+
2.ML: Malaysia Identity Card
|
|
2229
|
+
3.IndonesiaIDCard: Indonesia Identity Card
|
|
2230
|
+
4.PhilippinesVoteID: Philippines Voter ID
|
|
2231
|
+
5.PhilippinesDrivingLicense: Philippines Driving License
|
|
2232
|
+
6.PhilippinesTinID: Philippines Tin ID
|
|
2233
|
+
7.PhilippinesSSSID: Philippines SSS ID
|
|
2234
|
+
8.PhilippinesUMID: Philippines UMID
|
|
2235
|
+
9.MLIDPassport: Passports of Hong Kong, Macao, Taiwan Regions (China) and Foreign Countries
|
|
2236
|
+
10.ThailandIDCard: Thailand Identity Card
|
|
2237
|
+
11.MainlandIDCard: Mainland China Identity Card
|
|
2238
|
+
12.SingaporeIDCard: Singapore Identity Card
|
|
2239
|
+
13.HMTPermit: Exit-Entry Permit for Travel to and from Hong Kong, Macao and Taiwan (China)
|
|
2215
2240
|
* @type {string || null}
|
|
2216
2241
|
*/
|
|
2217
2242
|
this.IdCardType = null;
|
|
@@ -2247,6 +2272,12 @@ This feature applies only to Hong Kong (China) identity cards, Malaysian identit
|
|
|
2247
2272
|
*/
|
|
2248
2273
|
this.Extra = null;
|
|
2249
2274
|
|
|
2275
|
+
/**
|
|
2276
|
+
* ENHANCED: Enhanced Version, BASIC: Basic Version (Default)
|
|
2277
|
+
* @type {string || null}
|
|
2278
|
+
*/
|
|
2279
|
+
this.SdkVersion = null;
|
|
2280
|
+
|
|
2250
2281
|
/**
|
|
2251
2282
|
* This interface is used to control th action sequences.
|
|
2252
2283
|
Action types are as follows:
|
|
@@ -2279,6 +2310,7 @@ The default value is blink. The different action types passed in this parameter
|
|
|
2279
2310
|
this.DisableChangeOcrResult = 'DisableChangeOcrResult' in params ? params.DisableChangeOcrResult : null;
|
|
2280
2311
|
this.DisableCheckOcrWarnings = 'DisableCheckOcrWarnings' in params ? params.DisableCheckOcrWarnings : null;
|
|
2281
2312
|
this.Extra = 'Extra' in params ? params.Extra : null;
|
|
2313
|
+
this.SdkVersion = 'SdkVersion' in params ? params.SdkVersion : null;
|
|
2282
2314
|
this.ActionList = 'ActionList' in params ? params.ActionList : null;
|
|
2283
2315
|
|
|
2284
2316
|
}
|