tccli 3.0.1300.2__py2.py3-none-any.whl → 3.0.1301.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +2 -1
- tccli/services/asr/v20190614/api.json +18 -18
- tccli/services/batch/v20170312/api.json +14 -14
- tccli/services/bh/bh_client.py +623 -93
- tccli/services/bh/v20230418/api.json +1054 -32
- tccli/services/bh/v20230418/examples.json +93 -1
- tccli/services/billing/billing_client.py +4 -57
- tccli/services/billing/v20180709/api.json +3 -305
- tccli/services/billing/v20180709/examples.json +2 -10
- tccli/services/bpaas/v20181217/api.json +56 -56
- tccli/services/cat/cat_client.py +61 -8
- tccli/services/cat/v20180409/api.json +115 -0
- tccli/services/cat/v20180409/examples.json +20 -0
- tccli/services/cbs/v20170312/api.json +9 -7
- tccli/services/cbs/v20170312/examples.json +2 -2
- tccli/services/ccc/ccc_client.py +216 -4
- tccli/services/ccc/v20200210/api.json +364 -6
- tccli/services/ccc/v20200210/examples.json +32 -0
- tccli/services/cdb/v20170320/api.json +23 -14
- tccli/services/cdb/v20170320/examples.json +3 -3
- tccli/services/cdn/v20180606/api.json +354 -279
- tccli/services/cdwch/v20200915/api.json +21 -21
- tccli/services/cdwdoris/v20211228/api.json +21 -1
- tccli/services/cdwdoris/v20211228/examples.json +4 -4
- tccli/services/cdwpg/v20201230/api.json +374 -359
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +201 -5
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/chc/chc_client.py +57 -4
- tccli/services/chc/v20230418/api.json +108 -1
- tccli/services/chc/v20230418/examples.json +8 -0
- tccli/services/ckafka/ckafka_client.py +408 -302
- tccli/services/ckafka/v20190819/api.json +197 -2
- tccli/services/ckafka/v20190819/examples.json +16 -0
- tccli/services/clb/v20180317/api.json +437 -377
- tccli/services/clb/v20180317/examples.json +7 -7
- tccli/services/cls/cls_client.py +53 -0
- tccli/services/cls/v20201016/api.json +86 -3
- tccli/services/cls/v20201016/examples.json +11 -3
- tccli/services/cvm/v20170312/api.json +147 -147
- tccli/services/cvm/v20170312/examples.json +6 -6
- tccli/services/cwp/v20180228/api.json +93 -14
- tccli/services/cwp/v20180228/examples.json +7 -7
- tccli/services/cynosdb/cynosdb_client.py +171 -12
- tccli/services/cynosdb/v20190107/api.json +252 -3
- tccli/services/cynosdb/v20190107/examples.json +24 -0
- tccli/services/dc/v20180410/api.json +1 -1
- tccli/services/dlc/v20210125/api.json +746 -656
- tccli/services/dlc/v20210125/examples.json +65 -59
- tccli/services/dsgc/v20190723/api.json +18 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/dts/v20211206/examples.json +6 -0
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +127 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/es_client.py +686 -151
- tccli/services/es/v20180416/api.json +506 -433
- tccli/services/es/v20180416/examples.json +41 -47
- tccli/services/es/v20250101/api.json +1391 -0
- tccli/services/es/v20250101/examples.json +85 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +142 -21
- tccli/services/ess/v20201111/examples.json +14 -0
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +112 -9
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/gaap/v20180529/api.json +321 -312
- tccli/services/gaap/v20180529/examples.json +2 -2
- tccli/services/gs/gs_client.py +538 -8
- tccli/services/gs/v20191118/api.json +947 -44
- tccli/services/gs/v20191118/examples.json +87 -1
- tccli/services/gwlb/v20240906/api.json +56 -37
- tccli/services/gwlb/v20240906/examples.json +11 -5
- tccli/services/hunyuan/hunyuan_client.py +175 -69
- tccli/services/hunyuan/v20230901/api.json +191 -1
- tccli/services/hunyuan/v20230901/examples.json +17 -1
- tccli/services/ioa/ioa_client.py +227 -15
- tccli/services/ioa/v20220601/api.json +479 -0
- tccli/services/ioa/v20220601/examples.json +44 -0
- tccli/services/iotexplorer/iotexplorer_client.py +322 -4
- tccli/services/iotexplorer/v20190423/api.json +865 -52
- tccli/services/iotexplorer/v20190423/examples.json +64 -16
- tccli/services/iotvideo/iotvideo_client.py +57 -4
- tccli/services/iotvideo/v20211125/api.json +146 -0
- tccli/services/iotvideo/v20211125/examples.json +8 -0
- tccli/services/iotvideoindustry/v20201201/api.json +1 -1
- tccli/services/kms/v20190118/api.json +38 -2
- tccli/services/lcic/v20220817/api.json +66 -1
- tccli/services/lcic/v20220817/examples.json +1 -1
- tccli/services/lighthouse/lighthouse_client.py +0 -106
- tccli/services/lighthouse/v20200324/api.json +11 -98
- tccli/services/lighthouse/v20200324/examples.json +0 -16
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lke/v20231130/api.json +208 -10
- tccli/services/lke/v20231130/examples.json +10 -10
- tccli/services/lkeap/lkeap_client.py +53 -0
- tccli/services/lkeap/v20240522/api.json +48 -4
- tccli/services/lkeap/v20240522/examples.json +8 -0
- tccli/services/mna/mna_client.py +4 -163
- tccli/services/mna/v20210119/api.json +0 -524
- tccli/services/mna/v20210119/examples.json +0 -24
- tccli/services/monitor/monitor_client.py +114 -8
- tccli/services/monitor/v20180724/api.json +124 -13
- tccli/services/monitor/v20180724/examples.json +16 -0
- tccli/services/mps/v20190612/api.json +1129 -1002
- tccli/services/nlp/v20190408/examples.json +1 -1
- tccli/services/oceanus/v20190422/api.json +12 -12
- tccli/services/oceanus/v20190422/examples.json +15 -3
- tccli/services/ocr/v20181119/api.json +13 -3
- tccli/services/privatedns/v20201028/api.json +30 -11
- tccli/services/privatedns/v20201028/examples.json +10 -10
- tccli/services/rce/v20201103/api.json +3 -3
- tccli/services/ses/v20201002/api.json +10 -1
- tccli/services/smop/v20201203/api.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +1 -1
- tccli/services/sts/sts_client.py +53 -0
- tccli/services/sts/v20180813/api.json +101 -1
- tccli/services/sts/v20180813/examples.json +8 -0
- tccli/services/taf/taf_client.py +0 -53
- tccli/services/taf/v20200210/api.json +0 -138
- tccli/services/taf/v20200210/examples.json +0 -8
- tccli/services/tan/v20220420/api.json +2 -2
- tccli/services/tat/v20201028/api.json +2 -2
- tccli/services/tcb/v20180608/api.json +29 -1
- tccli/services/tcbr/v20220217/api.json +32 -0
- tccli/services/tcr/v20190924/api.json +5 -5
- tccli/services/tcr/v20190924/examples.json +2 -2
- tccli/services/tcss/v20201101/api.json +84 -34
- tccli/services/tcss/v20201101/examples.json +8 -8
- tccli/services/tdmq/v20200217/api.json +40 -0
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +234 -206
- tccli/services/teo/v20220901/examples.json +13 -13
- tccli/services/tione/tione_client.py +53 -0
- tccli/services/tione/v20211111/api.json +256 -0
- tccli/services/tione/v20211111/examples.json +8 -0
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +489 -12
- tccli/services/trocket/v20230308/api.json +925 -146
- tccli/services/trocket/v20230308/examples.json +72 -0
- tccli/services/trtc/v20190722/api.json +13 -19
- tccli/services/trtc/v20190722/examples.json +8 -8
- tccli/services/tse/v20201207/api.json +1016 -995
- tccli/services/tse/v20201207/examples.json +2 -2
- tccli/services/tsf/v20180326/api.json +510 -465
- tccli/services/tsf/v20180326/examples.json +4 -4
- tccli/services/tts/v20190823/api.json +10 -10
- tccli/services/vclm/v20240523/api.json +2 -2
- tccli/services/vcube/v20220410/api.json +10 -0
- tccli/services/vdb/v20230616/api.json +10 -0
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +824 -254
- tccli/services/vpc/v20170312/examples.json +66 -10
- tccli/services/vpc/vpc_client.py +383 -12
- tccli/services/vrs/v20200824/api.json +9 -0
- tccli/services/waf/v20180125/api.json +8022 -5839
- tccli/services/waf/v20180125/examples.json +90 -0
- tccli/services/waf/waf_client.py +559 -82
- tccli/services/wedata/v20210820/api.json +1379 -24
- tccli/services/wedata/v20210820/examples.json +25 -1
- tccli/services/wedata/wedata_client.py +171 -12
- tccli/services/weilingwith/v20230427/api.json +1 -1
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- {tccli-3.0.1300.2.dist-info → tccli-3.0.1301.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1300.2.dist-info → tccli-3.0.1301.1.dist-info}/RECORD +169 -167
- {tccli-3.0.1300.2.dist-info → tccli-3.0.1301.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1300.2.dist-info → tccli-3.0.1301.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1300.2.dist-info → tccli-3.0.1301.1.dist-info}/license_files/LICENSE +0 -0
@@ -91,7 +91,7 @@
|
|
91
91
|
"TextWriting": [
|
92
92
|
{
|
93
93
|
"document": "对中文文本进行续写。",
|
94
|
-
"input": "POST / HTTP/1.1\nHost: nlp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:TextWriting\n<公共请求参数>\n\n{\n \"Text\": \"
|
94
|
+
"input": "POST / HTTP/1.1\nHost: nlp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:TextWriting\n<公共请求参数>\n\n{\n \"Text\": \"此事还得从这说起,\",\n \"SourceLang\": \"zh\",\n \"Number\": 2,\n \"Domain\": \"general\",\n \"Style\": \"xuanhuan_wuxia\"\n}",
|
95
95
|
"output": "{\n \"Response\": {\n \"RequestId\": \"40abc589-8603-458b-82a7-fe174e799085\",\n \"WritingList\": [\n {\n \"PrefixText\": \"此事还得从这说起,\",\n \"TargetText\": \"此事还得从这说起,他一路行来,不知不觉已到了洛阳城,这一日,他来到一处客栈,打听一下萧月生的消息。“师父,他来了!”江南云忽然开口,声音清脆悦耳,仿\"\n },\n {\n \"PrefixText\": \"此事还得从这说起,\",\n \"TargetText\": \"此事还得从这说起,那日在山东大会上,萧月生一眼看出,这个赵小四是武林中人,心中不由一动,觉得此人极有可能是华山派的弟子。“师父,他的轻功如何?”江南\"\n }\n ]\n }\n}",
|
96
96
|
"title": "文本续写调用示例"
|
97
97
|
}
|
@@ -1774,7 +1774,7 @@
|
|
1774
1774
|
},
|
1775
1775
|
{
|
1776
1776
|
"disabled": false,
|
1777
|
-
"document": "
|
1777
|
+
"document": "主类入参,需要区分下Sql作业配置,Jar作业配置,Python作业配置,具体参考下面的示例值",
|
1778
1778
|
"example": "--conf Key=Value",
|
1779
1779
|
"member": "string",
|
1780
1780
|
"name": "ProgramArgs",
|
@@ -1793,7 +1793,7 @@
|
|
1793
1793
|
{
|
1794
1794
|
"disabled": false,
|
1795
1795
|
"document": "资源引用数组",
|
1796
|
-
"example": "[]",
|
1796
|
+
"example": "[ { \"ResourceId\": \"resource-lbi8h92t\", \"Type\": 1, \"Version\": 1 } ]",
|
1797
1797
|
"member": "ResourceRef",
|
1798
1798
|
"name": "ResourceRefs",
|
1799
1799
|
"required": false,
|
@@ -1811,7 +1811,7 @@
|
|
1811
1811
|
{
|
1812
1812
|
"disabled": false,
|
1813
1813
|
"document": "系统参数",
|
1814
|
-
"example": "[]",
|
1814
|
+
"example": "[ { \"Key\": \"pipeline.max-parallelism\", \"Value\": \"2048\" } ]",
|
1815
1815
|
"member": "Property",
|
1816
1816
|
"name": "Properties",
|
1817
1817
|
"required": false,
|
@@ -1865,7 +1865,7 @@
|
|
1865
1865
|
{
|
1866
1866
|
"disabled": false,
|
1867
1867
|
"document": "CLS日志集ID",
|
1868
|
-
"example": "
|
1868
|
+
"example": "544002e3-299b-41d2-b18f-19194fb0660b",
|
1869
1869
|
"member": "string",
|
1870
1870
|
"name": "ClsLogsetId",
|
1871
1871
|
"required": false,
|
@@ -1874,7 +1874,7 @@
|
|
1874
1874
|
{
|
1875
1875
|
"disabled": false,
|
1876
1876
|
"document": "CLS日志主题ID",
|
1877
|
-
"example": "
|
1877
|
+
"example": "544002e3-299b-41d2-b18f-19194fb0660b",
|
1878
1878
|
"member": "string",
|
1879
1879
|
"name": "ClsTopicId",
|
1880
1880
|
"required": false,
|
@@ -1928,7 +1928,7 @@
|
|
1928
1928
|
{
|
1929
1929
|
"disabled": false,
|
1930
1930
|
"document": "类日志级别",
|
1931
|
-
"example": "[]",
|
1931
|
+
"example": "[ ]",
|
1932
1932
|
"member": "ClazzLevel",
|
1933
1933
|
"name": "ClazzLevels",
|
1934
1934
|
"required": false,
|
@@ -1946,7 +1946,7 @@
|
|
1946
1946
|
{
|
1947
1947
|
"disabled": false,
|
1948
1948
|
"document": "专家模式的配置",
|
1949
|
-
"example": "{}",
|
1949
|
+
"example": "{ }",
|
1950
1950
|
"member": "ExpertModeConfiguration",
|
1951
1951
|
"name": "ExpertModeConfiguration",
|
1952
1952
|
"required": false,
|
@@ -1964,7 +1964,7 @@
|
|
1964
1964
|
{
|
1965
1965
|
"disabled": false,
|
1966
1966
|
"document": "trace链路配置",
|
1967
|
-
"example": "{}",
|
1967
|
+
"example": "{ }",
|
1968
1968
|
"member": "TraceModeConfiguration",
|
1969
1969
|
"name": "TraceModeConfiguration",
|
1970
1970
|
"required": false,
|
@@ -1982,7 +1982,7 @@
|
|
1982
1982
|
{
|
1983
1983
|
"disabled": false,
|
1984
1984
|
"document": "算子拓扑图",
|
1985
|
-
"example": "{}",
|
1985
|
+
"example": "{ \"Nodes\": [ ], \"Edges\": [ ] }",
|
1986
1986
|
"member": "JobGraph",
|
1987
1987
|
"name": "JobGraph",
|
1988
1988
|
"required": false,
|
@@ -2780,8 +2780,8 @@
|
|
2780
2780
|
},
|
2781
2781
|
{
|
2782
2782
|
"disabled": false,
|
2783
|
-
"document": "
|
2784
|
-
"example": "
|
2783
|
+
"document": "过滤规则\n \n- Name\n 按照集群的名字进行模糊查询。例如:测试\n 类型: String\n 必选: 否\n ",
|
2784
|
+
"example": "无",
|
2785
2785
|
"member": "Filter",
|
2786
2786
|
"name": "Filters",
|
2787
2787
|
"required": false,
|
@@ -2815,7 +2815,7 @@
|
|
2815
2815
|
{
|
2816
2816
|
"disabled": false,
|
2817
2817
|
"document": "集群列表",
|
2818
|
-
"example": "
|
2818
|
+
"example": "无",
|
2819
2819
|
"member": "Cluster",
|
2820
2820
|
"name": "ClusterSet",
|
2821
2821
|
"output_required": true,
|
@@ -40,10 +40,22 @@
|
|
40
40
|
],
|
41
41
|
"CreateJobConfig": [
|
42
42
|
{
|
43
|
-
"document": "
|
43
|
+
"document": "创建一个Jar作业配置",
|
44
44
|
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateJobConfig\n<公共请求参数>\n\n{\n \"ProgramArgs\": \"2000\",\n \"EntrypointClass\": \"com.tencent.flink.test.WordCount\",\n \"JobId\": \"cql-n8yaia0y\"\n}",
|
45
45
|
"output": "{\n \"Response\": {\n \"Version\": 2,\n \"RequestId\": \"5f124d6f-b035-4d29-9467-dd62eccdbf23\"\n }\n}",
|
46
|
-
"title": "
|
46
|
+
"title": "新建Jar作业配置示例"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"document": "创建SQL作业配置,\n其中ProgramArgs参数包括了大量的入参,SqlCode 、Metadata 都采用了base64加密",
|
50
|
+
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateJobConfig\n<公共请求参数>\n\n{\n \"JobId\": \"cql-5kmc4o48\",\n \"ProgramArgs\": \"{\\\"CheckpointInterval\\\":600,\\\"Metadata\\\":\\\"eyJNZXRhZGF0YSI6eyJSZWZlcmVuY2VUYWJsZXMiOltdLCJWYXJpYWJsZXMiOltdfX0=\\\",\\\"SqlCode\\\":\\\"CkNSRUFURSBUQUJMRSBgRGF0YV9JbnB1dGAgKCAtLeatpemqpCAxIO+8muWIm+W7uuaVsOaNrua6kOihqO+8iFNvdXJjZe+8iSBEYXRhX0lucHV0CiAgICBhZ2UgQklHSU5ULAogICAgc2NvcmUgQklHSU5UCikgV0lUSCAoCiAgICAnY29ubmVjdG9yJyA9ICdkYXRhZ2VuJywKICAgICdyb3dzLXBlci1zZWNvbmQnPScxMDAnLCAgICAgICAgICAtLSDmr4/np5LkuqfnlJ/nmoTmlbDmja7mnaHmlbAKCiAgICAnZmllbGRzLmFnZS5raW5kJz0ncmFuZG9tJywgICAgICAgLS0g5peg55WM55qE6ZqP5py65pWwCiAgICAnZmllbGRzLmFnZS5taW4nPScxJywgICAgICAgICAgIC0tIOmaj+acuuaVsOeahOacgOWwj+WAvAogICAgJ2ZpZWxkcy5hZ2UubWF4Jz0nMTAwJywgICAgICAgICAtLSDpmo/mnLrmlbDnmoTmnIDlpKflgLwKCiAgICAnZmllbGRzLnNjb3JlLmtpbmQnPSdyYW5kb20nLCAgICAgICAgLS0g5peg55WM55qE6ZqP5py65pWwCiAgICAnZmllbGRzLnNjb3JlLm1pbic9JzEnLCAgICAgICAgICAgICAgLS0g6ZqP5py65pWw55qE5pyA5bCP5YC8CiAgICAnZmllbGRzLnNjb3JlLm1heCc9JzEwMDAnICAgICAgICAgICAgLS0g6ZqP5py65pWw55qE5pyA5aSn5YC8Cik7CgpDUkVBVEUgVEFCTEUgYERhdGFfT3V0cHV0YCAoIC0t5q2l6aqkIDIg77ya5Yib5bu65pWw5o2u57uT5p6c6KGo77yIU2lua++8iSBEYXRhX091dHB1dAogICAgYGF2Z19hZ2VgIEJJR0lOVCwKICAgIGBhdmdfc2NvcmVgIEJJR0lOVAopIFdJVEggKAogICAgJ2Nvbm5lY3RvcicgPSAnYmxhY2tob2xlJwopOwoKSU5TRVJUIElOVE8gYERhdGFfT3V0cHV0YCAgIC0t5q2l6aqkIDMg77yaIOWwhuaVsOaNrua6kOihqO+8iFNvdXJjZe+8iSBEYXRhX0lucHV0IOS4reeahCBhZ2Ug5ZKMIHNjb3JlIOWPluW5s+Wdh+aVsOS5i+WQjuWtmOWCqOS6juaVsOaNrue7k+aenOihqO+8iFNpbmvvvIkgRGF0YV9PdXRwdXQKU0VMRUNUIEFWRyhhZ2UpLCBBVkcoc2NvcmUpIEZST00gYERhdGFfSW5wdXRgOwo=\\\"}\",\n \"Remark\": \"v2\",\n \"ResourceRefs\": [],\n \"DefaultParallelism\": 1,\n \"Properties\": [\n {\n \"Key\": \"pipeline.max-parallelism\",\n \"Value\": \"2048\"\n }\n ],\n \"LogCollect\": true,\n \"ClsLogsetId\": \"10981e21-aee9-4a01-9ed9-eadf5956fe3c\",\n \"ClsTopicId\": \"544002e3-299b-41d2-b18f-19194fb0660b\",\n \"LogCollectType\": 2,\n \"WorkSpaceId\": \"space-1257058945ap-guangzhou\",\n \"LogLevel\": \"INFO\",\n \"AutoRecover\": 1,\n \"ClazzLevels\": [],\n \"ExpertModeOn\": false,\n \"ExpertModeConfiguration\": {},\n \"TraceModeOn\": false,\n \"TraceModeConfiguration\": {},\n \"CheckpointRetainedNum\": 0,\n \"JobGraph\": {\n \"Nodes\": [],\n \"Edges\": []\n },\n \"EsServerlessIndex\": \"\",\n \"EsServerlessSpace\": \"\",\n \"FlinkVersion\": \"Flink-1.16\",\n \"JobManagerCpu\": 1,\n \"JobManagerMem\": 4,\n \"TaskManagerCpu\": 1,\n \"TaskManagerMem\": 4\n}",
|
51
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8f152cf4-9a43-40fa-a2ea-f28e74cd24ff\",\n \"Version\": 3\n }\n}",
|
52
|
+
"title": "创建SQL作业配置示例"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"document": "创建python作业配置示例",
|
56
|
+
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateJobConfig\n<公共请求参数>\n\n{\n \"JobId\": \"cql-68w5vlip\",\n \"EntrypointClass\": \"com.tencent.cloud.oceanus.wordcount.WordCount\",\n \"ProgramArgs\": \"\",\n \"Remark\": \"v1\",\n \"ResourceRefs\": [\n {\n \"ResourceId\": \"resource-lbi8h92t\",\n \"Version\": 1,\n \"Type\": 1\n }\n ],\n \"DefaultParallelism\": 1,\n \"Properties\": [\n {\n \"Key\": \"pipeline.max-parallelism\",\n \"Value\": \"2048\"\n }\n ],\n \"LogCollect\": true,\n \"ClsLogsetId\": \"10981e21-aee9-4a01-9ed9-eadf5956fe3c\",\n \"ClsTopicId\": \"544002e3-299b-41d2-b18f-19194fb0660b\",\n \"LogCollectType\": 2,\n \"PythonVersion\": \"Python-3.7\",\n \"WorkSpaceId\": \"space-1257058945ap-guangzhou\",\n \"LogLevel\": \"INFO\",\n \"AutoRecover\": 1,\n \"ClazzLevels\": [],\n \"ExpertModeOn\": false,\n \"ExpertModeConfiguration\": {},\n \"TraceModeOn\": false,\n \"TraceModeConfiguration\": {},\n \"CheckpointRetainedNum\": 0,\n \"JobGraph\": {\n \"Nodes\": [],\n \"Edges\": []\n },\n \"EsServerlessIndex\": \"\",\n \"EsServerlessSpace\": \"\",\n \"FlinkVersion\": \"Flink-1.13\",\n \"JobManagerCpu\": 0,\n \"JobManagerMem\": 0,\n \"TaskManagerCpu\": 0,\n \"TaskManagerMem\": 0\n}",
|
57
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8b4433c9-3efc-4afc-a2bd-78d682f5c3dd\",\n \"Version\": 2\n }\n}",
|
58
|
+
"title": "创建Python作业配置示例"
|
47
59
|
}
|
48
60
|
],
|
49
61
|
"CreateResource": [
|
@@ -130,7 +142,7 @@
|
|
130
142
|
{
|
131
143
|
"document": "查询集群",
|
132
144
|
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusters\n<公共请求参数>\n\n{\n \"ClusterIds\": [\n \"cluster-5c42n3a5\"\n ],\n \"Limit\": 1,\n \"WorkSpaceId\": \"space-53rqk422\"\n}",
|
133
|
-
"output": "{\n \"Response\": {\n \"ClusterSet\": [\n {\n \"AppId\": 1234567890,\n \"ArchGeneration\": 2,\n \"AutoRenewFlag\": 1,\n \"CCNs\": [\n {\n \"CcnId\": \"\",\n \"SubnetId\": \"subnet-abcdefghijklmno\",\n \"VpcId\": \"vpc-pqrstuvwxyz\"\n }\n ],\n \"CLSLogName\": \"\",\n \"CLSLogSet\": \"\",\n \"CLSTopicId\": \"\",\n \"CLSTopicName\": \"\",\n \"ClusterId\": \"cluster-abcd1234\",\n \"ClusterSessions\": [\n {\n \"AppId\": 1234567890,\n \"ClusterGroupSerialId\": \"cluster-abcd1234\",\n \"CreateTime\": \"2023-11-14 18:07:
|
145
|
+
"output": "{\n \"Response\": {\n \"ClusterSet\": [\n {\n \"AppId\": 1234567890,\n \"ArchGeneration\": 2,\n \"AutoRenewFlag\": 1,\n \"CCNs\": [\n {\n \"CcnId\": \"\",\n \"SubnetId\": \"subnet-abcdefghijklmno\",\n \"VpcId\": \"vpc-pqrstuvwxyz\"\n }\n ],\n \"CLSLogName\": \"\",\n \"CLSLogSet\": \"\",\n \"CLSTopicId\": \"\",\n \"CLSTopicName\": \"\",\n \"ClusterId\": \"cluster-abcd1234\",\n \"ClusterSessions\": [\n {\n \"AppId\": 1234567890,\n \"ClusterGroupSerialId\": \"cluster-abcd1234\",\n \"CreateTime\": \"2023-11-14 18:07:52\",\n \"CreatorUin\": \"100012345678\",\n \"CuNum\": 3,\n \"FlinkVersion\": \"Flink-1.13\",\n \"JobManagerCuSpec\": 1,\n \"OwnerUin\": \"100098765432\",\n \"Properties\": [\n {\n \"Key\": \"pipeline.max-parallelism\",\n \"Value\": \"2048\"\n }\n ],\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"TaskManagerCuSpec\": 1,\n \"TaskManagerNum\": 2,\n \"UpdateTime\": \"2023-11-14 18:09:02\",\n \"WebUIUrl\": \"\",\n \"Zone\": \"ap-guangzhou-7\"\n }\n ],\n \"ClusterType\": 0,\n \"Correlations\": [\n {\n \"ClusterGroupId\": 1234,\n \"ClusterGroupSerialId\": \"cluster-abcd1234\",\n \"ClusterName\": \"sample\",\n \"ProjectId\": 0,\n \"ProjectIdStr\": \"0\",\n \"Status\": 2,\n \"WorkSpaceId\": \"space-1234567890ap-guangzhou\",\n \"WorkSpaceName\": \"Default\"\n }\n ],\n \"CreateTime\": \"2023-08-15 17:18:08\",\n \"CreatorUin\": \"100012345678\",\n \"CuMem\": 4,\n \"CuNum\": 19,\n \"CustomizedDNSEnabled\": 1,\n \"DefaultCOSBucket\": \"sample-gz-bucket-1234567890\",\n \"DefaultLogCollectConf\": \"{\\\"LogCollectType\\\":2,\\\"Conf\\\":{\\\"ClsLogsetId\\\":\\\"cd9adbb5-6b7d-48d2-9870-77658959c7a4\\\",\\\"ClsTopicId\\\":\\\"80856bb3-0ef7-4e05-80eb-79ec283bb67d\\\",\\\"CosBucket\\\":\\\"\\\"}}\",\n \"ExpireTime\": \"2023-12-04 15:10:29\",\n \"FreeCu\": 9,\n \"FreeCuNum\": 9,\n \"IsNeedManageNode\": 1,\n \"IsolatedTime\": \"2023-11-04 01:57:54\",\n \"Name\": \"sample\",\n \"NetEnvironmentType\": 1,\n \"Orders\": [\n {\n \"AutoRenewFlag\": 1,\n \"ComputeCu\": 19,\n \"OperateUin\": \"100098765432\",\n \"OrderTime\": \"2023-11-04 01:57:54\",\n \"Type\": 2\n }\n ],\n \"OwnerUin\": \"100098765432\",\n \"PayMode\": 1,\n \"Region\": \"ap-guangzhou\",\n \"Remark\": \"sample\",\n \"RunningCu\": 10,\n \"SecondsUntilExpiry\": \"1223380\",\n \"SqlGateways\": [],\n \"Status\": 2,\n \"StatusDesc\": \"running\",\n \"Tags\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"value1\"\n },\n {\n \"TagKey\": \"tag2\",\n \"TagValue\": \"value2\"\n }\n ],\n \"UpdateTime\": \"2023-11-04 01:57:54\",\n \"Version\": {\n \"Flink\": \"Flink-1.13\",\n \"SupportedFlink\": [\n \"Flink-1.11\",\n \"Flink-1.13\",\n \"Flink-1.14\",\n \"Flink-1.16\"\n ]\n },\n \"WebUIType\": 0,\n \"Zone\": \"ap-guangzhou-7\"\n }\n ],\n \"RequestId\": \"24d0cbe8-9bd4-4356-bb95-74c5c4790877\",\n \"TotalCount\": 1\n }\n}",
|
134
146
|
"title": "查询集群"
|
135
147
|
}
|
136
148
|
],
|
@@ -7267,6 +7267,16 @@
|
|
7267
7267
|
"output_required": false,
|
7268
7268
|
"type": "string",
|
7269
7269
|
"value_allowed_null": false
|
7270
|
+
},
|
7271
|
+
{
|
7272
|
+
"disabled": false,
|
7273
|
+
"document": "整型错误码",
|
7274
|
+
"example": "0",
|
7275
|
+
"member": "int64",
|
7276
|
+
"name": "IntErrorCode",
|
7277
|
+
"output_required": false,
|
7278
|
+
"type": "int",
|
7279
|
+
"value_allowed_null": false
|
7270
7280
|
}
|
7271
7281
|
],
|
7272
7282
|
"usage": "out"
|
@@ -7973,7 +7983,7 @@
|
|
7973
7983
|
},
|
7974
7984
|
{
|
7975
7985
|
"disabled": false,
|
7976
|
-
"document": "
|
7986
|
+
"document": "识别出切图后各图片的旋转角度。",
|
7977
7987
|
"example": "0",
|
7978
7988
|
"member": "float",
|
7979
7989
|
"name": "Angle",
|
@@ -16303,7 +16313,7 @@
|
|
16303
16313
|
},
|
16304
16314
|
{
|
16305
16315
|
"disabled": false,
|
16306
|
-
"document": "
|
16316
|
+
"document": "自定义结构化功能需返回的字段名称,例:若客户想新增返回姓名、性别两个字段的识别结果,则输入ItemNames=[\"姓名\",\"性别\"]",
|
16307
16317
|
"example": "[\"姓名\",\"性别\"]",
|
16308
16318
|
"member": "string",
|
16309
16319
|
"name": "ItemNames",
|
@@ -20908,7 +20918,7 @@
|
|
20908
20918
|
{
|
20909
20919
|
"disabled": false,
|
20910
20920
|
"document": "销售方名称",
|
20911
|
-
"example": "
|
20921
|
+
"example": "深圳市腾讯科技有限公司",
|
20912
20922
|
"member": "string",
|
20913
20923
|
"name": "Seller",
|
20914
20924
|
"output_required": true,
|
@@ -517,7 +517,7 @@
|
|
517
517
|
{
|
518
518
|
"disabled": false,
|
519
519
|
"document": "私有域ID",
|
520
|
-
"example": "
|
520
|
+
"example": "zone-p0152fh2",
|
521
521
|
"member": "string",
|
522
522
|
"name": "ZoneId",
|
523
523
|
"required": true,
|
@@ -694,8 +694,8 @@
|
|
694
694
|
"members": [
|
695
695
|
{
|
696
696
|
"disabled": false,
|
697
|
-
"document": "私有域ID, zone-
|
698
|
-
"example": "
|
697
|
+
"document": "私有域ID, zone-12345678",
|
698
|
+
"example": "zone-12345678",
|
699
699
|
"member": "string",
|
700
700
|
"name": "ZoneId",
|
701
701
|
"output_required": true,
|
@@ -780,7 +780,7 @@
|
|
780
780
|
{
|
781
781
|
"disabled": false,
|
782
782
|
"document": "私有域ID",
|
783
|
-
"example": "
|
783
|
+
"example": "zone-p0152fh2",
|
784
784
|
"member": "string",
|
785
785
|
"name": "ZoneId",
|
786
786
|
"required": false,
|
@@ -1289,7 +1289,7 @@
|
|
1289
1289
|
{
|
1290
1290
|
"disabled": false,
|
1291
1291
|
"document": "私有域ID: zone-xxxxxx",
|
1292
|
-
"example": "
|
1292
|
+
"example": "zone-12345678",
|
1293
1293
|
"member": "string",
|
1294
1294
|
"name": "ZoneId",
|
1295
1295
|
"required": true,
|
@@ -1362,7 +1362,7 @@
|
|
1362
1362
|
"members": [
|
1363
1363
|
{
|
1364
1364
|
"disabled": false,
|
1365
|
-
"document": "
|
1365
|
+
"document": "私有域id",
|
1366
1366
|
"example": "zone-dm1igr1",
|
1367
1367
|
"member": "string",
|
1368
1368
|
"name": "ZoneId",
|
@@ -1477,6 +1477,15 @@
|
|
1477
1477
|
"name": "TimeRangeEnd",
|
1478
1478
|
"required": false,
|
1479
1479
|
"type": "string"
|
1480
|
+
},
|
1481
|
+
{
|
1482
|
+
"disabled": false,
|
1483
|
+
"document": "是否导出:true导出,false不导出",
|
1484
|
+
"example": "true",
|
1485
|
+
"member": "bool",
|
1486
|
+
"name": "Export",
|
1487
|
+
"required": false,
|
1488
|
+
"type": "bool"
|
1480
1489
|
}
|
1481
1490
|
],
|
1482
1491
|
"type": "object"
|
@@ -1504,6 +1513,16 @@
|
|
1504
1513
|
"type": "string",
|
1505
1514
|
"value_allowed_null": false
|
1506
1515
|
},
|
1516
|
+
{
|
1517
|
+
"disabled": false,
|
1518
|
+
"document": "导出数据下载地址",
|
1519
|
+
"example": "https://cos-xxx.com",
|
1520
|
+
"member": "string",
|
1521
|
+
"name": "Url",
|
1522
|
+
"output_required": false,
|
1523
|
+
"type": "string",
|
1524
|
+
"value_allowed_null": false
|
1525
|
+
},
|
1507
1526
|
{
|
1508
1527
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1509
1528
|
"member": "string",
|
@@ -1625,7 +1644,7 @@
|
|
1625
1644
|
{
|
1626
1645
|
"disabled": false,
|
1627
1646
|
"document": "私有域ID",
|
1628
|
-
"example": "zone-
|
1647
|
+
"example": "zone-ewqw2131",
|
1629
1648
|
"member": "string",
|
1630
1649
|
"name": "ZoneId",
|
1631
1650
|
"required": true,
|
@@ -1724,7 +1743,7 @@
|
|
1724
1743
|
{
|
1725
1744
|
"disabled": false,
|
1726
1745
|
"document": "私有域ID",
|
1727
|
-
"example": "
|
1746
|
+
"example": "zone-12345678",
|
1728
1747
|
"member": "string",
|
1729
1748
|
"name": "ZoneId",
|
1730
1749
|
"required": true,
|
@@ -1778,7 +1797,7 @@
|
|
1778
1797
|
{
|
1779
1798
|
"disabled": false,
|
1780
1799
|
"document": "私有域ID",
|
1781
|
-
"example": "
|
1800
|
+
"example": "zone-12345ds6",
|
1782
1801
|
"member": "string",
|
1783
1802
|
"name": "ZoneId",
|
1784
1803
|
"required": true,
|
@@ -1810,8 +1829,8 @@
|
|
1810
1829
|
"members": [
|
1811
1830
|
{
|
1812
1831
|
"disabled": false,
|
1813
|
-
"document": "私有域ID, zone-
|
1814
|
-
"example": "
|
1832
|
+
"document": "私有域ID, zone-12345ds6",
|
1833
|
+
"example": "zone-12345ds6",
|
1815
1834
|
"member": "string",
|
1816
1835
|
"name": "ZoneId",
|
1817
1836
|
"output_required": true,
|
@@ -20,26 +20,26 @@
|
|
20
20
|
{
|
21
21
|
"document": "",
|
22
22
|
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZone\n<公共请求参数>\n\n{\n \"Domain\": \"a.com\",\n \"TagSet\": [\n {\n \"TagKey\": \"owner\",\n \"TagValue\": \"xxxxxxxxxx\"\n }\n ],\n \"VpcSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"UniqVpcId\": \"vpc-xxxxxl\"\n }\n ],\n \"AccountVpcSet\": [\n {\n \"Uin\": \"1000458200\",\n \"Region\": \"ap-guangzhou\",\n \"UniqVpcId\": \"vpc-adsebmy1\",\n \"VpcName\": \"vpcname\"\n }\n ],\n \"Remark\": \"测试域名\",\n \"DnsForwardStatus\": \"ENABLED\",\n \"CnameSpeedupStatus\": \"ENABLED\"\n}",
|
23
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"5cd964e2-b5e6-8a35-9ce5a1085860c845\",\n \"ZoneId\": \"
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5cd964e2-b5e6-8a35-9ce5a1085860c845\",\n \"ZoneId\": \"zone-12345678\",\n \"Domain\": \"a.com\"\n }\n}",
|
24
24
|
"title": "创建私有域"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"CreatePrivateZoneRecord": [
|
28
28
|
{
|
29
29
|
"document": "添加A记录",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-
|
30
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-p0152fh2\",\n \"RecordType\": \"A\",\n \"SubDomain\": \"b\",\n \"RecordValue\": \"3.3.3.3\",\n \"Weight\": 100,\n \"TTL\": 600\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a98891db-9d73-514a-8751422197b540cd\",\n \"RecordId\": \"15421\"\n }\n}",
|
32
32
|
"title": "私有域-添加A记录"
|
33
33
|
},
|
34
34
|
{
|
35
35
|
"document": "添加MX记录",
|
36
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-
|
36
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-p0152fh2\",\n \"RecordType\": \"MX\",\n \"SubDomain\": \"b\",\n \"RecordValue\": \"3.3.3.3\",\n \"Weight\": 100,\n \"MX\": 5\n}",
|
37
37
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a98891db-9d73-514a-8751422197b540cd\",\n \"RecordId\": \"15421\"\n }\n}",
|
38
38
|
"title": "私有域-添加MX记录"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"document": "添加反解析记录",
|
42
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-
|
42
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-p0152fh2\",\n \"RecordType\": \"PTR\",\n \"SubDomain\": \"1.1.1\",\n \"RecordValue\": \"qq.com\"\n}",
|
43
43
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a98891db-9d73-514a-8751422197b540cd\",\n \"RecordId\": \"15421\"\n }\n}",
|
44
44
|
"title": "私有域-添加PTR记录"
|
45
45
|
}
|
@@ -69,13 +69,13 @@
|
|
69
69
|
"DeletePrivateZoneRecord": [
|
70
70
|
{
|
71
71
|
"document": "删除单条解析记录",
|
72
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-
|
72
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-p0152fh2\",\n \"RecordId\": \"2657842\"\n}",
|
73
73
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a3ed908c-5848-1a98-d7aaa92528e28303\"\n }\n}",
|
74
74
|
"title": "删除私有域解析记录-单个"
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"document": "批量删除解析记录",
|
78
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-
|
78
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-p0152fh2\",\n \"RecordIdSet\": [\n \"2657842\",\n \"2657843\"\n ]\n}",
|
79
79
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5cd964e2-b5e6-8a35-9ce5a1085860c845\"\n }\n}",
|
80
80
|
"title": "删除私有域解析记录-批量"
|
81
81
|
}
|
@@ -171,7 +171,7 @@
|
|
171
171
|
"ModifyPrivateZone": [
|
172
172
|
{
|
173
173
|
"document": "",
|
174
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrivateZone\n<公共请求参数>\n\n{\n \"ZoneId\": \"
|
174
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrivateZone\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-h91hca6u\",\n \"Remark\": \"测试域名\",\n \"DnsForwardStatus\": \"ENABLED\",\n \"CnameSpeedupStatus\": \"ENABLED\"\n}",
|
175
175
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5cd964e2-b5e6-8a35-9ce5a1085860c845\"\n }\n}",
|
176
176
|
"title": "修改私有域"
|
177
177
|
}
|
@@ -179,7 +179,7 @@
|
|
179
179
|
"ModifyPrivateZoneRecord": [
|
180
180
|
{
|
181
181
|
"document": "修改A记录",
|
182
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-
|
182
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrivateZoneRecord\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-ewqw2131\",\n \"RecordId\": \"289\",\n \"RecordType\": \"A\",\n \"SubDomain\": \"@\",\n \"RecordValue\": \"8.8.8.8\",\n \"TTL\": 600,\n \"Weight\": \"100\"\n}",
|
183
183
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d6f4fef6-8a3c-e2ee-792856f06fa696da\"\n }\n}",
|
184
184
|
"title": "修改私有域解析记录(A记录)"
|
185
185
|
},
|
@@ -193,8 +193,8 @@
|
|
193
193
|
"ModifyPrivateZoneVpc": [
|
194
194
|
{
|
195
195
|
"document": "",
|
196
|
-
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrivateZoneVpc\n<公共请求参数>\n\n{\n \"ZoneId\": \"
|
197
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"5cd964e2-b5e6-8a35-9ce5a1085860c845\",\n \"ZoneId\": \"
|
196
|
+
"input": "POST / HTTP/1.1\nHost: privatedns.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrivateZoneVpc\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-12345ds6\",\n \"VpcSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"UniqVpcId\": \"vpc-xxxxxx\"\n }\n ],\n \"AccountVpcSet\": [\n {\n \"Uin\": \"1002450010\",\n \"Region\": \"ap-guangzhou\",\n \"UniqVpcId\": \"vpc-dsd8ulf\",\n \"VpcName\": \"vpcName\"\n }\n ]\n}",
|
197
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5cd964e2-b5e6-8a35-9ce5a1085860c845\",\n \"ZoneId\": \"zone-12345ds6\",\n \"VpcSet\": [\n {\n \"UniqVpcId\": \"vpc-dsd8ulf\",\n \"Region\": \"ap-guangzhou\"\n }\n ],\n \"AccountVpcSet\": [\n {\n \"Uin\": \"1002450010\",\n \"UniqVpcId\": \"vpc-dsd8sdw\",\n \"Region\": \"ap-guangzhou\"\n }\n ]\n }\n}",
|
198
198
|
"title": "修改私有域关联的VPC"
|
199
199
|
}
|
200
200
|
],
|
@@ -1623,7 +1623,7 @@
|
|
1623
1623
|
"example": "0",
|
1624
1624
|
"member": "int64",
|
1625
1625
|
"name": "Code",
|
1626
|
-
"output_required":
|
1626
|
+
"output_required": false,
|
1627
1627
|
"type": "int",
|
1628
1628
|
"value_allowed_null": false
|
1629
1629
|
},
|
@@ -1633,7 +1633,7 @@
|
|
1633
1633
|
"example": "OK",
|
1634
1634
|
"member": "string",
|
1635
1635
|
"name": "Message",
|
1636
|
-
"output_required":
|
1636
|
+
"output_required": false,
|
1637
1637
|
"type": "string",
|
1638
1638
|
"value_allowed_null": false
|
1639
1639
|
},
|
@@ -1643,7 +1643,7 @@
|
|
1643
1643
|
"example": "无",
|
1644
1644
|
"member": "OuntputDescribeDataListInfo",
|
1645
1645
|
"name": "Value",
|
1646
|
-
"output_required":
|
1646
|
+
"output_required": false,
|
1647
1647
|
"type": "object",
|
1648
1648
|
"value_allowed_null": false
|
1649
1649
|
}
|
@@ -243,7 +243,16 @@
|
|
243
243
|
"example": "dGhpcyBpcyBhIGV4YW1wbGU=",
|
244
244
|
"member": "string",
|
245
245
|
"name": "Content",
|
246
|
-
"required":
|
246
|
+
"required": false,
|
247
|
+
"type": "string"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"disabled": false,
|
251
|
+
"document": "附件URL。未开放功能,请勿使用。",
|
252
|
+
"example": "https://www.test.com/1.png",
|
253
|
+
"member": "string",
|
254
|
+
"name": "FileURL",
|
255
|
+
"required": false,
|
247
256
|
"type": "string"
|
248
257
|
}
|
249
258
|
],
|
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"SubmitTaskEvent": {
|
4
|
-
"document": "提交任务事件接口",
|
4
|
+
"document": "smop产品下线,接口也一起下线\n\n提交任务事件接口",
|
5
5
|
"input": "SubmitTaskEventRequest",
|
6
6
|
"name": "提交任务事件",
|
7
7
|
"output": "SubmitTaskEventResponse",
|
8
|
-
"status": "
|
8
|
+
"status": "deprecated"
|
9
9
|
}
|
10
10
|
},
|
11
11
|
"metadata": {
|
@@ -1039,7 +1039,7 @@
|
|
1039
1039
|
},
|
1040
1040
|
"metadata": {
|
1041
1041
|
"apiVersion": "2018-03-28",
|
1042
|
-
"api_brief": "介绍如何使用API对云数据库SQL Server进行操作,包括实例管理、备份与恢复等。",
|
1042
|
+
"api_brief": "介绍如何使用 API 对云数据库 SQL Server 进行操作,包括实例管理、备份与恢复等。",
|
1043
1043
|
"serviceNameCN": "云数据库 SQL Server",
|
1044
1044
|
"serviceShortName": "sqlserver"
|
1045
1045
|
},
|
tccli/services/sts/sts_client.py
CHANGED
@@ -225,6 +225,58 @@ def doAssumeRoleWithWebIdentity(args, parsed_globals):
|
|
225
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
226
|
|
227
227
|
|
228
|
+
def doGetSessionToken(args, parsed_globals):
|
229
|
+
g_param = parse_global_arg(parsed_globals)
|
230
|
+
|
231
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
232
|
+
cred = credential.CVMRoleCredential()
|
233
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
234
|
+
cred = credential.STSAssumeRoleCredential(
|
235
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
236
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
237
|
+
)
|
238
|
+
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):
|
239
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
240
|
+
else:
|
241
|
+
cred = credential.Credential(
|
242
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
243
|
+
)
|
244
|
+
http_profile = HttpProfile(
|
245
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
246
|
+
reqMethod="POST",
|
247
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
248
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
249
|
+
)
|
250
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
251
|
+
if g_param[OptionsDefine.Language]:
|
252
|
+
profile.language = g_param[OptionsDefine.Language]
|
253
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
254
|
+
client = mod.StsClient(cred, g_param[OptionsDefine.Region], profile)
|
255
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
256
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
+
model = models.GetSessionTokenRequest()
|
258
|
+
model.from_json_string(json.dumps(args))
|
259
|
+
start_time = time.time()
|
260
|
+
while True:
|
261
|
+
rsp = client.GetSessionToken(model)
|
262
|
+
result = rsp.to_json_string()
|
263
|
+
try:
|
264
|
+
json_obj = json.loads(result)
|
265
|
+
except TypeError as e:
|
266
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
267
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
268
|
+
break
|
269
|
+
cur_time = time.time()
|
270
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
271
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
272
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
273
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
274
|
+
else:
|
275
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
276
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
277
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
|
+
|
279
|
+
|
228
280
|
def doGetCallerIdentity(args, parsed_globals):
|
229
281
|
g_param = parse_global_arg(parsed_globals)
|
230
282
|
|
@@ -344,6 +396,7 @@ ACTION_MAP = {
|
|
344
396
|
"QueryApiKey": doQueryApiKey,
|
345
397
|
"AssumeRole": doAssumeRole,
|
346
398
|
"AssumeRoleWithWebIdentity": doAssumeRoleWithWebIdentity,
|
399
|
+
"GetSessionToken": doGetSessionToken,
|
347
400
|
"GetCallerIdentity": doGetCallerIdentity,
|
348
401
|
"AssumeRoleWithSAML": doAssumeRoleWithSAML,
|
349
402
|
|