tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/configure.py +46 -1
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -3
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cdn/v20180606/api.json +5 -3
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +54 -4
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +73 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +279 -9
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +10 -12
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2263 -758
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +293 -52
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -53,7 +53,7 @@
|
|
53
53
|
},
|
54
54
|
{
|
55
55
|
"document": "创建源站类型为 AWS S3,开启私有访问,鉴权算法版本为 AWS signature v2 的加速域名。",
|
56
|
-
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccelerationDomain\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-225qgrnvbi9w\",\n \"DomainName\": \"qq.com\",\n \"OriginInfo\": {\n \"OriginType\": \"AWS_S3\",\n \"Origin\": \"test.s3.ap-east-1.amazonaws.com\",\n \"PrivateAccess\": \"on\",\n \"PrivateParameters\": [\n {\n \"Name\": \"AccessKeyId\",\n \"Value\": \"
|
56
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccelerationDomain\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-225qgrnvbi9w\",\n \"DomainName\": \"qq.com\",\n \"OriginInfo\": {\n \"OriginType\": \"AWS_S3\",\n \"Origin\": \"test.s3.ap-east-1.amazonaws.com\",\n \"PrivateAccess\": \"on\",\n \"PrivateParameters\": [\n {\n \"Name\": \"AccessKeyId\",\n \"Value\": \"AKID***********************************************\"\n },\n {\n \"Name\": \"SecretAccessKey\",\n \"Value\": \"nMirpdWhhT6bxPsaFwYM1SzQrTest\"\n },\n {\n \"Name\": \"SignatureVersion\",\n \"Value\": \"v2\"\n },\n {\n \"Name\": \"Region\",\n \"Value\": \"ap-east-1\"\n }\n ]\n }\n}",
|
57
57
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a703\"\n }\n}",
|
58
58
|
"title": "创建源站类型为 AWS S3 的加速域名"
|
59
59
|
}
|
@@ -144,6 +144,44 @@
|
|
144
144
|
"title": "创建四层代理转发规则"
|
145
145
|
}
|
146
146
|
],
|
147
|
+
"CreateLoadBalancer": [
|
148
|
+
{
|
149
|
+
"document": "健康检查策略选择 ICMP Ping,请求重试策略选择重试组内其他源站。",
|
150
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLoadBalancer\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lrnpaxol\",\n \"Name\": \"ICMP-LB\",\n \"Type\": \"HTTP\",\n \"OriginGroups\": [\n {\n \"Priority\": \"priority_1\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n },\n {\n \"Priority\": \"priority_2\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n }\n ],\n \"HealthChecker\": {\n \"Type\": \"ICMP Ping\",\n \"Interval\": 30,\n \"Timeout\": 5,\n \"HealthThreshold\": 3,\n \"CriticalThreshold\": 2\n },\n \"SteeringPolicy\": \"Pritory\",\n \"FailoverPolicy\": \"OtherRecordInOriginGroup\"\n}",
|
151
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c2967195-cfd7-4bd0-ac05-d2eaccde6909\",\n \"InstanceId\": \"lb-2osw7z07dnyu\"\n }\n}",
|
152
|
+
"title": "创建健康检查策略为 ICMP Ping 的负载均衡实例"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"document": "健康检查策略选择 HTTPS,请求重试策略选择重试组内其他源站。",
|
156
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLoadBalancer\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lrnpaxol\",\n \"Name\": \"HTTPS-LB\",\n \"Type\": \"GENERAL\",\n \"OriginGroups\": [\n {\n \"Priority\": \"priority_1\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n },\n {\n \"Priority\": \"priority_2\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n },\n {\n \"Priority\": \"priority_3\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n }\n ],\n \"HealthChecker\": {\n \"Type\": \"HTTPS\",\n \"Path\": \"www.example.com/test\",\n \"Port\": 80,\n \"Interval\": 30,\n \"Method\": \"HEAD\",\n \"ExpectedCodes\": [\n \"200\",\n \"500\",\n \"501\",\n \"502\",\n \"503\",\n \"504\",\n \"505\",\n \"507\",\n \"520\",\n \"521\",\n \"525\",\n \"530\",\n \"544\",\n \"562\",\n \"567\",\n \"599\"\n ],\n \"FollowRedirect\": \"true\",\n \"Headers\": [\n {\n \"Key\": \"header1\",\n \"Value\": \"header1\"\n },\n {\n \"Key\": \"header2\",\n \"Value\": \"header2\"\n },\n {\n \"Key\": \"header3\",\n \"Value\": \"header3\"\n }\n ],\n \"Timeout\": 5,\n \"HealthThreshold\": 3,\n \"CriticalThreshold\": 2\n },\n \"SteeringPolicy\": \"Pritory\",\n \"FailoverPolicy\": \"OtherRecordInOriginGroup\"\n}",
|
157
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c2967195-cfd7-4bd0-ac05-d2eaccde6909\",\n \"InstanceId\": \"lb-2osw7z17dnyu\"\n }\n}",
|
158
|
+
"title": "创建健康检查策略为 HTTPS 的负载均衡实例"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"document": "健康检查策略选择 HTTP,请求重试策略选择重试组内其他源站。",
|
162
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLoadBalancer\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lrnpaxol\",\n \"Name\": \"HTTP-LB\",\n \"Type\": \"GENERAL\",\n \"OriginGroups\": [\n {\n \"Priority\": \"priority_1\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n },\n {\n \"Priority\": \"priority_2\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n },\n {\n \"Priority\": \"priority_3\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n }\n ],\n \"HealthChecker\": {\n \"Type\": \"HTTP\",\n \"Path\": \"www.example.com/test\",\n \"Port\": 80,\n \"Interval\": 30,\n \"Method\": \"HEAD\",\n \"ExpectedCodes\": [\n \"200\",\n \"500\",\n \"501\",\n \"502\",\n \"503\",\n \"504\",\n \"505\",\n \"507\",\n \"520\",\n \"521\",\n \"525\",\n \"530\",\n \"544\",\n \"562\",\n \"567\",\n \"599\"\n ],\n \"FollowRedirect\": \"true\",\n \"Headers\": [\n {\n \"Key\": \"header1\",\n \"Value\": \"header1\"\n },\n {\n \"Key\": \"header2\",\n \"Value\": \"header2\"\n },\n {\n \"Key\": \"header3\",\n \"Value\": \"header3\"\n }\n ],\n \"Timeout\": 5,\n \"HealthThreshold\": 3,\n \"CriticalThreshold\": 2\n },\n \"SteeringPolicy\": \"Pritory\",\n \"FailoverPolicy\": \"OtherRecordInOriginGroup\"\n}",
|
163
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c2967195-cfd7-4bd0-ac05-d2eaccde6909\",\n \"InstanceId\": \"lb-2osw7z07dnyu\"\n }\n}",
|
164
|
+
"title": "创建健康检查策略为 HTTP 的负载均衡实例"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"document": "健康检查策略选择 TCP,请求重试策略选择重试下一优先级源站组。",
|
168
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLoadBalancer\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lrnsaxol\",\n \"Name\": \"TCP-LB\",\n \"Type\": \"HTTP\",\n \"OriginGroups\": [\n {\n \"Priority\": \"priority_1\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n },\n {\n \"Priority\": \"priority_2\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n }\n ],\n \"HealthChecker\": {\n \"Type\": \"TCP\",\n \"Port\": 80,\n \"Interval\": 30,\n \"Timeout\": 5,\n \"HealthThreshold\": 3,\n \"CriticalThreshold\": 2\n },\n \"SteeringPolicy\": \"Pritory\",\n \"FailoverPolicy\": \"OtherOriginGroup\"\n}",
|
169
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"afe08af5-51f3-4f2e-911b-987ebb88a572\",\n \"InstanceId\": \"lb-2osbdyhu19iy\"\n }\n}",
|
170
|
+
"title": "创建健康检查策略为 TCP 的负载均衡实例"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"document": "健康检查策略选择 UDP,请求重试策略选择重试下一优先级源站组。",
|
174
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLoadBalancer\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lsnpaxol\",\n \"Name\": \"UDP-LB\",\n \"Type\": \"GENERAL\",\n \"OriginGroups\": [\n {\n \"Priority\": \"priority_1\",\n \"OriginGroupId\": \"og-30l5kv5z215e\"\n },\n {\n \"Priority\": \"priority_2\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n }\n ],\n \"HealthChecker\": {\n \"Type\": \"UDP\",\n \"Port\": 80,\n \"SendContext\": \"requestcontent\",\n \"RecvContext\": \"responsecontent\",\n \"Interval\": 30,\n \"Timeout\": 5,\n \"HealthThreshold\": 3,\n \"CriticalThreshold\": 2\n },\n \"SteeringPolicy\": \"Pritory\",\n \"FailoverPolicy\": \"OtherOriginGroup\"\n}",
|
175
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"57d0154c-f9ab-42b7-ad83-232106647ff3\",\n \"InstanceId\": \"lb-2oswhs520uqe\"\n }\n}",
|
176
|
+
"title": "创建健康检查策略为 UDP 的负载均衡实例"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"document": "不启用任何健康检查策略,请求重试策略选择重试下一优先级源站组。适用于仅配置主备源站的场景。",
|
180
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLoadBalancer\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lrnpaxol\",\n \"Name\": \"NoCheck-LB\",\n \"Type\": \"HTTP\",\n \"OriginGroups\": [\n {\n \"Priority\": \"priority_1\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n },\n {\n \"Priority\": \"priority_2\",\n \"OriginGroupId\": \"og-30l5kv5z2ase\"\n }\n ],\n \"HealthChecker\": {\n \"Type\": \"NoCheck\"\n },\n \"SteeringPolicy\": \"Pritory\",\n \"FailoverPolicy\": \"OtherOriginGroup\"\n}",
|
181
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2c619f7f-27e9-43c5-b42c-68dcca803d35\",\n \"InstanceId\": \"lb-2osw2ssziowm\"\n }\n}",
|
182
|
+
"title": "创建不启用探测的负载均衡实例"
|
183
|
+
}
|
184
|
+
],
|
147
185
|
"CreateOriginGroup": [
|
148
186
|
{
|
149
187
|
"document": "创建HTTP专用型源站组",
|
@@ -380,6 +418,14 @@
|
|
380
418
|
"title": "批量删除四层代理转发规则"
|
381
419
|
}
|
382
420
|
],
|
421
|
+
"DeleteLoadBalancer": [
|
422
|
+
{
|
423
|
+
"document": "删除负载均衡实例",
|
424
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteLoadBalancer\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lrnqaxol\",\n \"InstanceId\": \"lb-23sw25sziowm\"\n}",
|
425
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"669724a7-65b1-4a13-b130-0ebccdb76ecd\"\n }\n}",
|
426
|
+
"title": "删除负载均衡实例"
|
427
|
+
}
|
428
|
+
],
|
383
429
|
"DeleteOriginGroup": [
|
384
430
|
{
|
385
431
|
"document": "删除源站组",
|
@@ -440,7 +486,7 @@
|
|
440
486
|
{
|
441
487
|
"document": "查询指定 zone-id 下源站类型为 IP_DOMAIN 的所有加速域名的信息,并将结果按照创建时间降序排列。",
|
442
488
|
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccelerationDomains\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"Filters\": [\n {\n \"Fuzzy\": true,\n \"Values\": [\n \"IP_DOMAIN\"\n ],\n \"Name\": \"origin-type\"\n }\n ],\n \"Direction\": \"desc\",\n \"Order\": \"created_on\",\n \"Match\": \"all\"\n}",
|
443
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccelerationDomains\": [\n {\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"DomainName\": \"www.qq.com\",\n \"DomainStatus\": \"online\",\n \"OriginDetail\": {\n \"OriginType\": \"IP_DOMAIN\",\n \"Origin\": \"origin.qq.com\",\n \"BackupOrigin\": \"\",\n \"PrivateParameters\": [],\n \"PrivateAccess\": \"\",\n \"OriginGroupName\": \"\",\n \"BackOriginGroupName\": \"\"\n },\n \"IdentificationStatus\": \"finished\",\n \"Cname\": \"www.qq.com.eo.dnse3.com\",\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"ModifiedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
|
489
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccelerationDomains\": [\n {\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"DomainName\": \"www.qq.com\",\n \"DomainStatus\": \"online\",\n \"OriginDetail\": {\n \"OriginType\": \"IP_DOMAIN\",\n \"Origin\": \"origin.qq.com\",\n \"BackupOrigin\": \"\",\n \"PrivateParameters\": [],\n \"PrivateAccess\": \"\",\n \"OriginGroupName\": \"\",\n \"BackOriginGroupName\": \"\"\n },\n \"Certificate\": {\n \"Mode\": \"sslcert\",\n \"List\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ],\n \"ClientCertInfo\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n },\n \"UpstreamCertInfo\": {\n \"UpstreamMutualTLS\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n }\n }\n },\n \"IdentificationStatus\": \"finished\",\n \"Cname\": \"www.qq.com.eo.dnse3.com\",\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"ModifiedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
|
444
490
|
"title": "查询指定站点下的域名信息"
|
445
491
|
}
|
446
492
|
],
|
@@ -622,8 +668,22 @@
|
|
622
668
|
{
|
623
669
|
"document": "查询 Zoneld 为 zone-24wjy25v1cwi 下 Proxyld 为 sid-2qwk27xf7j9g 下的转发规则列表。",
|
624
670
|
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL4ProxyRules\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-24wjy25v1cwi\",\n \"ProxyId\": \"sid-2qwk27xf7j9g\",\n \"Offset\": 1,\n \"Limit\": 0\n}",
|
625
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"L4ProxyRules\": [\n {\n \"RuleId\": \"rule-2qzkbvx3hxl1\",\n \"Protocol\": \"TCP\",\n \"PortRange\": [\n \"80\"\n ],\n \"OriginType\": \"IP_DOMAIN\",\n \"OriginValue\": [\n \"
|
671
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"L4ProxyRules\": [\n {\n \"RuleId\": \"rule-2qzkbvx3hxl1\",\n \"Protocol\": \"TCP\",\n \"PortRange\": [\n \"80\"\n ],\n \"OriginType\": \"IP_DOMAIN\",\n \"OriginValue\": [\n \"test.origin.com\"\n ],\n \"OriginPortRange\": \"90\",\n \"ClientIPPassThroughMode\": \"TOA\",\n \"SessionPersist\": \"on\",\n \"SessionPersistTime\": 3600,\n \"RuleTag\": \"test\",\n \"Status\": \"online\"\n }\n ],\n \"RequestId\": \"6f8h5358-cdda-4f82-b7sc-0aef4a219244\"\n }\n}",
|
626
672
|
"title": "查询四层代理实例转发规则列表"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"document": "查询 Zoneld 为 zone-2zzj3cyeonyy 下 Proxyld 为 sid-33ik2zqsvcqq,指定转发规则ID为 rule-33ik84rw3nuu 下的转发规则列表。",
|
676
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL4ProxyRules\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2zzj3cyeonyy\",\n \"ProxyId\": \"sid-33ik2zqsvcqq\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"Filters\": [\n {\n \"Name\": \"rule-id\",\n \"Values\": [\n \"rule-33ik84rw3nuu\"\n ]\n }\n ]\n}",
|
677
|
+
"output": "{\n \"Response\": {\n \"L4ProxyRules\": [\n {\n \"ClientIPPassThroughMode\": \"TOA\",\n \"OriginPortRange\": \"20\",\n \"OriginType\": \"IP_DOMAIN\",\n \"OriginValue\": [\n \"test.origin.com\"\n ],\n \"PortRange\": [\n \"10\"\n ],\n \"Protocol\": \"TCP\",\n \"RemoteAuth\": {\n \"Address\": \"\",\n \"ServerFaultyBehavior\": \"allow\",\n \"Switch\": \"off\"\n },\n \"RuleId\": \"rule-33ik84rw3nuu\",\n \"RuleTag\": \"tag\",\n \"SessionPersist\": \"on\",\n \"SessionPersistTime\": 2000,\n \"Status\": \"online\"\n }\n ],\n \"RequestId\": \"7bea447f-ec2f-41d2-bd49-5dc566359777\",\n \"TotalCount\": 1\n }\n}",
|
678
|
+
"title": "查询指定转发规则 ID 下的四层代理实例转发规则列表"
|
679
|
+
}
|
680
|
+
],
|
681
|
+
"DescribeLoadBalancerList": [
|
682
|
+
{
|
683
|
+
"document": "查询负载均衡列表。",
|
684
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLoadBalancerList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"ZoneId\": \"zone-2ju9lrnpaxol\",\n \"Filters\": []\n}",
|
685
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b8ecbb28-9360-4895-8138-668315e80b05\",\n \"LoadBalancerList\": [\n {\n \"FailoverPolicy\": \"OtherOriginGroup\",\n \"HealthChecker\": {\n \"CriticalThreshold\": 0,\n \"ExpectedCodes\": [],\n \"FollowRedirect\": \"\",\n \"Headers\": [],\n \"HealthThreshold\": 0,\n \"Interval\": 0,\n \"Method\": \"\",\n \"Path\": \"\",\n \"Port\": 0,\n \"RecvContext\": \"\",\n \"SendContext\": \"\",\n \"Timeout\": 0,\n \"Type\": \"NoCheck\"\n },\n \"InstanceId\": \"lb-2my56s2a4fw7\",\n \"L4UsedList\": [],\n \"L7UsedList\": [],\n \"Name\": \"dyn-lb\",\n \"OriginGroupHealthStatus\": [\n {\n \"OriginGroupID\": \"og-30l5kv5z2bse\",\n \"OriginGroupName\": \"allen_test_slave\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.12.231.49\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"43.137.35.174\"\n }\n ],\n \"OriginType\": \"GENERAL\",\n \"Priority\": \"priority_1\"\n },\n {\n \"OriginGroupID\": \"og-30l5kv5z2ase\",\n \"OriginGroupName\": \"allen_test_master\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.116.214.39\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"43.138.115.171\"\n }\n ],\n \"OriginType\": \"GENERAL\",\n \"Priority\": \"priority_2\"\n },\n {\n \"OriginGroupID\": \"og-30l5kv5z2bsf\",\n \"OriginGroupName\": \"test-origin\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.1.1.1\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"www.baidu.com\"\n }\n ],\n \"OriginType\": \"GENERAL\",\n \"Priority\": \"priority_3\"\n },\n {\n \"OriginGroupID\": \"og-31l5kv5z2bsf\",\n \"OriginGroupName\": \"origin-general\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.1.1.1\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"2.2.2.2\"\n }\n ],\n \"OriginType\": \"GENERAL\",\n \"Priority\": \"priority_4\"\n }\n ],\n \"Status\": \"Running\",\n \"SteeringPolicy\": \"Pritory\",\n \"Type\": \"GENERAL\"\n },\n {\n \"FailoverPolicy\": \"OtherOriginGroup\",\n \"HealthChecker\": {\n \"CriticalThreshold\": 2,\n \"ExpectedCodes\": [],\n \"FollowRedirect\": \"\",\n \"Headers\": [],\n \"HealthThreshold\": 3,\n \"Interval\": 30,\n \"Method\": \"\",\n \"Path\": \"\",\n \"Port\": 3344,\n \"RecvContext\": \"\",\n \"SendContext\": \"\",\n \"Timeout\": 5,\n \"Type\": \"TCP\"\n },\n \"InstanceId\": \"lb-2my4ja5zzo1j\",\n \"L4UsedList\": [],\n \"L7UsedList\": [],\n \"Name\": \"pic-lb\",\n \"OriginGroupHealthStatus\": [\n {\n \"OriginGroupID\": \"og-30l5kv5z2bse\",\n \"OriginGroupName\": \"allen_test_master\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.116.214.39\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"43.138.115.171\"\n }\n ],\n \"OriginType\": \"GENERAL\",\n \"Priority\": \"priority_1\"\n },\n {\n \"OriginGroupID\": \"og-30l5kv5z2bse\",\n \"OriginGroupName\": \"allen_test_slave\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.12.231.49\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"43.137.35.174\"\n }\n ],\n \"OriginType\": \"GENERAL\",\n \"Priority\": \"priority_2\"\n }\n ],\n \"Status\": \"Running\",\n \"SteeringPolicy\": \"Pritory\",\n \"Type\": \"GENERAL\"\n }\n ],\n \"TotalCount\": 2\n }\n}",
|
686
|
+
"title": "查询负载均衡列表"
|
627
687
|
}
|
628
688
|
],
|
629
689
|
"DescribeOriginGroup": [
|
@@ -634,6 +694,14 @@
|
|
634
694
|
"title": "获取源站组列表"
|
635
695
|
}
|
636
696
|
],
|
697
|
+
"DescribeOriginGroupHealthStatus": [
|
698
|
+
{
|
699
|
+
"document": "查询负载均衡实例下源站健康状态。\n",
|
700
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOriginGroupHealthStatus\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lrmqaxol\",\n \"LBInstanceId\": \"lb-2mzy6je01y82\",\n \"OriginGroupIds\": [\n \"og-30l5kv5z2bse\"\n ]\n}",
|
701
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2b891f6f-3317-4c31-a1dd-5b2e53eaae4e\",\n \"OriginGroupHealthStatusList\": [\n {\n \"CheckRegionHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"2.2.2.2\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.1.1.1\"\n }\n ],\n \"Region\": \"BR-SP\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"2.2.2.2\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.1.1.1\"\n }\n ],\n \"Region\": \"CN-JX\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"2.2.2.2\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.1.1.1\"\n }\n ],\n \"Region\": \"NL-NH\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.1.1.1\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"2.2.2.2\"\n }\n ],\n \"Region\": \"CN-SD\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"2.2.2.2\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.1.1.1\"\n }\n ],\n \"Region\": \"US-FL\"\n }\n ],\n \"OriginGroupId\": \"og-30l5kv5z2bse\",\n \"OriginHealthStatus\": [\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"2.2.2.2\"\n },\n {\n \"Healthy\": \"Unhealthy\",\n \"Origin\": \"1.1.1.1\"\n }\n ]\n }\n ]\n }\n}",
|
702
|
+
"title": "查询负载均衡实例下源站健康状态"
|
703
|
+
}
|
704
|
+
],
|
637
705
|
"DescribeOriginProtection": [
|
638
706
|
{
|
639
707
|
"document": "查询源站防护信息",
|
@@ -782,7 +850,7 @@
|
|
782
850
|
{
|
783
851
|
"document": "",
|
784
852
|
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZoneSetting\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\"\n}",
|
785
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"88215c08-67de-4c7d-974e-a14461816f5b\",\n \"ZoneSetting\": {\n \"AccelerateMainland\": {\n \"Switch\": \"off\"\n },\n \"Area\": \"global\",\n \"CacheConfig\": {\n \"Cache\": {\n \"CacheTime\": 2592000,\n \"Switch\": \"off\"\n },\n \"FollowOrigin\": {\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0,\n \"Switch\": \"on\"\n },\n \"NoCache\": {\n \"Switch\": \"off\"\n }\n },\n \"CacheKey\": {\n \"FullUrlCache\": \"on\",\n \"IgnoreCase\": \"off\",\n \"QueryString\": {\n \"Action\": \"includeCustom\",\n \"Switch\": \"off\",\n \"Value\": []\n }\n },\n \"CachePrefresh\": {\n \"Percent\": 90,\n \"Switch\": \"off\"\n },\n \"ClientIpCountry\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"ClientIpHeader\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"Compression\": {\n \"Algorithms\": [\n \"brotli\",\n \"gzip\"\n ],\n \"Switch\": \"on\"\n },\n \"ForceRedirect\": {\n \"RedirectStatusCode\": 302,\n \"Switch\": \"off\"\n },\n \"Grpc\": {\n \"Switch\": \"off\"\n },\n \"Https\": {\n \"ApplyType\": \"none\",\n \"CertInfo\": [],\n \"CipherSuite\": \"loose-v2023\",\n \"Hsts\": {\n \"IncludeSubDomains\": \"off\",\n \"MaxAge\": 0,\n \"Preload\": \"off\",\n \"Switch\": \"off\"\n },\n \"Http2\": \"on\",\n \"OcspStapling\": \"off\",\n \"TlsVersion\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ]\n },\n \"ImageOptimize\": {\n \"Switch\": \"off\"\n },\n \"Ipv6\": {\n \"Switch\": \"off\"\n },\n \"MaxAge\": {\n \"FollowOrigin\": \"on\",\n \"MaxAgeTime\": 600\n },\n \"OfflineCache\": {\n \"Switch\": \"on\"\n },\n \"Origin\": {\n \"Origins\": [\n \"30.12.34.23\"\n ],\n \"BackupOrigins\": [\n \"30.12.34.11\"\n ],\n \"OriginPullProtocol\": \"follow\",\n \"CosPrivateAccess\": \"abc\"\n },\n \"PostMaxSize\": {\n \"MaxSize\": 524288000,\n \"Switch\": \"on\"\n },\n \"Quic\": {\n \"Switch\": \"off\"\n },\n \"SmartRouting\": {\n \"Switch\": \"off\"\n },\n \"StandardDebug\": {\n \"AllowClientIPList\": [],\n \"ExpireTime\": \"1969-12-31T16:00:00Z\",\n \"Switch\": \"off\"\n },\n \"UpstreamHttp2\": {\n \"Switch\": \"off\"\n },\n \"WebSocket\": {\n \"Switch\": \"off\",\n \"Timeout\": 30\n },\n \"ZoneName\": \"wxlagame.com\"\n }\n }\n}",
|
853
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"88215c08-67de-4c7d-974e-a14461816f5b\",\n \"ZoneSetting\": {\n \"AccelerateMainland\": {\n \"Switch\": \"off\"\n },\n \"Area\": \"global\",\n \"CacheConfig\": {\n \"Cache\": {\n \"CacheTime\": 2592000,\n \"Switch\": \"off\"\n },\n \"FollowOrigin\": {\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0,\n \"Switch\": \"on\"\n },\n \"NoCache\": {\n \"Switch\": \"off\"\n }\n },\n \"CacheKey\": {\n \"FullUrlCache\": \"on\",\n \"IgnoreCase\": \"off\",\n \"QueryString\": {\n \"Action\": \"includeCustom\",\n \"Switch\": \"off\",\n \"Value\": []\n }\n },\n \"CachePrefresh\": {\n \"Percent\": 90,\n \"Switch\": \"off\"\n },\n \"ClientIpCountry\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"ClientIpHeader\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"Compression\": {\n \"Algorithms\": [\n \"brotli\",\n \"gzip\"\n ],\n \"Switch\": \"on\"\n },\n \"ForceRedirect\": {\n \"RedirectStatusCode\": 302,\n \"Switch\": \"off\"\n },\n \"Grpc\": {\n \"Switch\": \"off\"\n },\n \"Https\": {\n \"ApplyType\": \"none\",\n \"CertInfo\": [],\n \"CipherSuite\": \"loose-v2023\",\n \"Hsts\": {\n \"IncludeSubDomains\": \"off\",\n \"MaxAge\": 0,\n \"Preload\": \"off\",\n \"Switch\": \"off\"\n },\n \"Http2\": \"on\",\n \"OcspStapling\": \"off\",\n \"TlsVersion\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ]\n },\n \"ImageOptimize\": {\n \"Switch\": \"off\"\n },\n \"Ipv6\": {\n \"Switch\": \"off\"\n },\n \"MaxAge\": {\n \"FollowOrigin\": \"on\",\n \"MaxAgeTime\": 600\n },\n \"OfflineCache\": {\n \"Switch\": \"on\"\n },\n \"Origin\": {\n \"Origins\": [\n \"30.12.34.23\"\n ],\n \"BackupOrigins\": [\n \"30.12.34.11\"\n ],\n \"OriginPullProtocol\": \"follow\",\n \"CosPrivateAccess\": \"abc\"\n },\n \"PostMaxSize\": {\n \"MaxSize\": 524288000,\n \"Switch\": \"on\"\n },\n \"Quic\": {\n \"Switch\": \"off\"\n },\n \"SmartRouting\": {\n \"Switch\": \"off\"\n },\n \"StandardDebug\": {\n \"AllowClientIPList\": [],\n \"ExpireTime\": \"1969-12-31T16:00:00Z\",\n \"Switch\": \"off\"\n },\n \"UpstreamHttp2\": {\n \"Switch\": \"off\"\n },\n \"WebSocket\": {\n \"Switch\": \"off\",\n \"Timeout\": 30\n },\n \"JITVideoProcess\": {\n \"Switch\": \"off\"\n },\n \"ZoneName\": \"wxlagame.com\"\n }\n }\n}",
|
786
854
|
"title": "查询站点配置"
|
787
855
|
}
|
788
856
|
],
|
@@ -964,8 +1032,8 @@
|
|
964
1032
|
],
|
965
1033
|
"ModifyHostsCertificate": [
|
966
1034
|
{
|
967
|
-
"document": "针对站点(ZoneId 为 zone-2fgd17m17xw)下的域名(abc.test.com)配置 SSL 证书(CertId 为
|
968
|
-
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHostsCertificate\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2fgd17m17xw\",\n \"Hosts\": [\n \"abc.test.com\"\n ],\n \"Mode\": \"sslcert\",\n \"ServerCertInfo\": [\n {\n \"CertId\": \"
|
1035
|
+
"document": "针对站点(ZoneId 为 zone-2fgd17m17xw)下的域名(abc.test.com)配置 SSL 证书(CertId 为 J2JqATrt)。",
|
1036
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHostsCertificate\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2fgd17m17xw\",\n \"Hosts\": [\n \"abc.test.com\"\n ],\n \"Mode\": \"sslcert\",\n \"ServerCertInfo\": [\n {\n \"CertId\": \"J2JqATrt\"\n }\n ]\n}",
|
969
1037
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
|
970
1038
|
"title": "配置 SSL 证书"
|
971
1039
|
},
|
@@ -976,8 +1044,8 @@
|
|
976
1044
|
"title": "配置免费证书"
|
977
1045
|
},
|
978
1046
|
{
|
979
|
-
"document": "针对站点(ZoneId 为 zone-2fgd17m17xw)下的域名(abc.test.com)配置 边缘双向认证(CertId 为
|
980
|
-
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHostsCertificate\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2fgd17m17xw\",\n \"Hosts\": [\n \"abc.test.com\"\n ],\n \"ClientCertInfo\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"
|
1047
|
+
"document": "针对站点(ZoneId 为 zone-2fgd17m17xw)下的域名(abc.test.com)配置 边缘双向认证(CertId 为 J2JqATrt)。",
|
1048
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHostsCertificate\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2fgd17m17xw\",\n \"Hosts\": [\n \"abc.test.com\"\n ],\n \"ClientCertInfo\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrt\"\n }\n ]\n }\n}",
|
981
1049
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
|
982
1050
|
"title": "配置边缘双向认证"
|
983
1051
|
}
|
@@ -1014,6 +1082,14 @@
|
|
1014
1082
|
"title": "启用四层代理实例"
|
1015
1083
|
}
|
1016
1084
|
],
|
1085
|
+
"ModifyLoadBalancer": [
|
1086
|
+
{
|
1087
|
+
"document": "修改负载均衡实例的检查策略,调整为 HTTP 探测。",
|
1088
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLoadBalancer\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2ju9lrnpaxol\",\n \"Name\": \"HTTP-LB\",\n \"OriginGroups\": [\n {\n \"Priority\": \"priority_1\",\n \"OriginGroupId\": \"og-30l5kv5z2bse\"\n },\n {\n \"Priority\": \"priority_2\",\n \"OriginGroupId\": \"oog-30l3kv5z2bse\"\n },\n {\n \"Priority\": \"priority_3\",\n \"OriginGroupId\": \"og-30l5kv5z22e9\"\n }\n ],\n \"HealthChecker\": {\n \"Type\": \"HTTP\",\n \"Path\": \"www.qq.com/test111\",\n \"Port\": 80,\n \"Interval\": 30,\n \"Method\": \"HEAD\",\n \"ExpectedCodes\": [\n \"200\",\n \"400\",\n \"401\",\n \"402\",\n \"403\",\n \"404\",\n \"405\",\n \"406\",\n \"408\",\n \"409\",\n \"410\",\n \"411\",\n \"412\",\n \"413\",\n \"414\",\n \"415\",\n \"416\",\n \"417\",\n \"418\",\n \"421\",\n \"423\",\n \"424\",\n \"426\",\n \"429\",\n \"431\",\n \"433\",\n \"434\",\n \"444\",\n \"451\",\n \"499\"\n ],\n \"FollowRedirect\": \"false\",\n \"Headers\": [\n {\n \"Key\": \"header1\",\n \"Value\": \"header1\"\n },\n {\n \"Key\": \"header2\",\n \"Value\": \"header2\"\n }\n ],\n \"Timeout\": 5,\n \"HealthThreshold\": 3,\n \"CriticalThreshold\": 2\n },\n \"SteeringPolicy\": \"Pritory\",\n \"FailoverPolicy\": \"OtherRecordInOriginGroup\",\n \"InstanceId\": \"lb-2sswjr6gnfy2\"\n}",
|
1089
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a66b1739-9f63-4c2b-bad2-8ef0ca714d56\"\n }\n}",
|
1090
|
+
"title": "修改负载均衡实例的检查策略"
|
1091
|
+
}
|
1092
|
+
],
|
1017
1093
|
"ModifyOriginGroup": [
|
1018
1094
|
{
|
1019
1095
|
"document": "修改源站组名称为edgeone-new-origin",
|
@@ -183,7 +183,7 @@
|
|
183
183
|
},
|
184
184
|
{
|
185
185
|
"disabled": false,
|
186
|
-
"document": "
|
186
|
+
"document": "集群存储选项;集群已存在的节点和新增节点都会挂载此存储。",
|
187
187
|
"example": "无",
|
188
188
|
"member": "StorageOption",
|
189
189
|
"name": "StorageOption",
|
@@ -462,7 +462,7 @@
|
|
462
462
|
},
|
463
463
|
{
|
464
464
|
"disabled": false,
|
465
|
-
"document": "
|
465
|
+
"document": "节点的实例id列表",
|
466
466
|
"example": "[\"ins-a437qz3d\"]",
|
467
467
|
"member": "string",
|
468
468
|
"name": "ResourceSet",
|
@@ -874,7 +874,7 @@
|
|
874
874
|
},
|
875
875
|
{
|
876
876
|
"disabled": false,
|
877
|
-
"document": "
|
877
|
+
"document": "弹性伸缩类型。",
|
878
878
|
"example": "THPC_AS",
|
879
879
|
"member": "string",
|
880
880
|
"name": "AutoScalingType",
|
@@ -1066,7 +1066,7 @@
|
|
1066
1066
|
},
|
1067
1067
|
{
|
1068
1068
|
"disabled": false,
|
1069
|
-
"document": "指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx
|
1069
|
+
"document": "指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818)",
|
1070
1070
|
"example": "无",
|
1071
1071
|
"member": "string",
|
1072
1072
|
"name": "ImageId",
|
@@ -1174,7 +1174,7 @@
|
|
1174
1174
|
},
|
1175
1175
|
{
|
1176
1176
|
"disabled": false,
|
1177
|
-
"document": "弹性伸缩类型。默认值:THPC_AS
|
1177
|
+
"document": "弹性伸缩类型。默认值:THPC_AS",
|
1178
1178
|
"example": "无",
|
1179
1179
|
"member": "string",
|
1180
1180
|
"name": "AutoScalingType",
|