tencentcloud-sdk-nodejs-intl-en 3.0.1184 → 3.0.1186

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.
@@ -328,6 +328,152 @@ Note: This field may return null, indicating that no valid values can be obtaine
328
328
  }
329
329
  }
330
330
 
331
+ /**
332
+ * ModifyAllocationRule request structure.
333
+ * @class
334
+ */
335
+ class ModifyAllocationRuleRequest extends AbstractModel {
336
+ constructor(){
337
+ super();
338
+
339
+ /**
340
+ * The edited sharing rule ID.
341
+ * @type {number || null}
342
+ */
343
+ this.RuleId = null;
344
+
345
+ /**
346
+ * Edited sharing rule name.
347
+ * @type {string || null}
348
+ */
349
+ this.Name = null;
350
+
351
+ /**
352
+ * Public sharing policy types, enumeration values are as follows: 1 - custom sharing proportion 2 - proportional allocation 3 - allocation by proportion.
353
+ * @type {number || null}
354
+ */
355
+ this.Type = null;
356
+
357
+ /**
358
+ * Edited share rules expression.
359
+ * @type {AllocationRuleExpression || null}
360
+ */
361
+ this.RuleDetail = null;
362
+
363
+ /**
364
+ * Edited sharing proportion expression.
365
+ * @type {Array.<AllocationRationExpression> || null}
366
+ */
367
+ this.RatioDetail = null;
368
+
369
+ /**
370
+ * Month, which is the current month by default if not provided.
371
+ * @type {string || null}
372
+ */
373
+ this.Month = null;
374
+
375
+ }
376
+
377
+ /**
378
+ * @private
379
+ */
380
+ deserialize(params) {
381
+ if (!params) {
382
+ return;
383
+ }
384
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
385
+ this.Name = 'Name' in params ? params.Name : null;
386
+ this.Type = 'Type' in params ? params.Type : null;
387
+
388
+ if (params.RuleDetail) {
389
+ let obj = new AllocationRuleExpression();
390
+ obj.deserialize(params.RuleDetail)
391
+ this.RuleDetail = obj;
392
+ }
393
+
394
+ if (params.RatioDetail) {
395
+ this.RatioDetail = new Array();
396
+ for (let z in params.RatioDetail) {
397
+ let obj = new AllocationRationExpression();
398
+ obj.deserialize(params.RatioDetail[z]);
399
+ this.RatioDetail.push(obj);
400
+ }
401
+ }
402
+ this.Month = 'Month' in params ? params.Month : null;
403
+
404
+ }
405
+ }
406
+
407
+ /**
408
+ * DeleteAllocationRule request structure.
409
+ * @class
410
+ */
411
+ class DeleteAllocationRuleRequest extends AbstractModel {
412
+ constructor(){
413
+ super();
414
+
415
+ /**
416
+ * The deleted sharing rule ID.
417
+ * @type {number || null}
418
+ */
419
+ this.RuleId = null;
420
+
421
+ /**
422
+ * Month, which is the current month by default if not provided.
423
+ * @type {string || null}
424
+ */
425
+ this.Month = null;
426
+
427
+ }
428
+
429
+ /**
430
+ * @private
431
+ */
432
+ deserialize(params) {
433
+ if (!params) {
434
+ return;
435
+ }
436
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
437
+ this.Month = 'Month' in params ? params.Month : null;
438
+
439
+ }
440
+ }
441
+
442
+ /**
443
+ * CreateAllocationRule response structure.
444
+ * @class
445
+ */
446
+ class CreateAllocationRuleResponse extends AbstractModel {
447
+ constructor(){
448
+ super();
449
+
450
+ /**
451
+ * Add new sharing rule ID.
452
+ * @type {number || null}
453
+ */
454
+ this.Id = null;
455
+
456
+ /**
457
+ * 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.
458
+ * @type {string || null}
459
+ */
460
+ this.RequestId = null;
461
+
462
+ }
463
+
464
+ /**
465
+ * @private
466
+ */
467
+ deserialize(params) {
468
+ if (!params) {
469
+ return;
470
+ }
471
+ this.Id = 'Id' in params ? params.Id : null;
472
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
473
+
474
+ }
475
+ }
476
+
331
477
  /**
332
478
  * Bill tag information.
333
479
  * @class
@@ -609,24 +755,42 @@ class DescribeCostSummaryByProductResponse extends AbstractModel {
609
755
  }
610
756
 
611
757
  /**
612
- * Product details
758
+ * DescribeAllocationTree response structure.
613
759
  * @class
614
760
  */
615
- class ProductInfo extends AbstractModel {
761
+ class DescribeAllocationTreeResponse extends AbstractModel {
616
762
  constructor(){
617
763
  super();
618
764
 
619
765
  /**
620
- * Product detail name identifier
766
+ * Cost allocation unit ID.
767
+ * @type {number || null}
768
+ */
769
+ this.Id = null;
770
+
771
+ /**
772
+ * Specifies the name of a cost allocation unit.
621
773
  * @type {string || null}
622
774
  */
623
775
  this.Name = null;
624
776
 
625
777
  /**
626
- * Product details
778
+ * Unique identifier of a cost allocation unit
627
779
  * @type {string || null}
628
780
  */
629
- this.Value = null;
781
+ this.TreeNodeUniqKey = null;
782
+
783
+ /**
784
+ * Specifies a subtree.
785
+ * @type {Array.<AllocationTree> || null}
786
+ */
787
+ this.Children = null;
788
+
789
+ /**
790
+ * 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.
791
+ * @type {string || null}
792
+ */
793
+ this.RequestId = null;
630
794
 
631
795
  }
632
796
 
@@ -637,8 +801,19 @@ class ProductInfo extends AbstractModel {
637
801
  if (!params) {
638
802
  return;
639
803
  }
804
+ this.Id = 'Id' in params ? params.Id : null;
640
805
  this.Name = 'Name' in params ? params.Name : null;
641
- this.Value = 'Value' in params ? params.Value : null;
806
+ this.TreeNodeUniqKey = 'TreeNodeUniqKey' in params ? params.TreeNodeUniqKey : null;
807
+
808
+ if (params.Children) {
809
+ this.Children = new Array();
810
+ for (let z in params.Children) {
811
+ let obj = new AllocationTree();
812
+ obj.deserialize(params.Children[z]);
813
+ this.Children.push(obj);
814
+ }
815
+ }
816
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
642
817
 
643
818
  }
644
819
  }
@@ -671,6 +846,63 @@ class DeleteAllocationTagResponse extends AbstractModel {
671
846
  }
672
847
  }
673
848
 
849
+ /**
850
+ * Cost allocation tree.
851
+ * @class
852
+ */
853
+ class AllocationTree extends AbstractModel {
854
+ constructor(){
855
+ super();
856
+
857
+ /**
858
+ * ID of a cost allocation unit.
859
+ * @type {number || null}
860
+ */
861
+ this.Id = null;
862
+
863
+ /**
864
+ * Cost allocation unit name.
865
+ * @type {string || null}
866
+ */
867
+ this.Name = null;
868
+
869
+ /**
870
+ * Unique identifier of a cost allocation unit
871
+ * @type {string || null}
872
+ */
873
+ this.TreeNodeUniqKey = null;
874
+
875
+ /**
876
+ * Subtree.
877
+ * @type {Array.<AllocationTree> || null}
878
+ */
879
+ this.Children = null;
880
+
881
+ }
882
+
883
+ /**
884
+ * @private
885
+ */
886
+ deserialize(params) {
887
+ if (!params) {
888
+ return;
889
+ }
890
+ this.Id = 'Id' in params ? params.Id : null;
891
+ this.Name = 'Name' in params ? params.Name : null;
892
+ this.TreeNodeUniqKey = 'TreeNodeUniqKey' in params ? params.TreeNodeUniqKey : null;
893
+
894
+ if (params.Children) {
895
+ this.Children = new Array();
896
+ for (let z in params.Children) {
897
+ let obj = new AllocationTree();
898
+ obj.deserialize(params.Children[z]);
899
+ this.Children.push(obj);
900
+ }
901
+ }
902
+
903
+ }
904
+ }
905
+
674
906
  /**
675
907
  * DescribeBillDetailForOrganization response structure.
676
908
  * @class
@@ -969,6 +1201,46 @@ Example value: 333.00000000.
969
1201
  }
970
1202
  }
971
1203
 
1204
+ /**
1205
+ * CreateAllocationRule request structure.
1206
+ * @class
1207
+ */
1208
+ class CreateAllocationRuleRequest extends AbstractModel {
1209
+ constructor(){
1210
+ super();
1211
+
1212
+ /**
1213
+ * List of sharing rules.
1214
+ * @type {AllocationRulesSummary || null}
1215
+ */
1216
+ this.RuleList = null;
1217
+
1218
+ /**
1219
+ * Month, the current month by default if not provided.
1220
+ * @type {string || null}
1221
+ */
1222
+ this.Month = null;
1223
+
1224
+ }
1225
+
1226
+ /**
1227
+ * @private
1228
+ */
1229
+ deserialize(params) {
1230
+ if (!params) {
1231
+ return;
1232
+ }
1233
+
1234
+ if (params.RuleList) {
1235
+ let obj = new AllocationRulesSummary();
1236
+ obj.deserialize(params.RuleList)
1237
+ this.RuleList = obj;
1238
+ }
1239
+ this.Month = 'Month' in params ? params.Month : null;
1240
+
1241
+ }
1242
+ }
1243
+
972
1244
  /**
973
1245
  * Consumption details summarized by region
974
1246
  * @class
@@ -1238,6 +1510,41 @@ class DescribeBillResourceSummaryResponse extends AbstractModel {
1238
1510
  }
1239
1511
  }
1240
1512
 
1513
+ /**
1514
+ * DescribeGatherRuleDetail request structure.
1515
+ * @class
1516
+ */
1517
+ class DescribeGatherRuleDetailRequest extends AbstractModel {
1518
+ constructor(){
1519
+ super();
1520
+
1521
+ /**
1522
+ * Specifies the ID of the queried collection rule.
1523
+ * @type {number || null}
1524
+ */
1525
+ this.Id = null;
1526
+
1527
+ /**
1528
+ * Month, the current month by default if not provided.
1529
+ * @type {string || null}
1530
+ */
1531
+ this.Month = null;
1532
+
1533
+ }
1534
+
1535
+ /**
1536
+ * @private
1537
+ */
1538
+ deserialize(params) {
1539
+ if (!params) {
1540
+ return;
1541
+ }
1542
+ this.Id = 'Id' in params ? params.Id : null;
1543
+ this.Month = 'Month' in params ? params.Month : null;
1544
+
1545
+ }
1546
+ }
1547
+
1241
1548
  /**
1242
1549
  * Objects of reseller bill details
1243
1550
  * @class
@@ -1586,6 +1893,342 @@ Example value: [].
1586
1893
  }
1587
1894
  }
1588
1895
 
1896
+ /**
1897
+ * DescribeAllocationRuleDetail request structure.
1898
+ * @class
1899
+ */
1900
+ class DescribeAllocationRuleDetailRequest extends AbstractModel {
1901
+ constructor(){
1902
+ super();
1903
+
1904
+ /**
1905
+ * The queried sharing rule ID.
1906
+ * @type {number || null}
1907
+ */
1908
+ this.RuleId = null;
1909
+
1910
+ /**
1911
+ * Month, which is the current month by default if not provided.
1912
+ * @type {string || null}
1913
+ */
1914
+ this.Month = null;
1915
+
1916
+ }
1917
+
1918
+ /**
1919
+ * @private
1920
+ */
1921
+ deserialize(params) {
1922
+ if (!params) {
1923
+ return;
1924
+ }
1925
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
1926
+ this.Month = 'Month' in params ? params.Month : null;
1927
+
1928
+ }
1929
+ }
1930
+
1931
+ /**
1932
+ * DescribeAllocationUnitDetail response structure.
1933
+ * @class
1934
+ */
1935
+ class DescribeAllocationUnitDetailResponse extends AbstractModel {
1936
+ constructor(){
1937
+ super();
1938
+
1939
+ /**
1940
+ * ID of a cost allocation unit.
1941
+ * @type {number || null}
1942
+ */
1943
+ this.Id = null;
1944
+
1945
+ /**
1946
+ * Associated UIN of the cost allocation unit.
1947
+ * @type {string || null}
1948
+ */
1949
+ this.Uin = null;
1950
+
1951
+ /**
1952
+ * Specifies the name of a cost allocation unit.
1953
+ * @type {string || null}
1954
+ */
1955
+ this.Name = null;
1956
+
1957
+ /**
1958
+ * Cost allocation unit parent node ID.
1959
+ * @type {number || null}
1960
+ */
1961
+ this.ParentId = null;
1962
+
1963
+ /**
1964
+ * Source organization name.
1965
+ * @type {string || null}
1966
+ */
1967
+ this.SourceName = null;
1968
+
1969
+ /**
1970
+ * Source organization ID.
1971
+ * @type {string || null}
1972
+ */
1973
+ this.SourceId = null;
1974
+
1975
+ /**
1976
+ * Specifies remark description.
1977
+ * @type {string || null}
1978
+ */
1979
+ this.Remark = null;
1980
+
1981
+ /**
1982
+ * Cost allocation unit identifier.
1983
+ * @type {string || null}
1984
+ */
1985
+ this.TreeNodeUniqKey = null;
1986
+
1987
+ /**
1988
+ * If a cost allocation unit is set with an collection rule, return the collection rule ID. if no collection rule is set, do not return.
1989
+ * @type {number || null}
1990
+ */
1991
+ this.RuleId = null;
1992
+
1993
+ /**
1994
+ * 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.
1995
+ * @type {string || null}
1996
+ */
1997
+ this.RequestId = null;
1998
+
1999
+ }
2000
+
2001
+ /**
2002
+ * @private
2003
+ */
2004
+ deserialize(params) {
2005
+ if (!params) {
2006
+ return;
2007
+ }
2008
+ this.Id = 'Id' in params ? params.Id : null;
2009
+ this.Uin = 'Uin' in params ? params.Uin : null;
2010
+ this.Name = 'Name' in params ? params.Name : null;
2011
+ this.ParentId = 'ParentId' in params ? params.ParentId : null;
2012
+ this.SourceName = 'SourceName' in params ? params.SourceName : null;
2013
+ this.SourceId = 'SourceId' in params ? params.SourceId : null;
2014
+ this.Remark = 'Remark' in params ? params.Remark : null;
2015
+ this.TreeNodeUniqKey = 'TreeNodeUniqKey' in params ? params.TreeNodeUniqKey : null;
2016
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
2017
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2018
+
2019
+ }
2020
+ }
2021
+
2022
+ /**
2023
+ * DescribeBillSummaryByProduct request structure.
2024
+ * @class
2025
+ */
2026
+ class DescribeBillSummaryByProductRequest extends AbstractModel {
2027
+ constructor(){
2028
+ super();
2029
+
2030
+ /**
2031
+ * The value must be of the same month as `EndTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
2032
+ * @type {string || null}
2033
+ */
2034
+ this.BeginTime = null;
2035
+
2036
+ /**
2037
+ * The value must be of the same month as `BeginTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
2038
+ * @type {string || null}
2039
+ */
2040
+ this.EndTime = null;
2041
+
2042
+ /**
2043
+ * Queries bill data user's UIN
2044
+ * @type {string || null}
2045
+ */
2046
+ this.PayerUin = null;
2047
+
2048
+ /**
2049
+ * A bill type, which corresponds to a subtotal type of L0 bills.
2050
+ This parameter has become valid since v3.0 bills took effect in May 2021.
2051
+ Valid values:
2052
+ `consume`: consumption
2053
+ `refund`: refund
2054
+ `adjustment`: bill adjustment
2055
+ * @type {string || null}
2056
+ */
2057
+ this.PayType = null;
2058
+
2059
+ }
2060
+
2061
+ /**
2062
+ * @private
2063
+ */
2064
+ deserialize(params) {
2065
+ if (!params) {
2066
+ return;
2067
+ }
2068
+ this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
2069
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
2070
+ this.PayerUin = 'PayerUin' in params ? params.PayerUin : null;
2071
+ this.PayType = 'PayType' in params ? params.PayType : null;
2072
+
2073
+ }
2074
+ }
2075
+
2076
+ /**
2077
+ * Specifies the ID and name of a cost allocation unit.
2078
+ * @class
2079
+ */
2080
+ class AllocationUnit extends AbstractModel {
2081
+ constructor(){
2082
+ super();
2083
+
2084
+ /**
2085
+ * Cost allocation unit ID.
2086
+ * @type {number || null}
2087
+ */
2088
+ this.NodeId = null;
2089
+
2090
+ /**
2091
+ * Specifies the name of a cost allocation rule.
2092
+ * @type {string || null}
2093
+ */
2094
+ this.TreeNodeUniqKeyName = null;
2095
+
2096
+ }
2097
+
2098
+ /**
2099
+ * @private
2100
+ */
2101
+ deserialize(params) {
2102
+ if (!params) {
2103
+ return;
2104
+ }
2105
+ this.NodeId = 'NodeId' in params ? params.NodeId : null;
2106
+ this.TreeNodeUniqKeyName = 'TreeNodeUniqKeyName' in params ? params.TreeNodeUniqKeyName : null;
2107
+
2108
+ }
2109
+ }
2110
+
2111
+ /**
2112
+ * Expression for sharing proportion.
2113
+ * @class
2114
+ */
2115
+ class AllocationRationExpression extends AbstractModel {
2116
+ constructor(){
2117
+ super();
2118
+
2119
+ /**
2120
+ * Cost allocation unit ID that the sharing rule belongs to.
2121
+ * @type {number || null}
2122
+ */
2123
+ this.NodeId = null;
2124
+
2125
+ /**
2126
+ * Sharing proportion occupied by allocation unit, pass 0 for allocation by proportion.
2127
+ * @type {number || null}
2128
+ */
2129
+ this.Ratio = null;
2130
+
2131
+ }
2132
+
2133
+ /**
2134
+ * @private
2135
+ */
2136
+ deserialize(params) {
2137
+ if (!params) {
2138
+ return;
2139
+ }
2140
+ this.NodeId = 'NodeId' in params ? params.NodeId : null;
2141
+ this.Ratio = 'Ratio' in params ? params.Ratio : null;
2142
+
2143
+ }
2144
+ }
2145
+
2146
+ /**
2147
+ * DescribeVoucherUsageDetails response structure.
2148
+ * @class
2149
+ */
2150
+ class DescribeVoucherUsageDetailsResponse extends AbstractModel {
2151
+ constructor(){
2152
+ super();
2153
+
2154
+ /**
2155
+ * The total number of vouchers.
2156
+ * @type {number || null}
2157
+ */
2158
+ this.TotalCount = null;
2159
+
2160
+ /**
2161
+ * The total amount used. The value of this parameter is the total amount used (USD, rounded to 8 decimal places) multiplied by 100,000,000.
2162
+ * @type {number || null}
2163
+ */
2164
+ this.TotalUsedAmount = null;
2165
+
2166
+ /**
2167
+ * The usage details.
2168
+ Note: This field may return `null`, indicating that no valid value was found.
2169
+ * @type {Array.<UsageRecords> || null}
2170
+ */
2171
+ this.UsageRecords = null;
2172
+
2173
+ /**
2174
+ * 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.
2175
+ * @type {string || null}
2176
+ */
2177
+ this.RequestId = null;
2178
+
2179
+ }
2180
+
2181
+ /**
2182
+ * @private
2183
+ */
2184
+ deserialize(params) {
2185
+ if (!params) {
2186
+ return;
2187
+ }
2188
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
2189
+ this.TotalUsedAmount = 'TotalUsedAmount' in params ? params.TotalUsedAmount : null;
2190
+
2191
+ if (params.UsageRecords) {
2192
+ this.UsageRecords = new Array();
2193
+ for (let z in params.UsageRecords) {
2194
+ let obj = new UsageRecords();
2195
+ obj.deserialize(params.UsageRecords[z]);
2196
+ this.UsageRecords.push(obj);
2197
+ }
2198
+ }
2199
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2200
+
2201
+ }
2202
+ }
2203
+
2204
+ /**
2205
+ * Consumption summary details
2206
+ * @class
2207
+ */
2208
+ class ConsumptionSummaryTotal extends AbstractModel {
2209
+ constructor(){
2210
+ super();
2211
+
2212
+ /**
2213
+ * Discounted total price
2214
+ * @type {string || null}
2215
+ */
2216
+ this.RealTotalCost = null;
2217
+
2218
+ }
2219
+
2220
+ /**
2221
+ * @private
2222
+ */
2223
+ deserialize(params) {
2224
+ if (!params) {
2225
+ return;
2226
+ }
2227
+ this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
2228
+
2229
+ }
2230
+ }
2231
+
1589
2232
  /**
1590
2233
  * Summary objects for a reseller bill
1591
2234
  * @class
@@ -1777,328 +2420,52 @@ Note: This field may return null, indicating that no valid values can be obtaine
1777
2420
  this.OperateUin = null;
1778
2421
 
1779
2422
  /**
1780
- * Product code.
1781
- * @type {string || null}
1782
- */
1783
- this.BusinessCode = null;
1784
-
1785
- /**
1786
- * Subproduct code.
1787
- * @type {string || null}
1788
- */
1789
- this.ProductCode = null;
1790
-
1791
- /**
1792
- * Region ID.
1793
- * @type {number || null}
1794
- */
1795
- this.RegionId = null;
1796
-
1797
- /**
1798
- * Instance type: The instance type of a product or service purchased, which can be resource package, RI, SP, or spot instance. Other instance types are not displayed by default.
1799
- * @type {string || null}
1800
- */
1801
- this.InstanceType = null;
1802
-
1803
- /**
1804
- * RI deduction (cost): The amount deducted from the original cost by RI.
1805
- * @type {string || null}
1806
- */
1807
- this.OriginalCostWithRI = null;
1808
-
1809
- /**
1810
- * Savings plan deduction (disused).
1811
- * @type {string || null}
1812
- */
1813
- this.SPDeduction = null;
1814
-
1815
- /**
1816
- * SP deduction (cost): The amount of cost deducted by a savings plan based on the component's original cost. SP deduction (cost) = Cost deduction by SP / SP deduction rate
1817
- * @type {string || null}
1818
- */
1819
- this.OriginalCostWithSP = null;
1820
-
1821
- /**
1822
- * Billing monthNote: This field may return null, indicating that no valid values can be obtained.
1823
- * @type {string || null}
1824
- */
1825
- this.BillMonth = null;
1826
-
1827
- }
1828
-
1829
- /**
1830
- * @private
1831
- */
1832
- deserialize(params) {
1833
- if (!params) {
1834
- return;
1835
- }
1836
- this.BusinessCodeName = 'BusinessCodeName' in params ? params.BusinessCodeName : null;
1837
- this.ProductCodeName = 'ProductCodeName' in params ? params.ProductCodeName : null;
1838
- this.PayModeName = 'PayModeName' in params ? params.PayModeName : null;
1839
- this.ProjectName = 'ProjectName' in params ? params.ProjectName : null;
1840
- this.RegionName = 'RegionName' in params ? params.RegionName : null;
1841
- this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
1842
- this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
1843
- this.ResourceName = 'ResourceName' in params ? params.ResourceName : null;
1844
- this.ActionTypeName = 'ActionTypeName' in params ? params.ActionTypeName : null;
1845
- this.OrderId = 'OrderId' in params ? params.OrderId : null;
1846
- this.PayTime = 'PayTime' in params ? params.PayTime : null;
1847
- this.FeeBeginTime = 'FeeBeginTime' in params ? params.FeeBeginTime : null;
1848
- this.FeeEndTime = 'FeeEndTime' in params ? params.FeeEndTime : null;
1849
- this.ConfigDesc = 'ConfigDesc' in params ? params.ConfigDesc : null;
1850
- this.ExtendField1 = 'ExtendField1' in params ? params.ExtendField1 : null;
1851
- this.ExtendField2 = 'ExtendField2' in params ? params.ExtendField2 : null;
1852
- this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
1853
- this.Discount = 'Discount' in params ? params.Discount : null;
1854
- this.ReduceType = 'ReduceType' in params ? params.ReduceType : null;
1855
- this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
1856
- this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
1857
- this.CashPayAmount = 'CashPayAmount' in params ? params.CashPayAmount : null;
1858
- this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
1859
- this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
1860
- this.ExtendField3 = 'ExtendField3' in params ? params.ExtendField3 : null;
1861
- this.ExtendField4 = 'ExtendField4' in params ? params.ExtendField4 : null;
1862
- this.ExtendField5 = 'ExtendField5' in params ? params.ExtendField5 : null;
1863
-
1864
- if (params.Tags) {
1865
- this.Tags = new Array();
1866
- for (let z in params.Tags) {
1867
- let obj = new BillTagInfo();
1868
- obj.deserialize(params.Tags[z]);
1869
- this.Tags.push(obj);
1870
- }
1871
- }
1872
- this.OwnerUin = 'OwnerUin' in params ? params.OwnerUin : null;
1873
- this.OperateUin = 'OperateUin' in params ? params.OperateUin : null;
1874
- this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
1875
- this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
1876
- this.RegionId = 'RegionId' in params ? params.RegionId : null;
1877
- this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
1878
- this.OriginalCostWithRI = 'OriginalCostWithRI' in params ? params.OriginalCostWithRI : null;
1879
- this.SPDeduction = 'SPDeduction' in params ? params.SPDeduction : null;
1880
- this.OriginalCostWithSP = 'OriginalCostWithSP' in params ? params.OriginalCostWithSP : null;
1881
- this.BillMonth = 'BillMonth' in params ? params.BillMonth : null;
1882
-
1883
- }
1884
- }
1885
-
1886
- /**
1887
- * DescribeAllocationUnitDetail response structure.
1888
- * @class
1889
- */
1890
- class DescribeAllocationUnitDetailResponse extends AbstractModel {
1891
- constructor(){
1892
- super();
1893
-
1894
- /**
1895
- * ID of a cost allocation unit.
1896
- * @type {number || null}
1897
- */
1898
- this.Id = null;
1899
-
1900
- /**
1901
- * Associated UIN of the cost allocation unit.
1902
- * @type {string || null}
1903
- */
1904
- this.Uin = null;
1905
-
1906
- /**
1907
- * Specifies the name of a cost allocation unit.
1908
- * @type {string || null}
1909
- */
1910
- this.Name = null;
1911
-
1912
- /**
1913
- * Cost allocation unit parent node ID.
1914
- * @type {number || null}
1915
- */
1916
- this.ParentId = null;
1917
-
1918
- /**
1919
- * Source organization name.
1920
- * @type {string || null}
1921
- */
1922
- this.SourceName = null;
1923
-
1924
- /**
1925
- * Source organization ID.
1926
- * @type {string || null}
1927
- */
1928
- this.SourceId = null;
1929
-
1930
- /**
1931
- * Specifies remark description.
1932
- * @type {string || null}
1933
- */
1934
- this.Remark = null;
1935
-
1936
- /**
1937
- * Cost allocation unit identifier.
1938
- * @type {string || null}
1939
- */
1940
- this.TreeNodeUniqKey = null;
1941
-
1942
- /**
1943
- * If a cost allocation unit is set with an collection rule, return the collection rule ID. if no collection rule is set, do not return.
1944
- * @type {number || null}
1945
- */
1946
- this.RuleId = null;
1947
-
1948
- /**
1949
- * 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.
1950
- * @type {string || null}
1951
- */
1952
- this.RequestId = null;
1953
-
1954
- }
1955
-
1956
- /**
1957
- * @private
1958
- */
1959
- deserialize(params) {
1960
- if (!params) {
1961
- return;
1962
- }
1963
- this.Id = 'Id' in params ? params.Id : null;
1964
- this.Uin = 'Uin' in params ? params.Uin : null;
1965
- this.Name = 'Name' in params ? params.Name : null;
1966
- this.ParentId = 'ParentId' in params ? params.ParentId : null;
1967
- this.SourceName = 'SourceName' in params ? params.SourceName : null;
1968
- this.SourceId = 'SourceId' in params ? params.SourceId : null;
1969
- this.Remark = 'Remark' in params ? params.Remark : null;
1970
- this.TreeNodeUniqKey = 'TreeNodeUniqKey' in params ? params.TreeNodeUniqKey : null;
1971
- this.RuleId = 'RuleId' in params ? params.RuleId : null;
1972
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1973
-
1974
- }
1975
- }
1976
-
1977
- /**
1978
- * DescribeBillSummaryByProduct request structure.
1979
- * @class
1980
- */
1981
- class DescribeBillSummaryByProductRequest extends AbstractModel {
1982
- constructor(){
1983
- super();
1984
-
1985
- /**
1986
- * The value must be of the same month as `EndTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
1987
- * @type {string || null}
1988
- */
1989
- this.BeginTime = null;
1990
-
1991
- /**
1992
- * The value must be of the same month as `BeginTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
1993
- * @type {string || null}
1994
- */
1995
- this.EndTime = null;
1996
-
1997
- /**
1998
- * Queries bill data user's UIN
2423
+ * Product code.
1999
2424
  * @type {string || null}
2000
2425
  */
2001
- this.PayerUin = null;
2426
+ this.BusinessCode = null;
2002
2427
 
2003
2428
  /**
2004
- * A bill type, which corresponds to a subtotal type of L0 bills.
2005
- This parameter has become valid since v3.0 bills took effect in May 2021.
2006
- Valid values:
2007
- `consume`: consumption
2008
- `refund`: refund
2009
- `adjustment`: bill adjustment
2429
+ * Subproduct code.
2010
2430
  * @type {string || null}
2011
2431
  */
2012
- this.PayType = null;
2013
-
2014
- }
2015
-
2016
- /**
2017
- * @private
2018
- */
2019
- deserialize(params) {
2020
- if (!params) {
2021
- return;
2022
- }
2023
- this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
2024
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
2025
- this.PayerUin = 'PayerUin' in params ? params.PayerUin : null;
2026
- this.PayType = 'PayType' in params ? params.PayType : null;
2027
-
2028
- }
2029
- }
2030
-
2031
- /**
2032
- * DescribeVoucherUsageDetails response structure.
2033
- * @class
2034
- */
2035
- class DescribeVoucherUsageDetailsResponse extends AbstractModel {
2036
- constructor(){
2037
- super();
2432
+ this.ProductCode = null;
2038
2433
 
2039
2434
  /**
2040
- * The total number of vouchers.
2435
+ * Region ID.
2041
2436
  * @type {number || null}
2042
2437
  */
2043
- this.TotalCount = null;
2438
+ this.RegionId = null;
2044
2439
 
2045
2440
  /**
2046
- * The total amount used. The value of this parameter is the total amount used (USD, rounded to 8 decimal places) multiplied by 100,000,000.
2047
- * @type {number || null}
2441
+ * Instance type: The instance type of a product or service purchased, which can be resource package, RI, SP, or spot instance. Other instance types are not displayed by default.
2442
+ * @type {string || null}
2048
2443
  */
2049
- this.TotalUsedAmount = null;
2444
+ this.InstanceType = null;
2050
2445
 
2051
2446
  /**
2052
- * The usage details.
2053
- Note: This field may return `null`, indicating that no valid value was found.
2054
- * @type {Array.<UsageRecords> || null}
2447
+ * RI deduction (cost): The amount deducted from the original cost by RI.
2448
+ * @type {string || null}
2055
2449
  */
2056
- this.UsageRecords = null;
2450
+ this.OriginalCostWithRI = null;
2057
2451
 
2058
2452
  /**
2059
- * 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.
2453
+ * Savings plan deduction (disused).
2060
2454
  * @type {string || null}
2061
2455
  */
2062
- this.RequestId = null;
2063
-
2064
- }
2065
-
2066
- /**
2067
- * @private
2068
- */
2069
- deserialize(params) {
2070
- if (!params) {
2071
- return;
2072
- }
2073
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
2074
- this.TotalUsedAmount = 'TotalUsedAmount' in params ? params.TotalUsedAmount : null;
2075
-
2076
- if (params.UsageRecords) {
2077
- this.UsageRecords = new Array();
2078
- for (let z in params.UsageRecords) {
2079
- let obj = new UsageRecords();
2080
- obj.deserialize(params.UsageRecords[z]);
2081
- this.UsageRecords.push(obj);
2082
- }
2083
- }
2084
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
2085
-
2086
- }
2087
- }
2456
+ this.SPDeduction = null;
2088
2457
 
2089
- /**
2090
- * Consumption summary details
2091
- * @class
2092
- */
2093
- class ConsumptionSummaryTotal extends AbstractModel {
2094
- constructor(){
2095
- super();
2458
+ /**
2459
+ * SP deduction (cost): The amount of cost deducted by a savings plan based on the component's original cost. SP deduction (cost) = Cost deduction by SP / SP deduction rate
2460
+ * @type {string || null}
2461
+ */
2462
+ this.OriginalCostWithSP = null;
2096
2463
 
2097
2464
  /**
2098
- * Discounted total price
2465
+ * Billing monthNote: This field may return null, indicating that no valid values can be obtained.
2099
2466
  * @type {string || null}
2100
2467
  */
2101
- this.RealTotalCost = null;
2468
+ this.BillMonth = null;
2102
2469
 
2103
2470
  }
2104
2471
 
@@ -2109,7 +2476,52 @@ class ConsumptionSummaryTotal extends AbstractModel {
2109
2476
  if (!params) {
2110
2477
  return;
2111
2478
  }
2479
+ this.BusinessCodeName = 'BusinessCodeName' in params ? params.BusinessCodeName : null;
2480
+ this.ProductCodeName = 'ProductCodeName' in params ? params.ProductCodeName : null;
2481
+ this.PayModeName = 'PayModeName' in params ? params.PayModeName : null;
2482
+ this.ProjectName = 'ProjectName' in params ? params.ProjectName : null;
2483
+ this.RegionName = 'RegionName' in params ? params.RegionName : null;
2484
+ this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
2485
+ this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
2486
+ this.ResourceName = 'ResourceName' in params ? params.ResourceName : null;
2487
+ this.ActionTypeName = 'ActionTypeName' in params ? params.ActionTypeName : null;
2488
+ this.OrderId = 'OrderId' in params ? params.OrderId : null;
2489
+ this.PayTime = 'PayTime' in params ? params.PayTime : null;
2490
+ this.FeeBeginTime = 'FeeBeginTime' in params ? params.FeeBeginTime : null;
2491
+ this.FeeEndTime = 'FeeEndTime' in params ? params.FeeEndTime : null;
2492
+ this.ConfigDesc = 'ConfigDesc' in params ? params.ConfigDesc : null;
2493
+ this.ExtendField1 = 'ExtendField1' in params ? params.ExtendField1 : null;
2494
+ this.ExtendField2 = 'ExtendField2' in params ? params.ExtendField2 : null;
2495
+ this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
2496
+ this.Discount = 'Discount' in params ? params.Discount : null;
2497
+ this.ReduceType = 'ReduceType' in params ? params.ReduceType : null;
2112
2498
  this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
2499
+ this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
2500
+ this.CashPayAmount = 'CashPayAmount' in params ? params.CashPayAmount : null;
2501
+ this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
2502
+ this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
2503
+ this.ExtendField3 = 'ExtendField3' in params ? params.ExtendField3 : null;
2504
+ this.ExtendField4 = 'ExtendField4' in params ? params.ExtendField4 : null;
2505
+ this.ExtendField5 = 'ExtendField5' in params ? params.ExtendField5 : null;
2506
+
2507
+ if (params.Tags) {
2508
+ this.Tags = new Array();
2509
+ for (let z in params.Tags) {
2510
+ let obj = new BillTagInfo();
2511
+ obj.deserialize(params.Tags[z]);
2512
+ this.Tags.push(obj);
2513
+ }
2514
+ }
2515
+ this.OwnerUin = 'OwnerUin' in params ? params.OwnerUin : null;
2516
+ this.OperateUin = 'OperateUin' in params ? params.OperateUin : null;
2517
+ this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
2518
+ this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
2519
+ this.RegionId = 'RegionId' in params ? params.RegionId : null;
2520
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
2521
+ this.OriginalCostWithRI = 'OriginalCostWithRI' in params ? params.OriginalCostWithRI : null;
2522
+ this.SPDeduction = 'SPDeduction' in params ? params.SPDeduction : null;
2523
+ this.OriginalCostWithSP = 'OriginalCostWithSP' in params ? params.OriginalCostWithSP : null;
2524
+ this.BillMonth = 'BillMonth' in params ? params.BillMonth : null;
2113
2525
 
2114
2526
  }
2115
2527
  }
@@ -2538,6 +2950,53 @@ Note: this field may return `null`, indicating that no valid values can be obtai
2538
2950
  }
2539
2951
  }
2540
2952
 
2953
+ /**
2954
+ * ModifyGatherRule request structure.
2955
+ * @class
2956
+ */
2957
+ class ModifyGatherRuleRequest extends AbstractModel {
2958
+ constructor(){
2959
+ super();
2960
+
2961
+ /**
2962
+ * Edit collection rule ID.
2963
+ * @type {number || null}
2964
+ */
2965
+ this.Id = null;
2966
+
2967
+ /**
2968
+ * Rule detail of the edited collection rule.
2969
+ * @type {AllocationRuleExpression || null}
2970
+ */
2971
+ this.RuleDetail = null;
2972
+
2973
+ /**
2974
+ * Month, which is the current month by default if not provided.
2975
+ * @type {string || null}
2976
+ */
2977
+ this.Month = null;
2978
+
2979
+ }
2980
+
2981
+ /**
2982
+ * @private
2983
+ */
2984
+ deserialize(params) {
2985
+ if (!params) {
2986
+ return;
2987
+ }
2988
+ this.Id = 'Id' in params ? params.Id : null;
2989
+
2990
+ if (params.RuleDetail) {
2991
+ let obj = new AllocationRuleExpression();
2992
+ obj.deserialize(params.RuleDetail)
2993
+ this.RuleDetail = obj;
2994
+ }
2995
+ this.Month = 'Month' in params ? params.Month : null;
2996
+
2997
+ }
2998
+ }
2999
+
2541
3000
  /**
2542
3001
  * DescribeBillSummaryByPayMode response structure.
2543
3002
  * @class
@@ -2669,7 +3128,92 @@ class AnalyseDetail extends AbstractModel {
2669
3128
  * Date detailed amountNote: This field may return null, indicating that no valid values can be obtained.
2670
3129
  * @type {Array.<AnalyseTimeDetail> || null}
2671
3130
  */
2672
- this.TimeDetail = null;
3131
+ this.TimeDetail = null;
3132
+
3133
+ }
3134
+
3135
+ /**
3136
+ * @private
3137
+ */
3138
+ deserialize(params) {
3139
+ if (!params) {
3140
+ return;
3141
+ }
3142
+ this.Name = 'Name' in params ? params.Name : null;
3143
+ this.Total = 'Total' in params ? params.Total : null;
3144
+
3145
+ if (params.TimeDetail) {
3146
+ this.TimeDetail = new Array();
3147
+ for (let z in params.TimeDetail) {
3148
+ let obj = new AnalyseTimeDetail();
3149
+ obj.deserialize(params.TimeDetail[z]);
3150
+ this.TimeDetail.push(obj);
3151
+ }
3152
+ }
3153
+
3154
+ }
3155
+ }
3156
+
3157
+ /**
3158
+ * DeleteGatherRule request structure.
3159
+ * @class
3160
+ */
3161
+ class DeleteGatherRuleRequest extends AbstractModel {
3162
+ constructor(){
3163
+ super();
3164
+
3165
+ /**
3166
+ * The deleted collection rule ID.
3167
+ * @type {number || null}
3168
+ */
3169
+ this.RuleId = null;
3170
+
3171
+ /**
3172
+ * Month, which is the current month by default if not provided.
3173
+ * @type {string || null}
3174
+ */
3175
+ this.Month = null;
3176
+
3177
+ }
3178
+
3179
+ /**
3180
+ * @private
3181
+ */
3182
+ deserialize(params) {
3183
+ if (!params) {
3184
+ return;
3185
+ }
3186
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
3187
+ this.Month = 'Month' in params ? params.Month : null;
3188
+
3189
+ }
3190
+ }
3191
+
3192
+ /**
3193
+ * DescribeAllocationRuleSummary response structure.
3194
+ * @class
3195
+ */
3196
+ class DescribeAllocationRuleSummaryResponse extends AbstractModel {
3197
+ constructor(){
3198
+ super();
3199
+
3200
+ /**
3201
+ * Sharing rule expression.
3202
+ * @type {Array.<AllocationRuleOverview> || null}
3203
+ */
3204
+ this.RuleList = null;
3205
+
3206
+ /**
3207
+ * Total number of rules.
3208
+ * @type {number || null}
3209
+ */
3210
+ this.Total = null;
3211
+
3212
+ /**
3213
+ * 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.
3214
+ * @type {string || null}
3215
+ */
3216
+ this.RequestId = null;
2673
3217
 
2674
3218
  }
2675
3219
 
@@ -2680,82 +3224,69 @@ class AnalyseDetail extends AbstractModel {
2680
3224
  if (!params) {
2681
3225
  return;
2682
3226
  }
2683
- this.Name = 'Name' in params ? params.Name : null;
2684
- this.Total = 'Total' in params ? params.Total : null;
2685
3227
 
2686
- if (params.TimeDetail) {
2687
- this.TimeDetail = new Array();
2688
- for (let z in params.TimeDetail) {
2689
- let obj = new AnalyseTimeDetail();
2690
- obj.deserialize(params.TimeDetail[z]);
2691
- this.TimeDetail.push(obj);
3228
+ if (params.RuleList) {
3229
+ this.RuleList = new Array();
3230
+ for (let z in params.RuleList) {
3231
+ let obj = new AllocationRuleOverview();
3232
+ obj.deserialize(params.RuleList[z]);
3233
+ this.RuleList.push(obj);
2692
3234
  }
2693
3235
  }
3236
+ this.Total = 'Total' in params ? params.Total : null;
3237
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2694
3238
 
2695
3239
  }
2696
3240
  }
2697
3241
 
2698
3242
  /**
2699
- * Detailed summary of costs by multiple dimensions
3243
+ * Cost analysis amount return data model
2700
3244
  * @class
2701
3245
  */
2702
- class SummaryDetail extends AbstractModel {
3246
+ class AnalyseAmountDetail extends AbstractModel {
2703
3247
  constructor(){
2704
3248
  super();
2705
3249
 
2706
3250
  /**
2707
- * Bill dimension code. Note: This field may return null, indicating that no valid values can be obtained.
2708
- * @type {string || null}
2709
- */
2710
- this.GroupKey = null;
2711
-
2712
- /**
2713
- * Bill dimension value. Note: This field may return null, indicating that no valid values can be obtained.
3251
+ * Fee typeNote: This field may return null, indicating that no valid values can be obtained.
2714
3252
  * @type {string || null}
2715
3253
  */
2716
- this.GroupValue = null;
3254
+ this.Key = null;
2717
3255
 
2718
3256
  /**
2719
- * Original cost in USD. This parameter has become valid since Bill 3.0 took effect in May 2021, and before that `-` was returned for this parameter. If a customer has applied for a contract price different from the prices listed on the official website, `-` will also be returned for this parameter.
2720
- * @type {string || null}
3257
+ * Whether to displayNote: This field may return null, indicating that no valid values can be obtained.
3258
+ * @type {number || null}
2721
3259
  */
2722
- this.TotalCost = null;
3260
+ this.Display = null;
2723
3261
 
2724
- /**
2725
- * Total amount after discount
2726
- * @type {string || null}
2727
- */
2728
- this.RealTotalCost = null;
3262
+ }
2729
3263
 
2730
- /**
2731
- * Cash credit: The amount paid from the user’s cash account
2732
- * @type {string || null}
2733
- */
2734
- this.CashPayAmount = null;
3264
+ /**
3265
+ * @private
3266
+ */
3267
+ deserialize(params) {
3268
+ if (!params) {
3269
+ return;
3270
+ }
3271
+ this.Key = 'Key' in params ? params.Key : null;
3272
+ this.Display = 'Display' in params ? params.Display : null;
2735
3273
 
2736
- /**
2737
- * Free credit: The amount paid with the user’s free credit
2738
- * @type {string || null}
2739
- */
2740
- this.IncentivePayAmount = null;
3274
+ }
3275
+ }
2741
3276
 
2742
- /**
2743
- * Voucher payment: The voucher deduction amount
2744
- * @type {string || null}
2745
- */
2746
- this.VoucherPayAmount = null;
3277
+ /**
3278
+ * ModifyGatherRule response structure.
3279
+ * @class
3280
+ */
3281
+ class ModifyGatherRuleResponse extends AbstractModel {
3282
+ constructor(){
3283
+ super();
2747
3284
 
2748
3285
  /**
2749
- * Commission credit: The amount paid with the user’s commission credit. Note: This field may return null, indicating that no valid values can be obtained.
3286
+ * 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.
2750
3287
  * @type {string || null}
2751
3288
  */
2752
- this.TransferPayAmount = null;
2753
-
2754
- /**
2755
- * Detailed summary of products. Note: This field may return null, indicating that no valid values can be obtained.
2756
- * @type {Array.<BusinessSummaryInfo> || null}
2757
- */
2758
- this.Business = null;
3289
+ this.RequestId = null;
2759
3290
 
2760
3291
  }
2761
3292
 
@@ -2766,46 +3297,36 @@ class SummaryDetail extends AbstractModel {
2766
3297
  if (!params) {
2767
3298
  return;
2768
3299
  }
2769
- this.GroupKey = 'GroupKey' in params ? params.GroupKey : null;
2770
- this.GroupValue = 'GroupValue' in params ? params.GroupValue : null;
2771
- this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
2772
- this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
2773
- this.CashPayAmount = 'CashPayAmount' in params ? params.CashPayAmount : null;
2774
- this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
2775
- this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
2776
- this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
2777
-
2778
- if (params.Business) {
2779
- this.Business = new Array();
2780
- for (let z in params.Business) {
2781
- let obj = new BusinessSummaryInfo();
2782
- obj.deserialize(params.Business[z]);
2783
- this.Business.push(obj);
2784
- }
2785
- }
3300
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2786
3301
 
2787
3302
  }
2788
3303
  }
2789
3304
 
2790
3305
  /**
2791
- * Cost analysis amount return data model
3306
+ * CreateGatherRule request structure.
2792
3307
  * @class
2793
3308
  */
2794
- class AnalyseAmountDetail extends AbstractModel {
3309
+ class CreateGatherRuleRequest extends AbstractModel {
2795
3310
  constructor(){
2796
3311
  super();
2797
3312
 
2798
3313
  /**
2799
- * Fee typeNote: This field may return null, indicating that no valid values can be obtained.
2800
- * @type {string || null}
3314
+ * Cost allocation unit ID that the rule belongs to.
3315
+ * @type {number || null}
2801
3316
  */
2802
- this.Key = null;
3317
+ this.Id = null;
2803
3318
 
2804
3319
  /**
2805
- * Whether to displayNote: This field may return null, indicating that no valid values can be obtained.
2806
- * @type {number || null}
3320
+ * Collection rule details.
3321
+ * @type {GatherRuleSummary || null}
2807
3322
  */
2808
- this.Display = null;
3323
+ this.RuleList = null;
3324
+
3325
+ /**
3326
+ * Month, which is the current month by default if not provided.
3327
+ * @type {string || null}
3328
+ */
3329
+ this.Month = null;
2809
3330
 
2810
3331
  }
2811
3332
 
@@ -2816,8 +3337,14 @@ class AnalyseAmountDetail extends AbstractModel {
2816
3337
  if (!params) {
2817
3338
  return;
2818
3339
  }
2819
- this.Key = 'Key' in params ? params.Key : null;
2820
- this.Display = 'Display' in params ? params.Display : null;
3340
+ this.Id = 'Id' in params ? params.Id : null;
3341
+
3342
+ if (params.RuleList) {
3343
+ let obj = new GatherRuleSummary();
3344
+ obj.deserialize(params.RuleList)
3345
+ this.RuleList = obj;
3346
+ }
3347
+ this.Month = 'Month' in params ? params.Month : null;
2821
3348
 
2822
3349
  }
2823
3350
  }
@@ -3074,13 +3601,154 @@ The earliest month that can be queried is January 2021.
3074
3601
  L0 bills and bill packs cannot be downloaded for the current month. Please download the current month's bills after it is generated at 19:00 on the 1st day of the next month.
3075
3602
  * @type {string || null}
3076
3603
  */
3077
- this.Month = null;
3604
+ this.Month = null;
3605
+
3606
+ /**
3607
+ * List of account IDs for downloading the bill. By default, it queries the bill for the current account. If you are an admin account and need to download bills for member accounts with their own payment, input the member account's UIN for this parameter.
3608
+ * @type {Array.<string> || null}
3609
+ */
3610
+ this.ChildUin = null;
3611
+
3612
+ }
3613
+
3614
+ /**
3615
+ * @private
3616
+ */
3617
+ deserialize(params) {
3618
+ if (!params) {
3619
+ return;
3620
+ }
3621
+ this.FileType = 'FileType' in params ? params.FileType : null;
3622
+ this.Month = 'Month' in params ? params.Month : null;
3623
+ this.ChildUin = 'ChildUin' in params ? params.ChildUin : null;
3624
+
3625
+ }
3626
+ }
3627
+
3628
+ /**
3629
+ * DescribeBillSummaryByPayMode request structure.
3630
+ * @class
3631
+ */
3632
+ class DescribeBillSummaryByPayModeRequest extends AbstractModel {
3633
+ constructor(){
3634
+ super();
3635
+
3636
+ /**
3637
+ * The value must be of the same month as `EndTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3638
+ * @type {string || null}
3639
+ */
3640
+ this.BeginTime = null;
3641
+
3642
+ /**
3643
+ * The value must be of the same month as `BeginTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3644
+ * @type {string || null}
3645
+ */
3646
+ this.EndTime = null;
3647
+
3648
+ /**
3649
+ * Query bill data user's UIN
3650
+ * @type {string || null}
3651
+ */
3652
+ this.PayerUin = null;
3653
+
3654
+ }
3655
+
3656
+ /**
3657
+ * @private
3658
+ */
3659
+ deserialize(params) {
3660
+ if (!params) {
3661
+ return;
3662
+ }
3663
+ this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
3664
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
3665
+ this.PayerUin = 'PayerUin' in params ? params.PayerUin : null;
3666
+
3667
+ }
3668
+ }
3669
+
3670
+ /**
3671
+ * DeleteGatherRule response structure.
3672
+ * @class
3673
+ */
3674
+ class DeleteGatherRuleResponse extends AbstractModel {
3675
+ constructor(){
3676
+ super();
3677
+
3678
+ /**
3679
+ * 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.
3680
+ * @type {string || null}
3681
+ */
3682
+ this.RequestId = null;
3683
+
3684
+ }
3685
+
3686
+ /**
3687
+ * @private
3688
+ */
3689
+ deserialize(params) {
3690
+ if (!params) {
3691
+ return;
3692
+ }
3693
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3694
+
3695
+ }
3696
+ }
3697
+
3698
+ /**
3699
+ * The products that are applicable.
3700
+ * @class
3701
+ */
3702
+ class ApplicableProducts extends AbstractModel {
3703
+ constructor(){
3704
+ super();
3705
+
3706
+ /**
3707
+ * Valid values: `all products` or names of the applicable products (string). Multiple names are separated by commas.
3708
+ * @type {string || null}
3709
+ */
3710
+ this.GoodsName = null;
3711
+
3712
+ /**
3713
+ * Valid values: `postPay`: pay-as-you-go; `prePay`: prepaid; `riPay`: reserved instance; empty or `*`: all. If `GoodsName` contains multiple product names and `PayMode` is `*`, it indicates that the voucher can be used in all billing modes for each of the products.
3714
+ * @type {string || null}
3715
+ */
3716
+ this.PayMode = null;
3717
+
3718
+ }
3719
+
3720
+ /**
3721
+ * @private
3722
+ */
3723
+ deserialize(params) {
3724
+ if (!params) {
3725
+ return;
3726
+ }
3727
+ this.GoodsName = 'GoodsName' in params ? params.GoodsName : null;
3728
+ this.PayMode = 'PayMode' in params ? params.PayMode : null;
3729
+
3730
+ }
3731
+ }
3732
+
3733
+ /**
3734
+ * Payment mode filter criteria
3735
+ * @class
3736
+ */
3737
+ class ConditionPayMode extends AbstractModel {
3738
+ constructor(){
3739
+ super();
3740
+
3741
+ /**
3742
+ * Payment mode
3743
+ * @type {string || null}
3744
+ */
3745
+ this.PayMode = null;
3078
3746
 
3079
3747
  /**
3080
- * List of account IDs for downloading the bill. By default, it queries the bill for the current account. If you are an admin account and need to download bills for member accounts with their own payment, input the member account's UIN for this parameter.
3081
- * @type {Array.<string> || null}
3748
+ * Payment mode name
3749
+ * @type {string || null}
3082
3750
  */
3083
- this.ChildUin = null;
3751
+ this.PayModeName = null;
3084
3752
 
3085
3753
  }
3086
3754
 
@@ -3091,39 +3759,56 @@ L0 bills and bill packs cannot be downloaded for the current month. Please downl
3091
3759
  if (!params) {
3092
3760
  return;
3093
3761
  }
3094
- this.FileType = 'FileType' in params ? params.FileType : null;
3095
- this.Month = 'Month' in params ? params.Month : null;
3096
- this.ChildUin = 'ChildUin' in params ? params.ChildUin : null;
3762
+ this.PayMode = 'PayMode' in params ? params.PayMode : null;
3763
+ this.PayModeName = 'PayModeName' in params ? params.PayModeName : null;
3097
3764
 
3098
3765
  }
3099
3766
  }
3100
3767
 
3101
3768
  /**
3102
- * DescribeBillSummaryByPayMode request structure.
3769
+ * DescribeCostSummaryByProject request structure.
3103
3770
  * @class
3104
3771
  */
3105
- class DescribeBillSummaryByPayModeRequest extends AbstractModel {
3772
+ class DescribeCostSummaryByProjectRequest extends AbstractModel {
3106
3773
  constructor(){
3107
3774
  super();
3108
3775
 
3109
3776
  /**
3110
- * The value must be of the same month as `EndTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3777
+ * The value must be of the same month as `EndTime`. The query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3111
3778
  * @type {string || null}
3112
3779
  */
3113
3780
  this.BeginTime = null;
3114
3781
 
3115
3782
  /**
3116
- * The value must be of the same month as `BeginTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3783
+ * The value must be of the same month as `BeginTime`. The query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3117
3784
  * @type {string || null}
3118
3785
  */
3119
3786
  this.EndTime = null;
3120
3787
 
3121
3788
  /**
3122
- * Query bill data user's UIN
3789
+ * Data quantity per fetch. The maximum value is `100`.
3790
+ * @type {number || null}
3791
+ */
3792
+ this.Limit = null;
3793
+
3794
+ /**
3795
+ * Offset, which starts from 0 by default
3796
+ * @type {number || null}
3797
+ */
3798
+ this.Offset = null;
3799
+
3800
+ /**
3801
+ * UIN of the user querying the bill data
3123
3802
  * @type {string || null}
3124
3803
  */
3125
3804
  this.PayerUin = null;
3126
3805
 
3806
+ /**
3807
+ * Whether to return the record count. 0 for no, 1 for yes. Default is no.
3808
+ * @type {number || null}
3809
+ */
3810
+ this.NeedRecordNum = null;
3811
+
3127
3812
  }
3128
3813
 
3129
3814
  /**
@@ -3135,71 +3820,63 @@ class DescribeBillSummaryByPayModeRequest extends AbstractModel {
3135
3820
  }
3136
3821
  this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
3137
3822
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
3823
+ this.Limit = 'Limit' in params ? params.Limit : null;
3824
+ this.Offset = 'Offset' in params ? params.Offset : null;
3138
3825
  this.PayerUin = 'PayerUin' in params ? params.PayerUin : null;
3826
+ this.NeedRecordNum = 'NeedRecordNum' in params ? params.NeedRecordNum : null;
3139
3827
 
3140
3828
  }
3141
3829
  }
3142
3830
 
3143
3831
  /**
3144
- * The products that are applicable.
3832
+ * Information of the document associated with bill details
3145
3833
  * @class
3146
3834
  */
3147
- class ApplicableProducts extends AbstractModel {
3835
+ class BillDetailAssociatedOrder extends AbstractModel {
3148
3836
  constructor(){
3149
3837
  super();
3150
3838
 
3151
3839
  /**
3152
- * Valid values: `all products` or names of the applicable products (string). Multiple names are separated by commas.
3840
+ * Purchase order.
3841
+ Note: This field may return null, indicating that no valid values can be obtained.
3153
3842
  * @type {string || null}
3154
3843
  */
3155
- this.GoodsName = null;
3844
+ this.PrepayPurchase = null;
3156
3845
 
3157
3846
  /**
3158
- * Valid values: `postPay`: pay-as-you-go; `prePay`: prepaid; `riPay`: reserved instance; empty or `*`: all. If `GoodsName` contains multiple product names and `PayMode` is `*`, it indicates that the voucher can be used in all billing modes for each of the products.
3847
+ * Renewal order.
3848
+ Note: This field may return null, indicating that no valid values can be obtained.
3159
3849
  * @type {string || null}
3160
3850
  */
3161
- this.PayMode = null;
3162
-
3163
- }
3164
-
3165
- /**
3166
- * @private
3167
- */
3168
- deserialize(params) {
3169
- if (!params) {
3170
- return;
3171
- }
3172
- this.GoodsName = 'GoodsName' in params ? params.GoodsName : null;
3173
- this.PayMode = 'PayMode' in params ? params.PayMode : null;
3174
-
3175
- }
3176
- }
3851
+ this.PrepayRenew = null;
3177
3852
 
3178
- /**
3179
- * DescribeBillSummaryByProject request structure.
3180
- * @class
3181
- */
3182
- class DescribeBillSummaryByProjectRequest extends AbstractModel {
3183
- constructor(){
3184
- super();
3853
+ /**
3854
+ * Upgrade order.
3855
+ Note: This field may return null, indicating that no valid values can be obtained.
3856
+ * @type {string || null}
3857
+ */
3858
+ this.PrepayModifyUp = null;
3185
3859
 
3186
3860
  /**
3187
- * The value must be of the same month as `EndTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3861
+ * Write-off order.
3862
+ Note: This field may return null, indicating that no valid values can be obtained.
3188
3863
  * @type {string || null}
3189
3864
  */
3190
- this.BeginTime = null;
3865
+ this.ReverseOrder = null;
3191
3866
 
3192
3867
  /**
3193
- * The value must be of the same month as `BeginTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3868
+ * The order after discount.
3869
+ Note: This field may return null, indicating that no valid values can be obtained.
3194
3870
  * @type {string || null}
3195
3871
  */
3196
- this.EndTime = null;
3872
+ this.NewOrder = null;
3197
3873
 
3198
3874
  /**
3199
- * Queries bill data user's UIN
3875
+ * The original order before discount.
3876
+ Note: This field may return null, indicating that no valid values can be obtained.
3200
3877
  * @type {string || null}
3201
3878
  */
3202
- this.PayerUin = null;
3879
+ this.Original = null;
3203
3880
 
3204
3881
  }
3205
3882
 
@@ -3210,9 +3887,12 @@ class DescribeBillSummaryByProjectRequest extends AbstractModel {
3210
3887
  if (!params) {
3211
3888
  return;
3212
3889
  }
3213
- this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
3214
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
3215
- this.PayerUin = 'PayerUin' in params ? params.PayerUin : null;
3890
+ this.PrepayPurchase = 'PrepayPurchase' in params ? params.PrepayPurchase : null;
3891
+ this.PrepayRenew = 'PrepayRenew' in params ? params.PrepayRenew : null;
3892
+ this.PrepayModifyUp = 'PrepayModifyUp' in params ? params.PrepayModifyUp : null;
3893
+ this.ReverseOrder = 'ReverseOrder' in params ? params.ReverseOrder : null;
3894
+ this.NewOrder = 'NewOrder' in params ? params.NewOrder : null;
3895
+ this.Original = 'Original' in params ? params.Original : null;
3216
3896
 
3217
3897
  }
3218
3898
  }
@@ -3864,24 +4544,30 @@ class DescribeDealsByCondResponse extends AbstractModel {
3864
4544
  }
3865
4545
 
3866
4546
  /**
3867
- * Payment mode filter criteria
4547
+ * DescribeBillSummaryByProject request structure.
3868
4548
  * @class
3869
4549
  */
3870
- class ConditionPayMode extends AbstractModel {
4550
+ class DescribeBillSummaryByProjectRequest extends AbstractModel {
3871
4551
  constructor(){
3872
4552
  super();
3873
4553
 
3874
4554
  /**
3875
- * Payment mode
4555
+ * The value must be of the same month as `EndTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3876
4556
  * @type {string || null}
3877
4557
  */
3878
- this.PayMode = null;
4558
+ this.BeginTime = null;
3879
4559
 
3880
4560
  /**
3881
- * Payment mode name
4561
+ * The value must be of the same month as `BeginTime`. Query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
3882
4562
  * @type {string || null}
3883
4563
  */
3884
- this.PayModeName = null;
4564
+ this.EndTime = null;
4565
+
4566
+ /**
4567
+ * Queries bill data user's UIN
4568
+ * @type {string || null}
4569
+ */
4570
+ this.PayerUin = null;
3885
4571
 
3886
4572
  }
3887
4573
 
@@ -3892,8 +4578,9 @@ class ConditionPayMode extends AbstractModel {
3892
4578
  if (!params) {
3893
4579
  return;
3894
4580
  }
3895
- this.PayMode = 'PayMode' in params ? params.PayMode : null;
3896
- this.PayModeName = 'PayModeName' in params ? params.PayModeName : null;
4581
+ this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
4582
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
4583
+ this.PayerUin = 'PayerUin' in params ? params.PayerUin : null;
3897
4584
 
3898
4585
  }
3899
4586
  }
@@ -3997,6 +4684,34 @@ Example: 2024-10-02.
3997
4684
  }
3998
4685
  }
3999
4686
 
4687
+ /**
4688
+ * DeleteAllocationRule response structure.
4689
+ * @class
4690
+ */
4691
+ class DeleteAllocationRuleResponse extends AbstractModel {
4692
+ constructor(){
4693
+ super();
4694
+
4695
+ /**
4696
+ * 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.
4697
+ * @type {string || null}
4698
+ */
4699
+ this.RequestId = null;
4700
+
4701
+ }
4702
+
4703
+ /**
4704
+ * @private
4705
+ */
4706
+ deserialize(params) {
4707
+ if (!params) {
4708
+ return;
4709
+ }
4710
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4711
+
4712
+ }
4713
+ }
4714
+
4000
4715
  /**
4001
4716
  * Tag information.
4002
4717
  * @class
@@ -4825,6 +5540,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
4825
5540
  }
4826
5541
  }
4827
5542
 
5543
+ /**
5544
+ * Product details
5545
+ * @class
5546
+ */
5547
+ class ProductInfo extends AbstractModel {
5548
+ constructor(){
5549
+ super();
5550
+
5551
+ /**
5552
+ * Product detail name identifier
5553
+ * @type {string || null}
5554
+ */
5555
+ this.Name = null;
5556
+
5557
+ /**
5558
+ * Product details
5559
+ * @type {string || null}
5560
+ */
5561
+ this.Value = null;
5562
+
5563
+ }
5564
+
5565
+ /**
5566
+ * @private
5567
+ */
5568
+ deserialize(params) {
5569
+ if (!params) {
5570
+ return;
5571
+ }
5572
+ this.Name = 'Name' in params ? params.Name : null;
5573
+ this.Value = 'Value' in params ? params.Value : null;
5574
+
5575
+ }
5576
+ }
5577
+
4828
5578
  /**
4829
5579
  * DescribeAllocationUnitDetail request structure.
4830
5580
  * @class
@@ -5753,14 +6503,83 @@ class ConsumptionResourceSummaryConditionValue extends AbstractModel {
5753
6503
  }
5754
6504
  }
5755
6505
 
5756
- if (params.PayMode) {
5757
- this.PayMode = new Array();
5758
- for (let z in params.PayMode) {
5759
- let obj = new ConditionPayMode();
5760
- obj.deserialize(params.PayMode[z]);
5761
- this.PayMode.push(obj);
6506
+ if (params.PayMode) {
6507
+ this.PayMode = new Array();
6508
+ for (let z in params.PayMode) {
6509
+ let obj = new ConditionPayMode();
6510
+ obj.deserialize(params.PayMode[z]);
6511
+ this.PayMode.push(obj);
6512
+ }
6513
+ }
6514
+
6515
+ }
6516
+ }
6517
+
6518
+ /**
6519
+ * DescribeCostSummaryByRegion response structure.
6520
+ * @class
6521
+ */
6522
+ class DescribeCostSummaryByRegionResponse extends AbstractModel {
6523
+ constructor(){
6524
+ super();
6525
+
6526
+ /**
6527
+ * Data readiness, 0 for not ready, 1 for ready
6528
+ * @type {number || null}
6529
+ */
6530
+ this.Ready = null;
6531
+
6532
+ /**
6533
+ * Consumption details
6534
+ * @type {ConsumptionSummaryTotal || null}
6535
+ */
6536
+ this.Total = null;
6537
+
6538
+ /**
6539
+ * Consumption details summarized by region
6540
+ * @type {Array.<ConsumptionRegionSummaryDataItem> || null}
6541
+ */
6542
+ this.Data = null;
6543
+
6544
+ /**
6545
+ * Record count. The system returns null when NeedRecordNum is 0.Note: This field may return null, indicating that no valid values can be obtained.
6546
+ * @type {number || null}
6547
+ */
6548
+ this.RecordNum = null;
6549
+
6550
+ /**
6551
+ * 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.
6552
+ * @type {string || null}
6553
+ */
6554
+ this.RequestId = null;
6555
+
6556
+ }
6557
+
6558
+ /**
6559
+ * @private
6560
+ */
6561
+ deserialize(params) {
6562
+ if (!params) {
6563
+ return;
6564
+ }
6565
+ this.Ready = 'Ready' in params ? params.Ready : null;
6566
+
6567
+ if (params.Total) {
6568
+ let obj = new ConsumptionSummaryTotal();
6569
+ obj.deserialize(params.Total)
6570
+ this.Total = obj;
6571
+ }
6572
+
6573
+ if (params.Data) {
6574
+ this.Data = new Array();
6575
+ for (let z in params.Data) {
6576
+ let obj = new ConsumptionRegionSummaryDataItem();
6577
+ obj.deserialize(params.Data[z]);
6578
+ this.Data.push(obj);
5762
6579
  }
5763
6580
  }
6581
+ this.RecordNum = 'RecordNum' in params ? params.RecordNum : null;
6582
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5764
6583
 
5765
6584
  }
5766
6585
  }
@@ -5849,6 +6668,39 @@ class DescribeCostDetailRequest extends AbstractModel {
5849
6668
  }
5850
6669
  }
5851
6670
 
6671
+ /**
6672
+ * List of collection rules.
6673
+ * @class
6674
+ */
6675
+ class GatherRuleSummary extends AbstractModel {
6676
+ constructor(){
6677
+ super();
6678
+
6679
+ /**
6680
+ * Cost allocation regular expression.
6681
+ * @type {AllocationRuleExpression || null}
6682
+ */
6683
+ this.RuleDetail = null;
6684
+
6685
+ }
6686
+
6687
+ /**
6688
+ * @private
6689
+ */
6690
+ deserialize(params) {
6691
+ if (!params) {
6692
+ return;
6693
+ }
6694
+
6695
+ if (params.RuleDetail) {
6696
+ let obj = new AllocationRuleExpression();
6697
+ obj.deserialize(params.RuleDetail)
6698
+ this.RuleDetail = obj;
6699
+ }
6700
+
6701
+ }
6702
+ }
6703
+
5852
6704
  /**
5853
6705
  * DescribeTagList request structure.
5854
6706
  * @class
@@ -5957,48 +6809,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
5957
6809
  }
5958
6810
 
5959
6811
  /**
5960
- * DescribeCostSummaryByProject request structure.
6812
+ * DescribeAllocationTree request structure.
5961
6813
  * @class
5962
6814
  */
5963
- class DescribeCostSummaryByProjectRequest extends AbstractModel {
6815
+ class DescribeAllocationTreeRequest extends AbstractModel {
5964
6816
  constructor(){
5965
6817
  super();
5966
6818
 
5967
6819
  /**
5968
- * The value must be of the same month as `EndTime`. The query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
5969
- * @type {string || null}
5970
- */
5971
- this.BeginTime = null;
5972
-
5973
- /**
5974
- * The value must be of the same month as `BeginTime`. The query period must start and end on the same month and the query result returned will be of the entire month. For example, if both `BeginTime` and `EndTime` are `2018-09`, the data returned will be for the entire month of September 2018.
5975
- * @type {string || null}
5976
- */
5977
- this.EndTime = null;
5978
-
5979
- /**
5980
- * Data quantity per fetch. The maximum value is `100`.
5981
- * @type {number || null}
5982
- */
5983
- this.Limit = null;
5984
-
5985
- /**
5986
- * Offset, which starts from 0 by default
5987
- * @type {number || null}
5988
- */
5989
- this.Offset = null;
5990
-
5991
- /**
5992
- * UIN of the user querying the bill data
6820
+ * Month, the current month by default if not provided.
5993
6821
  * @type {string || null}
5994
6822
  */
5995
- this.PayerUin = null;
5996
-
5997
- /**
5998
- * Whether to return the record count. 0 for no, 1 for yes. Default is no.
5999
- * @type {number || null}
6000
- */
6001
- this.NeedRecordNum = null;
6823
+ this.Month = null;
6002
6824
 
6003
6825
  }
6004
6826
 
@@ -6009,12 +6831,7 @@ class DescribeCostSummaryByProjectRequest extends AbstractModel {
6009
6831
  if (!params) {
6010
6832
  return;
6011
6833
  }
6012
- this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
6013
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
6014
- this.Limit = 'Limit' in params ? params.Limit : null;
6015
- this.Offset = 'Offset' in params ? params.Offset : null;
6016
- this.PayerUin = 'PayerUin' in params ? params.PayerUin : null;
6017
- this.NeedRecordNum = 'NeedRecordNum' in params ? params.NeedRecordNum : null;
6834
+ this.Month = 'Month' in params ? params.Month : null;
6018
6835
 
6019
6836
  }
6020
6837
  }
@@ -6263,6 +7080,92 @@ class PayModeSummaryOverviewItem extends AbstractModel {
6263
7080
  }
6264
7081
  }
6265
7082
 
7083
+ /**
7084
+ * DescribeAllocationRuleDetail response structure.
7085
+ * @class
7086
+ */
7087
+ class DescribeAllocationRuleDetailResponse extends AbstractModel {
7088
+ constructor(){
7089
+ super();
7090
+
7091
+ /**
7092
+ * Sharing rule ID.
7093
+ * @type {number || null}
7094
+ */
7095
+ this.Id = null;
7096
+
7097
+ /**
7098
+ * Sharing rule ownership UIN.
7099
+ * @type {string || null}
7100
+ */
7101
+ this.Uin = null;
7102
+
7103
+ /**
7104
+ * Sharing rule name.
7105
+ * @type {string || null}
7106
+ */
7107
+ this.Name = null;
7108
+
7109
+ /**
7110
+ * Specifies the public area policy type. the enumeration values are as follows:.
7111
+ 1 - custom sharing proportion.
7112
+ 2 - proportional allocation.
7113
+ 3 - allocation by proportion.
7114
+ * @type {number || null}
7115
+ */
7116
+ this.Type = null;
7117
+
7118
+ /**
7119
+ * Public sharing rule expression.
7120
+ * @type {AllocationRuleExpression || null}
7121
+ */
7122
+ this.RuleDetail = null;
7123
+
7124
+ /**
7125
+ * Sharing proportion expression. returns when Type is 1 or 2.
7126
+ * @type {Array.<AllocationRationExpression> || null}
7127
+ */
7128
+ this.RatioDetail = null;
7129
+
7130
+ /**
7131
+ * 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.
7132
+ * @type {string || null}
7133
+ */
7134
+ this.RequestId = null;
7135
+
7136
+ }
7137
+
7138
+ /**
7139
+ * @private
7140
+ */
7141
+ deserialize(params) {
7142
+ if (!params) {
7143
+ return;
7144
+ }
7145
+ this.Id = 'Id' in params ? params.Id : null;
7146
+ this.Uin = 'Uin' in params ? params.Uin : null;
7147
+ this.Name = 'Name' in params ? params.Name : null;
7148
+ this.Type = 'Type' in params ? params.Type : null;
7149
+
7150
+ if (params.RuleDetail) {
7151
+ let obj = new AllocationRuleExpression();
7152
+ obj.deserialize(params.RuleDetail)
7153
+ this.RuleDetail = obj;
7154
+ }
7155
+
7156
+ if (params.RatioDetail) {
7157
+ this.RatioDetail = new Array();
7158
+ for (let z in params.RatioDetail) {
7159
+ let obj = new AllocationRationExpression();
7160
+ obj.deserialize(params.RatioDetail[z]);
7161
+ this.RatioDetail.push(obj);
7162
+ }
7163
+ }
7164
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
7165
+
7166
+ }
7167
+ }
7168
+
6266
7169
  /**
6267
7170
  * The product purchased.
6268
7171
  * @class
@@ -7407,54 +8310,131 @@ Note: This field may return `null`, indicating that no valid value was found.
7407
8310
  }
7408
8311
 
7409
8312
  /**
7410
- * Information of the document associated with bill details
8313
+ * List of sharing rules.
7411
8314
  * @class
7412
8315
  */
7413
- class BillDetailAssociatedOrder extends AbstractModel {
8316
+ class AllocationRulesSummary extends AbstractModel {
7414
8317
  constructor(){
7415
8318
  super();
7416
8319
 
7417
8320
  /**
7418
- * Purchase order.
7419
- Note: This field may return null, indicating that no valid values can be obtained.
8321
+ * Add new sharing rule name.
7420
8322
  * @type {string || null}
7421
8323
  */
7422
- this.PrepayPurchase = null;
8324
+ this.Name = null;
7423
8325
 
7424
8326
  /**
7425
- * Renewal order.
7426
- Note: This field may return null, indicating that no valid values can be obtained.
8327
+ * Specifies the sharing rule policy type. the enumeration values are as follows:.
8328
+ 1 - custom sharing proportion.
8329
+ 2 - proportional allocation.
8330
+ 3 - allocation by proportion.
8331
+ * @type {number || null}
8332
+ */
8333
+ this.Type = null;
8334
+
8335
+ /**
8336
+ * Sharing rule expression.
8337
+ * @type {AllocationRuleExpression || null}
8338
+ */
8339
+ this.RuleDetail = null;
8340
+
8341
+ /**
8342
+ * Sharing proportion expression, allocation by proportion not passed.
8343
+ * @type {Array.<AllocationRationExpression> || null}
8344
+ */
8345
+ this.RatioDetail = null;
8346
+
8347
+ }
8348
+
8349
+ /**
8350
+ * @private
8351
+ */
8352
+ deserialize(params) {
8353
+ if (!params) {
8354
+ return;
8355
+ }
8356
+ this.Name = 'Name' in params ? params.Name : null;
8357
+ this.Type = 'Type' in params ? params.Type : null;
8358
+
8359
+ if (params.RuleDetail) {
8360
+ let obj = new AllocationRuleExpression();
8361
+ obj.deserialize(params.RuleDetail)
8362
+ this.RuleDetail = obj;
8363
+ }
8364
+
8365
+ if (params.RatioDetail) {
8366
+ this.RatioDetail = new Array();
8367
+ for (let z in params.RatioDetail) {
8368
+ let obj = new AllocationRationExpression();
8369
+ obj.deserialize(params.RatioDetail[z]);
8370
+ this.RatioDetail.push(obj);
8371
+ }
8372
+ }
8373
+
8374
+ }
8375
+ }
8376
+
8377
+ /**
8378
+ * Detailed summary of costs by multiple dimensions
8379
+ * @class
8380
+ */
8381
+ class SummaryDetail extends AbstractModel {
8382
+ constructor(){
8383
+ super();
8384
+
8385
+ /**
8386
+ * Bill dimension code. Note: This field may return null, indicating that no valid values can be obtained.
7427
8387
  * @type {string || null}
7428
8388
  */
7429
- this.PrepayRenew = null;
8389
+ this.GroupKey = null;
7430
8390
 
7431
8391
  /**
7432
- * Upgrade order.
7433
- Note: This field may return null, indicating that no valid values can be obtained.
8392
+ * Bill dimension value. Note: This field may return null, indicating that no valid values can be obtained.
7434
8393
  * @type {string || null}
7435
8394
  */
7436
- this.PrepayModifyUp = null;
8395
+ this.GroupValue = null;
7437
8396
 
7438
8397
  /**
7439
- * Write-off order.
7440
- Note: This field may return null, indicating that no valid values can be obtained.
8398
+ * Original cost in USD. This parameter has become valid since Bill 3.0 took effect in May 2021, and before that `-` was returned for this parameter. If a customer has applied for a contract price different from the prices listed on the official website, `-` will also be returned for this parameter.
7441
8399
  * @type {string || null}
7442
8400
  */
7443
- this.ReverseOrder = null;
8401
+ this.TotalCost = null;
7444
8402
 
7445
8403
  /**
7446
- * The order after discount.
7447
- Note: This field may return null, indicating that no valid values can be obtained.
8404
+ * Total amount after discount
7448
8405
  * @type {string || null}
7449
8406
  */
7450
- this.NewOrder = null;
8407
+ this.RealTotalCost = null;
7451
8408
 
7452
8409
  /**
7453
- * The original order before discount.
7454
- Note: This field may return null, indicating that no valid values can be obtained.
8410
+ * Cash credit: The amount paid from the user’s cash account
7455
8411
  * @type {string || null}
7456
8412
  */
7457
- this.Original = null;
8413
+ this.CashPayAmount = null;
8414
+
8415
+ /**
8416
+ * Free credit: The amount paid with the user’s free credit
8417
+ * @type {string || null}
8418
+ */
8419
+ this.IncentivePayAmount = null;
8420
+
8421
+ /**
8422
+ * Voucher payment: The voucher deduction amount
8423
+ * @type {string || null}
8424
+ */
8425
+ this.VoucherPayAmount = null;
8426
+
8427
+ /**
8428
+ * Commission credit: The amount paid with the user’s commission credit. Note: This field may return null, indicating that no valid values can be obtained.
8429
+ * @type {string || null}
8430
+ */
8431
+ this.TransferPayAmount = null;
8432
+
8433
+ /**
8434
+ * Detailed summary of products. Note: This field may return null, indicating that no valid values can be obtained.
8435
+ * @type {Array.<BusinessSummaryInfo> || null}
8436
+ */
8437
+ this.Business = null;
7458
8438
 
7459
8439
  }
7460
8440
 
@@ -7465,12 +8445,23 @@ Note: This field may return null, indicating that no valid values can be obtaine
7465
8445
  if (!params) {
7466
8446
  return;
7467
8447
  }
7468
- this.PrepayPurchase = 'PrepayPurchase' in params ? params.PrepayPurchase : null;
7469
- this.PrepayRenew = 'PrepayRenew' in params ? params.PrepayRenew : null;
7470
- this.PrepayModifyUp = 'PrepayModifyUp' in params ? params.PrepayModifyUp : null;
7471
- this.ReverseOrder = 'ReverseOrder' in params ? params.ReverseOrder : null;
7472
- this.NewOrder = 'NewOrder' in params ? params.NewOrder : null;
7473
- this.Original = 'Original' in params ? params.Original : null;
8448
+ this.GroupKey = 'GroupKey' in params ? params.GroupKey : null;
8449
+ this.GroupValue = 'GroupValue' in params ? params.GroupValue : null;
8450
+ this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
8451
+ this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
8452
+ this.CashPayAmount = 'CashPayAmount' in params ? params.CashPayAmount : null;
8453
+ this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
8454
+ this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
8455
+ this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
8456
+
8457
+ if (params.Business) {
8458
+ this.Business = new Array();
8459
+ for (let z in params.Business) {
8460
+ let obj = new BusinessSummaryInfo();
8461
+ obj.deserialize(params.Business[z]);
8462
+ this.Business.push(obj);
8463
+ }
8464
+ }
7474
8465
 
7475
8466
  }
7476
8467
  }
@@ -7685,6 +8676,41 @@ class BusinessSummaryOverviewItem extends AbstractModel {
7685
8676
  }
7686
8677
  }
7687
8678
 
8679
+ /**
8680
+ * CreateGatherRule response structure.
8681
+ * @class
8682
+ */
8683
+ class CreateGatherRuleResponse extends AbstractModel {
8684
+ constructor(){
8685
+ super();
8686
+
8687
+ /**
8688
+ * Collection rule ID.
8689
+ * @type {number || null}
8690
+ */
8691
+ this.Id = null;
8692
+
8693
+ /**
8694
+ * 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.
8695
+ * @type {string || null}
8696
+ */
8697
+ this.RequestId = null;
8698
+
8699
+ }
8700
+
8701
+ /**
8702
+ * @private
8703
+ */
8704
+ deserialize(params) {
8705
+ if (!params) {
8706
+ return;
8707
+ }
8708
+ this.Id = 'Id' in params ? params.Id : null;
8709
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8710
+
8711
+ }
8712
+ }
8713
+
7688
8714
  /**
7689
8715
  * The usage records.
7690
8716
  * @class
@@ -7736,6 +8762,34 @@ Note: This field may return `null`, indicating that no valid value was found.
7736
8762
  }
7737
8763
  }
7738
8764
 
8765
+ /**
8766
+ * ModifyAllocationRule response structure.
8767
+ * @class
8768
+ */
8769
+ class ModifyAllocationRuleResponse extends AbstractModel {
8770
+ constructor(){
8771
+ super();
8772
+
8773
+ /**
8774
+ * 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.
8775
+ * @type {string || null}
8776
+ */
8777
+ this.RequestId = null;
8778
+
8779
+ }
8780
+
8781
+ /**
8782
+ * @private
8783
+ */
8784
+ deserialize(params) {
8785
+ if (!params) {
8786
+ return;
8787
+ }
8788
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8789
+
8790
+ }
8791
+ }
8792
+
7739
8793
  /**
7740
8794
  * DescribeVoucherInfo request structure.
7741
8795
  * @class
@@ -8085,6 +9139,88 @@ class AnalyseHeaderTimeDetail extends AbstractModel {
8085
9139
  }
8086
9140
  }
8087
9141
 
9142
+ /**
9143
+ * Cost allocation regular expression.
9144
+ * @class
9145
+ */
9146
+ class AllocationRuleExpression extends AbstractModel {
9147
+ constructor(){
9148
+ super();
9149
+
9150
+ /**
9151
+ * RuleKey: cost allocation dimension.
9152
+ Enumeration value.
9153
+ ownerUin - user UIN.
9154
+ Operator UIN.
9155
+ businessCode - product-level code.
9156
+ productCode - 2-tier product code.
9157
+ itemCode - 4-tier product code.
9158
+ projectId - specifies the project ID.
9159
+ regionId.
9160
+ resourceId - specifies the resource ID.
9161
+ tag - tag key-value pair.
9162
+ payMode - billing mode.
9163
+ instanceType - instance type.
9164
+ actionType - transaction type.
9165
+ * @type {string || null}
9166
+ */
9167
+ this.RuleKey = null;
9168
+
9169
+ /**
9170
+ * Specifies the dimension rules for cost allocation.
9171
+ Enumeration value.
9172
+ in.
9173
+ not in.
9174
+ * @type {string || null}
9175
+ */
9176
+ this.Operator = null;
9177
+
9178
+ /**
9179
+ * Cost allocation dimension value. for example, when RuleKey is businessCode, ["p_cbs","p_sqlserver"] indicates the cost of products at the "p_cbs","p_sqlserver" level.
9180
+ * @type {Array.<string> || null}
9181
+ */
9182
+ this.RuleValue = null;
9183
+
9184
+ /**
9185
+ * Logical connection for cost allocation, enumeration values are as follows:.
9186
+ Create and bind a policy query an instance reset the access password of an instance.
9187
+ Create and bind a policy query an instance reset the access password of an instance.
9188
+ * @type {string || null}
9189
+ */
9190
+ this.Connectors = null;
9191
+
9192
+ /**
9193
+ * Nested rule.
9194
+ * @type {Array.<AllocationRuleExpression> || null}
9195
+ */
9196
+ this.Children = null;
9197
+
9198
+ }
9199
+
9200
+ /**
9201
+ * @private
9202
+ */
9203
+ deserialize(params) {
9204
+ if (!params) {
9205
+ return;
9206
+ }
9207
+ this.RuleKey = 'RuleKey' in params ? params.RuleKey : null;
9208
+ this.Operator = 'Operator' in params ? params.Operator : null;
9209
+ this.RuleValue = 'RuleValue' in params ? params.RuleValue : null;
9210
+ this.Connectors = 'Connectors' in params ? params.Connectors : null;
9211
+
9212
+ if (params.Children) {
9213
+ this.Children = new Array();
9214
+ for (let z in params.Children) {
9215
+ let obj = new AllocationRuleExpression();
9216
+ obj.deserialize(params.Children[z]);
9217
+ this.Children.push(obj);
9218
+ }
9219
+ }
9220
+
9221
+ }
9222
+ }
9223
+
8088
9224
  /**
8089
9225
  * DescribeBillSummaryForOrganization response structure.
8090
9226
  * @class
@@ -8318,6 +9454,66 @@ class CosDetailSets extends AbstractModel {
8318
9454
  }
8319
9455
  }
8320
9456
 
9457
+ /**
9458
+ * DescribeAllocationRuleSummary request structure.
9459
+ * @class
9460
+ */
9461
+ class DescribeAllocationRuleSummaryRequest extends AbstractModel {
9462
+ constructor(){
9463
+ super();
9464
+
9465
+ /**
9466
+ * Specifies the data quantity per fetch. the maximum value is 1000.
9467
+ * @type {number || null}
9468
+ */
9469
+ this.Limit = null;
9470
+
9471
+ /**
9472
+ * Pagination offset
9473
+ * @type {number || null}
9474
+ */
9475
+ this.Offset = null;
9476
+
9477
+ /**
9478
+ * Month, which is the current month by default if not provided.
9479
+ * @type {string || null}
9480
+ */
9481
+ this.Month = null;
9482
+
9483
+ /**
9484
+ * Public area policy type, for filtering.
9485
+ Enumeration values are as follows:.
9486
+ 1 - custom sharing proportion.
9487
+ 2 - proportional allocation.
9488
+ 3 - allocation by proportion.
9489
+ * @type {number || null}
9490
+ */
9491
+ this.Type = null;
9492
+
9493
+ /**
9494
+ * Sharing rule name or cost allocation unit name, used for fuzzy filter criteria.
9495
+ * @type {string || null}
9496
+ */
9497
+ this.Name = null;
9498
+
9499
+ }
9500
+
9501
+ /**
9502
+ * @private
9503
+ */
9504
+ deserialize(params) {
9505
+ if (!params) {
9506
+ return;
9507
+ }
9508
+ this.Limit = 'Limit' in params ? params.Limit : null;
9509
+ this.Offset = 'Offset' in params ? params.Offset : null;
9510
+ this.Month = 'Month' in params ? params.Month : null;
9511
+ this.Type = 'Type' in params ? params.Type : null;
9512
+ this.Name = 'Name' in params ? params.Name : null;
9513
+
9514
+ }
9515
+ }
9516
+
8321
9517
  /**
8322
9518
  * ModifyAllocationUnit response structure.
8323
9519
  * @class
@@ -8827,36 +10023,36 @@ class DeleteAllocationUnitRequest extends AbstractModel {
8827
10023
  }
8828
10024
 
8829
10025
  /**
8830
- * DescribeCostSummaryByRegion response structure.
10026
+ * DescribeGatherRuleDetail response structure.
8831
10027
  * @class
8832
10028
  */
8833
- class DescribeCostSummaryByRegionResponse extends AbstractModel {
10029
+ class DescribeGatherRuleDetailResponse extends AbstractModel {
8834
10030
  constructor(){
8835
10031
  super();
8836
10032
 
8837
10033
  /**
8838
- * Data readiness, 0 for not ready, 1 for ready
10034
+ * Specifies the collection rule ID.
8839
10035
  * @type {number || null}
8840
10036
  */
8841
- this.Ready = null;
10037
+ this.Id = null;
8842
10038
 
8843
10039
  /**
8844
- * Consumption details
8845
- * @type {ConsumptionSummaryTotal || null}
10040
+ * Associated UIN of the collection rule.
10041
+ * @type {string || null}
8846
10042
  */
8847
- this.Total = null;
10043
+ this.Uin = null;
8848
10044
 
8849
10045
  /**
8850
- * Consumption details summarized by region
8851
- * @type {Array.<ConsumptionRegionSummaryDataItem> || null}
10046
+ * Collection rule last update time.
10047
+ * @type {string || null}
8852
10048
  */
8853
- this.Data = null;
10049
+ this.UpdateTime = null;
8854
10050
 
8855
10051
  /**
8856
- * Record count. The system returns null when NeedRecordNum is 0.Note: This field may return null, indicating that no valid values can be obtained.
8857
- * @type {number || null}
10052
+ * Collection rule details.
10053
+ * @type {AllocationRuleExpression || null}
8858
10054
  */
8859
- this.RecordNum = null;
10055
+ this.RuleDetail = null;
8860
10056
 
8861
10057
  /**
8862
10058
  * 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.
@@ -8873,24 +10069,84 @@ class DescribeCostSummaryByRegionResponse extends AbstractModel {
8873
10069
  if (!params) {
8874
10070
  return;
8875
10071
  }
8876
- this.Ready = 'Ready' in params ? params.Ready : null;
10072
+ this.Id = 'Id' in params ? params.Id : null;
10073
+ this.Uin = 'Uin' in params ? params.Uin : null;
10074
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
8877
10075
 
8878
- if (params.Total) {
8879
- let obj = new ConsumptionSummaryTotal();
8880
- obj.deserialize(params.Total)
8881
- this.Total = obj;
10076
+ if (params.RuleDetail) {
10077
+ let obj = new AllocationRuleExpression();
10078
+ obj.deserialize(params.RuleDetail)
10079
+ this.RuleDetail = obj;
8882
10080
  }
10081
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8883
10082
 
8884
- if (params.Data) {
8885
- this.Data = new Array();
8886
- for (let z in params.Data) {
8887
- let obj = new ConsumptionRegionSummaryDataItem();
8888
- obj.deserialize(params.Data[z]);
8889
- this.Data.push(obj);
10083
+ }
10084
+ }
10085
+
10086
+ /**
10087
+ * Overview of sharing rules.
10088
+ * @class
10089
+ */
10090
+ class AllocationRuleOverview extends AbstractModel {
10091
+ constructor(){
10092
+ super();
10093
+
10094
+ /**
10095
+ * Sharing rule ID.
10096
+ * @type {number || null}
10097
+ */
10098
+ this.RuleId = null;
10099
+
10100
+ /**
10101
+ * Sharing rule name.
10102
+ * @type {string || null}
10103
+ */
10104
+ this.RuleName = null;
10105
+
10106
+ /**
10107
+ * Public area policy type.
10108
+ Enumeration value.
10109
+ 1 - custom sharing proportion.
10110
+ 2 - proportional allocation.
10111
+ 3 - allocation by proportion.
10112
+ * @type {number || null}
10113
+ */
10114
+ this.Type = null;
10115
+
10116
+ /**
10117
+ * Last update time of the sharing rules.
10118
+ * @type {string || null}
10119
+ */
10120
+ this.UpdateTime = null;
10121
+
10122
+ /**
10123
+ * Overview of cost allocation units.
10124
+ * @type {Array.<AllocationUnit> || null}
10125
+ */
10126
+ this.AllocationNode = null;
10127
+
10128
+ }
10129
+
10130
+ /**
10131
+ * @private
10132
+ */
10133
+ deserialize(params) {
10134
+ if (!params) {
10135
+ return;
10136
+ }
10137
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
10138
+ this.RuleName = 'RuleName' in params ? params.RuleName : null;
10139
+ this.Type = 'Type' in params ? params.Type : null;
10140
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
10141
+
10142
+ if (params.AllocationNode) {
10143
+ this.AllocationNode = new Array();
10144
+ for (let z in params.AllocationNode) {
10145
+ let obj = new AllocationUnit();
10146
+ obj.deserialize(params.AllocationNode[z]);
10147
+ this.AllocationNode.push(obj);
8890
10148
  }
8891
10149
  }
8892
- this.RecordNum = 'RecordNum' in params ? params.RecordNum : null;
8893
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
8894
10150
 
8895
10151
  }
8896
10152
  }
@@ -8901,55 +10157,72 @@ module.exports = {
8901
10157
  DescribeCostSummaryByProductRequest: DescribeCostSummaryByProductRequest,
8902
10158
  DescribeCostExplorerSummaryResponse: DescribeCostExplorerSummaryResponse,
8903
10159
  ConsumptionBusinessSummaryDataItem: ConsumptionBusinessSummaryDataItem,
10160
+ ModifyAllocationRuleRequest: ModifyAllocationRuleRequest,
10161
+ DeleteAllocationRuleRequest: DeleteAllocationRuleRequest,
10162
+ CreateAllocationRuleResponse: CreateAllocationRuleResponse,
8904
10163
  BillTagInfo: BillTagInfo,
8905
10164
  ConditionBusiness: ConditionBusiness,
8906
10165
  AnalyseActionTypeDetail: AnalyseActionTypeDetail,
8907
10166
  DescribeCostExplorerSummaryRequest: DescribeCostExplorerSummaryRequest,
8908
10167
  DescribeCostSummaryByProductResponse: DescribeCostSummaryByProductResponse,
8909
- ProductInfo: ProductInfo,
10168
+ DescribeAllocationTreeResponse: DescribeAllocationTreeResponse,
8910
10169
  DeleteAllocationTagResponse: DeleteAllocationTagResponse,
10170
+ AllocationTree: AllocationTree,
8911
10171
  DescribeBillDetailForOrganizationResponse: DescribeBillDetailForOrganizationResponse,
8912
10172
  BillDetailComponentConfig: BillDetailComponentConfig,
8913
10173
  DescribeCostSummaryByResourceResponse: DescribeCostSummaryByResourceResponse,
8914
10174
  DescribeBillSummaryByRegionRequest: DescribeBillSummaryByRegionRequest,
8915
10175
  AdjustInfoDetail: AdjustInfoDetail,
10176
+ CreateAllocationRuleRequest: CreateAllocationRuleRequest,
8916
10177
  ConsumptionRegionSummaryDataItem: ConsumptionRegionSummaryDataItem,
8917
10178
  BusinessSummaryInfo: BusinessSummaryInfo,
8918
10179
  DescribeBillSummaryRequest: DescribeBillSummaryRequest,
8919
10180
  DescribeBillResourceSummaryResponse: DescribeBillResourceSummaryResponse,
10181
+ DescribeGatherRuleDetailRequest: DescribeGatherRuleDetailRequest,
8920
10182
  DistributionBillDetail: DistributionBillDetail,
8921
10183
  DescribeDosageCosDetailByDateRequest: DescribeDosageCosDetailByDateRequest,
8922
10184
  DescribeBillAdjustInfoResponse: DescribeBillAdjustInfoResponse,
8923
- BillDistributionResourceSummary: BillDistributionResourceSummary,
10185
+ DescribeAllocationRuleDetailRequest: DescribeAllocationRuleDetailRequest,
8924
10186
  DescribeAllocationUnitDetailResponse: DescribeAllocationUnitDetailResponse,
8925
10187
  DescribeBillSummaryByProductRequest: DescribeBillSummaryByProductRequest,
10188
+ AllocationUnit: AllocationUnit,
10189
+ AllocationRationExpression: AllocationRationExpression,
8926
10190
  DescribeVoucherUsageDetailsResponse: DescribeVoucherUsageDetailsResponse,
8927
10191
  ConsumptionSummaryTotal: ConsumptionSummaryTotal,
10192
+ BillDistributionResourceSummary: BillDistributionResourceSummary,
8928
10193
  DescribeCostDetailResponse: DescribeCostDetailResponse,
8929
10194
  VoucherInfos: VoucherInfos,
8930
10195
  DescribeCostSummaryByProjectResponse: DescribeCostSummaryByProjectResponse,
8931
10196
  AnalyseProjectDetail: AnalyseProjectDetail,
8932
10197
  ProjectSummaryOverviewItem: ProjectSummaryOverviewItem,
8933
10198
  DescribeBillSummaryByTagResponse: DescribeBillSummaryByTagResponse,
10199
+ ModifyGatherRuleRequest: ModifyGatherRuleRequest,
8934
10200
  DescribeBillSummaryByPayModeResponse: DescribeBillSummaryByPayModeResponse,
8935
10201
  DescribeBillSummaryByTagRequest: DescribeBillSummaryByTagRequest,
8936
10202
  AnalyseDetail: AnalyseDetail,
8937
- SummaryDetail: SummaryDetail,
10203
+ DeleteGatherRuleRequest: DeleteGatherRuleRequest,
10204
+ DescribeAllocationRuleSummaryResponse: DescribeAllocationRuleSummaryResponse,
8938
10205
  AnalyseAmountDetail: AnalyseAmountDetail,
10206
+ ModifyGatherRuleResponse: ModifyGatherRuleResponse,
10207
+ CreateGatherRuleRequest: CreateGatherRuleRequest,
8939
10208
  DescribeBillResourceSummaryForOrganizationRequest: DescribeBillResourceSummaryForOrganizationRequest,
8940
10209
  DescribeCostSummaryByRegionRequest: DescribeCostSummaryByRegionRequest,
8941
10210
  ConsumptionSummaryTrend: ConsumptionSummaryTrend,
8942
10211
  DescribeBillDownloadUrlRequest: DescribeBillDownloadUrlRequest,
8943
10212
  DescribeBillSummaryByPayModeRequest: DescribeBillSummaryByPayModeRequest,
10213
+ DeleteGatherRuleResponse: DeleteGatherRuleResponse,
8944
10214
  ApplicableProducts: ApplicableProducts,
8945
- DescribeBillSummaryByProjectRequest: DescribeBillSummaryByProjectRequest,
10215
+ ConditionPayMode: ConditionPayMode,
10216
+ DescribeCostSummaryByProjectRequest: DescribeCostSummaryByProjectRequest,
10217
+ BillDetailAssociatedOrder: BillDetailAssociatedOrder,
8946
10218
  BillDetail: BillDetail,
8947
10219
  DescribeBillDetailResponse: DescribeBillDetailResponse,
8948
10220
  Deal: Deal,
8949
10221
  DescribeDealsByCondResponse: DescribeDealsByCondResponse,
8950
- ConditionPayMode: ConditionPayMode,
10222
+ DescribeBillSummaryByProjectRequest: DescribeBillSummaryByProjectRequest,
8951
10223
  DescribeBillSummaryByProjectResponse: DescribeBillSummaryByProjectResponse,
8952
10224
  DescribeBillAdjustInfoRequest: DescribeBillAdjustInfoRequest,
10225
+ DeleteAllocationRuleResponse: DeleteAllocationRuleResponse,
8953
10226
  TagDataInfo: TagDataInfo,
8954
10227
  SummaryTotal: SummaryTotal,
8955
10228
  BusinessSummaryTotal: BusinessSummaryTotal,
@@ -8963,6 +10236,7 @@ module.exports = {
8963
10236
  RegionSummaryOverviewItem: RegionSummaryOverviewItem,
8964
10237
  ConsumptionProjectSummaryDataItem: ConsumptionProjectSummaryDataItem,
8965
10238
  AnalyseRegionDetail: AnalyseRegionDetail,
10239
+ ProductInfo: ProductInfo,
8966
10240
  DescribeAllocationUnitDetailRequest: DescribeAllocationUnitDetailRequest,
8967
10241
  DescribeBillSummaryForOrganizationRequest: DescribeBillSummaryForOrganizationRequest,
8968
10242
  ActionSummaryOverviewItem: ActionSummaryOverviewItem,
@@ -8973,14 +10247,17 @@ module.exports = {
8973
10247
  ConditionRegion: ConditionRegion,
8974
10248
  TagSummaryOverviewItem: TagSummaryOverviewItem,
8975
10249
  ConsumptionResourceSummaryConditionValue: ConsumptionResourceSummaryConditionValue,
10250
+ DescribeCostSummaryByRegionResponse: DescribeCostSummaryByRegionResponse,
8976
10251
  DescribeCostDetailRequest: DescribeCostDetailRequest,
10252
+ GatherRuleSummary: GatherRuleSummary,
8977
10253
  DescribeTagListRequest: DescribeTagListRequest,
8978
10254
  DescribeBillResourceSummaryForOrganizationResponse: DescribeBillResourceSummaryForOrganizationResponse,
8979
- DescribeCostSummaryByProjectRequest: DescribeCostSummaryByProjectRequest,
10255
+ DescribeAllocationTreeRequest: DescribeAllocationTreeRequest,
8980
10256
  DescribeCostSummaryByResourceRequest: DescribeCostSummaryByResourceRequest,
8981
10257
  CreateAllocationTagRequest: CreateAllocationTagRequest,
8982
10258
  ExcludedProducts: ExcludedProducts,
8983
10259
  PayModeSummaryOverviewItem: PayModeSummaryOverviewItem,
10260
+ DescribeAllocationRuleDetailResponse: DescribeAllocationRuleDetailResponse,
8984
10261
  UsageDetails: UsageDetails,
8985
10262
  AnalyseBusinessDetail: AnalyseBusinessDetail,
8986
10263
  AnalyseConditions: AnalyseConditions,
@@ -8995,24 +10272,30 @@ module.exports = {
8995
10272
  DescribeBillDetailRequest: DescribeBillDetailRequest,
8996
10273
  AnalyseZoneDetail: AnalyseZoneDetail,
8997
10274
  DescribeVoucherInfoResponse: DescribeVoucherInfoResponse,
8998
- BillDetailAssociatedOrder: BillDetailAssociatedOrder,
10275
+ AllocationRulesSummary: AllocationRulesSummary,
10276
+ SummaryDetail: SummaryDetail,
8999
10277
  DescribeAccountBalanceResponse: DescribeAccountBalanceResponse,
9000
10278
  BusinessSummaryOverviewItem: BusinessSummaryOverviewItem,
10279
+ CreateGatherRuleResponse: CreateGatherRuleResponse,
9001
10280
  UsageRecords: UsageRecords,
10281
+ ModifyAllocationRuleResponse: ModifyAllocationRuleResponse,
9002
10282
  DescribeVoucherInfoRequest: DescribeVoucherInfoRequest,
9003
10283
  DescribeDealsByCondRequest: DescribeDealsByCondRequest,
9004
10284
  CreateAllocationUnitResponse: CreateAllocationUnitResponse,
9005
10285
  DescribeDosageCosDetailByDateResponse: DescribeDosageCosDetailByDateResponse,
9006
10286
  AnalyseHeaderTimeDetail: AnalyseHeaderTimeDetail,
10287
+ AllocationRuleExpression: AllocationRuleExpression,
9007
10288
  DescribeBillSummaryForOrganizationResponse: DescribeBillSummaryForOrganizationResponse,
9008
10289
  DeleteAllocationUnitResponse: DeleteAllocationUnitResponse,
9009
10290
  ConditionProject: ConditionProject,
9010
10291
  DescribeTagListResponse: DescribeTagListResponse,
9011
10292
  CosDetailSets: CosDetailSets,
10293
+ DescribeAllocationRuleSummaryRequest: DescribeAllocationRuleSummaryRequest,
9012
10294
  ModifyAllocationUnitResponse: ModifyAllocationUnitResponse,
9013
10295
  AnalyseConditionDetail: AnalyseConditionDetail,
9014
10296
  BillResourceSummary: BillResourceSummary,
9015
10297
  DeleteAllocationUnitRequest: DeleteAllocationUnitRequest,
9016
- DescribeCostSummaryByRegionResponse: DescribeCostSummaryByRegionResponse,
10298
+ DescribeGatherRuleDetailResponse: DescribeGatherRuleDetailResponse,
10299
+ AllocationRuleOverview: AllocationRuleOverview,
9017
10300
 
9018
10301
  }