tccli-intl-en 3.0.1168.1__py2.py3-none-any.whl → 3.1.16.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/argument.py +1 -1
- tccli/plugins/sso/__init__.py +14 -0
- tccli/plugins/sso/login.py +23 -6
- tccli/plugins/sso/texts.py +4 -0
- tccli/services/__init__.py +49 -2
- tccli/services/advisor/advisor_client.py +10 -4
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +266 -0
- tccli/services/ai3d/v20250513/api.json +264 -0
- tccli/services/ai3d/v20250513/examples.json +20 -0
- tccli/services/aiart/aiart_client.py +5 -2
- tccli/services/ams/ams_client.py +20 -8
- tccli/services/antiddos/antiddos_client.py +350 -140
- tccli/services/apigateway/apigateway_client.py +465 -186
- tccli/services/apm/apm_client.py +835 -68
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +10 -4
- tccli/services/autoscaling/autoscaling_client.py +341 -114
- tccli/services/autoscaling/v20180419/api.json +514 -333
- tccli/services/autoscaling/v20180419/examples.json +46 -38
- tccli/services/batch/batch_client.py +140 -56
- tccli/services/bi/__init__.py +4 -0
- tccli/services/bi/bi_client.py +1498 -0
- tccli/services/bi/v20220105/api.json +5769 -0
- tccli/services/bi/v20220105/examples.json +215 -0
- tccli/services/billing/billing_client.py +1055 -134
- tccli/services/billing/v20180709/api.json +1654 -243
- tccli/services/billing/v20180709/examples.json +169 -25
- tccli/services/cam/cam_client.py +405 -162
- tccli/services/captcha/captcha_client.py +5 -2
- tccli/services/captcha/v20190722/api.json +16 -6
- tccli/services/captcha/v20190722/examples.json +3 -3
- tccli/services/car/car_client.py +165 -66
- tccli/services/cbs/cbs_client.py +190 -76
- tccli/services/ccc/ccc_client.py +1167 -268
- tccli/services/ccc/v20200210/api.json +2263 -202
- tccli/services/ccc/v20200210/examples.json +116 -12
- tccli/services/cdb/cdb_client.py +665 -266
- tccli/services/cdb/v20170320/api.json +426 -173
- tccli/services/cdb/v20170320/examples.json +6 -6
- tccli/services/cdc/cdc_client.py +100 -40
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +220 -88
- tccli/services/cdwdoris/cdwdoris_client.py +385 -154
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +80 -32
- tccli/services/cfg/v20210820/api.json +30 -10
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/cfs_client.py +195 -78
- tccli/services/cfw/cfw_client.py +330 -132
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +80 -32
- tccli/services/ckafka/ckafka_client.py +1033 -255
- tccli/services/ckafka/v20190819/api.json +3378 -1681
- tccli/services/ckafka/v20190819/examples.json +254 -160
- tccli/services/clb/clb_client.py +1054 -469
- tccli/services/clb/v20180317/api.json +2307 -1024
- tccli/services/clb/v20180317/examples.json +186 -126
- tccli/services/cloudaudit/cloudaudit_client.py +90 -36
- tccli/services/cls/cls_client.py +434 -173
- tccli/services/cmq/cmq_client.py +14 -803
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +30 -12
- tccli/services/controlcenter/controlcenter_client.py +229 -2
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/csip/csip_client.py +339 -78
- tccli/services/csip/v20221121/api.json +1011 -38
- tccli/services/csip/v20221121/examples.json +24 -0
- tccli/services/ctsdb/__init__.py +4 -0
- tccli/services/ctsdb/ctsdb_client.py +266 -0
- tccli/services/ctsdb/v20230202/api.json +677 -0
- tccli/services/ctsdb/v20230202/examples.json +20 -0
- tccli/services/cvm/cvm_client.py +706 -189
- tccli/services/cvm/v20170312/api.json +1141 -510
- tccli/services/cvm/v20170312/examples.json +174 -128
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +3051 -575
- tccli/services/cynosdb/v20190107/api.json +14074 -7139
- tccli/services/cynosdb/v20190107/examples.json +597 -287
- tccli/services/dataintegration/dataintegration_client.py +5 -2
- tccli/services/dayu/dayu_client.py +515 -206
- tccli/services/dbbrain/dbbrain_client.py +210 -84
- tccli/services/dc/dc_client.py +90 -36
- tccli/services/dcdb/dcdb_client.py +310 -124
- tccli/services/dlc/dlc_client.py +859 -214
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +10 -4
- tccli/services/dnspod/dnspod_client.py +390 -111
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +120 -48
- tccli/services/dts/dts_client.py +415 -166
- tccli/services/eb/eb_client.py +130 -52
- tccli/services/ecdn/ecdn_client.py +75 -30
- tccli/services/ecm/ecm_client.py +620 -248
- tccli/services/eiam/eiam_client.py +200 -80
- tccli/services/emr/emr_client.py +3104 -117
- tccli/services/emr/v20190103/api.json +15311 -4361
- tccli/services/emr/v20190103/examples.json +452 -42
- tccli/services/es/es_client.py +105 -42
- tccli/services/facefusion/facefusion_client.py +15 -6
- tccli/services/faceid/faceid_client.py +95 -38
- tccli/services/faceid/v20180301/api.json +172 -45
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +440 -176
- tccli/services/gme/gme_client.py +50 -20
- tccli/services/gpm/gpm_client.py +90 -36
- tccli/services/gse/gse_client.py +110 -44
- tccli/services/gwlb/gwlb_client.py +90 -36
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +266 -0
- tccli/services/hunyuan/v20230901/api.json +270 -0
- tccli/services/hunyuan/v20230901/examples.json +20 -0
- tccli/services/iai/iai_client.py +145 -58
- tccli/services/iai/v20200303/api.json +187 -51
- tccli/services/iai/v20200303/examples.json +30 -12
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ims/ims_client.py +5 -2
- tccli/services/ims/v20201229/api.json +133 -141
- tccli/services/ims/v20201229/examples.json +3 -3
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +516 -72
- tccli/services/intlpartnersmgt/v20220928/api.json +976 -60
- tccli/services/intlpartnersmgt/v20220928/examples.json +50 -2
- tccli/services/iotcloud/iotcloud_client.py +100 -40
- tccli/services/iotcloud/v20210408/api.json +216 -107
- tccli/services/iotcloud/v20210408/examples.json +9 -9
- tccli/services/ip/ip_client.py +30 -12
- tccli/services/kms/kms_client.py +1226 -227
- tccli/services/kms/v20190118/api.json +1562 -144
- tccli/services/kms/v20190118/examples.json +204 -78
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +370 -148
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/live_client.py +804 -232
- tccli/services/live/v20180801/api.json +272 -0
- tccli/services/live/v20180801/examples.json +32 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +5194 -0
- tccli/services/lke/v20231130/api.json +14803 -0
- tccli/services/lke/v20231130/examples.json +736 -0
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +602 -0
- tccli/services/lkeap/v20240522/api.json +953 -0
- tccli/services/lkeap/v20240522/examples.json +92 -0
- tccli/services/mariadb/mariadb_client.py +250 -100
- tccli/services/mdc/mdc_client.py +90 -36
- tccli/services/mdl/mdl_client.py +402 -82
- tccli/services/mdl/v20200326/api.json +1144 -58
- tccli/services/mdl/v20200326/examples.json +48 -16
- tccli/services/mdp/mdp_client.py +785 -122
- tccli/services/mdp/v20200527/api.json +1168 -44
- tccli/services/mdp/v20200527/examples.json +151 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +1452 -136
- tccli/services/mongodb/v20190725/api.json +4393 -1462
- tccli/services/mongodb/v20190725/examples.json +265 -71
- tccli/services/monitor/monitor_client.py +1008 -296
- tccli/services/monitor/v20180724/api.json +660 -11
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +1573 -354
- tccli/services/mps/v20190612/api.json +12394 -7243
- tccli/services/mps/v20190612/examples.json +244 -84
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +596 -102
- tccli/services/ocr/v20181119/api.json +2271 -181
- tccli/services/ocr/v20181119/examples.json +70 -8
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/organization/organization_client.py +580 -232
- tccli/services/postgres/postgres_client.py +455 -182
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +206 -60
- tccli/services/privatedns/v20201028/api.json +179 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/pts/pts_client.py +240 -96
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +5 -2
- tccli/services/redis/redis_client.py +698 -212
- tccli/services/redis/v20180412/api.json +968 -563
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/__init__.py +4 -0
- tccli/services/region/region_client.py +322 -0
- tccli/services/region/v20220627/api.json +399 -0
- tccli/services/region/v20220627/examples.json +29 -0
- tccli/services/rum/rum_client.py +300 -120
- tccli/services/scf/scf_client.py +210 -84
- tccli/services/ses/ses_client.py +368 -69
- tccli/services/ses/v20201002/api.json +240 -0
- tccli/services/ses/v20201002/examples.json +32 -0
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/sms/sms_client.py +90 -36
- tccli/services/sqlserver/sqlserver_client.py +3855 -470
- tccli/services/sqlserver/v20180328/api.json +9757 -3347
- tccli/services/sqlserver/v20180328/examples.json +480 -20
- tccli/services/ssl/ssl_client.py +504 -72
- tccli/services/ssl/v20191205/api.json +789 -21
- tccli/services/ssl/v20191205/examples.json +54 -0
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +25 -10
- tccli/services/tag/tag_client.py +150 -60
- tccli/services/tat/tat_client.py +95 -38
- tccli/services/tbaas/__init__.py +4 -0
- tccli/services/tbaas/tbaas_client.py +378 -0
- tccli/services/tbaas/v20180416/api.json +551 -0
- tccli/services/tbaas/v20180416/examples.json +37 -0
- tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +5 -2
- tccli/services/tcmpp/tcmpp_client.py +520 -208
- tccli/services/tcr/tcr_client.py +380 -152
- tccli/services/tcsas/tcsas_client.py +295 -118
- tccli/services/tcsas/v20250106/api.json +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- tccli/services/tcss/tcss_client.py +1650 -660
- tccli/services/tdid/tdid_client.py +240 -96
- tccli/services/tdmq/tdmq_client.py +2876 -466
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/tem/tem_client.py +280 -112
- tccli/services/teo/teo_client.py +4507 -966
- tccli/services/teo/v20220901/api.json +7341 -1405
- tccli/services/teo/v20220901/examples.json +679 -99
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +255 -102
- tccli/services/tke/tke_client.py +741 -274
- tccli/services/tke/v20180525/api.json +132 -7
- tccli/services/tke/v20180525/examples.json +42 -16
- tccli/services/tms/tms_client.py +5 -2
- tccli/services/tms/v20201229/api.json +91 -100
- tccli/services/tmt/tmt_client.py +5 -2
- tccli/services/trabbit/__init__.py +4 -0
- tccli/services/trabbit/trabbit_client.py +1778 -0
- tccli/services/trabbit/v20230418/api.json +4772 -0
- tccli/services/trabbit/v20230418/examples.json +237 -0
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/trro/trro_client.py +95 -38
- tccli/services/trtc/trtc_client.py +928 -192
- tccli/services/trtc/v20190722/api.json +1810 -256
- tccli/services/trtc/v20190722/examples.json +100 -6
- tccli/services/tts/tts_client.py +5 -2
- tccli/services/vclm/vclm_client.py +10 -4
- tccli/services/vm/v20210922/api.json +61 -30
- tccli/services/vm/v20210922/examples.json +0 -12
- tccli/services/vm/vm_client.py +20 -8
- tccli/services/vod/v20180717/api.json +332 -52
- tccli/services/vod/v20180717/examples.json +9 -1
- tccli/services/vod/v20240718/api.json +1105 -0
- tccli/services/vod/v20240718/examples.json +97 -0
- tccli/services/vod/vod_client.py +1316 -350
- tccli/services/vpc/v20170312/api.json +1166 -106
- tccli/services/vpc/v20170312/examples.json +197 -23
- tccli/services/vpc/vpc_client.py +2413 -739
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1149 -245
- tccli/services/wedata/v20210820/api.json +1577 -231
- tccli/services/wedata/v20210820/examples.json +74 -12
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6366 -1191
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/RECORD +294 -230
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"actions": {
|
|
3
|
+
"CreateAllocationRule": [
|
|
4
|
+
{
|
|
5
|
+
"document": " ",
|
|
6
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAllocationRule\n<Common request parameters>\n\n{\n \"RuleList\": {\n \"Name\": \"Test 1\",\n \"Type\": \"2\",\n \"RatioDetail\": [\n {\n \"Ratio\": \"25\",\n \"NodeId\": \"6\"\n },\n {\n \"Ratio\": \"25\",\n \"NodeId\": \"7\"\n },\n {\n \"Ratio\": \"25\",\n \"NodeId\": \"8\"\n },\n {\n \"Ratio\": \"25\",\n \"NodeId\": \"9\"\n }\n ],\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"ownerUin\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"700000384179\"\n ]\n },\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"p_cbs\"\n ]\n },\n {\n \"Connectors\": \"or\",\n \"Children\": [\n {\n \"RuleKey\": \"itemCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"sv_cbs_memspace_premium\",\n \"sv_cdn_cn_flux_package\",\n \"sv_ci_pkg_co_re_10\"\n ]\n }\n ]\n },\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"0\"\n ]\n }\n ]\n }\n }\n}",
|
|
7
|
+
"output": "{\n \"Response\": {\n \"Id\": 33,\n \"RequestId\": \"aab8393d-ceba-44e2-819f-6d4fd0ebf987\"\n }\n}",
|
|
8
|
+
"title": "Create a Sharing Rule1"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
3
11
|
"CreateAllocationTag": [
|
|
4
12
|
{
|
|
5
13
|
"document": "This example shows you how to batch set cost allocation tags.",
|
|
@@ -8,6 +16,42 @@
|
|
|
8
16
|
"title": "Batch setting cost allocation tags"
|
|
9
17
|
}
|
|
10
18
|
],
|
|
19
|
+
"CreateAllocationUnit": [
|
|
20
|
+
{
|
|
21
|
+
"document": " ",
|
|
22
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAllocationUnit\n<Common request parameters>\n\n{\n \"Name\": \"Finance Department\",\n \"ParentId\": \"1\"\n}",
|
|
23
|
+
"output": "{\n \"Response\": {\n \"Id\": 2,\n \"RequestId\": \"5ac3b178-3434-452e-9a1e-dc8b8089a2d8\"\n }\n}",
|
|
24
|
+
"title": "Create Ordinary Allocation Unit"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"document": " ",
|
|
28
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAllocationUnit\n<Common request parameters>\n\n{\n \"ParentId\": \"0\"\n}",
|
|
29
|
+
"output": "{\n \"Response\": {\n \"Id\": 1,\n \"RequestId\": \"ebe202d2-9746-4c9a-a931-f569651e5894\"\n }\n}",
|
|
30
|
+
"title": "Create a Cost Allocation Directory Tree Root Node"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"CreateGatherRule": [
|
|
34
|
+
{
|
|
35
|
+
"document": " ",
|
|
36
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGatherRule\n<Common request parameters>\n\n{\n \"Id\": \"6\",\n \"RuleList\": {\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"p_cvm\",\n \"p_nat\"\n ]\n }\n ]\n }\n }\n}",
|
|
37
|
+
"output": "{\n \"Response\": {\n \"Id\": 23,\n \"RequestId\": \"215ccaa8-3b2b-425c-b53b-375df0c491e6\"\n }\n}",
|
|
38
|
+
"title": "Create a Collection Rule"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"document": " ",
|
|
42
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGatherRule\n<Common request parameters>\n\n{\n \"Id\": \"8\",\n \"RuleList\": {\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"p_cvm\",\n \"p_nat\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"9\",\n \"5\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"not in\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n }\n }\n}",
|
|
43
|
+
"output": "{\n \"Response\": {\n \"Id\": 24,\n \"RequestId\": \"4c396774-36bc-4897-a03d-41a18357d63d\"\n }\n}",
|
|
44
|
+
"title": "Create a Nested Collection Rule"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"DeleteAllocationRule": [
|
|
48
|
+
{
|
|
49
|
+
"document": " ",
|
|
50
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAllocationRule\n<Common request parameters>\n\n{\n \"RuleId\": \"21\"\n}",
|
|
51
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e0f48e2a-e884-4ebc-83ee-eb98ff194bfa\"\n }\n}",
|
|
52
|
+
"title": "Rule Deletion Example"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
11
55
|
"DeleteAllocationTag": [
|
|
12
56
|
{
|
|
13
57
|
"document": "This example shows you how to batch cancel cost allocation tags.",
|
|
@@ -16,6 +60,22 @@
|
|
|
16
60
|
"title": "Batch canceling cost allocation tags"
|
|
17
61
|
}
|
|
18
62
|
],
|
|
63
|
+
"DeleteAllocationUnit": [
|
|
64
|
+
{
|
|
65
|
+
"document": " ",
|
|
66
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAllocationUnit\n<Common request parameters>\n\n{\n \"Id\": \"18\"\n}",
|
|
67
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"169af64e-15a9-49f3-a9df-0b6f0afbe525\"\n }\n}",
|
|
68
|
+
"title": "Delete Cost Allocation Units"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"DeleteGatherRule": [
|
|
72
|
+
{
|
|
73
|
+
"document": " ",
|
|
74
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteGatherRule\n<Common request parameters>\n\n{\n \"RuleId\": \"18\"\n}",
|
|
75
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3f217f8c-7fca-489c-872f-f0780ee3b147\"\n }\n}",
|
|
76
|
+
"title": "Delete a Collection Rule Example"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
19
79
|
"DescribeAccountBalance": [
|
|
20
80
|
{
|
|
21
81
|
"document": " ",
|
|
@@ -24,6 +84,38 @@
|
|
|
24
84
|
"title": "Checking the account balance "
|
|
25
85
|
}
|
|
26
86
|
],
|
|
87
|
+
"DescribeAllocationRuleDetail": [
|
|
88
|
+
{
|
|
89
|
+
"document": " ",
|
|
90
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationRuleDetail\n<Common request parameters>\n\n{\n \"Month\": \"202210\",\n \"RuleId\": \"24\"\n}",
|
|
91
|
+
"output": "{\n \"Response\": {\n \"Id\": 24,\n \"Uin\": \"909619400\",\n \"Name\": \"test_allocation2\",\n \"Type\": 1,\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"p_cvm\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"9\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n },\n \"RatioDetail\": [\n {\n \"NodeId\": 6,\n \"Ratio\": 40\n },\n {\n \"NodeId\": 7,\n \"Ratio\": 60\n }\n ],\n \"RequestId\": \"b9fd53c2-d5d3-4f49-8a6d-dd0b2e9c02bf\"\n }\n}",
|
|
92
|
+
"title": "Query Public Area Rule Details"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"DescribeAllocationRuleSummary": [
|
|
96
|
+
{
|
|
97
|
+
"document": " ",
|
|
98
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationRuleSummary\n<Common request parameters>\n\n{\n \"Month\": \"2022-11\",\n \"Limit\": \"2\",\n \"Offset\": \"0\"\n}",
|
|
99
|
+
"output": "{\n \"Response\": {\n \"Total\": 2,\n \"RuleList\": [\n {\n \"RuleId\": 33,\n \"RuleName\": \"Test 1\",\n \"Type\": 2,\n \"UpdateTime\": \"2022-10-30 17:26:16\",\n \"AllocationNode\": [\n {\n \"NodeId\": 6,\n \"TreeNodeUniqKeyName\": \"Product Department 1\"\n },\n {\n \"NodeId\": 7,\n \"TreeNodeUniqKeyName\": \"Business Division II Products\"\n },\n {\n \"NodeId\": 8,\n \"TreeNodeUniqKeyName\": \"Product Division 3\"\n },\n {\n \"NodeId\": 9,\n \"TreeNodeUniqKeyName\": \"Product Department 4\"\n }\n ]\n },\n {\n \"RuleId\": 29,\n \"RuleName\": \"test_allocation2\",\n \"Type\": 1,\n \"UpdateTime\": \"2022-10-24 12:05:04\",\n \"AllocationNode\": [\n {\n \"NodeId\": 2,\n \"TreeNodeUniqKeyName\": \"Finance Department\"\n },\n {\n \"NodeId\": 5,\n \"TreeNodeUniqKeyName\": \"Organization Department\"\n }\n ]\n }\n ],\n \"RequestId\": \"78933c15-099c-4958-9ca0-8c148bc1da04\"\n }\n}",
|
|
100
|
+
"title": "Query Sharing Rule Overview"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"DescribeAllocationTree": [
|
|
104
|
+
{
|
|
105
|
+
"document": " ",
|
|
106
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationTree\n<Common request parameters>\n\n{\n \"Month\": \"2022-11\"\n}",
|
|
107
|
+
"output": "{\n \"Response\": {\n \"Id\": 11,\n \"Name\": \"Organization\",\n \"TreeNodeUniqKey\": \"200029082654-6735f4b4562b1\",\n \"Children\": [\n {\n \"Id\": 12,\n \"Name\": \"group1\",\n \"TreeNodeUniqKey\": \"200029082654-6735f4c4f1767\",\n \"Children\": []\n },\n {\n \"Id\": 13,\n \"Name\": \"group2\",\n \"TreeNodeUniqKey\": \"200029082654-6735f4cccbf84\",\n \"Children\": []\n }\n ],\n \"RequestId\": \"682fedd32597b\"\n }\n}",
|
|
108
|
+
"title": "Query the Entire Tree"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"DescribeAllocationUnitDetail": [
|
|
112
|
+
{
|
|
113
|
+
"document": " ",
|
|
114
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationUnitDetail\n<Common request parameters>\n\n{\n \"Id\": \"6\",\n \"Month\": \"2022-10-01\"\n}",
|
|
115
|
+
"output": "{\n \"Response\": {\n \"Id\": 6,\n \"Uin\": \"909619400\",\n \"Name\": \"Product Department 1\",\n \"ParentId\": 4,\n \"SourceName\": \"A group\",\n \"SourceId\": \"asd221\",\n \"Remark\": \"Remark 1\",\n \"TreeNodeUniqKey\": \"909619400-6358ee8995950\",\n \"RuleId\": 23,\n \"RequestId\": \"e93a707c-f31f-417f-a39b-e72380132dbb\"\n }\n}",
|
|
116
|
+
"title": "Query Allocation Unit Details"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
27
119
|
"DescribeBillAdjustInfo": [
|
|
28
120
|
{
|
|
29
121
|
"document": "This example shows you how to obtain bill exception adjustment information by month.",
|
|
@@ -35,8 +127,8 @@
|
|
|
35
127
|
"DescribeBillDetail": [
|
|
36
128
|
{
|
|
37
129
|
"document": "This example shows you how to get bill details.",
|
|
38
|
-
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillDetail\n<Common request parameters>{\n \"Offset\": 0,\n \"Limit\": 1,\n \"Month\": \"
|
|
39
|
-
"output": "{\n \"Response\": {\n \"Context\": \"
|
|
130
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillDetail\n<Common request parameters>{\n \"Offset\": 0,\n \"Limit\": 1,\n \"Month\": \"2024-07\",\n \"NeedRecordNum\": 1,\n \"ResourceId\": \"eip-02udpkde\"\n}",
|
|
131
|
+
"output": "{\n \"Response\": {\n \"Context\": \"6WFy9vRCrVEsm9xlmfvhY1Wb2TckX7PMKhnhdar2Sq/b3a1sdSmZjlFaC+2oAl7LMWc/ZZv4yYnPT12ELlVroTzdBUUNqU2043x8heMFLjAf6NJGoV8FXlYLQxABqcSt\",\n \"DetailSet\": [\n {\n \"ActionType\": \"postpay_deduct_h\",\n \"ActionTypeName\": \"Hourly settlement\",\n \"BillDay\": \"2024-07-01 00:00:00\",\n \"BillId\": \"20240701724095533205322\",\n \"BillMonth\": \"2024-07-01 00:00:00\",\n \"BusinessCode\": \"p_eip\",\n \"BusinessCodeName\": \"Cloud Public IP\",\n \"ComponentSet\": [\n {\n \"BlendedDiscount\": \"0.03514100\",\n \"CashPayAmount\": \"0.00118741\",\n \"ComponentCode\": \"v_eip_hour\",\n \"ComponentCodeName\": \"Public IP Resource\",\n \"ComponentConfig\": [],\n \"ContractPrice\": \"0.00108937\",\n \"Cost\": \"0.03100000\",\n \"Currency\": \"USD\",\n \"DeductedMeasure\": \"-\",\n \"Discount\": \"0.035141\",\n \"IncentivePayAmount\": \"0\",\n \"InstanceType\": \"\",\n \"ItemCode\": \"sv_eip_hour\",\n \"ItemCodeName\": \"Public IP Resource\",\n \"OriginalCostWithRI\": \"0.00000000\",\n \"OriginalCostWithSP\": \"0.00000000\",\n \"PriceUnit\": \"USD/pcs/Hour\",\n \"RealCost\": \"0.00118741\",\n \"RealTotalMeasure\": \"-\",\n \"ReduceType\": \"discount\",\n \"RiTimeSpan\": \"0.00000000\",\n \"SPDeductionRate\": \"0.00000000\",\n \"SinglePrice\": \"0.03100000\",\n \"TaxAmount\": \"0.00009804\",\n \"TaxRate\": \"0.09000000\",\n \"TimeSpan\": \"1\",\n \"TimeUnitName\": \"Hour\",\n \"TransferPayAmount\": \"0\",\n \"UsedAmount\": \"1\",\n \"UsedAmountUnit\": \"pcs\",\n \"VoucherPayAmount\": \"0\"\n }\n ],\n \"DiscountContent\": \"\",\n \"DiscountObject\": \"\",\n \"DiscountType\": \"\",\n \"FeeBeginTime\": \"2024-07-01 01:00:00\",\n \"FeeEndTime\": \"2024-07-01 01:59:59\",\n \"Formula\": \"-\",\n \"FormulaUrl\": \"\",\n \"Id\": \"7831455483928246017\",\n \"OperateUin\": \"100010445724\",\n \"OrderId\": \"eip-02udpkde\",\n \"OwnerUin\": \"100010445724\",\n \"PayModeName\": \"Pay-As-You-Go resources\",\n \"PayTime\": \"2024-07-01 02:09:51\",\n \"PayerUin\": \"100010445724\",\n \"PriceInfo\": [],\n \"ProductCode\": \"sp_eip\",\n \"ProductCodeName\": \"Cloud Public IP\",\n \"ProjectId\": 0,\n \"ProjectName\": \"default\",\n \"RegionId\": \"1\",\n \"RegionName\": \"South China (Guangzhou)\",\n \"RegionType\": \"domestic\",\n \"RegionTypeName\": \"Domestic\",\n \"ReserveDetail\": \"\",\n \"ResourceId\": \"eip-02udpkde\",\n \"ResourceName\": \"\",\n \"Tags\": [],\n \"ZoneName\": \"other\"\n }\n ],\n \"RequestId\": \"8d9860e5-48f5-4399-b153-334510b96944\",\n \"Total\": 744\n }\n}",
|
|
40
132
|
"title": "Getting Bill Details"
|
|
41
133
|
}
|
|
42
134
|
],
|
|
@@ -60,7 +152,7 @@
|
|
|
60
152
|
{
|
|
61
153
|
"document": "This example shows you how to get the bill summarized by instance.",
|
|
62
154
|
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillResourceSummary\n\n{\n \"Offset\": 0,\n \"Limit\": 1,\n \"PeriodType\": \"byPayTime\",\n \"Month\": \"2022-01\",\n \"NeedRecordNum\": 1\n}",
|
|
63
|
-
"output": "{\n \"Response\": {\n \"ResourceSummarySet\": [\n {\n \"
|
|
155
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"43c51fc6-4a40-4529-8d3a-5663b558cfad\",\n \"ResourceSummarySet\": [\n {\n \"ActionTypeName\": \"Daily settlement\",\n \"BillMonth\": \"2022-01-01 00:00:00\",\n \"BusinessCode\": \"p_cls\",\n \"BusinessCodeName\": \"cloud log service\",\n \"CashPayAmount\": \"0.00000231\",\n \"ConfigDesc\": \"cloud log service-request: 0.000083 Per million times\",\n \"Discount\": \"1\",\n \"ExtendField1\": \"-\",\n \"ExtendField2\": \"-\",\n \"ExtendField3\": \"-\",\n \"ExtendField4\": \"-\",\n \"ExtendField5\": \"-\",\n \"FeeBeginTime\": \"2022-01-05 00:00:00\",\n \"FeeEndTime\": \"2022-01-21 23:59:59\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"InstanceType\": \"-\",\n \"OperateUin\": \"100010445724\",\n \"OrderId\": \"-\",\n \"OriginalCostWithRI\": \"0.00000000\",\n \"OriginalCostWithSP\": \"0.00000000\",\n \"OwnerUin\": \"100010445724\",\n \"PayModeName\": \"Pay-As-You-Go resources\",\n \"PayTime\": \"0000-00-00 00:00:00\",\n \"PayerUin\": \"100010445724\",\n \"ProductCode\": \"sp_cls\",\n \"ProductCodeName\": \"cloud log service\",\n \"ProjectName\": \"default\",\n \"RealTotalCost\": \"0.00000231\",\n \"ReduceType\": \"discount\",\n \"RegionId\": 1,\n \"RegionName\": \"South China (Guangzhou)\",\n \"ResourceId\": \"100010445724-1\",\n \"ResourceName\": \"\",\n \"Tags\": [],\n \"TotalCost\": \"2.16E-6\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"ZoneName\": \"Guangzhou Zone 1\"\n }\n ],\n \"Total\": 95\n }\n}",
|
|
64
156
|
"title": "Getting the bill summarized by instance"
|
|
65
157
|
}
|
|
66
158
|
],
|
|
@@ -74,41 +166,41 @@
|
|
|
74
166
|
],
|
|
75
167
|
"DescribeBillSummary": [
|
|
76
168
|
{
|
|
77
|
-
"document": "This example shows you how to get
|
|
169
|
+
"document": "This example shows you how to get the details of bill summary by region.",
|
|
78
170
|
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillSummary\n<Common request parameters>\n\n{\n \"Month\": \"2023-04\",\n \"GroupType\": \"region\"\n}",
|
|
79
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"
|
|
80
|
-
"title": "Getting
|
|
171
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"6bec8438-9c17-4793-b38d-8aa43d1c6358\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_ckafka\",\n \"BusinessCodeName\": \"Message Queue CKafka\",\n \"CashPayAmount\": \"190.44491904\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"190.44491904\",\n \"TotalCost\": \"199.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"Cloud Virtual Machine(CVM)\",\n \"CashPayAmount\": \"50.55947280\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"89.55947280\",\n \"TotalCost\": \"116.23401844\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"39.00000000\"\n },\n {\n \"BusinessCode\": \"p_emr\",\n \"BusinessCodeName\": \"Elastic MapReduce\",\n \"CashPayAmount\": \"38.75629030\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"38.75629030\",\n \"TotalCost\": \"53.62459200\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_eip\",\n \"BusinessCodeName\": \"Cloud Public IP\",\n \"CashPayAmount\": \"0.00004059\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00004059\",\n \"TotalCost\": \"0.00103833\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"cloud block storage\",\n \"CashPayAmount\": \"-21.51352251\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"-7.94874051\",\n \"TotalCost\": \"50.44529414\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"13.56478200\"\n }\n ],\n \"CashPayAmount\": \"258.24720022\",\n \"GroupKey\": \"1\",\n \"GroupValue\": \"South China (Guangzhou)\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"310.81198222\",\n \"TotalCost\": \"419.30494291\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"52.56478200\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"cloud block storage\",\n \"CashPayAmount\": \"1.74120480\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"1.74120480\",\n \"TotalCost\": \"3.11040000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"Cloud Virtual Machine(CVM)\",\n \"CashPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00000000\",\n \"TotalCost\": \"7.54272000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ],\n \"CashPayAmount\": \"1.74120480\",\n \"GroupKey\": \"5\",\n \"GroupValue\": \"Hong Kong/Macao/Taiwan (China) (Hong Kong (China))\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"1.74120480\",\n \"TotalCost\": \"10.65312000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"Cloud Object Storage\",\n \"CashPayAmount\": \"0.00016748\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00016748\",\n \"TotalCost\": \"0.00023060\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ],\n \"CashPayAmount\": \"0.00016748\",\n \"GroupKey\": \"33\",\n \"GroupValue\": \"East China (Nanjing)\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00016748\",\n \"TotalCost\": \"0.00023060\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tmp_5def062a6f799\",\n \"BusinessCodeName\": \"\",\n \"CashPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00000000\",\n \"TotalCost\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ],\n \"CashPayAmount\": \"0.00000000\",\n \"GroupKey\": \"0\",\n \"GroupValue\": \"other\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00000000\",\n \"TotalCost\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ]\n }\n}",
|
|
172
|
+
"title": "Getting the Details of Bill Summary by Region"
|
|
81
173
|
},
|
|
82
174
|
{
|
|
83
|
-
"document": "This example shows you how to get
|
|
175
|
+
"document": "This example shows you how to get the details of bill summary by project.",
|
|
84
176
|
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillSummary\n<Common request parameters>\n\n{\n \"Month\": \"2023-04\",\n \"GroupType\": \"project\"\n}",
|
|
85
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"
|
|
86
|
-
"title": "Getting
|
|
177
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"62ac11d7-728b-4dfe-9077-fef9a4b43b0a\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_ckafka\",\n \"BusinessCodeName\": \"Message Queue CKafka\",\n \"CashPayAmount\": \"190.44491904\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"190.44491904\",\n \"TotalCost\": \"199.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"Cloud Virtual Machine(CVM)\",\n \"CashPayAmount\": \"50.55947280\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"89.55947280\",\n \"TotalCost\": \"123.77673844\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"39.00000000\"\n },\n {\n \"BusinessCode\": \"p_emr\",\n \"BusinessCodeName\": \"Elastic MapReduce\",\n \"CashPayAmount\": \"38.75629030\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"38.75629030\",\n \"TotalCost\": \"53.62459200\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"Cloud Object Storage\",\n \"CashPayAmount\": \"0.00016748\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00016748\",\n \"TotalCost\": \"0.00023060\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_eip\",\n \"BusinessCodeName\": \"Cloud Public IP\",\n \"CashPayAmount\": \"0.00004059\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00004059\",\n \"TotalCost\": \"0.00103833\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_tmp_5def062a6f799\",\n \"BusinessCodeName\": \"\",\n \"CashPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00000000\",\n \"TotalCost\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"cloud block storage\",\n \"CashPayAmount\": \"-19.77231771\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"-6.20753571\",\n \"TotalCost\": \"53.55569414\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"13.56478200\"\n }\n ],\n \"CashPayAmount\": \"259.98857250\",\n \"GroupKey\": \"0\",\n \"GroupValue\": \"default\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"312.55335450\",\n \"TotalCost\": \"429.95829351\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"52.56478200\"\n }\n ]\n }\n}",
|
|
178
|
+
"title": "Getting the Details of Bill Summary by Project"
|
|
87
179
|
},
|
|
88
180
|
{
|
|
89
|
-
"document": "This example shows you how to get
|
|
181
|
+
"document": "This example shows you how to get the details of bill summary by product.",
|
|
90
182
|
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillSummary\n<Common request parameters>\n\n{\n \"Month\": \"2023-04\",\n \"GroupType\": \"business\"\n}",
|
|
91
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"
|
|
92
|
-
"title": "Getting
|
|
183
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"46ed3af3-06b6-4cf5-94b9-aea9b0c1908b\",\n \"SummaryDetail\": [\n {\n \"Business\": null,\n \"CashPayAmount\": \"190.44491904\",\n \"GroupKey\": \"p_ckafka\",\n \"GroupValue\": \"Message Queue CKafka\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"190.44491904\",\n \"TotalCost\": \"199.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"Business\": null,\n \"CashPayAmount\": \"50.55947280\",\n \"GroupKey\": \"p_cvm\",\n \"GroupValue\": \"Cloud Virtual Machine(CVM)\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"89.55947280\",\n \"TotalCost\": \"123.77673844\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"39.00000000\"\n },\n {\n \"Business\": null,\n \"CashPayAmount\": \"38.75629030\",\n \"GroupKey\": \"p_emr\",\n \"GroupValue\": \"Elastic MapReduce\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"38.75629030\",\n \"TotalCost\": \"53.62459200\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"Business\": null,\n \"CashPayAmount\": \"0.00016748\",\n \"GroupKey\": \"p_cos\",\n \"GroupValue\": \"Cloud Object Storage\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00016748\",\n \"TotalCost\": \"0.00023060\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"Business\": null,\n \"CashPayAmount\": \"0.00004059\",\n \"GroupKey\": \"p_eip\",\n \"GroupValue\": \"Cloud Public IP\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00004059\",\n \"TotalCost\": \"0.00103833\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"Business\": null,\n \"CashPayAmount\": \"0.00000000\",\n \"GroupKey\": \"p_tmp_5def062a6f799\",\n \"GroupValue\": \"\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00000000\",\n \"TotalCost\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"Business\": null,\n \"CashPayAmount\": \"-19.77231771\",\n \"GroupKey\": \"p_cbs\",\n \"GroupValue\": \"cloud block storage\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"-6.20753571\",\n \"TotalCost\": \"53.55569414\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"13.56478200\"\n }\n ]\n }\n}",
|
|
184
|
+
"title": "Getting the Details of Bill Summary by Product"
|
|
93
185
|
},
|
|
94
186
|
{
|
|
95
|
-
"document": "This example shows you how to get
|
|
96
|
-
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillSummary\n<Common request parameters>\n\n{\n \"Month\": \"2023-05\",\n \"GroupType\": \"tag\",\n \"TagKey\": [\n \"Test
|
|
97
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"fdb44563-4a70-4c41-88a4-68b628a221a8\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"
|
|
98
|
-
"title": "Getting
|
|
187
|
+
"document": "This example shows you how to get the details of bill summary by tag.",
|
|
188
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillSummary\n<Common request parameters>\n\n{\n \"Month\": \"2023-05\",\n \"GroupType\": \"tag\",\n \"TagKey\": [\n \"Test Key\",\n \"Department Classification\"\n ]\n}",
|
|
189
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"fdb44563-4a70-4c41-88a4-68b628a221a8\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"VooV Meeting (SAAS Edition)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"Cloud Block Storage (CBS)\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"Test Key\",\n \"GroupValue\": \"\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_nat\",\n \"BusinessCodeName\": \"NAT Gateway\",\n \"CashPayAmount\": \"127.44\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"127.44\",\n \"TotalCost\": \"188.93\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cls\",\n \"BusinessCodeName\": \"Cloud Log Service (CLS)\",\n \"CashPayAmount\": \"0.71\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.71\",\n \"TotalCost\": \"1.08\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"128.15\",\n \"GroupKey\": \"Test Key\",\n \"GroupValue\": \"123456\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"128.15\",\n \"TotalCost\": \"190.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"VooV Meeting (SAAS Edition)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"Cloud Block Storage (CBS)\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"Department Classification\",\n \"GroupValue\": \"\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_ckafka\",\n \"BusinessCodeName\": \"CKafka Message Service\",\n \"CashPayAmount\": \"1076.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"1076.00\",\n \"GroupKey\": \"Department Classification\",\n \"GroupValue\": \"Purchasing Department\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_yunjing\",\n \"BusinessCodeName\": \"T-Sec CWPP (CWP)\",\n \"CashPayAmount\": \"123.18\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"123.18\",\n \"GroupKey\": \"Department Classification\",\n \"GroupValue\": \"Administrative Department\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_clb\",\n \"BusinessCodeName\": \"Cloud Load Balancer (CLB)\",\n \"CashPayAmount\": \"38.31\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"Cloud Object Storage (COS)\",\n \"CashPayAmount\": \"0.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.00\",\n \"TotalCost\": \"0.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"38.31\",\n \"GroupKey\": \"Department Classification\",\n \"GroupValue\": \"Business Department\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"Cloud Virtual Machine (CVM)\",\n \"CashPayAmount\": \"-43.67\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"-43.67\",\n \"GroupKey\": \"Department Classification\",\n \"GroupValue\": \"Finance Department\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ]\n }\n}",
|
|
190
|
+
"title": "Getting the Details of Bill Summary by Tag"
|
|
99
191
|
},
|
|
100
192
|
{
|
|
101
|
-
"document": "This example shows you how to get
|
|
193
|
+
"document": "This example shows you how to get the details of bill summary by billing mode.",
|
|
102
194
|
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillSummary\n<Common request parameters>\n\n{\n \"Month\": \"2023-04\",\n \"GroupType\": \"payMode\"\n}",
|
|
103
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"
|
|
104
|
-
"title": "Getting
|
|
195
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"0aa37606-0416-468c-8d3f-7b70dd2542e0\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_ckafka\",\n \"BusinessCodeName\": \"Message Queue CKafka\",\n \"CashPayAmount\": \"190.44491904\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"190.44491904\",\n \"TotalCost\": \"199.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"Cloud Virtual Machine(CVM)\",\n \"CashPayAmount\": \"27.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"66.00000000\",\n \"TotalCost\": \"64.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"39.00000000\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"cloud block storage\",\n \"CashPayAmount\": \"-32.70587451\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"-19.14109251\",\n \"TotalCost\": \"11.43376214\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"13.56478200\"\n }\n ],\n \"CashPayAmount\": \"184.73904453\",\n \"GroupKey\": \"prePay\",\n \"GroupValue\": \"Monthly subscription\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"237.30382653\",\n \"TotalCost\": \"274.43376214\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"52.56478200\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_emr\",\n \"BusinessCodeName\": \"Elastic MapReduce\",\n \"CashPayAmount\": \"38.75629030\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"38.75629030\",\n \"TotalCost\": \"53.62459200\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"Cloud Virtual Machine(CVM)\",\n \"CashPayAmount\": \"23.55947280\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"23.55947280\",\n \"TotalCost\": \"59.77673844\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"cloud block storage\",\n \"CashPayAmount\": \"12.93355680\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"12.93355680\",\n \"TotalCost\": \"42.12193200\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"Cloud Object Storage\",\n \"CashPayAmount\": \"0.00016748\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00016748\",\n \"TotalCost\": \"0.00023060\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_eip\",\n \"BusinessCodeName\": \"Cloud Public IP\",\n \"CashPayAmount\": \"0.00004059\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00004059\",\n \"TotalCost\": \"0.00103833\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BusinessCode\": \"p_tmp_5def062a6f799\",\n \"BusinessCodeName\": \"\",\n \"CashPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.00000000\",\n \"TotalCost\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ],\n \"CashPayAmount\": \"75.24952797\",\n \"GroupKey\": \"postPay\",\n \"GroupValue\": \"Pay-As-You-Go resources\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"75.24952797\",\n \"TotalCost\": \"155.52453137\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ]\n }\n}",
|
|
196
|
+
"title": "Getting the Details of Bill Summary by Billing Mode"
|
|
105
197
|
}
|
|
106
198
|
],
|
|
107
199
|
"DescribeBillSummaryByPayMode": [
|
|
108
200
|
{
|
|
109
201
|
"document": "This example shows you how to get the bill summarized by billing mode.",
|
|
110
202
|
"input": "POST / HTTP/1.1Host: billing.tencentcloudapi.comContent-Type: application/jsonX-TC-Action: DescribeBillSummaryByPayMode<Common request parameters>{ \"EndTime\": \"2018-11\", \"BeginTime\": \"2018-11\"}",
|
|
111
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"SummaryOverview\": [\n {\n \"
|
|
203
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"8ef7c0ea-6f84-4d77-a3db-75f22e93307e\",\n \"SummaryOverview\": [\n {\n \"CashPayAmount\": \"6247.54982666\",\n \"Detail\": [\n {\n \"ActionType\": \"pre_purchase\",\n \"ActionTypeName\": \"New monthly subscription\",\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"6195.75401529\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"6209.27829961\",\n \"RealTotalCostRatio\": \"99.02\",\n \"TotalCost\": \"5715.64000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"13.52428432\"\n },\n {\n \"ActionType\": \"pre_renew\",\n \"ActionTypeName\": \"Monthly subscription renewal\",\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"61.35894583\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"61.35894583\",\n \"RealTotalCostRatio\": \"0.98\",\n \"TotalCost\": \"160.64647000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"ActionType\": \"pre_upgrade\",\n \"ActionTypeName\": \"Monthly subscription specification adjustment\",\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"2.99518000\",\n \"RealTotalCostRatio\": \"0.00\",\n \"TotalCost\": \"8.88964000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"2.99518000\"\n },\n {\n \"ActionType\": \"prepay_return\",\n \"ActionTypeName\": \" Monthly subscription refund\",\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"-9.56313446\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"-9.56313446\",\n \"RealTotalCostRatio\": \"0.00\",\n \"TotalCost\": \"-8.77351786\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ],\n \"IncentivePayAmount\": \"0.00000000\",\n \"PayMode\": \"prePay\",\n \"PayModeName\": \"Monthly subscription\",\n \"RealTotalCost\": \"6264.06929098\",\n \"RealTotalCostRatio\": \"86.77\",\n \"TotalCost\": \"5876.40259214\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"16.51946432\"\n },\n {\n \"CashPayAmount\": \"952.60940356\",\n \"Detail\": [\n {\n \"ActionType\": \"postpay_deduct_d\",\n \"ActionTypeName\": \"Daily settlement\",\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"460.76964609\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"460.76964609\",\n \"RealTotalCostRatio\": \"48.32\",\n \"TotalCost\": \"847.48501517\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"ActionType\": \"svp_hour_pay\",\n \"ActionTypeName\": \"Hourly Savings Plan fee\",\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"353.37800000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"353.37800000\",\n \"RealTotalCostRatio\": \"37.06\",\n \"TotalCost\": \"324.20000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"ActionType\": \"postpay_deduct_h\",\n \"ActionTypeName\": \"Hourly settlement\",\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"139.46175747\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"139.46174589\",\n \"RealTotalCostRatio\": \"14.62\",\n \"TotalCost\": \"576.80845417\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"ActionType\": \"recon_increase\",\n \"ActionTypeName\": \"Adjustment - compensation\",\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"-1.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"-1.00000000\",\n \"RealTotalCostRatio\": \"0.00\",\n \"TotalCost\": \"-1.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ],\n \"IncentivePayAmount\": \"0.00000000\",\n \"PayMode\": \"postPay\",\n \"PayModeName\": \"Pay-As-You-Go resources\",\n \"RealTotalCost\": \"952.60939198\",\n \"RealTotalCostRatio\": \"13.23\",\n \"TotalCost\": \"1747.49346934\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"CashPayAmount\": \"0.00000000\",\n \"Detail\": [],\n \"IncentivePayAmount\": \"0.00000000\",\n \"PayMode\": \"riPay\",\n \"PayModeName\": \"Standard RI\",\n \"RealTotalCost\": \"0.00000000\",\n \"RealTotalCostRatio\": \"0.00\",\n \"TotalCost\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ]\n }\n}",
|
|
112
204
|
"title": "Getting the bill summarized by billing mode"
|
|
113
205
|
}
|
|
114
206
|
],
|
|
@@ -116,15 +208,15 @@
|
|
|
116
208
|
{
|
|
117
209
|
"document": "This example shows you how to get the bill summarized by product.",
|
|
118
210
|
"input": "POST / HTTP/1.1Host: billing.tencentcloudapi.comContent-Type: application/jsonX-TC-Action: DescribeBillSummaryByProduct<Common request parameters>{ \"EndTime\": \"2018-11\", \"BeginTime\": \"2018-11\"}",
|
|
119
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"
|
|
211
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"2ed6ea97-3052-431c-938c-bc5d166862d9\",\n \"SummaryOverview\": [\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_cdh\",\n \"BusinessCodeName\": \"CVM Dedicated Host(CDH)\",\n \"CashPayAmount\": \"2547.01736286\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"2547.01736286\",\n \"RealTotalCostRatio\": \"78.53\",\n \"TotalCost\": \"4581.36000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_svp\",\n \"BusinessCodeName\": \"Saving Plan\",\n \"CashPayAmount\": \"432.03240000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"432.03240000\",\n \"RealTotalCostRatio\": \"13.32\",\n \"TotalCost\": \"396.36000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"cloud block storage\",\n \"CashPayAmount\": \"131.70202768\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"131.70202768\",\n \"RealTotalCostRatio\": \"4.06\",\n \"TotalCost\": \"483.58967000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_nat\",\n \"BusinessCodeName\": \"NAT Gateway\",\n \"CashPayAmount\": \"68.26613290\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"68.26613290\",\n \"RealTotalCostRatio\": \"2.10\",\n \"TotalCost\": \"93.60000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"Cloud Virtual Machine(CVM)\",\n \"CashPayAmount\": \"34.69206519\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"34.69206519\",\n \"RealTotalCostRatio\": \"1.07\",\n \"TotalCost\": \"33.38087375\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_redis\",\n \"BusinessCodeName\": \"TencentDB for Redis\",\n \"CashPayAmount\": \"21.00957669\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"21.00957669\",\n \"RealTotalCostRatio\": \"0.65\",\n \"TotalCost\": \"77.95693680\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_clb\",\n \"BusinessCodeName\": \"Cloud Load Balancer\",\n \"CashPayAmount\": \"6.93276770\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"6.93276770\",\n \"RealTotalCostRatio\": \"0.21\",\n \"TotalCost\": \"42.90000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_eip\",\n \"BusinessCodeName\": \"Cloud Public IP\",\n \"CashPayAmount\": \"1.29682227\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"1.29682227\",\n \"RealTotalCostRatio\": \"0.04\",\n \"TotalCost\": \"32.42389139\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_cls\",\n \"BusinessCodeName\": \"cloud log service\",\n \"CashPayAmount\": \"0.37071133\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.37071133\",\n \"RealTotalCostRatio\": \"0.01\",\n \"TotalCost\": \"0.84700000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_privatedns\",\n \"BusinessCodeName\": \"Private DNS\",\n \"CashPayAmount\": \"0.21486340\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.21486340\",\n \"RealTotalCostRatio\": \"0.01\",\n \"TotalCost\": \"0.45000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-11\",\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"Cloud Object Storage\",\n \"CashPayAmount\": \"0.04614960\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.04614960\",\n \"RealTotalCostRatio\": \"0.00\",\n \"TotalCost\": \"0.06573282\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ],\n \"SummaryTotal\": {\n \"CashPayAmount\": \"3243.58087962\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"3243.58087962\",\n \"TotalCost\": \"5742.93410476\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n }\n}",
|
|
120
212
|
"title": "Getting the bill summarized by product"
|
|
121
213
|
}
|
|
122
214
|
],
|
|
123
215
|
"DescribeBillSummaryByProject": [
|
|
124
216
|
{
|
|
125
217
|
"document": "DescribeBillSummaryByProject",
|
|
126
|
-
"input": "POST / HTTP/1.1Host: billing.tencentcloudapi.comContent-Type: application/jsonX-TC-Action: DescribeBillSummaryByProject<Common request parameters>{ \"EndTime\": \"
|
|
127
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"
|
|
218
|
+
"input": "POST / HTTP/1.1Host: billing.tencentcloudapi.comContent-Type: application/jsonX-TC-Action: DescribeBillSummaryByProject<Common request parameters>{ \"EndTime\": \"2024-08\", \"BeginTime\": \"2024-08\"}",
|
|
219
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"1ee26649-f179-4977-ac4a-0b2f797dd4c4\",\n \"SummaryOverview\": [\n {\n \"BillMonth\": \"2024-08\",\n \"CashPayAmount\": \"3503.03218482\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"ProjectId\": \"0\",\n \"ProjectName\": \"default\",\n \"RealTotalCost\": \"3503.03216955\",\n \"RealTotalCostRatio\": \"99.83\",\n \"TotalCost\": \"8466.36672141\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-08\",\n \"CashPayAmount\": \"5.86399224\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"ProjectId\": \"1000003141\",\n \"ProjectName\": \"kendytest\",\n \"RealTotalCost\": \"5.86399224\",\n \"RealTotalCostRatio\": \"0.17\",\n \"TotalCost\": \"21.42720000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ]\n }\n}",
|
|
128
220
|
"title": "DescribeBillSummaryByProject"
|
|
129
221
|
}
|
|
130
222
|
],
|
|
@@ -132,7 +224,7 @@
|
|
|
132
224
|
{
|
|
133
225
|
"document": "This example shows you how to get the bill summarized by region.",
|
|
134
226
|
"input": "POST / HTTP/1.1Host: billing.tencentcloudapi.comContent-Type: application/jsonX-TC-Action: DescribeBillSummaryByRegion<Common request parameters>{ \"EndTime\": \"2018-11\", \"BeginTime\": \"2018-11\"}",
|
|
135
|
-
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"SummaryOverview\": [\n {\n \"
|
|
227
|
+
"output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"9104dc2b-50c8-437e-8fde-83ff3717cafe\",\n \"SummaryOverview\": [\n {\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"6119.76324945\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"6134.73913787\",\n \"RealTotalCostRatio\": \"84.98\",\n \"RegionId\": \"1\",\n \"RegionName\": \"South China (Guangzhou)\",\n \"TotalCost\": \"5851.85144631\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"14.97590000\"\n },\n {\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"629.80690969\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"629.80690969\",\n \"RealTotalCostRatio\": \"8.75\",\n \"RegionId\": \"4\",\n \"RegionName\": \"East China (Shanghai)\",\n \"TotalCost\": \"1356.20899200\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"451.56263815\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"453.10620247\",\n \"RealTotalCostRatio\": \"6.27\",\n \"RegionId\": \"47\",\n \"RegionName\": \"Other\",\n \"TotalCost\": \"416.80000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"1.54356432\"\n },\n {\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"0.02643293\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"0.02643293\",\n \"RealTotalCostRatio\": \"0.00\",\n \"RegionId\": \"33\",\n \"RegionName\": \"East China (Nanjing)\",\n \"TotalCost\": \"0.03562317\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n },\n {\n \"BillMonth\": \"2024-07\",\n \"CashPayAmount\": \"-1.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"RealTotalCost\": \"-1.00000000\",\n \"RealTotalCostRatio\": \"0.00\",\n \"RegionId\": \"0\",\n \"RegionName\": \"other\",\n \"TotalCost\": \"-1.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\"\n }\n ]\n }\n}",
|
|
136
228
|
"title": "Getting the bill summarized by region"
|
|
137
229
|
}
|
|
138
230
|
],
|
|
@@ -228,7 +320,7 @@
|
|
|
228
320
|
{
|
|
229
321
|
"document": "This example shows you how to get an order.",
|
|
230
322
|
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDealsByCond\n<Common request parameters>\n\n{\n \"EndTime\": \"2016-02-01 00:00:00\",\n \"Limit\": \"20\",\n \"StartTime\": \"2016-01-01 00:00:00\",\n \"Offset\": \"0\"\n}",
|
|
231
|
-
"output": "{\n \"Response\": {\n \"Deals\": [\n {\n \"GoodsCategoryId\": 100019,\n \"TimeSpan\": 1,\n \"Policy\": 100,\n \"Formula\": \"Refund: xxxxx
|
|
323
|
+
"output": "{\n \"Response\": {\n \"Deals\": [\n {\n \"GoodsCategoryId\": 100019,\n \"TimeSpan\": 1,\n \"Policy\": 100,\n \"Formula\": \"Refund: xxxxx USD, voucher not refundable (xxxxxxxx\",\n \"Status\": 4,\n \"SubProductCode\": \"sp_abc\",\n \"ResourceId\": [\n \"ins-abscde\"\n ],\n \"Price\": 0.0,\n \"ProductInfo\": [\n {\n \"Name\": \"Specification Name\",\n \"Value\": \"Specification Value\"\n }\n ],\n \"TotalCost\": 0.0,\n \"ProductCode\": \"p_abc\",\n \"Payer\": \"1007416710\",\n \"RealTotalCost\": 17000,\n \"ProjectId\": 0,\n \"BigDealId\": \"20220214710000851640801\",\n \"PayMode\": \"1\",\n \"RefReturnDeals\": \"\",\n \"Action\": \"purchase\",\n \"OrderId\": \"20220214710000851640811\",\n \"VoucherDecline\": 0,\n \"Creator\": \"1007416710\",\n \"ProductName\": \"xx Product\",\n \"Currency\": \"USD\",\n \"SubProductName\": \"xx Product\",\n \"TimeUnit\": \"m\",\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"c33d6ae6-c0de-4a55-8318-0950b5bdc79e\"\n }\n}",
|
|
232
324
|
"title": "Getting an Order Example"
|
|
233
325
|
}
|
|
234
326
|
],
|
|
@@ -240,6 +332,14 @@
|
|
|
240
332
|
"title": "Querying COS usage details by bucket name"
|
|
241
333
|
}
|
|
242
334
|
],
|
|
335
|
+
"DescribeGatherRuleDetail": [
|
|
336
|
+
{
|
|
337
|
+
"document": " ",
|
|
338
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGatherRuleDetail\n<Common request parameters>\n\n{\n \"Id\": \"17\",\n \"Month\": \"2022-11\"\n}",
|
|
339
|
+
"output": "{\n \"Response\": {\n \"Id\": 17,\n \"Uin\": \"909619400\",\n \"UpdateTime\": \"2022-10-21 17:44:22\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"p_cvm\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"9\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n },\n \"RequestId\": \"fcbfb5c0-9589-4c78-a01b-481ab01cbf76\"\n }\n}",
|
|
340
|
+
"title": "Query Collection Rule Details"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
243
343
|
"DescribeTagList": [
|
|
244
344
|
{
|
|
245
345
|
"document": "This example shows you how to query tags.",
|
|
@@ -263,6 +363,50 @@
|
|
|
263
363
|
"output": "{\n \"Response\": {\n \"TotalCount\": \"1\",\n \"TotalUsedAmount\": 18000000000,\n \"UsageRecords\": [\n {\n \"UsedAmount\": 18000000000,\n \"UsedTime\": \"2021-01-01 00:00:00\",\n \"UsageDetails\": [\n {\n \"ProductName\": \"Lighthouse\",\n \"SubProductName\": \"Lighthouse (General - 2-core 2 GB - 50 GB - 500 GB)\"\n }\n ]\n }\n ],\n \"RequestId\": \"76cf663e-f683-41b9-b44d-849123783bf4\"\n }\n}",
|
|
264
364
|
"title": "Querying voucher usage details"
|
|
265
365
|
}
|
|
366
|
+
],
|
|
367
|
+
"ModifyAllocationRule": [
|
|
368
|
+
{
|
|
369
|
+
"document": " ",
|
|
370
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllocationRule\n<Common request parameters>\n\n{\n \"Name\": \"test_allocation2\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"\",\n \"RuleValue\": [\n \"p_cvm\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"\",\n \"RuleValue\": [\n \"9\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n },\n \"Type\": \"1\",\n \"RatioDetail\": [\n {\n \"Ratio\": \"40\",\n \"NodeId\": \"13\"\n },\n {\n \"Ratio\": \"60\",\n \"NodeId\": \"14\"\n }\n ],\n \"RuleId\": \"24\"\n}",
|
|
371
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"297a49ab-623b-4b3f-bd3a-1309cae4f76b\"\n }\n}",
|
|
372
|
+
"title": "Edit Sharing Rules"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"document": " ",
|
|
376
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllocationRule\n<Common request parameters>\n\n{\n \"Name\": \"test_allocation1\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"\",\n \"RuleValue\": [\n \"p_nat\"\n ]\n }\n ]\n },\n \"Type\": \"2\",\n \"RatioDetail\": [\n {\n \"Ratio\": \"50\",\n \"NodeId\": \"13\"\n },\n {\n \"Ratio\": \"50\",\n \"NodeId\": \"14\"\n }\n ],\n \"RuleId\": \"22\"\n}",
|
|
377
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"937c1611-0e37-4a9d-8e01-f4854937a555\"\n }\n}",
|
|
378
|
+
"title": "Edit Sharing Rules Example"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"ModifyAllocationUnit": [
|
|
382
|
+
{
|
|
383
|
+
"document": " ",
|
|
384
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllocationUnit\n<Common request parameters>\n\n{\n \"SourceName\": \"Group 1 of Department 5\",\n \"SourceId\": \"asd123\",\n \"Remark\": \"Cost allocation\",\n \"Name\": \"Product Department 5\",\n \"Id\": \"13\"\n}",
|
|
385
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0dbb9b55-2d4f-4178-9898-f6757b174117\"\n }\n}",
|
|
386
|
+
"title": "Edit Allocation Unit Information"
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"ModifyGatherRule": [
|
|
390
|
+
{
|
|
391
|
+
"document": " ",
|
|
392
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGatherRule\n<Common request parameters>\n\n{\n \"Id\": \"23\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"not in\",\n \"RuleValue\": [\n \"p_cvm\",\n \"p_nat\"\n ]\n }\n ]\n }\n}",
|
|
393
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"73c8c569-7791-4b2d-bc40-f3c18c5f40d2\"\n }\n}",
|
|
394
|
+
"title": "Edit an Collection Rule"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"document": " ",
|
|
398
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGatherRule\n<Common request parameters>\n\n{\n \"Id\": \"24\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"p_cvm\",\n \"p_nat\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"9\",\n \"5\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"not in\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n }\n}",
|
|
399
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"901c2178-fa8d-4878-8680-952ea3788a59\"\n }\n}",
|
|
400
|
+
"title": "Edit Aggregation Rule 1"
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"PayDeals": [
|
|
404
|
+
{
|
|
405
|
+
"document": " ",
|
|
406
|
+
"input": "https://billing.tencentcloudapi.com/?Action=PayDeals\n&OrderIds.0=2020111161300016142141\n&AutoVoucher=1\n&<Common request parameters>",
|
|
407
|
+
"output": "{\n \"Response\": {\n \"OrderIds\": [\n \"2020111161300016142141\"\n ],\n \"BigDealIds\": [\n \"2020111161300016142108\"\n ],\n \"ResourceIds\": [\n \"ins-abc\",\n \"ins-xxx\"\n ],\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
|
408
|
+
"title": "Payment Order Example"
|
|
409
|
+
}
|
|
266
410
|
]
|
|
267
411
|
},
|
|
268
412
|
"version": "1.0"
|