tencentcloud-sdk-nodejs-intl-en 3.0.1184 → 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
|
@@ -21,55 +21,72 @@ const DeleteAllocationTagRequest = models.DeleteAllocationTagRequest;
|
|
|
21
21
|
const DescribeCostSummaryByProductRequest = models.DescribeCostSummaryByProductRequest;
|
|
22
22
|
const DescribeCostExplorerSummaryResponse = models.DescribeCostExplorerSummaryResponse;
|
|
23
23
|
const ConsumptionBusinessSummaryDataItem = models.ConsumptionBusinessSummaryDataItem;
|
|
24
|
+
const ModifyAllocationRuleRequest = models.ModifyAllocationRuleRequest;
|
|
25
|
+
const DeleteAllocationRuleRequest = models.DeleteAllocationRuleRequest;
|
|
26
|
+
const CreateAllocationRuleResponse = models.CreateAllocationRuleResponse;
|
|
24
27
|
const BillTagInfo = models.BillTagInfo;
|
|
25
28
|
const ConditionBusiness = models.ConditionBusiness;
|
|
26
29
|
const AnalyseActionTypeDetail = models.AnalyseActionTypeDetail;
|
|
27
30
|
const DescribeCostExplorerSummaryRequest = models.DescribeCostExplorerSummaryRequest;
|
|
28
31
|
const DescribeCostSummaryByProductResponse = models.DescribeCostSummaryByProductResponse;
|
|
29
|
-
const
|
|
32
|
+
const DescribeAllocationTreeResponse = models.DescribeAllocationTreeResponse;
|
|
30
33
|
const DeleteAllocationTagResponse = models.DeleteAllocationTagResponse;
|
|
34
|
+
const AllocationTree = models.AllocationTree;
|
|
31
35
|
const DescribeBillDetailForOrganizationResponse = models.DescribeBillDetailForOrganizationResponse;
|
|
32
36
|
const BillDetailComponentConfig = models.BillDetailComponentConfig;
|
|
33
37
|
const DescribeCostSummaryByResourceResponse = models.DescribeCostSummaryByResourceResponse;
|
|
34
38
|
const DescribeBillSummaryByRegionRequest = models.DescribeBillSummaryByRegionRequest;
|
|
35
39
|
const AdjustInfoDetail = models.AdjustInfoDetail;
|
|
40
|
+
const CreateAllocationRuleRequest = models.CreateAllocationRuleRequest;
|
|
36
41
|
const ConsumptionRegionSummaryDataItem = models.ConsumptionRegionSummaryDataItem;
|
|
37
42
|
const BusinessSummaryInfo = models.BusinessSummaryInfo;
|
|
38
43
|
const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
|
|
39
44
|
const DescribeBillResourceSummaryResponse = models.DescribeBillResourceSummaryResponse;
|
|
45
|
+
const DescribeGatherRuleDetailRequest = models.DescribeGatherRuleDetailRequest;
|
|
40
46
|
const DistributionBillDetail = models.DistributionBillDetail;
|
|
41
47
|
const DescribeDosageCosDetailByDateRequest = models.DescribeDosageCosDetailByDateRequest;
|
|
42
48
|
const DescribeBillAdjustInfoResponse = models.DescribeBillAdjustInfoResponse;
|
|
43
|
-
const
|
|
49
|
+
const DescribeAllocationRuleDetailRequest = models.DescribeAllocationRuleDetailRequest;
|
|
44
50
|
const DescribeAllocationUnitDetailResponse = models.DescribeAllocationUnitDetailResponse;
|
|
45
51
|
const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
|
|
52
|
+
const AllocationUnit = models.AllocationUnit;
|
|
53
|
+
const AllocationRationExpression = models.AllocationRationExpression;
|
|
46
54
|
const DescribeVoucherUsageDetailsResponse = models.DescribeVoucherUsageDetailsResponse;
|
|
47
55
|
const ConsumptionSummaryTotal = models.ConsumptionSummaryTotal;
|
|
56
|
+
const BillDistributionResourceSummary = models.BillDistributionResourceSummary;
|
|
48
57
|
const DescribeCostDetailResponse = models.DescribeCostDetailResponse;
|
|
49
58
|
const VoucherInfos = models.VoucherInfos;
|
|
50
59
|
const DescribeCostSummaryByProjectResponse = models.DescribeCostSummaryByProjectResponse;
|
|
51
60
|
const AnalyseProjectDetail = models.AnalyseProjectDetail;
|
|
52
61
|
const ProjectSummaryOverviewItem = models.ProjectSummaryOverviewItem;
|
|
53
62
|
const DescribeBillSummaryByTagResponse = models.DescribeBillSummaryByTagResponse;
|
|
63
|
+
const ModifyGatherRuleRequest = models.ModifyGatherRuleRequest;
|
|
54
64
|
const DescribeBillSummaryByPayModeResponse = models.DescribeBillSummaryByPayModeResponse;
|
|
55
65
|
const DescribeBillSummaryByTagRequest = models.DescribeBillSummaryByTagRequest;
|
|
56
66
|
const AnalyseDetail = models.AnalyseDetail;
|
|
57
|
-
const
|
|
67
|
+
const DeleteGatherRuleRequest = models.DeleteGatherRuleRequest;
|
|
68
|
+
const DescribeAllocationRuleSummaryResponse = models.DescribeAllocationRuleSummaryResponse;
|
|
58
69
|
const AnalyseAmountDetail = models.AnalyseAmountDetail;
|
|
70
|
+
const ModifyGatherRuleResponse = models.ModifyGatherRuleResponse;
|
|
71
|
+
const CreateGatherRuleRequest = models.CreateGatherRuleRequest;
|
|
59
72
|
const DescribeBillResourceSummaryForOrganizationRequest = models.DescribeBillResourceSummaryForOrganizationRequest;
|
|
60
73
|
const DescribeCostSummaryByRegionRequest = models.DescribeCostSummaryByRegionRequest;
|
|
61
74
|
const ConsumptionSummaryTrend = models.ConsumptionSummaryTrend;
|
|
62
75
|
const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
|
|
63
76
|
const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
|
|
77
|
+
const DeleteGatherRuleResponse = models.DeleteGatherRuleResponse;
|
|
64
78
|
const ApplicableProducts = models.ApplicableProducts;
|
|
65
|
-
const
|
|
79
|
+
const ConditionPayMode = models.ConditionPayMode;
|
|
80
|
+
const DescribeCostSummaryByProjectRequest = models.DescribeCostSummaryByProjectRequest;
|
|
81
|
+
const BillDetailAssociatedOrder = models.BillDetailAssociatedOrder;
|
|
66
82
|
const BillDetail = models.BillDetail;
|
|
67
83
|
const DescribeBillDetailResponse = models.DescribeBillDetailResponse;
|
|
68
84
|
const Deal = models.Deal;
|
|
69
85
|
const DescribeDealsByCondResponse = models.DescribeDealsByCondResponse;
|
|
70
|
-
const
|
|
86
|
+
const DescribeBillSummaryByProjectRequest = models.DescribeBillSummaryByProjectRequest;
|
|
71
87
|
const DescribeBillSummaryByProjectResponse = models.DescribeBillSummaryByProjectResponse;
|
|
72
88
|
const DescribeBillAdjustInfoRequest = models.DescribeBillAdjustInfoRequest;
|
|
89
|
+
const DeleteAllocationRuleResponse = models.DeleteAllocationRuleResponse;
|
|
73
90
|
const TagDataInfo = models.TagDataInfo;
|
|
74
91
|
const SummaryTotal = models.SummaryTotal;
|
|
75
92
|
const BusinessSummaryTotal = models.BusinessSummaryTotal;
|
|
@@ -83,6 +100,7 @@ const AnalyseTimeDetail = models.AnalyseTimeDetail;
|
|
|
83
100
|
const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
|
|
84
101
|
const ConsumptionProjectSummaryDataItem = models.ConsumptionProjectSummaryDataItem;
|
|
85
102
|
const AnalyseRegionDetail = models.AnalyseRegionDetail;
|
|
103
|
+
const ProductInfo = models.ProductInfo;
|
|
86
104
|
const DescribeAllocationUnitDetailRequest = models.DescribeAllocationUnitDetailRequest;
|
|
87
105
|
const DescribeBillSummaryForOrganizationRequest = models.DescribeBillSummaryForOrganizationRequest;
|
|
88
106
|
const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
|
|
@@ -93,14 +111,17 @@ const BillDetailComponent = models.BillDetailComponent;
|
|
|
93
111
|
const ConditionRegion = models.ConditionRegion;
|
|
94
112
|
const TagSummaryOverviewItem = models.TagSummaryOverviewItem;
|
|
95
113
|
const ConsumptionResourceSummaryConditionValue = models.ConsumptionResourceSummaryConditionValue;
|
|
114
|
+
const DescribeCostSummaryByRegionResponse = models.DescribeCostSummaryByRegionResponse;
|
|
96
115
|
const DescribeCostDetailRequest = models.DescribeCostDetailRequest;
|
|
116
|
+
const GatherRuleSummary = models.GatherRuleSummary;
|
|
97
117
|
const DescribeTagListRequest = models.DescribeTagListRequest;
|
|
98
118
|
const DescribeBillResourceSummaryForOrganizationResponse = models.DescribeBillResourceSummaryForOrganizationResponse;
|
|
99
|
-
const
|
|
119
|
+
const DescribeAllocationTreeRequest = models.DescribeAllocationTreeRequest;
|
|
100
120
|
const DescribeCostSummaryByResourceRequest = models.DescribeCostSummaryByResourceRequest;
|
|
101
121
|
const CreateAllocationTagRequest = models.CreateAllocationTagRequest;
|
|
102
122
|
const ExcludedProducts = models.ExcludedProducts;
|
|
103
123
|
const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
|
|
124
|
+
const DescribeAllocationRuleDetailResponse = models.DescribeAllocationRuleDetailResponse;
|
|
104
125
|
const UsageDetails = models.UsageDetails;
|
|
105
126
|
const AnalyseBusinessDetail = models.AnalyseBusinessDetail;
|
|
106
127
|
const AnalyseConditions = models.AnalyseConditions;
|
|
@@ -115,25 +136,31 @@ const DescribeAccountBalanceRequest = models.DescribeAccountBalanceRequest;
|
|
|
115
136
|
const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
|
|
116
137
|
const AnalyseZoneDetail = models.AnalyseZoneDetail;
|
|
117
138
|
const DescribeVoucherInfoResponse = models.DescribeVoucherInfoResponse;
|
|
118
|
-
const
|
|
139
|
+
const AllocationRulesSummary = models.AllocationRulesSummary;
|
|
140
|
+
const SummaryDetail = models.SummaryDetail;
|
|
119
141
|
const DescribeAccountBalanceResponse = models.DescribeAccountBalanceResponse;
|
|
120
142
|
const BusinessSummaryOverviewItem = models.BusinessSummaryOverviewItem;
|
|
143
|
+
const CreateGatherRuleResponse = models.CreateGatherRuleResponse;
|
|
121
144
|
const UsageRecords = models.UsageRecords;
|
|
145
|
+
const ModifyAllocationRuleResponse = models.ModifyAllocationRuleResponse;
|
|
122
146
|
const DescribeVoucherInfoRequest = models.DescribeVoucherInfoRequest;
|
|
123
147
|
const DescribeDealsByCondRequest = models.DescribeDealsByCondRequest;
|
|
124
148
|
const CreateAllocationUnitResponse = models.CreateAllocationUnitResponse;
|
|
125
149
|
const DescribeDosageCosDetailByDateResponse = models.DescribeDosageCosDetailByDateResponse;
|
|
126
150
|
const AnalyseHeaderTimeDetail = models.AnalyseHeaderTimeDetail;
|
|
151
|
+
const AllocationRuleExpression = models.AllocationRuleExpression;
|
|
127
152
|
const DescribeBillSummaryForOrganizationResponse = models.DescribeBillSummaryForOrganizationResponse;
|
|
128
153
|
const DeleteAllocationUnitResponse = models.DeleteAllocationUnitResponse;
|
|
129
154
|
const ConditionProject = models.ConditionProject;
|
|
130
155
|
const DescribeTagListResponse = models.DescribeTagListResponse;
|
|
131
156
|
const CosDetailSets = models.CosDetailSets;
|
|
157
|
+
const DescribeAllocationRuleSummaryRequest = models.DescribeAllocationRuleSummaryRequest;
|
|
132
158
|
const ModifyAllocationUnitResponse = models.ModifyAllocationUnitResponse;
|
|
133
159
|
const AnalyseConditionDetail = models.AnalyseConditionDetail;
|
|
134
160
|
const BillResourceSummary = models.BillResourceSummary;
|
|
135
161
|
const DeleteAllocationUnitRequest = models.DeleteAllocationUnitRequest;
|
|
136
|
-
const
|
|
162
|
+
const DescribeGatherRuleDetailResponse = models.DescribeGatherRuleDetailResponse;
|
|
163
|
+
const AllocationRuleOverview = models.AllocationRuleOverview;
|
|
137
164
|
|
|
138
165
|
|
|
139
166
|
/**
|
|
@@ -146,6 +173,17 @@ class BillingClient extends AbstractClient {
|
|
|
146
173
|
super("billing.intl.tencentcloudapi.com", "2018-07-09", credential, region, profile);
|
|
147
174
|
}
|
|
148
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
|
+
|
|
149
187
|
/**
|
|
150
188
|
* This API is used to obtain consumption details summarized by resource.
|
|
151
189
|
* @param {DescribeCostSummaryByResourceRequest} req
|
|
@@ -168,6 +206,17 @@ class BillingClient extends AbstractClient {
|
|
|
168
206
|
this.request("DescribeCostSummaryByRegion", req, resp, cb);
|
|
169
207
|
}
|
|
170
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
|
+
|
|
171
220
|
/**
|
|
172
221
|
* This API is used to get the bill summarized by instance.
|
|
173
222
|
* @param {DescribeBillResourceSummaryRequest} req
|
|
@@ -281,6 +330,17 @@ Note:
|
|
|
281
330
|
this.request("DescribeBillSummary", req, resp, cb);
|
|
282
331
|
}
|
|
283
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
|
+
|
|
284
344
|
/**
|
|
285
345
|
* This API is used to get the bill summarized by billing mode.
|
|
286
346
|
* @param {DescribeBillSummaryByPayModeRequest} req
|
|
@@ -292,6 +352,17 @@ Note:
|
|
|
292
352
|
this.request("DescribeBillSummaryByPayMode", req, resp, cb);
|
|
293
353
|
}
|
|
294
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
|
+
|
|
295
366
|
/**
|
|
296
367
|
* This API is used to query COS usage details.
|
|
297
368
|
* @param {DescribeDosageCosDetailByDateRequest} req
|
|
@@ -304,14 +375,25 @@ Note:
|
|
|
304
375
|
}
|
|
305
376
|
|
|
306
377
|
/**
|
|
307
|
-
* This API is used to
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {function(string,
|
|
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
|
|
310
381
|
* @public
|
|
311
382
|
*/
|
|
312
|
-
|
|
313
|
-
let resp = new
|
|
314
|
-
this.request("
|
|
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);
|
|
315
397
|
}
|
|
316
398
|
|
|
317
399
|
/**
|
|
@@ -337,6 +419,28 @@ Note: The API request may fail due to network instability or other exceptions. I
|
|
|
337
419
|
this.request("DescribeAccountBalance", req, resp, cb);
|
|
338
420
|
}
|
|
339
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
|
+
|
|
340
444
|
/**
|
|
341
445
|
* Query the details of a cost allocation unit.
|
|
342
446
|
* @param {DescribeAllocationUnitDetailRequest} req
|
|
@@ -392,6 +496,17 @@ Note: The API request may fail due to network instability or other exceptions. I
|
|
|
392
496
|
this.request("DescribeBillSummaryByProject", req, resp, cb);
|
|
393
497
|
}
|
|
394
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
|
+
|
|
395
510
|
/**
|
|
396
511
|
* This API is used to get the cost distribution over different tags.
|
|
397
512
|
* @param {DescribeBillSummaryByTagRequest} req
|
|
@@ -437,14 +552,25 @@ Note: The API request may fail due to network instability or other exceptions. I
|
|
|
437
552
|
}
|
|
438
553
|
|
|
439
554
|
/**
|
|
440
|
-
*
|
|
441
|
-
* @param {
|
|
442
|
-
* @param {function(string,
|
|
555
|
+
* Edit a collection rule.
|
|
556
|
+
* @param {ModifyGatherRuleRequest} req
|
|
557
|
+
* @param {function(string, ModifyGatherRuleResponse):void} cb
|
|
443
558
|
* @public
|
|
444
559
|
*/
|
|
445
|
-
|
|
446
|
-
let resp = new
|
|
447
|
-
this.request("
|
|
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);
|
|
448
574
|
}
|
|
449
575
|
|
|
450
576
|
/**
|
|
@@ -480,6 +606,17 @@ Note: The API request may fail due to network instability or other exceptions. I
|
|
|
480
606
|
this.request("DescribeBillSummaryByProduct", req, resp, cb);
|
|
481
607
|
}
|
|
482
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
|
+
|
|
483
620
|
/**
|
|
484
621
|
* This API is used to query consumption details.
|
|
485
622
|
* @param {DescribeCostDetailRequest} req
|