tccli 3.0.1239.1__py2.py3-none-any.whl → 3.0.1241.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/services/apm/v20210622/api.json +66 -69
- tccli/services/apm/v20210622/examples.json +26 -26
- tccli/services/autoscaling/v20180419/api.json +12 -1
- tccli/services/batch/v20170312/api.json +11 -11
- tccli/services/billing/v20180709/api.json +20 -0
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/car/v20220110/examples.json +3 -3
- tccli/services/cdb/v20170320/api.json +582 -579
- tccli/services/cdb/v20170320/examples.json +9 -9
- tccli/services/cdwdoris/v20211228/api.json +40 -0
- tccli/services/cfg/v20210820/api.json +11 -0
- tccli/services/chdfs/v20201112/api.json +10 -10
- tccli/services/chdfs/v20201112/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cmq/v20190304/api.json +77 -77
- tccli/services/csip/csip_client.py +281 -16
- tccli/services/csip/v20221121/api.json +1631 -101
- tccli/services/csip/v20221121/examples.json +40 -0
- tccli/services/cvm/cvm_client.py +60 -325
- tccli/services/cvm/v20170312/api.json +618 -1401
- tccli/services/cvm/v20170312/examples.json +8 -48
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +0 -34
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +452 -458
- tccli/services/cynosdb/v20190107/examples.json +23 -23
- tccli/services/dbbrain/v20191016/api.json +16 -4
- tccli/services/dbbrain/v20191016/examples.json +5 -5
- tccli/services/dbbrain/v20210527/api.json +44 -44
- tccli/services/dbbrain/v20210527/examples.json +8 -8
- tccli/services/dts/v20180330/api.json +30 -30
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +19 -9
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/ecm/v20190719/api.json +55 -48
- tccli/services/ecm/v20190719/examples.json +7 -7
- tccli/services/emr/emr_client.py +493 -16
- tccli/services/emr/v20190103/api.json +1323 -246
- tccli/services/emr/v20190103/examples.json +72 -0
- tccli/services/ess/v20201111/api.json +15 -6
- tccli/services/ess/v20201111/examples.json +12 -0
- tccli/services/essbasic/v20210526/api.json +11 -2
- tccli/services/essbasic/v20210526/examples.json +12 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/gaap/v20180529/api.json +181 -183
- tccli/services/gaap/v20180529/examples.json +31 -37
- tccli/services/gs/v20191118/api.json +3 -3
- tccli/services/gs/v20191118/examples.json +3 -3
- tccli/services/iai/iai_client.py +53 -0
- tccli/services/iai/v20200303/api.json +80 -0
- tccli/services/iai/v20200303/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/keewidb/v20220308/api.json +188 -190
- tccli/services/live/v20180801/api.json +323 -222
- tccli/services/live/v20180801/examples.json +79 -79
- tccli/services/mna/v20210119/api.json +20 -20
- tccli/services/mps/v20190612/api.json +40 -0
- tccli/services/oceanus/v20190422/api.json +407 -39
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +50 -0
- tccli/services/sms/v20190711/api.json +81 -81
- tccli/services/sms/v20190711/examples.json +8 -8
- tccli/services/sms/v20210111/api.json +39 -39
- tccli/services/sqlserver/v20180328/api.json +235 -139
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +777 -779
- tccli/services/ssl/v20191205/examples.json +8 -8
- tccli/services/tbaas/v20180416/api.json +118 -82
- tccli/services/tbaas/v20180416/examples.json +7 -7
- tccli/services/tcb/v20180608/api.json +18 -18
- tccli/services/tcb/v20180608/examples.json +2 -2
- tccli/services/tcm/v20210413/api.json +6 -6
- tccli/services/tcm/v20210413/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +17 -12
- tccli/services/tdmq/v20200217/api.json +18 -0
- tccli/services/tem/v20210701/api.json +439 -280
- tccli/services/tem/v20210701/examples.json +39 -39
- tccli/services/tke/v20180525/api.json +50 -39
- tccli/services/tke/v20180525/examples.json +51 -21
- tccli/services/trro/v20220325/api.json +27 -27
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +46 -9
- tccli/services/tse/v20201207/examples.json +31 -31
- tccli/services/tsf/v20180326/api.json +448 -434
- tccli/services/tsf/v20180326/examples.json +122 -122
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +278 -37
- tccli/services/vpc/v20170312/examples.json +56 -8
- tccli/services/vpc/vpc_client.py +159 -0
- tccli/services/waf/v20180125/api.json +303 -4
- tccli/services/waf/v20180125/examples.json +25 -1
- tccli/services/waf/waf_client.py +163 -4
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/RECORD +99 -99
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/license_files/LICENSE +0 -0
@@ -73,13 +73,13 @@
|
|
73
73
|
"CreateCertificate": [
|
74
74
|
{
|
75
75
|
"document": "",
|
76
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCertificate\n<公共请求参数>\n\n{\n \"CertificateType\": \"2\",\n \"CertificateAlias\": \"
|
77
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\",\n \"CertificateId\": \"cert-
|
76
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCertificate\n<公共请求参数>\n\n{\n \"CertificateType\": \"2\",\n \"CertificateAlias\": \"cert-alias\",\n \"CertificateKey\": \"%0A-----BEGIN%20RSA%20PRIVATE%20KEY-----%0Axxxxxxxxxxx%0A-----END%20RSA%20PRIVATE%20KEY-----%0A\",\n \"CertificateContent\": \"%0A-----BEGIN%20CERTIFICATE-----%0AMIIFmDIUJIJL.......C%0A-----END%20CERTIFICATE-----%0A\"\n}",
|
77
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\",\n \"CertificateId\": \"cert-jlwr6865\"\n }\n}",
|
78
78
|
"title": "创建证书"
|
79
79
|
},
|
80
80
|
{
|
81
81
|
"document": "",
|
82
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCertificate\n<公共请求参数>\n\n{\n \"CertificateType\": 2,\n \"CertificateAlias\": \"
|
82
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCertificate\n<公共请求参数>\n\n{\n \"CertificateType\": 2,\n \"CertificateAlias\": \"cert-alias\",\n \"CertificateKey\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIIEowIBAAKCAQEAn7CUY5bRNtt/YVT9BBDtfyqmF09KXzI+BCrIvrGDrjxRdIsT\\nHs0xZL5EbZXt7uc5leXJ47RnVAQtNMCOuqeYtFWNMzGydVchMkImBHEsATE+ukqs\\n7qUSmbg/BjlOD4hmPNmNz6eljrwMXxNxP0D0BdDMuy+JPLxDp/Hp/Sr3rngL6cbu\\nAvfhnN/l+HvII79KC9D6w8uIyRoAqybaLrP9P+6yXaBFKzdc7o/LanHEAUaxY/Pb\\ndP+3HFGNu5DiUHopFHzjl5Kr2GCWDL9N5VMI36H4UF40wvrjna1BWc8em5zVzais\\nLbj5pZMRTX2KpMfdDluiT/hzPHs1Ex4h0HGUQwIDAQABAoIBAF7K3BsN8N1GiKPH\\nZnYecky1jWhy2ewOj/+7QfTovQkVpyiuUchL99EcnNQMVvQk7+sKP8DaWyflXsxc\\nrZ0hVaVez3WfP5cmBH+oApdKctu2Vs0Q/Pygopz7YPYZ2DuiNUZTwjmNA9rpx9I8\\nYVIyBWjaXF2VRzr1apfsI4D0G5jFm/ugJqeflnJmyV/ZNix1uJvelN2LvxeH/PN5\\nk6IZ14IoKe7PdwlUjy306rwWnej89ofbXmVkzNB87C1Z0rHE4UWaOUu2q5B8Rn8j\\nh+2I8dXwQSXPdbxv6RWFfdcyBci0Y9N7ucmS3zWI+ymQn0sR11Nhv0fOomymUO2+\\nNa02DbkCgYEAzoPxzdaXgda1bMIQrg+M4hZrUeQiy9FA4hJyNqwZsiO3YLA9fZrQ\\nw7ITNCcl5vEEsADz3WqWtx2ZdsFQkvv3z4DNbfeLb6NHHNcnNi4WgdxA1MG8726T\\nTazZHSxY4cZfLdzXU5/Y5AAfhCcBNpU/pGLYPpkhQOB2k3NH7C4jJX0CgYEAxfRC\\nYs1VSRq8j7auV0k3aCOSLaPv9gF+m8sg1zVdV1Emy36/WRetmuXSPonS0Nie7MBl\\nsRwmWgOQZgiTryNKQfnlhMlz2b/ZiaoU1pGVdcKN/aWKBma/KWf9mIx1WyGZdpaH\\ns7zgEqSWjF0ZMB0UljW6m8NUtghjfClO9VcNzL8CgYBRq8CvBNS6Fm19a2opTCEN\\nMIyUwEI6lLCyN1VP5dPrrVBSPqCy0c0J95y8nVbR9DNEX7wRrpuYI26TlnQFDPy9\\n5VRYzvMn3Uy8TSJGvQdNqAtDmLLdhb9fkqHydZ1Y/JibjKDjg23FDX9pRfum2HNo\\n0WZvqyOJgruiKI8jCkQACQKBgDGeHwG67BSt4fO3240/aebte5d7Dwu/pieQy8OF\\nucbILYw2UeoX+EjqMD/CthfpJDS9qP+yyZ4oZIpevf3ZP6S36aLWB/bdkr5h5mU+\\nCpOA16xrUOR33pSXX0ZcdpIIIvpJkuwnfJbPsHiwYT7hGybngsXGOTaDdcRKamMu\\nlePrAoGBAJVaQpEyDwgppuAcv9KTUtiIOLRke/pd0WO20wTkZqMiIfiKjDpASq5c\\nrEzq0M6qYpnmj87wwFpZLLJvMUa9w5KjUpJ+hqBNYywe5/d6laaISFdtYfjoNuLw\\n4BZI/XcA3ZiqzpPqYWBODrEcnCRZKH4C71c7yyATwQL2iWRHoJkY\\n-----END RSA PRIVATE KEY-----\",\n \"CertificateContent\": \"-----BEGIN CERTIFICATE-----\\nMIIDkTCCAnkCCQDOEdu7vXp33jANBgkqhkiG9w0BAQUFADCBhjELMAkGA1UEBhMC\\nQ04xEjAQBgNVBAgMCUd1YW5nRG9uZzELMAkGA1UEBwwCU1oxEDAOBgNVBAoMB3Rl\\nbmNlbnQxDTALBgNVBAsMBGNzaWcxFjAUBgNVBAMMDWNhLmNtMTAwMS5jb20xHTAb\\nBgkqhkiG9w0BCQEWDmNhQHRlbmNlbnQuY29tMB4XDTE5MDcyOTEyMjI1MFoXDTI5\\nMDcyNjEyMjI1MFowgY0xCzAJBgNVBAYTAkNOMRIwEAYDVQQIDAlHdWFuZ0Rvbmcx\\nCzAJBgNVBAcMAlNaMRAwDgYDVQQKDAd0ZW5jZW50MQ0wCwYDVQQLDARjc2lnMRow\\nGAYDVQQDDBF3d3cuY2hyaXN0ZXN0LmNvbTEgMB4GCSqGSIb3DQEJARYRY2hyaXNA\\ndGVuY2VudC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCfsJRj\\nltE2239hVP0EEO1/KqYXT0pfMj4EKsi+sYOuPFF0ixMezTFkvkRtle3u5zmV5cnj\\ntGdUBC00wI66p5i0VY0zMbJ1VyEyQiYEcSwBMT66SqzupRKZuD8GOU4PiGY82Y3P\\np6WOvAxfE3E/QPQF0My7L4k8vEOn8en9KveueAvpxu4C9+Gc3+X4e8gjv0oL0PrD\\ny4jJGgCrJtous/0/7rJdoEUrN1zuj8tqccQBRrFj89t0/7ccUY27kOJQeikUfOOX\\nkqvYYJYMv03lUwjfofhQXjTC+uOdrUFZzx6bnNXNqKwtuPmlkxFNfYqkx90OW6JP\\n+HM8ezUTHiHQcZRDAgMBAAEwDQYJKoZIhvcNAQEFBQADggEBAGKJdazyji4aSAAk\\ndcH9/he1RhfkdkBinNQspYWrl7n3+YfX2aCBwkHDTnUUA+HIpUtaWekRqRGHXaKg\\nMjSKOHW715VVR3CMekIRkhQkBMmicaC2YRTpJNOOkehAqeszytDXoICgDc34zkmy\\nVBPRYckYnXE8gwmew1Ogg8PxeC2WgNAQtm/GXmdfe8Wtoy88Ugz8NSV//lIkQJkM\\nzc7+GvWbIsfP7i7Cz8pIMNuJsfrVerbDpbpSSXr6lvTfeCbh9Sq43jpJTbhg2BoU\\nSpnKCvccuOEJnGOwb9WyZ/vrO2JG2RUdglpKh6l5c4+33yOgPqEcGnqMqsDDjAct\\nGjxzvQ4\"\n}",
|
83
83
|
"output": "{\n \"Response\": {\n \"RequestId\": \"bdef4308-69b2-4941-aeeb-9612f2c0cb2a\",\n \"CertificateId\": \"cert-li3tu2id\"\n }\n}",
|
84
84
|
"title": "添加服务器ssl证书"
|
85
85
|
}
|
@@ -95,7 +95,7 @@
|
|
95
95
|
"CreateDomain": [
|
96
96
|
{
|
97
97
|
"document": "",
|
98
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDomain\n<公共请求参数>\n\n{\n \"Domain\": \"a.a.com\",\n \"CertificateId\": \"
|
98
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDomain\n<公共请求参数>\n\n{\n \"Domain\": \"a.a.com\",\n \"CertificateId\": \"cert-lal2lslf\",\n \"ListenerId\": \"0\"\n}",
|
99
99
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
100
100
|
"title": "CreateDomain"
|
101
101
|
}
|
@@ -157,7 +157,7 @@
|
|
157
157
|
"CreateProxy": [
|
158
158
|
{
|
159
159
|
"document": "",
|
160
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxy\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"ProxyName\": \"
|
160
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxy\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"ProxyName\": \"proxy-name\",\n \"AccessRegion\": \"Hongkong\",\n \"Bandwidth\": 10,\n \"Concurrent\": 2,\n \"RealServerRegion\": \"Shanghai\",\n \"TagSet\": [],\n \"BillingType\": 1,\n \"IPAddressVersion\": \"IPv4\",\n \"NetworkType\": \"normal\",\n \"PackageType\": \"Thunder\",\n \"Http3Supported\": 0\n}",
|
161
161
|
"output": "{\n \"Response\": {\n \"RequestId\": \"db2dd9d4-ba60-48a2-a9ed-cd18c6e58dd0\",\n \"InstanceId\": \"link-nphqtout\"\n }\n}",
|
162
162
|
"title": "创建通道2"
|
163
163
|
}
|
@@ -165,7 +165,7 @@
|
|
165
165
|
"CreateProxyGroup": [
|
166
166
|
{
|
167
167
|
"document": "",
|
168
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxyGroup\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"RealServerRegion\": \"EastChina\",\n \"GroupName\": \"
|
168
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxyGroup\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"RealServerRegion\": \"EastChina\",\n \"GroupName\": \"group-name\"\n}",
|
169
169
|
"output": "{\n \"Response\": {\n \"RequestId\": \"19a021f8-dff3-4890-8e7a-ed5054e22e49\",\n \"GroupId\": \"lg-negxun2x\"\n }\n}",
|
170
170
|
"title": "创建通道组"
|
171
171
|
},
|
@@ -227,7 +227,7 @@
|
|
227
227
|
"DeleteCertificate": [
|
228
228
|
{
|
229
229
|
"document": "",
|
230
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCertificate\n<公共请求参数>\n\n{\n \"CertificateId\": \"
|
230
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCertificate\n<公共请求参数>\n\n{\n \"CertificateId\": \"cert-l2l4l545\"\n}",
|
231
231
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
232
232
|
"title": "删除证书"
|
233
233
|
}
|
@@ -316,8 +316,8 @@
|
|
316
316
|
{
|
317
317
|
"document": "",
|
318
318
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessRegions\n<公共请求参数>\n\n{}",
|
319
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccessRegionSet\": [\n {\n \"RegionId\": \"
|
320
|
-
"title": "
|
319
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccessRegionSet\": [\n {\n \"RegionId\": \"NorthChina\",\n \"RegionName\": \"中国大陆-华北\",\n \"RegionArea\": \"NorthChina\",\n \"RegionAreaName\": \"中国大陆-华北\",\n \"IDCType\": \"dc\",\n \"FeatureBitmap\": 1,\n \"SupportFeature\": {\n \"NetworkType\": [\n \"normal\"\n ]\n }\n }\n ],\n \"RequestId\": \"209e95b9-488d-4a58-bc86-810859577af3\"\n }\n}",
|
320
|
+
"title": "查询加速区域"
|
321
321
|
}
|
322
322
|
],
|
323
323
|
"DescribeAccessRegionsByDestRegion": [
|
@@ -332,7 +332,7 @@
|
|
332
332
|
{
|
333
333
|
"document": " ",
|
334
334
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuthSignature\n<公共请求参数>\n\n{}",
|
335
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
335
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"250de15a-35fa-4f3b-9924-25c2b9d9bb1e\"\n }\n}",
|
336
336
|
"title": "查询签名信息"
|
337
337
|
}
|
338
338
|
],
|
@@ -356,7 +356,7 @@
|
|
356
356
|
{
|
357
357
|
"document": "",
|
358
358
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCertificates\n<公共请求参数>\n\n{\n \"CertificateType\": 2,\n \"Limit\": 1,\n \"Offset\": 0\n}",
|
359
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"35d85baa-eeb8-4eb5-96a9-b6d27f4ff92c\",\n \"CertificateSet\": [\n {\n \"CertificateId\": \"cert-8k1l0pat\",\n \"SubjectCN\": \"lagameft01.xyz\",\n \"CertificateAlias\": \"
|
359
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"35d85baa-eeb8-4eb5-96a9-b6d27f4ff92c\",\n \"CertificateSet\": [\n {\n \"CertificateId\": \"cert-8k1l0pat\",\n \"SubjectCN\": \"lagameft01.xyz\",\n \"CertificateAlias\": \"alias-name\",\n \"CertificateName\": \"cert-name\",\n \"BeginTime\": 1554134400,\n \"CertificateType\": 2,\n \"EndTime\": 1585713600,\n \"CreateTime\": 1564557014,\n \"IssuerCN\": \"TrustAsia TLS RSA CA\"\n }\n ]\n }\n}",
|
360
360
|
"title": "查询服务器证书信息"
|
361
361
|
}
|
362
362
|
],
|
@@ -428,7 +428,7 @@
|
|
428
428
|
{
|
429
429
|
"document": "",
|
430
430
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGlobalDomains\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"Limit\": 112,\n \"Offset\": 0\n}",
|
431
|
-
"output": "{\n \"Response\": {\n \"Domains\": [\n {\n \"DomainId\": \"dm-00ye8ek7\",\n \"FullDomain\": \"gd-qbsrvjtf.gaapqcloud.com.cn\",\n \"Alias\": \"
|
431
|
+
"output": "{\n \"Response\": {\n \"Domains\": [\n {\n \"DomainId\": \"dm-00ye8ek7\",\n \"FullDomain\": \"gd-qbsrvjtf.gaapqcloud.com.cn\",\n \"Alias\": \"alias-name\",\n \"Type\": \"IP\",\n \"Status\": 0,\n \"ProjectId\": 0,\n \"DefaultValue\": \"192.168.1.2\",\n \"ProxyCount\": 1,\n \"CreateTime\": 1662216195,\n \"UpdateTime\": 1662216195,\n \"TagSet\": [\n {\n \"TagKey\": \"project\",\n \"TagValue\": \"tag-value\"\n }\n ],\n \"BanStatus\": \"RECOVER\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"90955c1c-ef70-40b4-bf3f-74409cf24d60\"\n }\n}",
|
432
432
|
"title": "查询域名列表"
|
433
433
|
}
|
434
434
|
],
|
@@ -452,7 +452,7 @@
|
|
452
452
|
{
|
453
453
|
"document": "",
|
454
454
|
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHTTPListeners\n<公共请求参数>\n\n{\n \"ProxyId\": \"link-pl5ee4db\",\n \"Limit\": \"20\",\n \"Offset\": \"0\"\n}",
|
455
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"3c48a850-4559-4132-8113-d075a235da2d\",\n \"TotalCount\": 1,\n \"ListenerSet\": [\n {\n \"ListenerId\": \"listener-kuwra6qh\",\n \"ListenerName\": \"
|
455
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3c48a850-4559-4132-8113-d075a235da2d\",\n \"TotalCount\": 1,\n \"ListenerSet\": [\n {\n \"ListenerId\": \"listener-kuwra6qh\",\n \"ListenerName\": \"listener-name\",\n \"Port\": 80,\n \"CreateTime\": 1729568991,\n \"Protocol\": \"HTTP\",\n \"ListenerStatus\": 1,\n \"ProxyId\": \"link-pl5ee4db\",\n \"GroupId\": null\n }\n ]\n }\n}",
|
456
456
|
"title": "查询HTTP监听器信息"
|
457
457
|
}
|
458
458
|
],
|
@@ -460,7 +460,7 @@
|
|
460
460
|
{
|
461
461
|
"document": "查询HTTPS监听器信息",
|
462
462
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHTTPSListeners\n<公共请求参数>\n\n{\n \"ProxyId\": \"link-n9ha8jzl\",\n \"Limit\": 20,\n \"Offset\": 0\n}",
|
463
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ListenerSet\": [\n {\n \"ListenerId\": \"
|
463
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ListenerSet\": [\n {\n \"ListenerId\": \"listener-12345\",\n \"ListenerName\": \"listener-name\",\n \"Port\": 1,\n \"Protocol\": \"TCP\",\n \"ListenerStatus\": 1,\n \"CertificateId\": \"cert-12345\",\n \"ForwardProtocol\": \"TCP\",\n \"CreateTime\": 1,\n \"CertificateAlias\": \"alias-name\",\n \"ClientCertificateId\": \"cert-54321\",\n \"AuthType\": 0,\n \"ClientCertificateAlias\": \"alias-name\",\n \"PolyClientCertificateAliasInfo\": [\n {\n \"CertificateId\": \"cert-12345\",\n \"CertificateAlias\": \"cert-alias\"\n }\n ],\n \"Http3Supported\": 0,\n \"ProxyId\": \"link-12345\",\n \"GroupId\": \"lg-12345\",\n \"TLSSupportVersion\": [\n \"TLSv1.1\"\n ],\n \"TLSCiphers\": \"GAAP_TLS_CIPHERS_WIDE\"\n }\n ],\n \"RequestId\": \"209e95b9-488d-4a58-bc86-810859577af3\"\n }\n}",
|
464
464
|
"title": "查询HTTPS监听器信息"
|
465
465
|
}
|
466
466
|
],
|
@@ -508,21 +508,15 @@
|
|
508
508
|
{
|
509
509
|
"document": "",
|
510
510
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxyDetail\n<公共请求参数>\n\n{\n \"ProxyId\": \"link-4qlu8i3j\"\n}",
|
511
|
-
"output": "{\n \"Response\": {\n \"ProxyDetail\": {\n \"InstanceId\": \"link-4qlu8i3j\",\n \"CreateTime\": 1728542120,\n \"ProjectId\": 1323575,\n \"ProxyName\": \"test-proxy\",\n \"AccessRegion\": \"Beijing\",\n \"RealServerRegion\": \"Shanghai\",\n \"Bandwidth\": 10,\n \"Concurrent\": 2,\n \"Status\": \"RUNNING\",\n \"Domain\": \"link-4qlu8i3j.gaapqcloud.com.cn\",\n \"IP\": \"43.137.75.190\",\n \"Version\": \"3.0\",\n \"ProxyId\": \"link-4qlu8i3j\",\n \"Scalarable\": 1,\n \"SupportProtocols\": [\n \"TCP\",\n \"UDP\"\n ],\n \"GroupId\": null,\n \"PolicyId\": \"sp-e6on5s9d\",\n \"AccessRegionInfo\": {\n \"RegionId\": \"Beijing\",\n \"RegionName\": \"北京(原中国大陆-华北大区)\",\n \"RegionArea\": \"NorthChina\",\n \"RegionAreaName\": \"NorthChina\",\n \"IDCType\": \"dc\",\n \"FeatureBitmap\": 79,\n \"SupportFeature\": null\n },\n \"RealServerRegionInfo\": {\n \"RegionId\": \"Shanghai\",\n \"RegionName\": \"上海(原中国大陆-华东大区)\",\n \"RegionArea\": \"EastChina\",\n \"RegionAreaName\": \"EastChina\",\n \"IDCType\": \"dc\",\n \"FeatureBitmap\": 79,\n \"SupportFeature\": null\n },\n \"ForwardIP\": \"124.222.42.242;118.25.142.34;\",\n \"TagSet\": [\n {\n \"TagKey\": \"
|
511
|
+
"output": "{\n \"Response\": {\n \"ProxyDetail\": {\n \"InstanceId\": \"link-4qlu8i3j\",\n \"CreateTime\": 1728542120,\n \"ProjectId\": 1323575,\n \"ProxyName\": \"test-proxy\",\n \"AccessRegion\": \"Beijing\",\n \"RealServerRegion\": \"Shanghai\",\n \"Bandwidth\": 10,\n \"Concurrent\": 2,\n \"Status\": \"RUNNING\",\n \"Domain\": \"link-4qlu8i3j.gaapqcloud.com.cn\",\n \"IP\": \"43.137.75.190\",\n \"Version\": \"3.0\",\n \"ProxyId\": \"link-4qlu8i3j\",\n \"Scalarable\": 1,\n \"SupportProtocols\": [\n \"TCP\",\n \"UDP\"\n ],\n \"GroupId\": null,\n \"PolicyId\": \"sp-e6on5s9d\",\n \"AccessRegionInfo\": {\n \"RegionId\": \"Beijing\",\n \"RegionName\": \"北京(原中国大陆-华北大区)\",\n \"RegionArea\": \"NorthChina\",\n \"RegionAreaName\": \"NorthChina\",\n \"IDCType\": \"dc\",\n \"FeatureBitmap\": 79,\n \"SupportFeature\": null\n },\n \"RealServerRegionInfo\": {\n \"RegionId\": \"Shanghai\",\n \"RegionName\": \"上海(原中国大陆-华东大区)\",\n \"RegionArea\": \"EastChina\",\n \"RegionAreaName\": \"EastChina\",\n \"IDCType\": \"dc\",\n \"FeatureBitmap\": 79,\n \"SupportFeature\": null\n },\n \"ForwardIP\": \"124.222.42.242;118.25.142.34;\",\n \"TagSet\": [\n {\n \"TagKey\": \"tag-key\",\n \"TagValue\": \"10\"\n }\n ],\n \"SupportSecurity\": 1,\n \"BillingType\": 1,\n \"RelatedGlobalDomains\": [],\n \"ModifyConfigTime\": 1728542120,\n \"ProxyType\": 100,\n \"ClientIPMethod\": [\n 0,\n 1\n ],\n \"IPAddressVersion\": \"IPv4\",\n \"NetworkType\": \"normal\",\n \"PackageType\": \"Thunder\",\n \"BanStatus\": \"RECOVER\",\n \"IPList\": [\n {\n \"IP\": \"43.137.75.190\",\n \"Provider\": \"BGP\",\n \"Bandwidth\": 10\n }\n ],\n \"Http3Supported\": 1,\n \"InBanBlacklist\": 0,\n \"FeatureBitmap\": 71,\n \"IsAutoScaleProxy\": 0,\n \"IsSupportTLSChoice\": 1\n },\n \"RequestId\": \"8d5cae87-74ac-4122-98e8-3aab1f7040b9\"\n }\n}",
|
512
512
|
"title": "查询通道详情"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"document": "",
|
516
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxyDetail\n<公共请求参数>\n\n{\n \"ProxyId\": \"link-4m6fx36h\"\n}",
|
517
|
-
"output": "{\n \"Response\": {\n \"ProxyDetail\": {\n \"InstanceId\": \"abc\",\n \"CreateTime\": 1,\n \"ProjectId\": 0,\n \"ProxyName\": \"abc\",\n \"AccessRegion\": \"abc\",\n \"RealServerRegion\": \"abc\",\n \"Bandwidth\": 0,\n \"Concurrent\": 0,\n \"Status\": \"abc\",\n \"Domain\": \"abc\",\n \"IP\": \"abc\",\n \"Version\": \"abc\",\n \"ProxyId\": \"abc\",\n \"Scalarable\": 0,\n \"SupportProtocols\": [\n \"abc\"\n ],\n \"GroupId\": \"abc\",\n \"PolicyId\": \"abc\",\n \"AccessRegionInfo\": {\n \"RegionId\": \"abc\",\n \"RegionName\": \"abc\",\n \"RegionArea\": \"abc\",\n \"RegionAreaName\": \"abc\",\n \"IDCType\": \"abc\",\n \"FeatureBitmap\": 1,\n \"SupportFeature\": {\n \"NetworkType\": [\n \"abc\"\n ]\n }\n },\n \"RealServerRegionInfo\": {\n \"RegionId\": \"abc\",\n \"RegionName\": \"abc\",\n \"RegionArea\": \"abc\",\n \"RegionAreaName\": \"abc\",\n \"IDCType\": \"abc\",\n \"FeatureBitmap\": 1,\n \"SupportFeature\": {\n \"NetworkType\": [\n \"abc\"\n ]\n }\n },\n \"ForwardIP\": \"abc\",\n \"TagSet\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"SupportSecurity\": 0,\n \"BillingType\": 0,\n \"RelatedGlobalDomains\": [\n \"abc\"\n ],\n \"ModifyConfigTime\": 1,\n \"ProxyType\": 1,\n \"ClientIPMethod\": [\n 0\n ],\n \"IPAddressVersion\": \"abc\",\n \"NetworkType\": \"abc\",\n \"PackageType\": \"abc\",\n \"BanStatus\": \"abc\",\n \"IPList\": [\n {\n \"IP\": \"abc\",\n \"Provider\": \"abc\",\n \"Bandwidth\": 0\n }\n ],\n \"Http3Supported\": 0,\n \"InBanBlacklist\": 0,\n \"FeatureBitmap\": 0,\n \"IsAutoScaleProxy\": 0,\n \"IsSupportTLSChoice\": 0\n },\n \"RequestId\": \"abc\"\n }\n}",
|
518
|
-
"title": "查询通道详情2"
|
519
513
|
}
|
520
514
|
],
|
521
515
|
"DescribeProxyGroupDetails": [
|
522
516
|
{
|
523
517
|
"document": "",
|
524
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxyGroupDetails\n<公共请求参数>\n\n{\n \"GroupId\": \"lg\"\n}",
|
525
|
-
"output": "{\n \"Response\": {\n \"ProxyGroupDetail\": {\n \"CreateTime\": 0,\n \"ProjectId\": 0,\n \"ProxyNum\": 0,\n \"Status\": 0,\n \"OwnerUin\": \"
|
518
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxyGroupDetails\n<公共请求参数>\n\n{\n \"GroupId\": \"lg-123456\"\n}",
|
519
|
+
"output": "{\n \"Response\": {\n \"ProxyGroupDetail\": {\n \"CreateTime\": 0,\n \"ProjectId\": 0,\n \"ProxyNum\": 0,\n \"Status\": 0,\n \"OwnerUin\": \"12345678\",\n \"CreateUin\": \"12345678\",\n \"GroupName\": \"grup-name\",\n \"DnsDefaultIp\": \"127.0.0.1\",\n \"Domain\": \"www.domain.com\",\n \"PolicyId\": \"gsp-123456\",\n \"RealServerRegionInfo\": {\n \"RegionId\": \"Beijing\",\n \"RegionName\": \"BEIJING\",\n \"RegionArea\": \"NorthChina\",\n \"RegionAreaName\": \"NorthChina\",\n \"IDCType\": \"dc\",\n \"FeatureBitmap\": 1,\n \"SupportFeature\": {\n \"NetworkType\": [\n \"normal\"\n ]\n }\n },\n \"IsOldGroup\": true,\n \"GroupId\": \"lg-123456\",\n \"TagSet\": [\n {\n \"TagKey\": \"tag_key\",\n \"TagValue\": \"tag_value\"\n }\n ],\n \"Version\": \"3.0\",\n \"ClientIPMethod\": [\n 0\n ],\n \"IPAddressVersion\": \"IPv4\",\n \"PackageType\": \"BGP\",\n \"Http3Supported\": 0,\n \"FeatureBitmap\": 0,\n \"IsSupportTLSChoice\": 1\n },\n \"RequestId\": \"bf46572b-700d-4797-831c-7fcf8232358a\"\n }\n}",
|
526
520
|
"title": "查询通道组详情"
|
527
521
|
}
|
528
522
|
],
|
@@ -554,7 +548,7 @@
|
|
554
548
|
{
|
555
549
|
"document": "查询已绑定源站健康检查统计数据",
|
556
550
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRealServerStatistics\n<公共请求参数>\n\n{\n \"WithinTime\": \"3\",\n \"RealServerId\": \"rs-rfgt56hy\",\n \"ListenerId\": \"listener-gucvb6d\"\n}",
|
557
|
-
"output": "{\n \"Response\": {\n \"RsStatisticsData\": [\n {\n \"MetricData\": [\n {\n \"Data\": 0.0,\n \"Time\": 1\n },\n {\n \"Data\": 0.0,\n \"Time\": 1\n }\n ],\n \"MetricName\": \"
|
551
|
+
"output": "{\n \"Response\": {\n \"RsStatisticsData\": [\n {\n \"MetricData\": [\n {\n \"Data\": 0.0,\n \"Time\": 1\n },\n {\n \"Data\": 0.0,\n \"Time\": 1\n }\n ],\n \"MetricName\": \"bandwidth\"\n },\n {\n \"MetricData\": [\n {\n \"Data\": 0.0,\n \"Time\": 1\n },\n {\n \"Data\": 0.0,\n \"Time\": 1\n }\n ],\n \"MetricName\": \"bandwidth\"\n }\n ],\n \"RequestId\": \"hlkjlk4-5435jlk-kjl\",\n \"StatisticsData\": [\n {\n \"Data\": 0.0,\n \"Time\": 1\n }\n ]\n }\n}",
|
558
552
|
"title": "查询已绑定源站健康检查统计数据"
|
559
553
|
}
|
560
554
|
],
|
@@ -570,7 +564,7 @@
|
|
570
564
|
{
|
571
565
|
"document": "查询源站绑定状态",
|
572
566
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRealServersStatus\n<公共请求参数>\n\n{\n \"RealServerIds\": [\n \"rs-4ftghy6\"\n ]\n}",
|
573
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"
|
567
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"dad2a717-3c7d-444d-8f98-0cca9c897ff3\",\n \"RealServerStatusSet\": [\n {\n \"ProxyId\": \"link-123456\",\n \"BindStatus\": 0,\n \"RealServerId\": \"rs-123456\",\n \"GroupId\": \"lg-123456\"\n }\n ]\n }\n}",
|
574
568
|
"title": "查询源站绑定状态"
|
575
569
|
}
|
576
570
|
],
|
@@ -585,7 +579,7 @@
|
|
585
579
|
"DescribeResourcesByTag": [
|
586
580
|
{
|
587
581
|
"document": "",
|
588
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourcesByTag\n<公共请求参数>\n\n{\n \"ResourceType\": \"Proxy\",\n \"TagKey\": \"
|
582
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourcesByTag\n<公共请求参数>\n\n{\n \"ResourceType\": \"Proxy\",\n \"TagKey\": \"tag-key\",\n \"TagValue\": \"tag-value\"\n}",
|
589
583
|
"output": "{\n \"Response\": {\n \"ResourceSet\": [\n {\n \"ResourceType\": \"Proxy\",\n \"ResourceId\": \"link-12345678\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"5c680029-66b2-4be8-9630-7bd316ce70dd\"\n }\n}",
|
590
584
|
"title": "根据标签拉取资源列表"
|
591
585
|
}
|
@@ -610,7 +604,7 @@
|
|
610
604
|
{
|
611
605
|
"document": "",
|
612
606
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRulesByRuleIds\n<公共请求参数>\n\n{\n \"RuleIds\": [\n \"rule-gsy1amjd\"\n ]\n}",
|
613
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6f02eb84-5d95-4a1c-b79d-beedfae5fb5e\",\n \"RuleSet\": [\n {\n \"BindStatus\": 1,\n \"CheckParams\": {\n \"ConnectTimeout\": 2,\n \"DelayLoop\": 30,\n \"Domain\": \"baidu.com\",\n \"Method\": \"HEAD\",\n \"Path\": \"
|
607
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6f02eb84-5d95-4a1c-b79d-beedfae5fb5e\",\n \"RuleSet\": [\n {\n \"BindStatus\": 1,\n \"CheckParams\": {\n \"ConnectTimeout\": 2,\n \"DelayLoop\": 30,\n \"Domain\": \"baidu.com\",\n \"Method\": \"HEAD\",\n \"Path\": \"/path\",\n \"StatusCode\": [\n 100,\n 200,\n 300,\n 400,\n 500\n ]\n },\n \"Domain\": \"baidu.com\",\n \"ForcedRedirect\": null,\n \"ForwardHost\": \"baidu.com\",\n \"HealthCheck\": 0,\n \"ListenerId\": \"listener-qjm2tftd\",\n \"Path\": \"/path\",\n \"RealServerSet\": [\n {\n \"DownIPList\": [],\n \"RealServerFailoverRole\": \"\",\n \"RealServerIP\": \"2.5.73.1\",\n \"RealServerId\": \"rs-5y1674pn\",\n \"RealServerPort\": 6363,\n \"RealServerStatus\": 0,\n \"RealServerWeight\": 1\n }\n ],\n \"RealServerType\": \"IP\",\n \"RuleId\": \"rule-gsy1amjd\",\n \"RuleStatus\": 0,\n \"Scheduler\": \"rr\",\n \"ServerNameIndication\": \"\",\n \"ServerNameIndicationSwitch\": \"OFF\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
614
608
|
"title": "根据规则ID拉取规则信息列表"
|
615
609
|
}
|
616
610
|
],
|
@@ -634,7 +628,7 @@
|
|
634
628
|
{
|
635
629
|
"document": "查询TCP监听器列表",
|
636
630
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTCPListeners\n<公共请求参数>\n\n{\n \"ProxyId\": \"link-hwera8lq\",\n \"ListenerId\": \"listener-gkzl9e7t\"\n}",
|
637
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ListenerSet\": [\n {\n \"HealthyThreshold\": 1,\n \"BindStatus\": 1,\n \"SessionPersist\": 1,\n \"RealServerType\": \"IP\",\n \"Protocol\": \"TCP\",\n \"ConnectTimeout\": 1,\n \"RealServerPort\": 1,\n \"HealthCheck\": 1,\n \"ListenerId\": \"listener-gkzl9e7t\",\n \"UnhealthyThreshold\": 1,\n \"ListenerStatus\": 1,\n \"ListenerName\": \"
|
631
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ListenerSet\": [\n {\n \"HealthyThreshold\": 1,\n \"BindStatus\": 1,\n \"SessionPersist\": 1,\n \"RealServerType\": \"IP\",\n \"Protocol\": \"TCP\",\n \"ConnectTimeout\": 1,\n \"RealServerPort\": 1,\n \"HealthCheck\": 1,\n \"ListenerId\": \"listener-gkzl9e7t\",\n \"UnhealthyThreshold\": 1,\n \"ListenerStatus\": 1,\n \"ListenerName\": \"listener-name\",\n \"Scheduler\": \"rr\",\n \"ClientIPMethod\": 1,\n \"FailoverSwitch\": 1,\n \"RealServerSet\": [\n {\n \"RealServerStatus\": 1,\n \"RealServerPort\": 4800,\n \"RealServerId\": \"rs-l694mxlf\",\n \"DownIPList\": [\n \"192.168.1.2:4800\"\n ],\n \"RealServerFailoverRole\": \"\",\n \"RealServerWeight\": 1,\n \"RealServerIP\": \"192.168.1.2\"\n }\n ],\n \"CreateTime\": 1,\n \"Port\": 1,\n \"DelayLoop\": 1,\n \"ProxyId\": \"link-hwera8lq\",\n \"GroupId\": \"\"\n }\n ],\n \"RequestId\": \"dad2a717-3c7d-444d-8f98-0cca9c897ff3\"\n }\n}",
|
638
632
|
"title": "查询TCP监听器列表"
|
639
633
|
}
|
640
634
|
],
|
@@ -650,7 +644,7 @@
|
|
650
644
|
{
|
651
645
|
"document": "",
|
652
646
|
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUDPListeners\n<公共请求参数>\n\n{\n \"ProxyId\": \"link-hwera8lq\",\n \"ListenerId\": \"listener-pbsgn7ej\"\n}",
|
653
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ListenerSet\": [\n {\n \"RecvContext\": \"
|
647
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ListenerSet\": [\n {\n \"RecvContext\": \"recv_contenxt\",\n \"RealServerType\": \"IP\",\n \"CheckPort\": 4000,\n \"ListenerId\": \"listener-pbsgn7ej\",\n \"ContextType\": \"TEXT\",\n \"ListenerName\": \"listener-name\",\n \"Port\": 2000,\n \"BindStatus\": 1,\n \"FailoverSwitch\": 0,\n \"CheckType\": \"PORT\",\n \"Scheduler\": \"rr\",\n \"RealServerSet\": [\n {\n \"RealServerStatus\": 0,\n \"RealServerPort\": 5000,\n \"RealServerId\": \"rs-l694mxlf\",\n \"RealServerFailoverRole\": \"master\",\n \"DownIPList\": [\n \"192.168.1.2:5000\"\n ],\n \"RealServerWeight\": 1,\n \"RealServerIP\": \"192.168.1.2\"\n }\n ],\n \"SessionPersist\": 1,\n \"ConnectTimeout\": 2,\n \"SendContext\": \"send_context\",\n \"HealthCheck\": 1,\n \"HealthyThreshold\": 1,\n \"DelayLoop\": 1,\n \"ListenerStatus\": 0,\n \"Protocol\": \"UDP\",\n \"RealServerPort\": 5000,\n \"UnhealthyThreshold\": 5,\n \"ProxyId\": \"link-nd8l04ev\",\n \"GroupId\": \"\",\n \"CreateTime\": 1723131641\n }\n ],\n \"RequestId\": \"dad2a717-3c7d-444d-8f98-0cca9c897ff3\"\n }\n}",
|
654
648
|
"title": "查询UDP监听器列表"
|
655
649
|
}
|
656
650
|
],
|
@@ -697,7 +691,7 @@
|
|
697
691
|
"ModifyCertificateAttributes": [
|
698
692
|
{
|
699
693
|
"document": "",
|
700
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCertificateAttributes\n<公共请求参数>\n\n{\n \"CertificateId\": \"cert-kj5pa5lj\",\n \"CertificateAlias\": \"
|
694
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCertificateAttributes\n<公共请求参数>\n\n{\n \"CertificateId\": \"cert-kj5pa5lj\",\n \"CertificateAlias\": \"cert-alias\"\n}",
|
701
695
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
702
696
|
"title": "修改证书属性"
|
703
697
|
}
|
@@ -713,7 +707,7 @@
|
|
713
707
|
"ModifyGlobalDomainAttribute": [
|
714
708
|
{
|
715
709
|
"document": "",
|
716
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGlobalDomainAttribute\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"DefaultValue\": \"1.1.1.1\",\n \"DomainId\": \"dm-00ye8ek7\",\n \"Alias\": \"
|
710
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGlobalDomainAttribute\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"DefaultValue\": \"1.1.1.1\",\n \"DomainId\": \"dm-00ye8ek7\",\n \"Alias\": \"alias-name\"\n}",
|
717
711
|
"output": "{\n \"Response\": {\n \"RequestId\": \"19a021f8-dff3-4890-8e7a-ed5054e22e49\"\n }\n}",
|
718
712
|
"title": "修改域名属性"
|
719
713
|
}
|
@@ -735,7 +729,7 @@
|
|
735
729
|
"ModifyGroupDomainConfig": [
|
736
730
|
{
|
737
731
|
"document": "",
|
738
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGroupDomainConfig\n<公共请求参数>\n\n{\n \"DefaultDnsIp\": \"1.1.1.1\",\n \"GroupId\": \"lg-b7h4d02f\",\n \"AccessRegionList\": [\n {\n \"RegionId\": \"
|
732
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGroupDomainConfig\n<公共请求参数>\n\n{\n \"DefaultDnsIp\": \"1.1.1.1\",\n \"GroupId\": \"lg-b7h4d02f\",\n \"AccessRegionList\": [\n {\n \"RegionId\": \"Beijing\"\n }\n ]\n}",
|
739
733
|
"output": "{\n \"Response\": {\n \"RequestId\": \"74b5f95c-e976-4f78-b2ee-aad49eb844c4\"\n }\n}",
|
740
734
|
"title": "配置通道组就近接入域名"
|
741
735
|
}
|
@@ -759,7 +753,7 @@
|
|
759
753
|
"ModifyProxiesAttribute": [
|
760
754
|
{
|
761
755
|
"document": "",
|
762
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProxiesAttribute\n<公共请求参数>\n\n{\n \"ProxyName\": \"
|
756
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProxiesAttribute\n<公共请求参数>\n\n{\n \"ProxyName\": \"link-name\",\n \"ProxyIds\": [\n \"link-11113333\",\n \"link-11112222\"\n ]\n}",
|
763
757
|
"output": "{\n \"Response\": {\n \"RequestId\": \"04d1af8f-5c76-4053-acbc-62bdf0541c15\"\n }\n}",
|
764
758
|
"title": "修改通道的属性"
|
765
759
|
}
|
@@ -783,7 +777,7 @@
|
|
783
777
|
"ModifyProxyGroupAttribute": [
|
784
778
|
{
|
785
779
|
"document": "",
|
786
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProxyGroupAttribute\n<公共请求参数>\n\n{\n \"GroupName\": \"
|
780
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProxyGroupAttribute\n<公共请求参数>\n\n{\n \"GroupName\": \"group-name\",\n \"GroupId\": \"lg-pheemncl\"\n}",
|
787
781
|
"output": "{\n \"Response\": {\n \"RequestId\": \"e26d0984-af79-4403-8c51-11d075b7c1e8\"\n }\n}",
|
788
782
|
"title": "修改通道组名"
|
789
783
|
},
|
@@ -805,7 +799,7 @@
|
|
805
799
|
"ModifyRuleAttribute": [
|
806
800
|
{
|
807
801
|
"document": "",
|
808
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRuleAttribute\n<公共请求参数>\n\n{\n \"ListenerId\": \"listener-0s9kb7qt\",\n \"RuleId\": \"rule-o8aq26zj\",\n \"Path\": \"
|
802
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRuleAttribute\n<公共请求参数>\n\n{\n \"ListenerId\": \"listener-0s9kb7qt\",\n \"RuleId\": \"rule-o8aq26zj\",\n \"Path\": \"/path\",\n \"ForwardHost\": \"www.baidu.com\",\n \"ForcedRedirect\": \"\",\n \"Scheduler\": \"rr\",\n \"HealthCheck\": 1,\n \"CheckParams\": {\n \"ConnectTimeout\": 2,\n \"DelayLoop\": 30,\n \"FailedThreshold\": 5,\n \"BlockInter\": 600,\n \"Path\": \"/path\",\n \"Method\": \"HEAD\",\n \"StatusCode\": [\n 100,\n 200,\n 300,\n 400,\n 500\n ],\n \"FailedCountInter\": 60,\n \"Domain\": \"www.baidu.com\"\n },\n \"ServerNameIndicationSwitch\": \"ON\",\n \"ServerNameIndication\": \"www.baidu.com\"\n}",
|
809
803
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
810
804
|
"title": "修改转发规则信息"
|
811
805
|
}
|
@@ -877,8 +871,8 @@
|
|
877
871
|
"SetTlsVersion": [
|
878
872
|
{
|
879
873
|
"document": "",
|
880
|
-
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetTlsVersion\n<公共请求参数>\n\n{\n \"ListenerId\": \"
|
881
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
874
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetTlsVersion\n<公共请求参数>\n\n{\n \"ListenerId\": \"lgl-123456\",\n \"TLSSupportVersion\": [\n \"TLSv1.2\"\n ],\n \"TLSCiphers\": \"GAAP_TLS_CIPHERS_GENERAL\"\n}",
|
875
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"dad2a717-3c7d-444d-8f98-0cca9c897ff3\"\n }\n}",
|
882
876
|
"title": "setTls示例"
|
883
877
|
}
|
884
878
|
]
|
@@ -221,7 +221,7 @@
|
|
221
221
|
{
|
222
222
|
"disabled": false,
|
223
223
|
"document": "游戏相关参数",
|
224
|
-
"example": "{}",
|
224
|
+
"example": "{\"Key\": \"Value\"}",
|
225
225
|
"member": "string",
|
226
226
|
"name": "GameContext",
|
227
227
|
"required": false,
|
@@ -395,7 +395,7 @@
|
|
395
395
|
{
|
396
396
|
"disabled": false,
|
397
397
|
"document": "唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)",
|
398
|
-
"example": "
|
398
|
+
"example": "639d069e-a13a-437a-a10b-64a33ecb8e79",
|
399
399
|
"member": "string",
|
400
400
|
"name": "UserId",
|
401
401
|
"required": true,
|
@@ -503,7 +503,7 @@
|
|
503
503
|
{
|
504
504
|
"disabled": false,
|
505
505
|
"document": "唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)",
|
506
|
-
"example": "
|
506
|
+
"example": "639d069e-a13a-437a-a10b-64a33ecb8e79",
|
507
507
|
"member": "string",
|
508
508
|
"name": "UserId",
|
509
509
|
"required": true,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
{
|
5
5
|
"document": "锁定实例后,创建会话,以连接实例",
|
6
6
|
"input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSession\n<公共请求参数>\n\n{\n \"GameRegion\": \"字符串型\",\n \"GameId\": \"字符串型\",\n \"UserId\": \"字符串型\",\n \"ClientSession\": \"字符串型\"\n}",
|
7
|
-
"output": "{\n \"Response\": {\n \"RoleNumber\": \"1\",\n \"ServerSession\": \"
|
7
|
+
"output": "{\n \"Response\": {\n \"RoleNumber\": \"1\",\n \"ServerSession\": \"e30=\",\n \"Role\": \"Player\",\n \"RequestId\": \"req123\"\n }\n}",
|
8
8
|
"title": "CreateSession示例"
|
9
9
|
}
|
10
10
|
],
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"StartPublishStream": [
|
28
28
|
{
|
29
29
|
"document": "",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishStream\n<公共请求参数>\n\n{\n \"UserId\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishStream\n<公共请求参数>\n\n{\n \"UserId\": \"639d069e-a13a-437a-a10b-64a33ecb8e79\",\n \"PublishUrl\": \"rtmp://live.stream.com/publish\"\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"4eb17e58-68da-4e9a-b298-0894723c9022\"\n }\n}",
|
32
32
|
"title": "开始云端推流"
|
33
33
|
}
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"StopPublishStream": [
|
52
52
|
{
|
53
53
|
"document": "",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopPublishStream\n<公共请求参数>\n\n{\n \"UserId\": \"
|
54
|
+
"input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopPublishStream\n<公共请求参数>\n\n{\n \"UserId\": \"639d069e-a13a-437a-a10b-64a33ecb8e79\"\n}",
|
55
55
|
"output": "{\n \"Response\": {\n \"RequestId\": \"4eb17e58-68da-4e9a-b298-0894723c9022\"\n }\n}",
|
56
56
|
"title": "停止云端推流"
|
57
57
|
}
|
tccli/services/iai/iai_client.py
CHANGED
@@ -1163,6 +1163,58 @@ def doGetUpgradeGroupFaceModelVersionJobList(args, parsed_globals):
|
|
1163
1163
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1164
1164
|
|
1165
1165
|
|
1166
|
+
def doDetectFaceSimilarity(args, parsed_globals):
|
1167
|
+
g_param = parse_global_arg(parsed_globals)
|
1168
|
+
|
1169
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1170
|
+
cred = credential.CVMRoleCredential()
|
1171
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1172
|
+
cred = credential.STSAssumeRoleCredential(
|
1173
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1174
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1175
|
+
)
|
1176
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1177
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1178
|
+
else:
|
1179
|
+
cred = credential.Credential(
|
1180
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1181
|
+
)
|
1182
|
+
http_profile = HttpProfile(
|
1183
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1184
|
+
reqMethod="POST",
|
1185
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1186
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1187
|
+
)
|
1188
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1189
|
+
if g_param[OptionsDefine.Language]:
|
1190
|
+
profile.language = g_param[OptionsDefine.Language]
|
1191
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1192
|
+
client = mod.IaiClient(cred, g_param[OptionsDefine.Region], profile)
|
1193
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1194
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1195
|
+
model = models.DetectFaceSimilarityRequest()
|
1196
|
+
model.from_json_string(json.dumps(args))
|
1197
|
+
start_time = time.time()
|
1198
|
+
while True:
|
1199
|
+
rsp = client.DetectFaceSimilarity(model)
|
1200
|
+
result = rsp.to_json_string()
|
1201
|
+
try:
|
1202
|
+
json_obj = json.loads(result)
|
1203
|
+
except TypeError as e:
|
1204
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1205
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1206
|
+
break
|
1207
|
+
cur_time = time.time()
|
1208
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1209
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1210
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1211
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1212
|
+
else:
|
1213
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1214
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1215
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1216
|
+
|
1217
|
+
|
1166
1218
|
def doGetGroupInfo(args, parsed_globals):
|
1167
1219
|
g_param = parse_global_arg(parsed_globals)
|
1168
1220
|
|
@@ -1874,6 +1926,7 @@ ACTION_MAP = {
|
|
1874
1926
|
"CreatePerson": doCreatePerson,
|
1875
1927
|
"CompareMaskFace": doCompareMaskFace,
|
1876
1928
|
"GetUpgradeGroupFaceModelVersionJobList": doGetUpgradeGroupFaceModelVersionJobList,
|
1929
|
+
"DetectFaceSimilarity": doDetectFaceSimilarity,
|
1877
1930
|
"GetGroupInfo": doGetGroupInfo,
|
1878
1931
|
"DetectFace": doDetectFace,
|
1879
1932
|
"GetPersonList": doGetPersonList,
|
@@ -98,6 +98,13 @@
|
|
98
98
|
"output": "DetectFaceAttributesResponse",
|
99
99
|
"status": "online"
|
100
100
|
},
|
101
|
+
"DetectFaceSimilarity": {
|
102
|
+
"document": "对两张图片中的人脸进行相似度比对,返回人脸相似度分数。\n\n若您需要判断 “此人是否是某人”,即验证某张图片中的人是否是已知身份的某人,如常见的人脸登录场景,建议使用[人脸验证](https://www.tencentcloud.com/document/product/1059/36972)或[人员验证](https://www.tencentcloud.com/document/product/1059/36971)接口。\n\n> \n- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。",
|
103
|
+
"input": "DetectFaceSimilarityRequest",
|
104
|
+
"name": "人脸相似度检测",
|
105
|
+
"output": "DetectFaceSimilarityResponse",
|
106
|
+
"status": "online"
|
107
|
+
},
|
101
108
|
"DetectLiveFace": {
|
102
109
|
"document": "用于对用户上传的静态图片进行人脸活体检测。与动态活体检测的区别是:静态活体检测中,用户不需要通过唇语或摇头眨眼等动作来识别。\n\n静态活体检测适用于手机自拍的场景,或对防攻击要求不高的场景。如果对活体检测有更高安全性要求,请使用[人脸核身·云智慧眼](https://cloud.tencent.com/product/faceid)产品。\n\n> \n- 图片的宽高比请接近3:4,不符合宽高比的图片返回的分值不具备参考意义。本接口适用于类手机自拍场景,非类手机自拍照返回的分值不具备参考意义。\n\n>\n- 使用过程中建议正对摄像头,不要距离太远,使面部可以完整地显示在识别的框内,识别过程中不要移动设备或遮挡面部。不要选择光线过强或过弱的环境进行面部识别,识别时不要添加任何滤镜。\n\n> \n- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。",
|
103
110
|
"input": "DetectLiveFaceRequest",
|
@@ -1727,6 +1734,79 @@
|
|
1727
1734
|
],
|
1728
1735
|
"type": "object"
|
1729
1736
|
},
|
1737
|
+
"DetectFaceSimilarityRequest": {
|
1738
|
+
"document": "DetectFaceSimilarity请求参数结构体",
|
1739
|
+
"members": [
|
1740
|
+
{
|
1741
|
+
"disabled": false,
|
1742
|
+
"document": "A 图片 base64 数据。\n- base64 编码后大小不可超过5M。\n- jpg格式长边像素不可超过4000,其他格式图片长边像素不可超2000。所有格式的图片短边像素不小于64。\n- 若图片中包含多张人脸,只选取其中置信度最高的人脸。\n- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
1743
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
1744
|
+
"member": "string",
|
1745
|
+
"name": "ImageA",
|
1746
|
+
"required": false,
|
1747
|
+
"type": "string"
|
1748
|
+
},
|
1749
|
+
{
|
1750
|
+
"disabled": false,
|
1751
|
+
"document": "B 图片 base64 数据。\n- base64 编码后大小不可超过5M。\n- jpg格式长边像素不可超过4000,其他格式图片长边像素不可超2000。所有格式的图片短边像素不小于64。\n- 若图片中包含多张人脸,只选取其中置信度最高的人脸。\n- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
1752
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
1753
|
+
"member": "string",
|
1754
|
+
"name": "ImageB",
|
1755
|
+
"required": false,
|
1756
|
+
"type": "string"
|
1757
|
+
},
|
1758
|
+
{
|
1759
|
+
"disabled": false,
|
1760
|
+
"document": "A 图片的 Url。\n- 对应图片 base64 编码后大小不可超过5M。\n- jpg格式长边像素不可超过4000,其他格式图片长边像素不可超2000。所有格式的图片短边像素不小于64。\n- A 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。 \n- 图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n- 非腾讯云存储的Url速度和稳定性可能受一定影响。\n- 若图片中包含多张人脸,只选取其中人脸面积最大的人脸。\n- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
1761
|
+
"example": "http://test.image.myqcloud.com/testA.jpg",
|
1762
|
+
"member": "string",
|
1763
|
+
"name": "UrlA",
|
1764
|
+
"required": false,
|
1765
|
+
"type": "string"
|
1766
|
+
},
|
1767
|
+
{
|
1768
|
+
"disabled": false,
|
1769
|
+
"document": "B 图片的 Url 。\n- 对应图片 base64 编码后大小不可超过5M。\n- jpg格式长边像素不可超过4000,其他格式图片长边像素不可超2000。所有格式的图片短边像素不小于64。\n- B 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。 \n- 图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n- 非腾讯云存储的Url速度和稳定性可能受一定影响。\n- 若图片中包含多张人脸,只选取其中人脸面积最大的人脸。\n- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
1770
|
+
"example": "http://test.image.myqcloud.com/testB.jpg",
|
1771
|
+
"member": "string",
|
1772
|
+
"name": "UrlB",
|
1773
|
+
"required": false,
|
1774
|
+
"type": "string"
|
1775
|
+
},
|
1776
|
+
{
|
1777
|
+
"disabled": false,
|
1778
|
+
"document": "图片质量控制。 \n- 取值范围:\n0: 不进行控制; \n1: 较低的质量要求,图像存在非常模糊,眼睛鼻子嘴巴遮挡至少其中一种或多种的情况; \n2: 一般的质量要求,图像存在偏亮,偏暗,模糊或一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,至少其中三种的情况; \n3: 较高的质量要求,图像存在偏亮,偏暗,一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,其中一到两种的情况; \n4: 很高的质量要求,各个维度均为最好或最多,在某一维度上存在轻微问题; \n默认 0。 \n\n- 若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。",
|
1779
|
+
"example": "0",
|
1780
|
+
"member": "uint64",
|
1781
|
+
"name": "QualityControl",
|
1782
|
+
"required": false,
|
1783
|
+
"type": "int"
|
1784
|
+
}
|
1785
|
+
],
|
1786
|
+
"type": "object"
|
1787
|
+
},
|
1788
|
+
"DetectFaceSimilarityResponse": {
|
1789
|
+
"document": "DetectFaceSimilarity返回参数结构体",
|
1790
|
+
"members": [
|
1791
|
+
{
|
1792
|
+
"disabled": false,
|
1793
|
+
"document": "取值范围 [0.00, 100.00]。\n推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)。",
|
1794
|
+
"example": "0.999",
|
1795
|
+
"member": "float",
|
1796
|
+
"name": "Score",
|
1797
|
+
"output_required": true,
|
1798
|
+
"type": "float",
|
1799
|
+
"value_allowed_null": false
|
1800
|
+
},
|
1801
|
+
{
|
1802
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1803
|
+
"member": "string",
|
1804
|
+
"name": "RequestId",
|
1805
|
+
"type": "string"
|
1806
|
+
}
|
1807
|
+
],
|
1808
|
+
"type": "object"
|
1809
|
+
},
|
1730
1810
|
"DetectLiveFaceAccurateRequest": {
|
1731
1811
|
"document": "DetectLiveFaceAccurate请求参数结构体",
|
1732
1812
|
"members": [
|