tencentcloud-sdk-nodejs-intl-en 3.0.1290 → 3.0.1291

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.
@@ -0,0 +1,167 @@
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 ModifyLibraryResponse = models.ModifyLibraryResponse;
20
+ const DescribeLibrariesResponse = models.DescribeLibrariesResponse;
21
+ const SendSmsCodeResponse = models.SendSmsCodeResponse;
22
+ const Instance = models.Instance;
23
+ const TrafficPackage = models.TrafficPackage;
24
+ const DeleteLibraryRequest = models.DeleteLibraryRequest;
25
+ const DescribeTrafficPackagesRequest = models.DescribeTrafficPackagesRequest;
26
+ const DescribeTrafficPackagesResponse = models.DescribeTrafficPackagesResponse;
27
+ const DescribeLibrarySecretRequest = models.DescribeLibrarySecretRequest;
28
+ const DescribeLibrarySecretResponse = models.DescribeLibrarySecretResponse;
29
+ const SendSmsCodeRequest = models.SendSmsCodeRequest;
30
+ const DescribeOfficialInstancesRequest = models.DescribeOfficialInstancesRequest;
31
+ const DescribeLibrariesRequest = models.DescribeLibrariesRequest;
32
+ const LibraryExtension = models.LibraryExtension;
33
+ const VerifySmsCodeResponse = models.VerifySmsCodeResponse;
34
+ const ModifyLibraryRequest = models.ModifyLibraryRequest;
35
+ const DescribeOfficialOverviewRequest = models.DescribeOfficialOverviewRequest;
36
+ const DeleteLibraryResponse = models.DeleteLibraryResponse;
37
+ const DescribeOfficialInstancesResponse = models.DescribeOfficialInstancesResponse;
38
+ const VerifySmsCodeRequest = models.VerifySmsCodeRequest;
39
+ const CreateLibraryResponse = models.CreateLibraryResponse;
40
+ const Library = models.Library;
41
+ const CreateLibraryRequest = models.CreateLibraryRequest;
42
+ const DescribeOfficialOverviewResponse = models.DescribeOfficialOverviewResponse;
43
+
44
+
45
+ /**
46
+ * smh client
47
+ * @class
48
+ */
49
+ class SmhClient extends AbstractClient {
50
+
51
+ constructor(credential, region, profile) {
52
+ super("smh.intl.tencentcloudapi.com", "2021-07-12", credential, region, profile);
53
+ }
54
+
55
+ /**
56
+ * This API is used to query official cloud disk instances.
57
+ * @param {DescribeOfficialInstancesRequest} req
58
+ * @param {function(string, DescribeOfficialInstancesResponse):void} cb
59
+ * @public
60
+ */
61
+ DescribeOfficialInstances(req, cb) {
62
+ let resp = new DescribeOfficialInstancesResponse();
63
+ this.request("DescribeOfficialInstances", req, resp, cb);
64
+ }
65
+
66
+ /**
67
+ * This API is used to create a PaaS service media library.
68
+ * @param {CreateLibraryRequest} req
69
+ * @param {function(string, CreateLibraryResponse):void} cb
70
+ * @public
71
+ */
72
+ CreateLibrary(req, cb) {
73
+ let resp = new CreateLibraryResponse();
74
+ this.request("CreateLibrary", req, resp, cb);
75
+ }
76
+
77
+ /**
78
+ * This API is used to send SMS verification codes for changing the admin account of a super official cloud disk instance.
79
+ * @param {SendSmsCodeRequest} req
80
+ * @param {function(string, SendSmsCodeResponse):void} cb
81
+ * @public
82
+ */
83
+ SendSmsCode(req, cb) {
84
+ let resp = new SendSmsCodeResponse();
85
+ this.request("SendSmsCode", req, resp, cb);
86
+ }
87
+
88
+ /**
89
+ * This API is used to verify the SMS verification code for rebinding the super administrator account of an official cloud disk instance.
90
+ * @param {VerifySmsCodeRequest} req
91
+ * @param {function(string, VerifySmsCodeResponse):void} cb
92
+ * @public
93
+ */
94
+ VerifySmsCode(req, cb) {
95
+ let resp = new VerifySmsCodeResponse();
96
+ this.request("VerifySmsCode", req, resp, cb);
97
+ }
98
+
99
+ /**
100
+ * This API is used to query the PaaS service repository list.
101
+ * @param {DescribeLibrariesRequest} req
102
+ * @param {function(string, DescribeLibrariesResponse):void} cb
103
+ * @public
104
+ */
105
+ DescribeLibraries(req, cb) {
106
+ let resp = new DescribeLibrariesResponse();
107
+ this.request("DescribeLibraries", req, resp, cb);
108
+ }
109
+
110
+ /**
111
+ * This API is used to modify the configuration items of a PaaS service media library.
112
+ * @param {ModifyLibraryRequest} req
113
+ * @param {function(string, ModifyLibraryResponse):void} cb
114
+ * @public
115
+ */
116
+ ModifyLibrary(req, cb) {
117
+ let resp = new ModifyLibraryResponse();
118
+ this.request("ModifyLibrary", req, resp, cb);
119
+ }
120
+
121
+ /**
122
+ * This API is used to query overview data of official cloud disk instances.
123
+ * @param {DescribeOfficialOverviewRequest} req
124
+ * @param {function(string, DescribeOfficialOverviewResponse):void} cb
125
+ * @public
126
+ */
127
+ DescribeOfficialOverview(req, cb) {
128
+ let resp = new DescribeOfficialOverviewResponse();
129
+ this.request("DescribeOfficialOverview", req, resp, cb);
130
+ }
131
+
132
+ /**
133
+ * This API is used to query traffic packages.
134
+ * @param {DescribeTrafficPackagesRequest} req
135
+ * @param {function(string, DescribeTrafficPackagesResponse):void} cb
136
+ * @public
137
+ */
138
+ DescribeTrafficPackages(req, cb) {
139
+ let resp = new DescribeTrafficPackagesResponse();
140
+ this.request("DescribeTrafficPackages", req, resp, cb);
141
+ }
142
+
143
+ /**
144
+ * This API is used to delete a PaaS service media library.
145
+ * @param {DeleteLibraryRequest} req
146
+ * @param {function(string, DeleteLibraryResponse):void} cb
147
+ * @public
148
+ */
149
+ DeleteLibrary(req, cb) {
150
+ let resp = new DeleteLibraryResponse();
151
+ this.request("DeleteLibrary", req, resp, cb);
152
+ }
153
+
154
+ /**
155
+ * This API is used to query the PaaS service Media Library Key.
156
+ * @param {DescribeLibrarySecretRequest} req
157
+ * @param {function(string, DescribeLibrarySecretResponse):void} cb
158
+ * @public
159
+ */
160
+ DescribeLibrarySecret(req, cb) {
161
+ let resp = new DescribeLibrarySecretResponse();
162
+ this.request("DescribeLibrarySecret", req, resp, cb);
163
+ }
164
+
165
+
166
+ }
167
+ module.exports = SmhClient;
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210111: require("./v20210111"), v20190711: require("./v20190711"),
2
+ v20190711: require("./v20190711"), v20210111: require("./v20210111"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20201221: require("./v20201221"), v20210701: require("./v20210701"),
2
+ v20210701: require("./v20210701"), v20201221: require("./v20201221"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20180525: require("./v20180525"), v20220501: require("./v20220501"),
2
+ v20220501: require("./v20220501"), v20180525: require("./v20180525"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20180717: require("./v20180717"), v20240718: require("./v20240718"),
2
+ v20240718: require("./v20240718"), v20180717: require("./v20180717"),
3
3
  };
@@ -20410,7 +20410,7 @@ class ItemPrice extends AbstractModel {
20410
20410
  super();
20411
20411
 
20412
20412
  /**
20413
- * The pay-as-you-go billing method. Unit: CNY.
20413
+ * The pay-as-you-go billing method. Unit: USD.
20414
20414
  * @type {number || null}
20415
20415
  */
20416
20416
  this.UnitPrice = null;
@@ -20422,13 +20422,13 @@ class ItemPrice extends AbstractModel {
20422
20422
  this.ChargeUnit = null;
20423
20423
 
20424
20424
  /**
20425
- * Original price of the prepaid product. Unit: CNY.
20425
+ * Original price of the prepaid product. Unit: USD.
20426
20426
  * @type {number || null}
20427
20427
  */
20428
20428
  this.OriginalPrice = null;
20429
20429
 
20430
20430
  /**
20431
- * Discount price of the prepaid product. Unit: CNY.
20431
+ * Discount price of the prepaid product. Unit: USD.
20432
20432
  * @type {number || null}
20433
20433
  */
20434
20434
  this.DiscountPrice = null;
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210820: require("./v20210820"), v20250806: require("./v20250806"),
2
+ v20250806: require("./v20250806"), v20210820: require("./v20210820"),
3
3
  };