tencentcloud-sdk-nodejs-intl-en 3.0.1437 → 3.0.1439
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/as/v20180419/models.js +5 -5
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/ga2/index.js +3 -0
- package/tencentcloud/ga2/v20250115/ga2_client.js +46 -0
- package/tencentcloud/ga2/v20250115/index.js +4 -0
- package/tencentcloud/ga2/v20250115/models.js +86 -0
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/ocr/v20181119/models.js +460 -196
- package/tencentcloud/ocr/v20181119/ocr_client.js +19 -2
- package/tencentcloud/rce/v20260130/models.js +3846 -202
- package/tencentcloud/rce/v20260130/rce_client.js +65 -8
- package/tencentcloud/tcsas/v20250106/models.js +1809 -360
- package/tencentcloud/tcsas/v20250106/tcsas_client.js +83 -20
- package/tencentcloud/teo/v20220901/models.js +7 -7
- package/tencentcloud/trtc/v20190722/models.js +49 -6
- package/tencentcloud/trtc/v20190722/trtc_client.js +1 -0
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
|
|
|
65
65
|
this.ImageId = null;
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* <p>Types of CVM instances. Different instance models specify different resource specifications, and a maximum of 10 instance models are supported.<br>InstanceType specifies a single instance type. By setting InstanceTypes, you can specify multiple instance types and invalidate the original InstanceType. Specific values can be obtained by calling the API <a href="https://www.tencentcloud.com/document/
|
|
68
|
+
* <p>Types of CVM instances. Different instance models specify different resource specifications, and a maximum of 10 instance models are supported.<br>InstanceType specifies a single instance type. By setting InstanceTypes, you can specify multiple instance types and invalidate the original InstanceType. Specific values can be obtained by calling the API <a href="https://www.tencentcloud.com/document/product/213/33254">DescribeZoneInstanceConfigInfos</a> to obtain the latest specification table or see <a href="https://www.tencentcloud.com/document/product/213/11518?from_cn_redirect=1">Instance Specifications</a>.</p>
|
|
69
69
|
* @type {Array.<string> || null}
|
|
70
70
|
*/
|
|
71
71
|
this.InstanceTypes = null;
|
|
@@ -161,7 +161,7 @@ class ModifyLaunchConfigurationAttributesRequest extends AbstractModel {
|
|
|
161
161
|
this.CamRoleName = null;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
* <p>Hyper Computing Cluster ID.
|
|
164
|
+
* <p>Hyper Computing Cluster ID. This parameter is currently not supported on the international site.</p>
|
|
165
165
|
* @type {string || null}
|
|
166
166
|
*/
|
|
167
167
|
this.HpcClusterId = null;
|
|
@@ -3087,7 +3087,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
|
|
|
3087
3087
|
this.ProjectId = null;
|
|
3088
3088
|
|
|
3089
3089
|
/**
|
|
3090
|
-
* <p>Instance model. Different instance models specify different resource specifications. The specific values can be obtained by calling the <a href="https://www.tencentcloud.com/document/
|
|
3090
|
+
* <p>Instance model. Different instance models specify different resource specifications. The specific values can be obtained by calling the <a href="https://www.tencentcloud.com/document/product/213/33254">DescribeZoneInstanceConfigInfos</a> API to get the latest specification table or refer to the <a href="https://www.tencentcloud.com/document/product/213/11518?from_cn_redirect=1">instance type</a> description.<br>The <code>InstanceType</code> and <code>InstanceTypes</code> parameters are mutually exclusive, and one and only one must be filled in.</p>
|
|
3091
3091
|
* @type {string || null}
|
|
3092
3092
|
*/
|
|
3093
3093
|
this.InstanceType = null;
|
|
@@ -3147,7 +3147,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
|
|
|
3147
3147
|
this.InstanceMarketOptions = null;
|
|
3148
3148
|
|
|
3149
3149
|
/**
|
|
3150
|
-
* <p>Instance model list. Different instance models specify different resource specifications, and a maximum of 10 instance models are supported.<br>The <code>InstanceType</code> and <code>InstanceTypes</code> parameters are mutually exclusive. One and only one of them must be filled in. To obtain the specific values, call the API <a href="https://www.tencentcloud.com/document/
|
|
3150
|
+
* <p>Instance model list. Different instance models specify different resource specifications, and a maximum of 10 instance models are supported.<br>The <code>InstanceType</code> and <code>InstanceTypes</code> parameters are mutually exclusive. One and only one of them must be filled in. To obtain the specific values, call the API <a href="https://www.tencentcloud.com/document/product/213/33254">DescribeZoneInstanceConfigInfos</a> to get the latest specification table or see <a href="https://www.tencentcloud.com/document/product/213/11518?from_cn_redirect=1">Instance Specifications</a>.</p>
|
|
3151
3151
|
* @type {Array.<string> || null}
|
|
3152
3152
|
*/
|
|
3153
3153
|
this.InstanceTypes = null;
|
|
@@ -3201,7 +3201,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
|
|
|
3201
3201
|
this.DiskTypePolicy = null;
|
|
3202
3202
|
|
|
3203
3203
|
/**
|
|
3204
|
-
* <p>Hyper Computing Cluster ID.
|
|
3204
|
+
* <p>Hyper Computing Cluster ID. This parameter is currently not supported on the international site.</p>
|
|
3205
3205
|
* @type {string || null}
|
|
3206
3206
|
*/
|
|
3207
3207
|
this.HpcClusterId = null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1439";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const DescribeTaskResultRequest = models.DescribeTaskResultRequest;
|
|
20
|
+
const DescribeTaskResultResponse = models.DescribeTaskResultResponse;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* ga2 client
|
|
25
|
+
* @class
|
|
26
|
+
*/
|
|
27
|
+
class Ga2Client extends AbstractClient {
|
|
28
|
+
|
|
29
|
+
constructor(credential, region, profile) {
|
|
30
|
+
super("ga2.intl.tencentcloudapi.com", "2025-01-15", credential, region, profile);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Query asynchronous task result
|
|
35
|
+
* @param {DescribeTaskResultRequest} req
|
|
36
|
+
* @param {function(string, DescribeTaskResultResponse):void} cb
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
DescribeTaskResult(req, cb) {
|
|
40
|
+
let resp = new DescribeTaskResultResponse();
|
|
41
|
+
this.request("DescribeTaskResult", req, resp, cb);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
module.exports = Ga2Client;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const AbstractModel = require("../../common/abstract_model");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* DescribeTaskResult request structure.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class DescribeTaskResultRequest extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Asynchronous task ID.
|
|
29
|
+
* @type {string || null}
|
|
30
|
+
*/
|
|
31
|
+
this.TaskId = null;
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @private
|
|
37
|
+
*/
|
|
38
|
+
deserialize(params) {
|
|
39
|
+
if (!params) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* DescribeTaskResult response structure.
|
|
49
|
+
* @class
|
|
50
|
+
*/
|
|
51
|
+
class DescribeTaskResultResponse extends AbstractModel {
|
|
52
|
+
constructor(){
|
|
53
|
+
super();
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Task status.
|
|
57
|
+
* @type {string || null}
|
|
58
|
+
*/
|
|
59
|
+
this.Status = null;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
63
|
+
* @type {string || null}
|
|
64
|
+
*/
|
|
65
|
+
this.RequestId = null;
|
|
66
|
+
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @private
|
|
71
|
+
*/
|
|
72
|
+
deserialize(params) {
|
|
73
|
+
if (!params) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
77
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
module.exports = {
|
|
83
|
+
DescribeTaskResultRequest: DescribeTaskResultRequest,
|
|
84
|
+
DescribeTaskResultResponse: DescribeTaskResultResponse,
|
|
85
|
+
|
|
86
|
+
}
|