tencentcloud-sdk-nodejs-intl-en 3.0.1183 → 3.0.1185

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1183",
3
+ "version": "3.0.1185",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,58 +16,77 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
+ const CreateAllocationUnitRequest = models.CreateAllocationUnitRequest;
19
20
  const DeleteAllocationTagRequest = models.DeleteAllocationTagRequest;
20
21
  const DescribeCostSummaryByProductRequest = models.DescribeCostSummaryByProductRequest;
21
22
  const DescribeCostExplorerSummaryResponse = models.DescribeCostExplorerSummaryResponse;
22
23
  const ConsumptionBusinessSummaryDataItem = models.ConsumptionBusinessSummaryDataItem;
24
+ const ModifyAllocationRuleRequest = models.ModifyAllocationRuleRequest;
25
+ const DeleteAllocationRuleRequest = models.DeleteAllocationRuleRequest;
26
+ const CreateAllocationRuleResponse = models.CreateAllocationRuleResponse;
23
27
  const BillTagInfo = models.BillTagInfo;
24
28
  const ConditionBusiness = models.ConditionBusiness;
25
29
  const AnalyseActionTypeDetail = models.AnalyseActionTypeDetail;
26
30
  const DescribeCostExplorerSummaryRequest = models.DescribeCostExplorerSummaryRequest;
27
31
  const DescribeCostSummaryByProductResponse = models.DescribeCostSummaryByProductResponse;
28
- const ProductInfo = models.ProductInfo;
32
+ const DescribeAllocationTreeResponse = models.DescribeAllocationTreeResponse;
29
33
  const DeleteAllocationTagResponse = models.DeleteAllocationTagResponse;
34
+ const AllocationTree = models.AllocationTree;
30
35
  const DescribeBillDetailForOrganizationResponse = models.DescribeBillDetailForOrganizationResponse;
31
36
  const BillDetailComponentConfig = models.BillDetailComponentConfig;
32
37
  const DescribeCostSummaryByResourceResponse = models.DescribeCostSummaryByResourceResponse;
33
38
  const DescribeBillSummaryByRegionRequest = models.DescribeBillSummaryByRegionRequest;
34
39
  const AdjustInfoDetail = models.AdjustInfoDetail;
40
+ const CreateAllocationRuleRequest = models.CreateAllocationRuleRequest;
35
41
  const ConsumptionRegionSummaryDataItem = models.ConsumptionRegionSummaryDataItem;
36
42
  const BusinessSummaryInfo = models.BusinessSummaryInfo;
37
43
  const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
38
44
  const DescribeBillResourceSummaryResponse = models.DescribeBillResourceSummaryResponse;
45
+ const DescribeGatherRuleDetailRequest = models.DescribeGatherRuleDetailRequest;
39
46
  const DistributionBillDetail = models.DistributionBillDetail;
40
47
  const DescribeDosageCosDetailByDateRequest = models.DescribeDosageCosDetailByDateRequest;
41
48
  const DescribeBillAdjustInfoResponse = models.DescribeBillAdjustInfoResponse;
42
- const BillDistributionResourceSummary = models.BillDistributionResourceSummary;
49
+ const DescribeAllocationRuleDetailRequest = models.DescribeAllocationRuleDetailRequest;
43
50
  const DescribeAllocationUnitDetailResponse = models.DescribeAllocationUnitDetailResponse;
44
51
  const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
52
+ const AllocationUnit = models.AllocationUnit;
53
+ const AllocationRationExpression = models.AllocationRationExpression;
45
54
  const DescribeVoucherUsageDetailsResponse = models.DescribeVoucherUsageDetailsResponse;
46
55
  const ConsumptionSummaryTotal = models.ConsumptionSummaryTotal;
56
+ const BillDistributionResourceSummary = models.BillDistributionResourceSummary;
47
57
  const DescribeCostDetailResponse = models.DescribeCostDetailResponse;
48
58
  const VoucherInfos = models.VoucherInfos;
49
59
  const DescribeCostSummaryByProjectResponse = models.DescribeCostSummaryByProjectResponse;
50
60
  const AnalyseProjectDetail = models.AnalyseProjectDetail;
61
+ const ProjectSummaryOverviewItem = models.ProjectSummaryOverviewItem;
51
62
  const DescribeBillSummaryByTagResponse = models.DescribeBillSummaryByTagResponse;
63
+ const ModifyGatherRuleRequest = models.ModifyGatherRuleRequest;
52
64
  const DescribeBillSummaryByPayModeResponse = models.DescribeBillSummaryByPayModeResponse;
53
65
  const DescribeBillSummaryByTagRequest = models.DescribeBillSummaryByTagRequest;
54
66
  const AnalyseDetail = models.AnalyseDetail;
55
- const SummaryDetail = models.SummaryDetail;
67
+ const DeleteGatherRuleRequest = models.DeleteGatherRuleRequest;
68
+ const DescribeAllocationRuleSummaryResponse = models.DescribeAllocationRuleSummaryResponse;
56
69
  const AnalyseAmountDetail = models.AnalyseAmountDetail;
70
+ const ModifyGatherRuleResponse = models.ModifyGatherRuleResponse;
71
+ const CreateGatherRuleRequest = models.CreateGatherRuleRequest;
57
72
  const DescribeBillResourceSummaryForOrganizationRequest = models.DescribeBillResourceSummaryForOrganizationRequest;
58
73
  const DescribeCostSummaryByRegionRequest = models.DescribeCostSummaryByRegionRequest;
59
74
  const ConsumptionSummaryTrend = models.ConsumptionSummaryTrend;
60
75
  const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
61
76
  const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
77
+ const DeleteGatherRuleResponse = models.DeleteGatherRuleResponse;
62
78
  const ApplicableProducts = models.ApplicableProducts;
63
- const DescribeBillSummaryByProjectRequest = models.DescribeBillSummaryByProjectRequest;
79
+ const ConditionPayMode = models.ConditionPayMode;
80
+ const DescribeCostSummaryByProjectRequest = models.DescribeCostSummaryByProjectRequest;
81
+ const BillDetailAssociatedOrder = models.BillDetailAssociatedOrder;
64
82
  const BillDetail = models.BillDetail;
65
83
  const DescribeBillDetailResponse = models.DescribeBillDetailResponse;
66
84
  const Deal = models.Deal;
67
85
  const DescribeDealsByCondResponse = models.DescribeDealsByCondResponse;
68
- const ConditionPayMode = models.ConditionPayMode;
86
+ const DescribeBillSummaryByProjectRequest = models.DescribeBillSummaryByProjectRequest;
69
87
  const DescribeBillSummaryByProjectResponse = models.DescribeBillSummaryByProjectResponse;
70
88
  const DescribeBillAdjustInfoRequest = models.DescribeBillAdjustInfoRequest;
89
+ const DeleteAllocationRuleResponse = models.DeleteAllocationRuleResponse;
71
90
  const TagDataInfo = models.TagDataInfo;
72
91
  const SummaryTotal = models.SummaryTotal;
73
92
  const BusinessSummaryTotal = models.BusinessSummaryTotal;
@@ -81,6 +100,7 @@ const AnalyseTimeDetail = models.AnalyseTimeDetail;
81
100
  const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
82
101
  const ConsumptionProjectSummaryDataItem = models.ConsumptionProjectSummaryDataItem;
83
102
  const AnalyseRegionDetail = models.AnalyseRegionDetail;
103
+ const ProductInfo = models.ProductInfo;
84
104
  const DescribeAllocationUnitDetailRequest = models.DescribeAllocationUnitDetailRequest;
85
105
  const DescribeBillSummaryForOrganizationRequest = models.DescribeBillSummaryForOrganizationRequest;
86
106
  const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
@@ -91,14 +111,17 @@ const BillDetailComponent = models.BillDetailComponent;
91
111
  const ConditionRegion = models.ConditionRegion;
92
112
  const TagSummaryOverviewItem = models.TagSummaryOverviewItem;
93
113
  const ConsumptionResourceSummaryConditionValue = models.ConsumptionResourceSummaryConditionValue;
114
+ const DescribeCostSummaryByRegionResponse = models.DescribeCostSummaryByRegionResponse;
94
115
  const DescribeCostDetailRequest = models.DescribeCostDetailRequest;
116
+ const GatherRuleSummary = models.GatherRuleSummary;
95
117
  const DescribeTagListRequest = models.DescribeTagListRequest;
96
118
  const DescribeBillResourceSummaryForOrganizationResponse = models.DescribeBillResourceSummaryForOrganizationResponse;
97
- const DescribeCostSummaryByProjectRequest = models.DescribeCostSummaryByProjectRequest;
119
+ const DescribeAllocationTreeRequest = models.DescribeAllocationTreeRequest;
98
120
  const DescribeCostSummaryByResourceRequest = models.DescribeCostSummaryByResourceRequest;
99
121
  const CreateAllocationTagRequest = models.CreateAllocationTagRequest;
100
122
  const ExcludedProducts = models.ExcludedProducts;
101
123
  const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
124
+ const DescribeAllocationRuleDetailResponse = models.DescribeAllocationRuleDetailResponse;
102
125
  const UsageDetails = models.UsageDetails;
103
126
  const AnalyseBusinessDetail = models.AnalyseBusinessDetail;
104
127
  const AnalyseConditions = models.AnalyseConditions;
@@ -106,28 +129,38 @@ const CostDetail = models.CostDetail;
106
129
  const DescribeBillSummaryByProductResponse = models.DescribeBillSummaryByProductResponse;
107
130
  const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
108
131
  const CreateAllocationTagResponse = models.CreateAllocationTagResponse;
132
+ const ModifyAllocationUnitRequest = models.ModifyAllocationUnitRequest;
109
133
  const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
110
134
  const ConsumptionResourceSummaryDataItem = models.ConsumptionResourceSummaryDataItem;
111
135
  const DescribeAccountBalanceRequest = models.DescribeAccountBalanceRequest;
112
136
  const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
113
137
  const AnalyseZoneDetail = models.AnalyseZoneDetail;
114
138
  const DescribeVoucherInfoResponse = models.DescribeVoucherInfoResponse;
115
- const BillDetailAssociatedOrder = models.BillDetailAssociatedOrder;
139
+ const AllocationRulesSummary = models.AllocationRulesSummary;
140
+ const SummaryDetail = models.SummaryDetail;
116
141
  const DescribeAccountBalanceResponse = models.DescribeAccountBalanceResponse;
117
142
  const BusinessSummaryOverviewItem = models.BusinessSummaryOverviewItem;
143
+ const CreateGatherRuleResponse = models.CreateGatherRuleResponse;
118
144
  const UsageRecords = models.UsageRecords;
145
+ const ModifyAllocationRuleResponse = models.ModifyAllocationRuleResponse;
119
146
  const DescribeVoucherInfoRequest = models.DescribeVoucherInfoRequest;
120
147
  const DescribeDealsByCondRequest = models.DescribeDealsByCondRequest;
148
+ const CreateAllocationUnitResponse = models.CreateAllocationUnitResponse;
121
149
  const DescribeDosageCosDetailByDateResponse = models.DescribeDosageCosDetailByDateResponse;
122
- const ProjectSummaryOverviewItem = models.ProjectSummaryOverviewItem;
150
+ const AnalyseHeaderTimeDetail = models.AnalyseHeaderTimeDetail;
151
+ const AllocationRuleExpression = models.AllocationRuleExpression;
123
152
  const DescribeBillSummaryForOrganizationResponse = models.DescribeBillSummaryForOrganizationResponse;
153
+ const DeleteAllocationUnitResponse = models.DeleteAllocationUnitResponse;
124
154
  const ConditionProject = models.ConditionProject;
125
155
  const DescribeTagListResponse = models.DescribeTagListResponse;
126
156
  const CosDetailSets = models.CosDetailSets;
157
+ const DescribeAllocationRuleSummaryRequest = models.DescribeAllocationRuleSummaryRequest;
158
+ const ModifyAllocationUnitResponse = models.ModifyAllocationUnitResponse;
127
159
  const AnalyseConditionDetail = models.AnalyseConditionDetail;
128
160
  const BillResourceSummary = models.BillResourceSummary;
129
- const AnalyseHeaderTimeDetail = models.AnalyseHeaderTimeDetail;
130
- const DescribeCostSummaryByRegionResponse = models.DescribeCostSummaryByRegionResponse;
161
+ const DeleteAllocationUnitRequest = models.DeleteAllocationUnitRequest;
162
+ const DescribeGatherRuleDetailResponse = models.DescribeGatherRuleDetailResponse;
163
+ const AllocationRuleOverview = models.AllocationRuleOverview;
131
164
 
132
165
 
133
166
  /**
@@ -140,6 +173,17 @@ class BillingClient extends AbstractClient {
140
173
  super("billing.intl.tencentcloudapi.com", "2018-07-09", credential, region, profile);
141
174
  }
142
175
 
176
+ /**
177
+ * Delete a collection rule.
178
+ * @param {DeleteGatherRuleRequest} req
179
+ * @param {function(string, DeleteGatherRuleResponse):void} cb
180
+ * @public
181
+ */
182
+ DeleteGatherRule(req, cb) {
183
+ let resp = new DeleteGatherRuleResponse();
184
+ this.request("DeleteGatherRule", req, resp, cb);
185
+ }
186
+
143
187
  /**
144
188
  * This API is used to obtain consumption details summarized by resource.
145
189
  * @param {DescribeCostSummaryByResourceRequest} req
@@ -162,6 +206,17 @@ class BillingClient extends AbstractClient {
162
206
  this.request("DescribeCostSummaryByRegion", req, resp, cb);
163
207
  }
164
208
 
209
+ /**
210
+ * This API is used to query all sharing rule overviews.
211
+ * @param {DescribeAllocationRuleSummaryRequest} req
212
+ * @param {function(string, DescribeAllocationRuleSummaryResponse):void} cb
213
+ * @public
214
+ */
215
+ DescribeAllocationRuleSummary(req, cb) {
216
+ let resp = new DescribeAllocationRuleSummaryResponse();
217
+ this.request("DescribeAllocationRuleSummary", req, resp, cb);
218
+ }
219
+
165
220
  /**
166
221
  * This API is used to get the bill summarized by instance.
167
222
  * @param {DescribeBillResourceSummaryRequest} req
@@ -173,6 +228,28 @@ class BillingClient extends AbstractClient {
173
228
  this.request("DescribeBillResourceSummary", req, resp, cb);
174
229
  }
175
230
 
231
+ /**
232
+ * Delete a cost allocation unit.
233
+ * @param {DeleteAllocationUnitRequest} req
234
+ * @param {function(string, DeleteAllocationUnitResponse):void} cb
235
+ * @public
236
+ */
237
+ DeleteAllocationUnit(req, cb) {
238
+ let resp = new DeleteAllocationUnitResponse();
239
+ this.request("DeleteAllocationUnit", req, resp, cb);
240
+ }
241
+
242
+ /**
243
+ * This API is used to create allocation units.
244
+ * @param {CreateAllocationUnitRequest} req
245
+ * @param {function(string, CreateAllocationUnitResponse):void} cb
246
+ * @public
247
+ */
248
+ CreateAllocationUnit(req, cb) {
249
+ let resp = new CreateAllocationUnitResponse();
250
+ this.request("CreateAllocationUnit", req, resp, cb);
251
+ }
252
+
176
253
  /**
177
254
  * This API is used to batch set cost allocation tags.
178
255
  * @param {CreateAllocationTagRequest} req
@@ -253,6 +330,17 @@ Note:
253
330
  this.request("DescribeBillSummary", req, resp, cb);
254
331
  }
255
332
 
333
+ /**
334
+ * Delete sharing rule interface.
335
+ * @param {DeleteAllocationRuleRequest} req
336
+ * @param {function(string, DeleteAllocationRuleResponse):void} cb
337
+ * @public
338
+ */
339
+ DeleteAllocationRule(req, cb) {
340
+ let resp = new DeleteAllocationRuleResponse();
341
+ this.request("DeleteAllocationRule", req, resp, cb);
342
+ }
343
+
256
344
  /**
257
345
  * This API is used to get the bill summarized by billing mode.
258
346
  * @param {DescribeBillSummaryByPayModeRequest} req
@@ -264,6 +352,17 @@ Note:
264
352
  this.request("DescribeBillSummaryByPayMode", req, resp, cb);
265
353
  }
266
354
 
355
+ /**
356
+ * This API is used to query sharing rule details.
357
+ * @param {DescribeAllocationRuleDetailRequest} req
358
+ * @param {function(string, DescribeAllocationRuleDetailResponse):void} cb
359
+ * @public
360
+ */
361
+ DescribeAllocationRuleDetail(req, cb) {
362
+ let resp = new DescribeAllocationRuleDetailResponse();
363
+ this.request("DescribeAllocationRuleDetail", req, resp, cb);
364
+ }
365
+
267
366
  /**
268
367
  * This API is used to query COS usage details.
269
368
  * @param {DescribeDosageCosDetailByDateRequest} req
@@ -276,14 +375,25 @@ Note:
276
375
  }
277
376
 
278
377
  /**
279
- * This API is used to obtain consumption details summarized by product.
280
- * @param {DescribeCostSummaryByProductRequest} req
281
- * @param {function(string, DescribeCostSummaryByProductResponse):void} cb
378
+ * This API is used to get bill download URLs for L0, L1, L2, and L3 bills and bill packs.
379
+ * @param {DescribeBillDownloadUrlRequest} req
380
+ * @param {function(string, DescribeBillDownloadUrlResponse):void} cb
282
381
  * @public
283
382
  */
284
- DescribeCostSummaryByProduct(req, cb) {
285
- let resp = new DescribeCostSummaryByProductResponse();
286
- this.request("DescribeCostSummaryByProduct", req, resp, cb);
383
+ DescribeBillDownloadUrl(req, cb) {
384
+ let resp = new DescribeBillDownloadUrlResponse();
385
+ this.request("DescribeBillDownloadUrl", req, resp, cb);
386
+ }
387
+
388
+ /**
389
+ * Create a collection rule.
390
+ * @param {CreateGatherRuleRequest} req
391
+ * @param {function(string, CreateGatherRuleResponse):void} cb
392
+ * @public
393
+ */
394
+ CreateGatherRule(req, cb) {
395
+ let resp = new CreateGatherRuleResponse();
396
+ this.request("CreateGatherRule", req, resp, cb);
287
397
  }
288
398
 
289
399
  /**
@@ -309,6 +419,28 @@ Note: The API request may fail due to network instability or other exceptions. I
309
419
  this.request("DescribeAccountBalance", req, resp, cb);
310
420
  }
311
421
 
422
+ /**
423
+ * This API is used to query the collection rule details.
424
+ * @param {DescribeGatherRuleDetailRequest} req
425
+ * @param {function(string, DescribeGatherRuleDetailResponse):void} cb
426
+ * @public
427
+ */
428
+ DescribeGatherRuleDetail(req, cb) {
429
+ let resp = new DescribeGatherRuleDetailResponse();
430
+ this.request("DescribeGatherRuleDetail", req, resp, cb);
431
+ }
432
+
433
+ /**
434
+ * This API is used to query the cost tree.
435
+ * @param {DescribeAllocationTreeRequest} req
436
+ * @param {function(string, DescribeAllocationTreeResponse):void} cb
437
+ * @public
438
+ */
439
+ DescribeAllocationTree(req, cb) {
440
+ let resp = new DescribeAllocationTreeResponse();
441
+ this.request("DescribeAllocationTree", req, resp, cb);
442
+ }
443
+
312
444
  /**
313
445
  * Query the details of a cost allocation unit.
314
446
  * @param {DescribeAllocationUnitDetailRequest} req
@@ -364,6 +496,17 @@ Note: The API request may fail due to network instability or other exceptions. I
364
496
  this.request("DescribeBillSummaryByProject", req, resp, cb);
365
497
  }
366
498
 
499
+ /**
500
+ * Create a sharing rule.
501
+ * @param {CreateAllocationRuleRequest} req
502
+ * @param {function(string, CreateAllocationRuleResponse):void} cb
503
+ * @public
504
+ */
505
+ CreateAllocationRule(req, cb) {
506
+ let resp = new CreateAllocationRuleResponse();
507
+ this.request("CreateAllocationRule", req, resp, cb);
508
+ }
509
+
367
510
  /**
368
511
  * This API is used to get the cost distribution over different tags.
369
512
  * @param {DescribeBillSummaryByTagRequest} req
@@ -398,14 +541,36 @@ Note: The API request may fail due to network instability or other exceptions. I
398
541
  }
399
542
 
400
543
  /**
401
- * This API is used to get bill download URLs for L0, L1, L2, and L3 bills and bill packs.
402
- * @param {DescribeBillDownloadUrlRequest} req
403
- * @param {function(string, DescribeBillDownloadUrlResponse):void} cb
544
+ * This API is used to modify cost allocation unit information.
545
+ * @param {ModifyAllocationUnitRequest} req
546
+ * @param {function(string, ModifyAllocationUnitResponse):void} cb
404
547
  * @public
405
548
  */
406
- DescribeBillDownloadUrl(req, cb) {
407
- let resp = new DescribeBillDownloadUrlResponse();
408
- this.request("DescribeBillDownloadUrl", req, resp, cb);
549
+ ModifyAllocationUnit(req, cb) {
550
+ let resp = new ModifyAllocationUnitResponse();
551
+ this.request("ModifyAllocationUnit", req, resp, cb);
552
+ }
553
+
554
+ /**
555
+ * Edit a collection rule.
556
+ * @param {ModifyGatherRuleRequest} req
557
+ * @param {function(string, ModifyGatherRuleResponse):void} cb
558
+ * @public
559
+ */
560
+ ModifyGatherRule(req, cb) {
561
+ let resp = new ModifyGatherRuleResponse();
562
+ this.request("ModifyGatherRule", req, resp, cb);
563
+ }
564
+
565
+ /**
566
+ * This API is used to obtain consumption details summarized by product.
567
+ * @param {DescribeCostSummaryByProductRequest} req
568
+ * @param {function(string, DescribeCostSummaryByProductResponse):void} cb
569
+ * @public
570
+ */
571
+ DescribeCostSummaryByProduct(req, cb) {
572
+ let resp = new DescribeCostSummaryByProductResponse();
573
+ this.request("DescribeCostSummaryByProduct", req, resp, cb);
409
574
  }
410
575
 
411
576
  /**
@@ -441,6 +606,17 @@ Note: The API request may fail due to network instability or other exceptions. I
441
606
  this.request("DescribeBillSummaryByProduct", req, resp, cb);
442
607
  }
443
608
 
609
+ /**
610
+ * Edit sharing rules.
611
+ * @param {ModifyAllocationRuleRequest} req
612
+ * @param {function(string, ModifyAllocationRuleResponse):void} cb
613
+ * @public
614
+ */
615
+ ModifyAllocationRule(req, cb) {
616
+ let resp = new ModifyAllocationRuleResponse();
617
+ this.request("ModifyAllocationRule", req, resp, cb);
618
+ }
619
+
444
620
  /**
445
621
  * This API is used to query consumption details.
446
622
  * @param {DescribeCostDetailRequest} req