tencentcloud-sdk-nodejs-intl-en 3.0.944 → 3.0.946
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/billing/v20180709/billing_client.js +212 -133
- package/tencentcloud/billing/v20180709/models.js +4749 -2761
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +851 -177
- package/tencentcloud/teo/v20220901/teo_client.js +111 -17
package/package.json
CHANGED
|
@@ -16,85 +16,109 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
19
|
+
const DescribeCostSummaryByProductRequest = models.DescribeCostSummaryByProductRequest;
|
|
20
|
+
const DescribeCostExplorerSummaryResponse = models.DescribeCostExplorerSummaryResponse;
|
|
21
|
+
const ConsumptionBusinessSummaryDataItem = models.ConsumptionBusinessSummaryDataItem;
|
|
22
|
+
const BillTagInfo = models.BillTagInfo;
|
|
23
|
+
const ConditionBusiness = models.ConditionBusiness;
|
|
24
|
+
const AnalyseActionTypeDetail = models.AnalyseActionTypeDetail;
|
|
25
|
+
const DescribeCostExplorerSummaryRequest = models.DescribeCostExplorerSummaryRequest;
|
|
26
|
+
const DescribeCostSummaryByProductResponse = models.DescribeCostSummaryByProductResponse;
|
|
27
27
|
const DeleteAllocationTagResponse = models.DeleteAllocationTagResponse;
|
|
28
|
-
const
|
|
29
|
-
const
|
|
28
|
+
const DescribeBillDetailForOrganizationResponse = models.DescribeBillDetailForOrganizationResponse;
|
|
29
|
+
const BillDetailComponentConfig = models.BillDetailComponentConfig;
|
|
30
|
+
const DescribeCostSummaryByResourceResponse = models.DescribeCostSummaryByResourceResponse;
|
|
31
|
+
const DescribeBillSummaryByRegionRequest = models.DescribeBillSummaryByRegionRequest;
|
|
32
|
+
const DescribeCostSummaryByProjectRequest = models.DescribeCostSummaryByProjectRequest;
|
|
33
|
+
const ConsumptionRegionSummaryDataItem = models.ConsumptionRegionSummaryDataItem;
|
|
34
|
+
const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
|
|
35
|
+
const DescribeBillResourceSummaryResponse = models.DescribeBillResourceSummaryResponse;
|
|
36
|
+
const DistributionBillDetail = models.DistributionBillDetail;
|
|
37
|
+
const DescribeDosageCosDetailByDateRequest = models.DescribeDosageCosDetailByDateRequest;
|
|
38
|
+
const DeleteAllocationTagRequest = models.DeleteAllocationTagRequest;
|
|
39
|
+
const BillDistributionResourceSummary = models.BillDistributionResourceSummary;
|
|
40
|
+
const BusinessSummaryInfo = models.BusinessSummaryInfo;
|
|
41
|
+
const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
|
|
42
|
+
const DescribeVoucherUsageDetailsResponse = models.DescribeVoucherUsageDetailsResponse;
|
|
43
|
+
const ConsumptionSummaryTotal = models.ConsumptionSummaryTotal;
|
|
44
|
+
const DescribeCostDetailResponse = models.DescribeCostDetailResponse;
|
|
45
|
+
const VoucherInfos = models.VoucherInfos;
|
|
46
|
+
const DescribeCostSummaryByProjectResponse = models.DescribeCostSummaryByProjectResponse;
|
|
47
|
+
const AnalyseProjectDetail = models.AnalyseProjectDetail;
|
|
48
|
+
const DescribeBillSummaryByTagResponse = models.DescribeBillSummaryByTagResponse;
|
|
30
49
|
const DescribeBillSummaryByPayModeResponse = models.DescribeBillSummaryByPayModeResponse;
|
|
31
|
-
const SummaryTotal = models.SummaryTotal;
|
|
32
|
-
const BillResourceSummary = models.BillResourceSummary;
|
|
33
50
|
const DescribeBillSummaryByTagRequest = models.DescribeBillSummaryByTagRequest;
|
|
34
51
|
const AnalyseOwnerUinDetail = models.AnalyseOwnerUinDetail;
|
|
35
|
-
const
|
|
36
|
-
const TagDataInfo = models.TagDataInfo;
|
|
37
|
-
const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
|
|
38
|
-
const AnalyseTimeDetail = models.AnalyseTimeDetail;
|
|
39
|
-
const CreateAllocationTagRequest = models.CreateAllocationTagRequest;
|
|
40
|
-
const CreateAllocationTagResponse = models.CreateAllocationTagResponse;
|
|
52
|
+
const SummaryDetail = models.SummaryDetail;
|
|
41
53
|
const AnalyseAmountDetail = models.AnalyseAmountDetail;
|
|
42
|
-
const AnalyseActionTypeDetail = models.AnalyseActionTypeDetail;
|
|
43
|
-
const DescribeAccountBalanceRequest = models.DescribeAccountBalanceRequest;
|
|
44
|
-
const AnalyseRegionDetail = models.AnalyseRegionDetail;
|
|
45
|
-
const DescribeCostExplorerSummaryRequest = models.DescribeCostExplorerSummaryRequest;
|
|
46
54
|
const DescribeBillResourceSummaryForOrganizationRequest = models.DescribeBillResourceSummaryForOrganizationRequest;
|
|
47
|
-
const AnalyseZoneDetail = models.AnalyseZoneDetail;
|
|
48
55
|
const AnalyseDetail = models.AnalyseDetail;
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const BillDetailAssociatedOrder = models.BillDetailAssociatedOrder;
|
|
52
|
-
const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
|
|
53
|
-
const DescribeAccountBalanceResponse = models.DescribeAccountBalanceResponse;
|
|
54
|
-
const DescribeBillSummaryByProductResponse = models.DescribeBillSummaryByProductResponse;
|
|
55
|
-
const BusinessSummaryOverviewItem = models.BusinessSummaryOverviewItem;
|
|
56
|
-
const BillDetailComponentConfig = models.BillDetailComponentConfig;
|
|
56
|
+
const DescribeCostSummaryByRegionRequest = models.DescribeCostSummaryByRegionRequest;
|
|
57
|
+
const ConsumptionSummaryTrend = models.ConsumptionSummaryTrend;
|
|
57
58
|
const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
|
|
58
59
|
const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
|
|
59
|
-
const SummaryDetail = models.SummaryDetail;
|
|
60
|
-
const DescribeVoucherInfoRequest = models.DescribeVoucherInfoRequest;
|
|
61
|
-
const UsageRecords = models.UsageRecords;
|
|
62
|
-
const DescribeCostExplorerSummaryResponse = models.DescribeCostExplorerSummaryResponse;
|
|
63
|
-
const DescribeDosageCosDetailByDateResponse = models.DescribeDosageCosDetailByDateResponse;
|
|
64
|
-
const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
|
|
65
|
-
const DescribeBillResourceSummaryResponse = models.DescribeBillResourceSummaryResponse;
|
|
66
|
-
const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
|
|
67
|
-
const DescribeBillDetailForOrganizationRequest = models.DescribeBillDetailForOrganizationRequest;
|
|
68
60
|
const ApplicableProducts = models.ApplicableProducts;
|
|
69
|
-
const AnalyseProjectDetail = models.AnalyseProjectDetail;
|
|
70
|
-
const DistributionBillDetail = models.DistributionBillDetail;
|
|
71
61
|
const DescribeBillSummaryByProjectRequest = models.DescribeBillSummaryByProjectRequest;
|
|
62
|
+
const BillDetail = models.BillDetail;
|
|
63
|
+
const DescribeBillDetailResponse = models.DescribeBillDetailResponse;
|
|
64
|
+
const ConditionPayMode = models.ConditionPayMode;
|
|
65
|
+
const DescribeBillSummaryByProjectResponse = models.DescribeBillSummaryByProjectResponse;
|
|
66
|
+
const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
|
|
67
|
+
const TagDataInfo = models.TagDataInfo;
|
|
68
|
+
const SummaryTotal = models.SummaryTotal;
|
|
69
|
+
const BusinessSummaryTotal = models.BusinessSummaryTotal;
|
|
70
|
+
const CostComponentSet = models.CostComponentSet;
|
|
71
|
+
const AnalyseHeaderDetail = models.AnalyseHeaderDetail;
|
|
72
|
+
const AnalysePayModeDetail = models.AnalysePayModeDetail;
|
|
73
|
+
const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
|
|
74
|
+
const BillResourceSummary = models.BillResourceSummary;
|
|
75
|
+
const Conditions = models.Conditions;
|
|
76
|
+
const AnalyseTimeDetail = models.AnalyseTimeDetail;
|
|
77
|
+
const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
|
|
78
|
+
const ConsumptionProjectSummaryDataItem = models.ConsumptionProjectSummaryDataItem;
|
|
79
|
+
const AnalyseRegionDetail = models.AnalyseRegionDetail;
|
|
80
|
+
const DescribeBillSummaryForOrganizationRequest = models.DescribeBillSummaryForOrganizationRequest;
|
|
81
|
+
const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
|
|
82
|
+
const DescribeBillDetailForOrganizationRequest = models.DescribeBillDetailForOrganizationRequest;
|
|
72
83
|
const DescribeVoucherUsageDetailsRequest = models.DescribeVoucherUsageDetailsRequest;
|
|
73
|
-
const DescribeDosageCosDetailByDateRequest = models.DescribeDosageCosDetailByDateRequest;
|
|
74
84
|
const DescribeBillResourceSummaryRequest = models.DescribeBillResourceSummaryRequest;
|
|
75
|
-
const DeleteAllocationTagRequest = models.DeleteAllocationTagRequest;
|
|
76
|
-
const DescribeBillDetailForOrganizationResponse = models.DescribeBillDetailForOrganizationResponse;
|
|
77
|
-
const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
|
|
78
|
-
const BillDistributionResourceSummary = models.BillDistributionResourceSummary;
|
|
79
85
|
const BillDetailComponent = models.BillDetailComponent;
|
|
80
|
-
const
|
|
81
|
-
const BusinessSummaryInfo = models.BusinessSummaryInfo;
|
|
86
|
+
const ConditionRegion = models.ConditionRegion;
|
|
82
87
|
const TagSummaryOverviewItem = models.TagSummaryOverviewItem;
|
|
88
|
+
const ConsumptionResourceSummaryConditionValue = models.ConsumptionResourceSummaryConditionValue;
|
|
89
|
+
const DescribeCostDetailRequest = models.DescribeCostDetailRequest;
|
|
90
|
+
const DescribeTagListRequest = models.DescribeTagListRequest;
|
|
91
|
+
const DescribeBillResourceSummaryForOrganizationResponse = models.DescribeBillResourceSummaryForOrganizationResponse;
|
|
92
|
+
const DescribeCostSummaryByResourceRequest = models.DescribeCostSummaryByResourceRequest;
|
|
93
|
+
const CreateAllocationTagRequest = models.CreateAllocationTagRequest;
|
|
94
|
+
const ExcludedProducts = models.ExcludedProducts;
|
|
83
95
|
const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
|
|
84
|
-
const
|
|
96
|
+
const UsageDetails = models.UsageDetails;
|
|
97
|
+
const AnalyseBusinessDetail = models.AnalyseBusinessDetail;
|
|
98
|
+
const AnalyseConditions = models.AnalyseConditions;
|
|
99
|
+
const CostDetail = models.CostDetail;
|
|
100
|
+
const DescribeBillSummaryByProductResponse = models.DescribeBillSummaryByProductResponse;
|
|
101
|
+
const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
|
|
102
|
+
const CreateAllocationTagResponse = models.CreateAllocationTagResponse;
|
|
103
|
+
const ConsumptionResourceSummaryDataItem = models.ConsumptionResourceSummaryDataItem;
|
|
104
|
+
const DescribeAccountBalanceRequest = models.DescribeAccountBalanceRequest;
|
|
105
|
+
const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
|
|
106
|
+
const AnalyseZoneDetail = models.AnalyseZoneDetail;
|
|
107
|
+
const DescribeVoucherInfoResponse = models.DescribeVoucherInfoResponse;
|
|
108
|
+
const BillDetailAssociatedOrder = models.BillDetailAssociatedOrder;
|
|
109
|
+
const DescribeAccountBalanceResponse = models.DescribeAccountBalanceResponse;
|
|
110
|
+
const BusinessSummaryOverviewItem = models.BusinessSummaryOverviewItem;
|
|
111
|
+
const UsageRecords = models.UsageRecords;
|
|
112
|
+
const DescribeVoucherInfoRequest = models.DescribeVoucherInfoRequest;
|
|
113
|
+
const DescribeDosageCosDetailByDateResponse = models.DescribeDosageCosDetailByDateResponse;
|
|
114
|
+
const ProjectSummaryOverviewItem = models.ProjectSummaryOverviewItem;
|
|
85
115
|
const DescribeBillSummaryForOrganizationResponse = models.DescribeBillSummaryForOrganizationResponse;
|
|
86
|
-
const
|
|
87
|
-
const DescribeBillSummaryByRegionRequest = models.DescribeBillSummaryByRegionRequest;
|
|
116
|
+
const ConditionProject = models.ConditionProject;
|
|
88
117
|
const DescribeTagListResponse = models.DescribeTagListResponse;
|
|
89
118
|
const CosDetailSets = models.CosDetailSets;
|
|
90
|
-
const DescribeTagListRequest = models.DescribeTagListRequest;
|
|
91
|
-
const DescribeBillSummaryByProjectResponse = models.DescribeBillSummaryByProjectResponse;
|
|
92
|
-
const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
|
|
93
|
-
const DescribeBillResourceSummaryForOrganizationResponse = models.DescribeBillResourceSummaryForOrganizationResponse;
|
|
94
119
|
const AnalyseConditionDetail = models.AnalyseConditionDetail;
|
|
95
|
-
const ExcludedProducts = models.ExcludedProducts;
|
|
96
120
|
const AnalyseHeaderTimeDetail = models.AnalyseHeaderTimeDetail;
|
|
97
|
-
const
|
|
121
|
+
const DescribeCostSummaryByRegionResponse = models.DescribeCostSummaryByRegionResponse;
|
|
98
122
|
|
|
99
123
|
|
|
100
124
|
/**
|
|
@@ -108,26 +132,69 @@ class BillingClient extends AbstractClient {
|
|
|
108
132
|
}
|
|
109
133
|
|
|
110
134
|
/**
|
|
111
|
-
* This API is used to
|
|
112
|
-
|
|
113
|
-
* @param {
|
|
114
|
-
* @param {function(string, DescribeBillDetailForOrganizationResponse):void} cb
|
|
135
|
+
* This API is used to obtain consumption details summarized by resource.
|
|
136
|
+
* @param {DescribeCostSummaryByResourceRequest} req
|
|
137
|
+
* @param {function(string, DescribeCostSummaryByResourceResponse):void} cb
|
|
115
138
|
* @public
|
|
116
139
|
*/
|
|
117
|
-
|
|
118
|
-
let resp = new
|
|
119
|
-
this.request("
|
|
140
|
+
DescribeCostSummaryByResource(req, cb) {
|
|
141
|
+
let resp = new DescribeCostSummaryByResourceResponse();
|
|
142
|
+
this.request("DescribeCostSummaryByResource", req, resp, cb);
|
|
120
143
|
}
|
|
121
144
|
|
|
122
145
|
/**
|
|
123
|
-
* This API is used to
|
|
124
|
-
* @param {
|
|
125
|
-
* @param {function(string,
|
|
146
|
+
* This API is used to obtain consumption details summarized by region.
|
|
147
|
+
* @param {DescribeCostSummaryByRegionRequest} req
|
|
148
|
+
* @param {function(string, DescribeCostSummaryByRegionResponse):void} cb
|
|
126
149
|
* @public
|
|
127
150
|
*/
|
|
128
|
-
|
|
129
|
-
let resp = new
|
|
130
|
-
this.request("
|
|
151
|
+
DescribeCostSummaryByRegion(req, cb) {
|
|
152
|
+
let resp = new DescribeCostSummaryByRegionResponse();
|
|
153
|
+
this.request("DescribeCostSummaryByRegion", req, resp, cb);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* This API is used to get the bill summarized by instance.
|
|
158
|
+
* @param {DescribeBillResourceSummaryRequest} req
|
|
159
|
+
* @param {function(string, DescribeBillResourceSummaryResponse):void} cb
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
DescribeBillResourceSummary(req, cb) {
|
|
163
|
+
let resp = new DescribeBillResourceSummaryResponse();
|
|
164
|
+
this.request("DescribeBillResourceSummary", req, resp, cb);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* This API is used to batch set cost allocation tags.
|
|
169
|
+
* @param {CreateAllocationTagRequest} req
|
|
170
|
+
* @param {function(string, CreateAllocationTagResponse):void} cb
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
CreateAllocationTag(req, cb) {
|
|
174
|
+
let resp = new CreateAllocationTagResponse();
|
|
175
|
+
this.request("CreateAllocationTag", req, resp, cb);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* This API is used to query vouchers.
|
|
180
|
+
* @param {DescribeVoucherInfoRequest} req
|
|
181
|
+
* @param {function(string, DescribeVoucherInfoResponse):void} cb
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
DescribeVoucherInfo(req, cb) {
|
|
185
|
+
let resp = new DescribeVoucherInfoResponse();
|
|
186
|
+
this.request("DescribeVoucherInfo", req, resp, cb);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* This API is used to obtain consumption details summarized by project.
|
|
191
|
+
* @param {DescribeCostSummaryByProjectRequest} req
|
|
192
|
+
* @param {function(string, DescribeCostSummaryByProjectResponse):void} cb
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
DescribeCostSummaryByProject(req, cb) {
|
|
196
|
+
let resp = new DescribeCostSummaryByProjectResponse();
|
|
197
|
+
this.request("DescribeCostSummaryByProject", req, resp, cb);
|
|
131
198
|
}
|
|
132
199
|
|
|
133
200
|
/**
|
|
@@ -152,17 +219,6 @@ Note: The API request may fail due to network instability or other exceptions. I
|
|
|
152
219
|
this.request("DescribeBillResourceSummaryForOrganization", req, resp, cb);
|
|
153
220
|
}
|
|
154
221
|
|
|
155
|
-
/**
|
|
156
|
-
* This API is used to query COS usage details.
|
|
157
|
-
* @param {DescribeDosageCosDetailByDateRequest} req
|
|
158
|
-
* @param {function(string, DescribeDosageCosDetailByDateResponse):void} cb
|
|
159
|
-
* @public
|
|
160
|
-
*/
|
|
161
|
-
DescribeDosageCosDetailByDate(req, cb) {
|
|
162
|
-
let resp = new DescribeDosageCosDetailByDateResponse();
|
|
163
|
-
this.request("DescribeDosageCosDetailByDate", req, resp, cb);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
222
|
/**
|
|
167
223
|
* u200cThis API is used to get bill details.
|
|
168
224
|
Note:
|
|
@@ -177,17 +233,6 @@ Note:
|
|
|
177
233
|
this.request("DescribeBillDetail", req, resp, cb);
|
|
178
234
|
}
|
|
179
235
|
|
|
180
|
-
/**
|
|
181
|
-
* u200cThis API is used to batch cancel cost allocation tags.
|
|
182
|
-
* @param {DeleteAllocationTagRequest} req
|
|
183
|
-
* @param {function(string, DeleteAllocationTagResponse):void} cb
|
|
184
|
-
* @public
|
|
185
|
-
*/
|
|
186
|
-
DeleteAllocationTag(req, cb) {
|
|
187
|
-
let resp = new DeleteAllocationTagResponse();
|
|
188
|
-
this.request("DeleteAllocationTag", req, resp, cb);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
236
|
/**
|
|
192
237
|
* This API is used to get bill details by product, project, region, billing mode, and tag by passing in parameters.
|
|
193
238
|
* @param {DescribeBillSummaryRequest} req
|
|
@@ -199,17 +244,6 @@ Note:
|
|
|
199
244
|
this.request("DescribeBillSummary", req, resp, cb);
|
|
200
245
|
}
|
|
201
246
|
|
|
202
|
-
/**
|
|
203
|
-
* This API is used to get cost allocation tags.
|
|
204
|
-
* @param {DescribeTagListRequest} req
|
|
205
|
-
* @param {function(string, DescribeTagListResponse):void} cb
|
|
206
|
-
* @public
|
|
207
|
-
*/
|
|
208
|
-
DescribeTagList(req, cb) {
|
|
209
|
-
let resp = new DescribeTagListResponse();
|
|
210
|
-
this.request("DescribeTagList", req, resp, cb);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
247
|
/**
|
|
214
248
|
* This API is used to get the bill summarized by billing mode.
|
|
215
249
|
* @param {DescribeBillSummaryByPayModeRequest} req
|
|
@@ -222,14 +256,48 @@ Note:
|
|
|
222
256
|
}
|
|
223
257
|
|
|
224
258
|
/**
|
|
225
|
-
* This API is used to
|
|
226
|
-
* @param {
|
|
227
|
-
* @param {function(string,
|
|
259
|
+
* This API is used to query COS usage details.
|
|
260
|
+
* @param {DescribeDosageCosDetailByDateRequest} req
|
|
261
|
+
* @param {function(string, DescribeDosageCosDetailByDateResponse):void} cb
|
|
228
262
|
* @public
|
|
229
263
|
*/
|
|
230
|
-
|
|
231
|
-
let resp = new
|
|
232
|
-
this.request("
|
|
264
|
+
DescribeDosageCosDetailByDate(req, cb) {
|
|
265
|
+
let resp = new DescribeDosageCosDetailByDateResponse();
|
|
266
|
+
this.request("DescribeDosageCosDetailByDate", req, resp, cb);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* This API is used to obtain consumption details summarized by product.
|
|
271
|
+
* @param {DescribeCostSummaryByProductRequest} req
|
|
272
|
+
* @param {function(string, DescribeCostSummaryByProductResponse):void} cb
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
DescribeCostSummaryByProduct(req, cb) {
|
|
276
|
+
let resp = new DescribeCostSummaryByProductResponse();
|
|
277
|
+
this.request("DescribeCostSummaryByProduct", req, resp, cb);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* This API is used to get pay-on-behalf bills of the admin account (bill details).
|
|
282
|
+
Note: The API request may fail due to network instability or other exceptions. In this case, we recommend you manually retry the request when the API request fails.
|
|
283
|
+
* @param {DescribeBillDetailForOrganizationRequest} req
|
|
284
|
+
* @param {function(string, DescribeBillDetailForOrganizationResponse):void} cb
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
DescribeBillDetailForOrganization(req, cb) {
|
|
288
|
+
let resp = new DescribeBillDetailForOrganizationResponse();
|
|
289
|
+
this.request("DescribeBillDetailForOrganization", req, resp, cb);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* This API is used to check the Tencent Cloud account balance.
|
|
294
|
+
* @param {DescribeAccountBalanceRequest} req
|
|
295
|
+
* @param {function(string, DescribeAccountBalanceResponse):void} cb
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
DescribeAccountBalance(req, cb) {
|
|
299
|
+
let resp = new DescribeAccountBalanceResponse();
|
|
300
|
+
this.request("DescribeAccountBalance", req, resp, cb);
|
|
233
301
|
}
|
|
234
302
|
|
|
235
303
|
/**
|
|
@@ -265,17 +333,6 @@ Note:
|
|
|
265
333
|
this.request("DescribeBillSummaryByProject", req, resp, cb);
|
|
266
334
|
}
|
|
267
335
|
|
|
268
|
-
/**
|
|
269
|
-
* Gets the bill summarized according to product
|
|
270
|
-
* @param {DescribeBillSummaryByProductRequest} req
|
|
271
|
-
* @param {function(string, DescribeBillSummaryByProductResponse):void} cb
|
|
272
|
-
* @public
|
|
273
|
-
*/
|
|
274
|
-
DescribeBillSummaryByProduct(req, cb) {
|
|
275
|
-
let resp = new DescribeBillSummaryByProductResponse();
|
|
276
|
-
this.request("DescribeBillSummaryByProduct", req, resp, cb);
|
|
277
|
-
}
|
|
278
|
-
|
|
279
336
|
/**
|
|
280
337
|
* This API is used to get the cost distribution over different tags.
|
|
281
338
|
* @param {DescribeBillSummaryByTagRequest} req
|
|
@@ -298,6 +355,17 @@ Note:
|
|
|
298
355
|
this.request("DescribeBillSummaryForOrganization", req, resp, cb);
|
|
299
356
|
}
|
|
300
357
|
|
|
358
|
+
/**
|
|
359
|
+
* This API is used to get cost allocation tags.
|
|
360
|
+
* @param {DescribeTagListRequest} req
|
|
361
|
+
* @param {function(string, DescribeTagListResponse):void} cb
|
|
362
|
+
* @public
|
|
363
|
+
*/
|
|
364
|
+
DescribeTagList(req, cb) {
|
|
365
|
+
let resp = new DescribeTagListResponse();
|
|
366
|
+
this.request("DescribeTagList", req, resp, cb);
|
|
367
|
+
}
|
|
368
|
+
|
|
301
369
|
/**
|
|
302
370
|
* This API is used to get bill download URLs for L0, L1, L2, and L3 bills and bill packs.
|
|
303
371
|
* @param {DescribeBillDownloadUrlRequest} req
|
|
@@ -310,25 +378,36 @@ Note:
|
|
|
310
378
|
}
|
|
311
379
|
|
|
312
380
|
/**
|
|
313
|
-
*
|
|
314
|
-
* @param {
|
|
315
|
-
* @param {function(string,
|
|
381
|
+
* u200cThis API is used to batch cancel cost allocation tags.
|
|
382
|
+
* @param {DeleteAllocationTagRequest} req
|
|
383
|
+
* @param {function(string, DeleteAllocationTagResponse):void} cb
|
|
316
384
|
* @public
|
|
317
385
|
*/
|
|
318
|
-
|
|
319
|
-
let resp = new
|
|
320
|
-
this.request("
|
|
386
|
+
DeleteAllocationTag(req, cb) {
|
|
387
|
+
let resp = new DeleteAllocationTagResponse();
|
|
388
|
+
this.request("DeleteAllocationTag", req, resp, cb);
|
|
321
389
|
}
|
|
322
390
|
|
|
323
391
|
/**
|
|
324
|
-
*
|
|
325
|
-
* @param {
|
|
326
|
-
* @param {function(string,
|
|
392
|
+
* Gets the bill summarized according to product
|
|
393
|
+
* @param {DescribeBillSummaryByProductRequest} req
|
|
394
|
+
* @param {function(string, DescribeBillSummaryByProductResponse):void} cb
|
|
327
395
|
* @public
|
|
328
396
|
*/
|
|
329
|
-
|
|
330
|
-
let resp = new
|
|
331
|
-
this.request("
|
|
397
|
+
DescribeBillSummaryByProduct(req, cb) {
|
|
398
|
+
let resp = new DescribeBillSummaryByProductResponse();
|
|
399
|
+
this.request("DescribeBillSummaryByProduct", req, resp, cb);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* This API is used to query consumption details.
|
|
404
|
+
* @param {DescribeCostDetailRequest} req
|
|
405
|
+
* @param {function(string, DescribeCostDetailResponse):void} cb
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
DescribeCostDetail(req, cb) {
|
|
409
|
+
let resp = new DescribeCostDetailResponse();
|
|
410
|
+
this.request("DescribeCostDetail", req, resp, cb);
|
|
332
411
|
}
|
|
333
412
|
|
|
334
413
|
|