tccli 3.0.1330.1__py2.py3-none-any.whl → 3.0.1333.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/asr/v20190614/api.json +1 -1
- tccli/services/autoscaling/v20180419/api.json +1 -1
- tccli/services/bmvpc/v20180625/api.json +36 -36
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +71 -2
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +37 -37
- tccli/services/cdn/v20180606/api.json +5 -5
- tccli/services/cdn/v20180606/examples.json +5 -5
- tccli/services/cfw/v20190904/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +11 -1
- tccli/services/clb/v20180317/api.json +18 -0
- tccli/services/cwp/v20180228/api.json +4 -4
- tccli/services/dbbrain/v20210527/api.json +1 -0
- tccli/services/dc/v20180410/api.json +39 -0
- tccli/services/dnspod/dnspod_client.py +106 -0
- tccli/services/dnspod/v20210323/api.json +509 -2
- tccli/services/dnspod/v20210323/examples.json +17 -1
- tccli/services/emr/v20190103/api.json +2 -2
- tccli/services/ess/ess_client.py +57 -4
- tccli/services/ess/v20201111/api.json +63 -2
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/faceid/v20180301/api.json +4 -4
- tccli/services/goosefs/v20220519/api.json +2 -2
- tccli/services/gs/gs_client.py +163 -4
- tccli/services/gs/v20191118/api.json +216 -0
- tccli/services/gs/v20191118/examples.json +24 -0
- tccli/services/ioa/ioa_client.py +167 -8
- tccli/services/ioa/v20220601/api.json +541 -1
- tccli/services/ioa/v20220601/examples.json +42 -0
- tccli/services/iotexplorer/v20190423/api.json +12 -12
- tccli/services/iotexplorer/v20190423/examples.json +2 -2
- tccli/services/live/v20180801/api.json +3 -3
- tccli/services/lke/lke_client.py +699 -63
- tccli/services/lke/v20231130/api.json +1754 -79
- tccli/services/lke/v20231130/examples.json +96 -0
- tccli/services/lkeap/v20240522/examples.json +5 -5
- tccli/services/lowcode/v20210108/api.json +41 -1
- tccli/services/lowcode/v20210108/examples.json +2 -2
- tccli/services/ocr/ocr_client.py +532 -320
- tccli/services/ocr/v20181119/api.json +545 -8
- tccli/services/ocr/v20181119/examples.json +32 -0
- tccli/services/sms/v20190711/api.json +4 -4
- tccli/services/sms/v20210111/api.json +4 -4
- tccli/services/ssl/v20191205/api.json +4 -4
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/tat/v20201028/api.json +1 -1
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/tke/tke_client.py +106 -0
- tccli/services/tke/v20180525/api.json +124 -0
- tccli/services/tke/v20180525/examples.json +16 -0
- tccli/services/trtc/v20190722/api.json +2 -2
- tccli/services/tsf/v20180326/api.json +46 -17
- tccli/services/tsf/v20180326/examples.json +10 -10
- tccli/services/vpc/v20170312/api.json +5 -5
- tccli/services/vpc/v20170312/examples.json +6 -6
- {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/RECORD +63 -63
- {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/license_files/LICENSE +0 -0
@@ -140,6 +140,30 @@
|
|
140
140
|
"title": "EstateCertOCR调用"
|
141
141
|
}
|
142
142
|
],
|
143
|
+
"ExtractDocBasic": [
|
144
|
+
{
|
145
|
+
"document": "文档抽取基础版",
|
146
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExtractDocBasic\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/SmartStructuralPro1.png\",\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"IsPdf\": true,\n \"PdfPageNumber\": 1,\n \"ItemNames\": [\n \"号码\"\n ],\n \"ReturnFullText\": false,\n \"ConfigId\": \"General\"\n}",
|
147
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"StructuralList\": [\n {\n \"Groups\": [\n {\n \"Lines\": [\n {\n \"Key\": {\n \"AutoName\": \"号码\",\n \"ConfigName\": \"number\"\n },\n \"Value\": {\n \"AutoContent\": \"176***101\",\n \"Coord\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n }\n }\n ]\n }\n ]\n }\n ],\n \"WordList\": [\n {\n \"DetectedText\": \"ORD0****9\",\n \"Coord\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n }\n ],\n \"RequestId\": \"137****9\"\n }\n}",
|
148
|
+
"title": "文档抽取基础版"
|
149
|
+
}
|
150
|
+
],
|
151
|
+
"ExtractDocMulti": [
|
152
|
+
{
|
153
|
+
"document": "文档抽取多模态",
|
154
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExtractDocMulti\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/SmartStructuralPro1.png\",\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"PdfPageNumber\": 1,\n \"EnableCoord\": false,\n \"ItemNames\": [\n \"号码\"\n ],\n \"ReturnFullText\": false,\n \"ConfigId\": \"General\"\n}",
|
155
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"StructuralList\": [\n {\n \"Groups\": [\n {\n \"Lines\": [\n {\n \"Key\": {\n \"AutoName\": \"号码\",\n \"ConfigName\": \"number\"\n },\n \"Value\": {\n \"AutoContent\": \"176***101\",\n \"Coord\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n }\n }\n ]\n }\n ]\n }\n ],\n \"WordList\": [\n {\n \"DetectedText\": \"ORD0****9\",\n \"Coord\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n }\n ],\n \"RequestId\": \"2378****90\"\n }\n}",
|
156
|
+
"title": "文档抽取多模态"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"ExtractDocMultiPro": [
|
160
|
+
{
|
161
|
+
"document": "文档抽取多模态Pro",
|
162
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExtractDocMultiPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/SmartStructuralPro1.png\",\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"PdfPageNumber\": 1,\n \"EnableCoord\": false,\n \"ItemNames\": [\n \"号码\"\n ],\n \"ReturnFullText\": false,\n \"ConfigId\": \"DispatchWeightNote\"\n}",
|
163
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"StructuralList\": [\n {\n \"Groups\": [\n {\n \"Lines\": [\n {\n \"Key\": {\n \"AutoName\": \"号码\",\n \"ConfigName\": \"number\"\n },\n \"Value\": {\n \"AutoContent\": \"176***101\",\n \"Coord\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n }\n }\n ]\n }\n ]\n }\n ],\n \"WordList\": [\n {\n \"DetectedText\": \"ORD0****9\",\n \"Coord\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n }\n ],\n \"RequestId\": \"2378****90\"\n }\n}",
|
164
|
+
"title": "文档抽取多模态Pro"
|
165
|
+
}
|
166
|
+
],
|
143
167
|
"FinanBillOCR": [
|
144
168
|
{
|
145
169
|
"document": "金融票据整单识别示例代码",
|
@@ -242,6 +266,14 @@
|
|
242
266
|
"title": "HKIDCardOCR调用"
|
243
267
|
}
|
244
268
|
],
|
269
|
+
"HandwritingEssayOCR": [
|
270
|
+
{
|
271
|
+
"document": "中英文手写",
|
272
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: HandwritingEssayOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/SmartStructuralPro1.png\",\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"PdfPageNumber\": 1\n}",
|
273
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"RequestId\": \"40f4b618-406c-47ad-b83d-137b500d7c5d\",\n \"WordList\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1,\\\"ParagType\\\":0,\\\"DetectNo\\\":1}}\",\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 282,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 282,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 860,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 860,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"自杨树,谢谢你教会了我\",\n \"WordCoord\": [\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 282,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 282,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 334,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 334,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"自\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 334,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 334,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 387,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 387,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"杨\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 387,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 387,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 439,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 439,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"树\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 439,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 439,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 492,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 492,\n \"Y\": 63\n }\n },\n \"DetectedText\": \",\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 492,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 492,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 544,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 544,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"谢\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 544,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 544,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 597,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 597,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"谢\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 597,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 597,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 649,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 649,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"你\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 649,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 649,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 702,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 702,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"教\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 702,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 702,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 754,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 754,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"会\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 754,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 754,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 807,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 807,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"了\"\n },\n {\n \"Coord\": {\n \"LeftBottom\": {\n \"X\": 807,\n \"Y\": 122\n },\n \"LeftTop\": {\n \"X\": 807,\n \"Y\": 63\n },\n \"RightBottom\": {\n \"X\": 860,\n \"Y\": 122\n },\n \"RightTop\": {\n \"X\": 860,\n \"Y\": 63\n }\n },\n \"DetectedText\": \"我\"\n }\n ]\n }\n ]\n }\n}",
|
274
|
+
"title": "中英文手写"
|
275
|
+
}
|
276
|
+
],
|
245
277
|
"HmtResidentPermitOCR": [
|
246
278
|
{
|
247
279
|
"document": "",
|
@@ -160,7 +160,7 @@
|
|
160
160
|
},
|
161
161
|
{
|
162
162
|
"disabled": false,
|
163
|
-
"document": "签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):\n0:公司,可选 DocumentType 有(0,1)。\n1:APP,可选 DocumentType 有(0,1,2,3,4) 。\n4:商标,可选 DocumentType 有(7)。\n5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。\n注1:必须按照对应关系选择证明类型,否则会审核失败。\n注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)
|
163
|
+
"document": "签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):\n0:公司,可选 DocumentType 有(0,1)。\n1:APP,可选 DocumentType 有(0,1,2,3,4) 。\n4:商标,可选 DocumentType 有(7)。\n5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。\n注1:必须按照对应关系选择证明类型,否则会审核失败。\n注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。",
|
164
164
|
"example": "0",
|
165
165
|
"member": "uint64",
|
166
166
|
"name": "SignType",
|
@@ -169,7 +169,7 @@
|
|
169
169
|
},
|
170
170
|
{
|
171
171
|
"disabled": false,
|
172
|
-
"document": "证明类型:\n0:三证合一。\n1:企业营业执照。\n2:组织机构代码证书。\n3:社会信用代码证书。\n4:应用后台管理截图(个人开发APP)。\n7:商标注册书。\n注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)
|
172
|
+
"document": "证明类型:\n0:三证合一。\n1:企业营业执照。\n2:组织机构代码证书。\n3:社会信用代码证书。\n4:应用后台管理截图(个人开发APP)。\n7:商标注册书。\n注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。",
|
173
173
|
"example": "1",
|
174
174
|
"member": "uint64",
|
175
175
|
"name": "DocumentType",
|
@@ -944,7 +944,7 @@
|
|
944
944
|
},
|
945
945
|
{
|
946
946
|
"disabled": false,
|
947
|
-
"document": "签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):\n0:公司,可选 DocumentType 有(0,1)。\n1:APP,可选 DocumentType 有(0,1,2,3,4) 。\n4:商标,可选 DocumentType 有(7)。\n5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。\n注1:必须按照对应关系选择证明类型,否则会审核失败。\n注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)
|
947
|
+
"document": "签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):\n0:公司,可选 DocumentType 有(0,1)。\n1:APP,可选 DocumentType 有(0,1,2,3,4) 。\n4:商标,可选 DocumentType 有(7)。\n5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。\n注1:必须按照对应关系选择证明类型,否则会审核失败。\n注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。",
|
948
948
|
"example": "0",
|
949
949
|
"member": "uint64",
|
950
950
|
"name": "SignType",
|
@@ -953,7 +953,7 @@
|
|
953
953
|
},
|
954
954
|
{
|
955
955
|
"disabled": false,
|
956
|
-
"document": "证明类型:\n0:三证合一。\n1:企业营业执照。\n2:组织机构代码证书。\n3:社会信用代码证书。\n4:应用后台管理截图(个人开发APP)。\n7:商标注册书。\n注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)
|
956
|
+
"document": "证明类型:\n0:三证合一。\n1:企业营业执照。\n2:组织机构代码证书。\n3:社会信用代码证书。\n4:应用后台管理截图(个人开发APP)。\n7:商标注册书。\n注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。",
|
957
957
|
"example": "1",
|
958
958
|
"member": "uint64",
|
959
959
|
"name": "DocumentType",
|
@@ -164,7 +164,7 @@
|
|
164
164
|
},
|
165
165
|
{
|
166
166
|
"disabled": false,
|
167
|
-
"document": "签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):\n0:公司,可选 DocumentType 有(0,1)。\n1:APP,可选 DocumentType 有(0,1,2,3,4) 。\n4:商标,可选 DocumentType 有(7)。\n5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。\n注1:必须按照对应关系选择证明类型,否则会审核失败。\n注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)
|
167
|
+
"document": "签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):\n0:公司,可选 DocumentType 有(0,1)。\n1:APP,可选 DocumentType 有(0,1,2,3,4) 。\n4:商标,可选 DocumentType 有(7)。\n5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。\n注1:必须按照对应关系选择证明类型,否则会审核失败。\n注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。",
|
168
168
|
"example": "0",
|
169
169
|
"member": "uint64",
|
170
170
|
"name": "SignType",
|
@@ -173,7 +173,7 @@
|
|
173
173
|
},
|
174
174
|
{
|
175
175
|
"disabled": false,
|
176
|
-
"document": "证明类型:\n0:三证合一。\n1:企业营业执照。\n2:组织机构代码证书。\n3:社会信用代码证书。\n4:应用后台管理截图(个人开发APP)。\n7:商标注册书。\n注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)
|
176
|
+
"document": "证明类型:\n0:三证合一。\n1:企业营业执照。\n2:组织机构代码证书。\n3:社会信用代码证书。\n4:应用后台管理截图(个人开发APP)。\n7:商标注册书。\n注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。",
|
177
177
|
"example": "1",
|
178
178
|
"member": "uint64",
|
179
179
|
"name": "DocumentType",
|
@@ -1003,7 +1003,7 @@
|
|
1003
1003
|
},
|
1004
1004
|
{
|
1005
1005
|
"disabled": false,
|
1006
|
-
"document": "签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):\n0:公司,可选 DocumentType 有(0,1)。\n1:APP,可选 DocumentType 有(0,1,2,3,4) 。\n4:商标,可选 DocumentType 有(7)。\n5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。\n注1:必须按照对应关系选择证明类型,否则会审核失败。\n注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)
|
1006
|
+
"document": "签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):\n0:公司,可选 DocumentType 有(0,1)。\n1:APP,可选 DocumentType 有(0,1,2,3,4) 。\n4:商标,可选 DocumentType 有(7)。\n5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。\n注1:必须按照对应关系选择证明类型,否则会审核失败。\n注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。",
|
1007
1007
|
"example": "0",
|
1008
1008
|
"member": "uint64",
|
1009
1009
|
"name": "SignType",
|
@@ -1012,7 +1012,7 @@
|
|
1012
1012
|
},
|
1013
1013
|
{
|
1014
1014
|
"disabled": false,
|
1015
|
-
"document": "证明类型:\n0:三证合一。\n1:企业营业执照。\n2:组织机构代码证书。\n3:社会信用代码证书。\n4:应用后台管理截图(个人开发APP)。\n7:商标注册书。\n注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)
|
1015
|
+
"document": "证明类型:\n0:三证合一。\n1:企业营业执照。\n2:组织机构代码证书。\n3:社会信用代码证书。\n4:应用后台管理截图(个人开发APP)。\n7:商标注册书。\n注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。",
|
1016
1016
|
"example": "1",
|
1017
1017
|
"member": "uint64",
|
1018
1018
|
"name": "DocumentType",
|
@@ -421,14 +421,14 @@
|
|
421
421
|
"status": "online"
|
422
422
|
},
|
423
423
|
"UploadConfirmLetter": {
|
424
|
-
"document": "本接口(UploadConfirmLetter
|
424
|
+
"document": "本接口(UploadConfirmLetter)上传证书确认函,不再维护其功能,请用户前往腾讯云证书控制台上传证书确认函",
|
425
425
|
"input": "UploadConfirmLetterRequest",
|
426
426
|
"name": "上传证书确认函",
|
427
427
|
"output": "UploadConfirmLetterResponse",
|
428
428
|
"status": "online"
|
429
429
|
},
|
430
430
|
"UploadRevokeLetter": {
|
431
|
-
"document": "本接口(UploadRevokeLetter
|
431
|
+
"document": "本接口(UploadRevokeLetter)上传证书吊销确认函,不再维护其功能,请用户前往腾讯云证书控制台上传证书吊销确认函",
|
432
432
|
"input": "UploadRevokeLetterRequest",
|
433
433
|
"name": "上传证书吊销确认函",
|
434
434
|
"output": "UploadRevokeLetterResponse",
|
@@ -1508,7 +1508,7 @@
|
|
1508
1508
|
},
|
1509
1509
|
{
|
1510
1510
|
"disabled": false,
|
1511
|
-
"document": "密钥对参数,RSA支持2048,4096。ECC仅支持prime256v1
|
1511
|
+
"document": "密钥对参数,RSA支持2048,4096。ECC仅支持prime256v1。当 CSR 生成方式为online的时候,此参数必填。\n",
|
1512
1512
|
"example": "2048",
|
1513
1513
|
"member": "string",
|
1514
1514
|
"name": "CsrKeyParameter",
|
@@ -1517,7 +1517,7 @@
|
|
1517
1517
|
},
|
1518
1518
|
{
|
1519
1519
|
"disabled": false,
|
1520
|
-
"document": "加密算法,取值为ECC、RSA, 默认为RSA
|
1520
|
+
"document": "加密算法,取值为ECC、RSA, 默认为RSA。当 CSR 生成方式为online的时候,此参数必填。",
|
1521
1521
|
"example": "RSA",
|
1522
1522
|
"member": "string",
|
1523
1523
|
"name": "CsrEncryptAlgo",
|
@@ -550,7 +550,7 @@
|
|
550
550
|
{
|
551
551
|
"document": "",
|
552
552
|
"input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeManagers\n<公共请求参数>\n\n{\n \"CompanyId\": 89002,\n \"Offset\": 0,\n \"Limit\": 10,\n \"ManagerName\": \"luke\",\n \"ManagerMail\": \"luke@qq.com\",\n \"Status\": \"ok\",\n \"SearchKey\": \"luke\"\n}",
|
553
|
-
"output": "{\n \"Response\": {\n \"Managers\": [\n {\n \"Status\": \"ok\",\n \"ManagerFirstName\": \"luke\",\n \"ManagerLastName\": \"zhang\",\n \"ManagerPosition\": \"SRE\",\n \"ManagerPhone\": \"18*******99\",\n \"ManagerMail\": \"luke@qq.com\",\n \"ManagerDepartment\": \"IT\",\n \"CreateTime\": \"2021-09-11 12:00:00\",\n \"DomainCount\": 0,\n \"CertCount\": 0,\n \"ManagerId\": 0,\n \"ExpireTime\": \"2022-09-11 12:00:00\",\n \"SubmitAuditTime\": \"2022-08-11 12:00:00\",\n \"VerifyTime\": \"2022-09-01 12:00:00\",\n \"StatusInfo\": [\n {\n \"Type\": \"ov\",\n \"Status\": \"active\",\n \"CreateTime\": \"2021-09-11 12:00:00\",\n \"ExpireTime\": \"2022-09-11 12:00:00\"\n }\n ]\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"14727a68-3b90-4408-99c9-dea6d7de9456\"\n }\n}",
|
553
|
+
"output": "{\n \"Response\": {\n \"Managers\": [\n {\n \"Status\": \"ok\",\n \"ManagerFirstName\": \"luke\",\n \"ManagerLastName\": \"zhang\",\n \"ManagerPosition\": \"SRE\",\n \"ManagerPhone\": \"18*******99\",\n \"ManagerMail\": \"luke@qq.com\",\n \"ManagerDepartment\": \"IT\",\n \"CreateTime\": \"2021-09-11 12:00:00\",\n \"DomainCount\": 0,\n \"CertCount\": 0,\n \"ManagerId\": 0,\n \"ExpireTime\": \"2022-09-11 12:00:00\",\n \"SubmitAuditTime\": \"2022-08-11 12:00:00\",\n \"VerifyTime\": \"2022-09-01 12:00:00\",\n \"StatusInfo\": [\n {\n \"Type\": \"ov\",\n \"Status\": \"active\",\n \"CreateTime\": \"2021-09-11 12:00:00\",\n \"ExpireTime\": \"2022-09-11 12:00:00\",\n \"ManagerPreAuditDomains\": []\n }\n ]\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"14727a68-3b90-4408-99c9-dea6d7de9456\"\n }\n}",
|
554
554
|
"title": "查询管理人列表"
|
555
555
|
}
|
556
556
|
],
|
@@ -1675,7 +1675,7 @@
|
|
1675
1675
|
},
|
1676
1676
|
{
|
1677
1677
|
"disabled": false,
|
1678
|
-
"document": "过滤器列表。每次请求的 `Filters` 的上限为 10,`Filter.Values` 的上限为 5。参数不支持同时指定 `InstanceIds` 和 `Filters` 。\n\n\n- instance-name\n\n按照【托管实例名称】进行过滤。\n类型:String\n必选:否\n\n- instance-id\n\n按照【托管实例ID】进行过滤。\n类型:String\n必选:否\n\n- register-code-id\n\n按照【托管实例注册码ID】进行过滤。可通过 [DescribeRegisterCodes(查询注册码)](https://cloud.tencent.com/document/api/1340/96925) 接口获取。\n类型:String\n必选:否\n\n- sys-name\n\n按照【操作系统类型】进行过滤,取值:Linux | Windows。\n类型:String\n必选:否\n\n- tag-key\n\n按照【标签键】进行过滤。\n类型:String\n必选:否\n\n- tag-value\n\n按照【标签值】进行过滤。\n类型:String\n必选:否\n\n- tag:tag-key\n\n按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。\n类型:String\n必选:否\n\n例如 Filter 为 {\"Name\": \"tag:key1\", \"Values\": [\"v1\", \"v2\"] } ,即查询所有标签为 key1:v1 或 key1:v2 的资源。\n\n",
|
1678
|
+
"document": "过滤器列表。每次请求的 `Filters` 的上限为 10,`Filter.Values` 的上限为 5。参数不支持同时指定 `InstanceIds` 和 `Filters` 。\n\n\n- instance-name\n\n按照【托管实例名称】进行过滤。\n类型:String\n必选:否\n\n- instance-id\n\n按照【托管实例ID】进行过滤。\n类型:String\n必选:否\n\n- register-status\n\n按照【托管实例状态】进行过滤,取值:Online | Offline。\n类型:String\n必选:否\n\n- local-ip\n\n按照【托管实例网卡IP】进行过滤。\n类型:String\n必选:否\n\n- register-code-id\n\n按照【托管实例注册码ID】进行过滤。可通过 [DescribeRegisterCodes(查询注册码)](https://cloud.tencent.com/document/api/1340/96925) 接口获取。\n类型:String\n必选:否\n\n- sys-name\n\n按照【操作系统类型】进行过滤,取值:Linux | Windows。\n类型:String\n必选:否\n\n- tag-key\n\n按照【标签键】进行过滤。\n类型:String\n必选:否\n\n- tag-value\n\n按照【标签值】进行过滤。\n类型:String\n必选:否\n\n- tag:tag-key\n\n按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。\n类型:String\n必选:否\n\n例如 Filter 为 {\"Name\": \"tag:key1\", \"Values\": [\"v1\", \"v2\"] } ,即查询所有标签为 key1:v1 或 key1:v2 的资源。\n\n",
|
1679
1679
|
"example": "[{\"name\":\"register-code-id\",\"value\":\"67c6df82-fa3e-48fb-9c17-07e3e1e9c2c3\"}]",
|
1680
1680
|
"member": "Filter",
|
1681
1681
|
"name": "Filters",
|
@@ -15376,7 +15376,7 @@
|
|
15376
15376
|
},
|
15377
15377
|
{
|
15378
15378
|
"disabled": false,
|
15379
|
-
"document": "
|
15379
|
+
"document": "该负载均衡实例绑的四层代理实例的列表。",
|
15380
15380
|
"example": "[\"sid-asdfsd1asdf\", \"sid-8asdfjasdfl\"]",
|
15381
15381
|
"member": "string",
|
15382
15382
|
"name": "L4UsedList",
|
tccli/services/tke/tke_client.py
CHANGED
@@ -2827,6 +2827,58 @@ def doDeleteImageCaches(args, parsed_globals):
|
|
2827
2827
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2828
2828
|
|
2829
2829
|
|
2830
|
+
def doModifyMasterComponent(args, parsed_globals):
|
2831
|
+
g_param = parse_global_arg(parsed_globals)
|
2832
|
+
|
2833
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2834
|
+
cred = credential.CVMRoleCredential()
|
2835
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2836
|
+
cred = credential.STSAssumeRoleCredential(
|
2837
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2838
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2839
|
+
)
|
2840
|
+
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):
|
2841
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2842
|
+
else:
|
2843
|
+
cred = credential.Credential(
|
2844
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2845
|
+
)
|
2846
|
+
http_profile = HttpProfile(
|
2847
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2848
|
+
reqMethod="POST",
|
2849
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2850
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2851
|
+
)
|
2852
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2853
|
+
if g_param[OptionsDefine.Language]:
|
2854
|
+
profile.language = g_param[OptionsDefine.Language]
|
2855
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2856
|
+
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
2857
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2858
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2859
|
+
model = models.ModifyMasterComponentRequest()
|
2860
|
+
model.from_json_string(json.dumps(args))
|
2861
|
+
start_time = time.time()
|
2862
|
+
while True:
|
2863
|
+
rsp = client.ModifyMasterComponent(model)
|
2864
|
+
result = rsp.to_json_string()
|
2865
|
+
try:
|
2866
|
+
json_obj = json.loads(result)
|
2867
|
+
except TypeError as e:
|
2868
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2869
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2870
|
+
break
|
2871
|
+
cur_time = time.time()
|
2872
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2873
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2874
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2875
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2876
|
+
else:
|
2877
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2878
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2879
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2880
|
+
|
2881
|
+
|
2830
2882
|
def doDeleteClusterRouteTable(args, parsed_globals):
|
2831
2883
|
g_param = parse_global_arg(parsed_globals)
|
2832
2884
|
|
@@ -11355,6 +11407,58 @@ def doModifyNodePool(args, parsed_globals):
|
|
11355
11407
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
11356
11408
|
|
11357
11409
|
|
11410
|
+
def doDescribeMasterComponent(args, parsed_globals):
|
11411
|
+
g_param = parse_global_arg(parsed_globals)
|
11412
|
+
|
11413
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
11414
|
+
cred = credential.CVMRoleCredential()
|
11415
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
11416
|
+
cred = credential.STSAssumeRoleCredential(
|
11417
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
11418
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
11419
|
+
)
|
11420
|
+
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):
|
11421
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
11422
|
+
else:
|
11423
|
+
cred = credential.Credential(
|
11424
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
11425
|
+
)
|
11426
|
+
http_profile = HttpProfile(
|
11427
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
11428
|
+
reqMethod="POST",
|
11429
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
11430
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
11431
|
+
)
|
11432
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
11433
|
+
if g_param[OptionsDefine.Language]:
|
11434
|
+
profile.language = g_param[OptionsDefine.Language]
|
11435
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
11436
|
+
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
11437
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
11438
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
11439
|
+
model = models.DescribeMasterComponentRequest()
|
11440
|
+
model.from_json_string(json.dumps(args))
|
11441
|
+
start_time = time.time()
|
11442
|
+
while True:
|
11443
|
+
rsp = client.DescribeMasterComponent(model)
|
11444
|
+
result = rsp.to_json_string()
|
11445
|
+
try:
|
11446
|
+
json_obj = json.loads(result)
|
11447
|
+
except TypeError as e:
|
11448
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
11449
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
11450
|
+
break
|
11451
|
+
cur_time = time.time()
|
11452
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
11453
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
11454
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
11455
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
11456
|
+
else:
|
11457
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
11458
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
11459
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
11460
|
+
|
11461
|
+
|
11358
11462
|
def doRenewReservedInstances(args, parsed_globals):
|
11359
11463
|
g_param = parse_global_arg(parsed_globals)
|
11360
11464
|
|
@@ -12670,6 +12774,7 @@ ACTION_MAP = {
|
|
12670
12774
|
"DescribeTKEEdgeClusterStatus": doDescribeTKEEdgeClusterStatus,
|
12671
12775
|
"CreateEdgeLogConfig": doCreateEdgeLogConfig,
|
12672
12776
|
"DeleteImageCaches": doDeleteImageCaches,
|
12777
|
+
"ModifyMasterComponent": doModifyMasterComponent,
|
12673
12778
|
"DeleteClusterRouteTable": doDeleteClusterRouteTable,
|
12674
12779
|
"ModifyPrometheusAlertPolicy": doModifyPrometheusAlertPolicy,
|
12675
12780
|
"UpdateAddon": doUpdateAddon,
|
@@ -12834,6 +12939,7 @@ ACTION_MAP = {
|
|
12834
12939
|
"DescribeEnableVpcCniProgress": doDescribeEnableVpcCniProgress,
|
12835
12940
|
"DescribePrometheusAlertRule": doDescribePrometheusAlertRule,
|
12836
12941
|
"ModifyNodePool": doModifyNodePool,
|
12942
|
+
"DescribeMasterComponent": doDescribeMasterComponent,
|
12837
12943
|
"RenewReservedInstances": doRenewReservedInstances,
|
12838
12944
|
"SyncPrometheusTemplate": doSyncPrometheusTemplate,
|
12839
12945
|
"DescribeClusterReleases": doDescribeClusterReleases,
|
@@ -861,6 +861,13 @@
|
|
861
861
|
"output": "DescribeLogSwitchesResponse",
|
862
862
|
"status": "online"
|
863
863
|
},
|
864
|
+
"DescribeMasterComponent": {
|
865
|
+
"document": "进行master组件停机故障演练时,获取master组件运行状态,支持kube-apiserver、kube-scheduler、kube-controller-manager",
|
866
|
+
"input": "DescribeMasterComponentRequest",
|
867
|
+
"name": "查询托管集群的master组件状态",
|
868
|
+
"output": "DescribeMasterComponentResponse",
|
869
|
+
"status": "online"
|
870
|
+
},
|
864
871
|
"DescribeOSImages": {
|
865
872
|
"document": "获取OS聚合信息",
|
866
873
|
"input": "DescribeOSImagesRequest",
|
@@ -1351,6 +1358,13 @@
|
|
1351
1358
|
"output": "ModifyClusterVirtualNodePoolResponse",
|
1352
1359
|
"status": "online"
|
1353
1360
|
},
|
1361
|
+
"ModifyMasterComponent": {
|
1362
|
+
"document": "修改master组件,支持kube-apiserver、kube-scheduler、kube-controller-manager副本数调整为0和恢复",
|
1363
|
+
"input": "ModifyMasterComponentRequest",
|
1364
|
+
"name": "修改托管集群master组件",
|
1365
|
+
"output": "ModifyMasterComponentResponse",
|
1366
|
+
"status": "online"
|
1367
|
+
},
|
1354
1368
|
"ModifyNodePoolDesiredCapacityAboutAsg": {
|
1355
1369
|
"document": "修改节点池关联伸缩组的期望实例数",
|
1356
1370
|
"input": "ModifyNodePoolDesiredCapacityAboutAsgRequest",
|
@@ -11939,6 +11953,62 @@
|
|
11939
11953
|
],
|
11940
11954
|
"type": "object"
|
11941
11955
|
},
|
11956
|
+
"DescribeMasterComponentRequest": {
|
11957
|
+
"document": "DescribeMasterComponent请求参数结构体",
|
11958
|
+
"members": [
|
11959
|
+
{
|
11960
|
+
"disabled": false,
|
11961
|
+
"document": "集群ID",
|
11962
|
+
"example": "cls-pd41w15e",
|
11963
|
+
"member": "string",
|
11964
|
+
"name": "ClusterId",
|
11965
|
+
"required": true,
|
11966
|
+
"type": "string"
|
11967
|
+
},
|
11968
|
+
{
|
11969
|
+
"disabled": false,
|
11970
|
+
"document": "master组件名称,支持kube-apiserver、kube-scheduler、kube-controller-manager",
|
11971
|
+
"example": "kube-apiserver",
|
11972
|
+
"member": "string",
|
11973
|
+
"name": "Component",
|
11974
|
+
"required": true,
|
11975
|
+
"type": "string"
|
11976
|
+
}
|
11977
|
+
],
|
11978
|
+
"type": "object"
|
11979
|
+
},
|
11980
|
+
"DescribeMasterComponentResponse": {
|
11981
|
+
"document": "DescribeMasterComponent返回参数结构体",
|
11982
|
+
"members": [
|
11983
|
+
{
|
11984
|
+
"disabled": false,
|
11985
|
+
"document": "master组件名称",
|
11986
|
+
"example": "kube-apiserver",
|
11987
|
+
"member": "string",
|
11988
|
+
"name": "Component",
|
11989
|
+
"output_required": true,
|
11990
|
+
"type": "string",
|
11991
|
+
"value_allowed_null": false
|
11992
|
+
},
|
11993
|
+
{
|
11994
|
+
"disabled": false,
|
11995
|
+
"document": "master组件状态,三种状态:running、updating、shutdown",
|
11996
|
+
"example": "running",
|
11997
|
+
"member": "string",
|
11998
|
+
"name": "Status",
|
11999
|
+
"output_required": true,
|
12000
|
+
"type": "string",
|
12001
|
+
"value_allowed_null": false
|
12002
|
+
},
|
12003
|
+
{
|
12004
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12005
|
+
"member": "string",
|
12006
|
+
"name": "RequestId",
|
12007
|
+
"type": "string"
|
12008
|
+
}
|
12009
|
+
],
|
12010
|
+
"type": "object"
|
12011
|
+
},
|
11942
12012
|
"DescribeOSImagesRequest": {
|
11943
12013
|
"document": "DescribeOSImages请求参数结构体",
|
11944
12014
|
"members": [],
|
@@ -19374,6 +19444,60 @@
|
|
19374
19444
|
],
|
19375
19445
|
"type": "object"
|
19376
19446
|
},
|
19447
|
+
"ModifyMasterComponentRequest": {
|
19448
|
+
"document": "ModifyMasterComponent请求参数结构体",
|
19449
|
+
"members": [
|
19450
|
+
{
|
19451
|
+
"disabled": false,
|
19452
|
+
"document": "集群ID",
|
19453
|
+
"example": "cls-pd41w15e",
|
19454
|
+
"member": "string",
|
19455
|
+
"name": "ClusterId",
|
19456
|
+
"required": true,
|
19457
|
+
"type": "string"
|
19458
|
+
},
|
19459
|
+
{
|
19460
|
+
"disabled": false,
|
19461
|
+
"document": "master组件名称,支持kube-apiserver、kube-scheduler、kube-controller-manager",
|
19462
|
+
"example": "kube-apiserver",
|
19463
|
+
"member": "string",
|
19464
|
+
"name": "Component",
|
19465
|
+
"required": true,
|
19466
|
+
"type": "string"
|
19467
|
+
},
|
19468
|
+
{
|
19469
|
+
"disabled": false,
|
19470
|
+
"document": "停机或恢复,值只能为:shutdown或restore",
|
19471
|
+
"example": "shutdown",
|
19472
|
+
"member": "string",
|
19473
|
+
"name": "Operation",
|
19474
|
+
"required": true,
|
19475
|
+
"type": "string"
|
19476
|
+
},
|
19477
|
+
{
|
19478
|
+
"disabled": false,
|
19479
|
+
"document": "为true时,不真正执行停机或恢复操作\t",
|
19480
|
+
"example": "false",
|
19481
|
+
"member": "bool",
|
19482
|
+
"name": "DryRun",
|
19483
|
+
"required": false,
|
19484
|
+
"type": "bool"
|
19485
|
+
}
|
19486
|
+
],
|
19487
|
+
"type": "object"
|
19488
|
+
},
|
19489
|
+
"ModifyMasterComponentResponse": {
|
19490
|
+
"document": "ModifyMasterComponent返回参数结构体",
|
19491
|
+
"members": [
|
19492
|
+
{
|
19493
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
19494
|
+
"member": "string",
|
19495
|
+
"name": "RequestId",
|
19496
|
+
"type": "string"
|
19497
|
+
}
|
19498
|
+
],
|
19499
|
+
"type": "object"
|
19500
|
+
},
|
19377
19501
|
"ModifyNodePoolDesiredCapacityAboutAsgRequest": {
|
19378
19502
|
"document": "ModifyNodePoolDesiredCapacityAboutAsg请求参数结构体",
|
19379
19503
|
"members": [
|
@@ -1020,6 +1020,14 @@
|
|
1020
1020
|
"title": "查询开关列表接口示例"
|
1021
1021
|
}
|
1022
1022
|
],
|
1023
|
+
"DescribeMasterComponent": [
|
1024
|
+
{
|
1025
|
+
"document": "",
|
1026
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckComponentVersion\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-pd41w15e\",\n \"Component\": \"kube-apiserver\"\n}",
|
1027
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1ac0d3ae-063e-4789-93fe-3c73e93191b9\",\n \"Component\": \"kube-apiserver\",\n \"Status\": \"Shutdown\"\n }\n}",
|
1028
|
+
"title": "获取kube-apiserver状态"
|
1029
|
+
}
|
1030
|
+
],
|
1023
1031
|
"DescribeOSImages": [
|
1024
1032
|
{
|
1025
1033
|
"document": "",
|
@@ -1688,6 +1696,14 @@
|
|
1688
1696
|
"title": "修改超级节点池"
|
1689
1697
|
}
|
1690
1698
|
],
|
1699
|
+
"ModifyMasterComponent": [
|
1700
|
+
{
|
1701
|
+
"document": "",
|
1702
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckComponentVersion\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-pd41w15e\",\n \"Component\": \"kube-apiserver\",\n \"Operation\": \"shutdown\",\n \"DryRun\": false\n}",
|
1703
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1ac0d3ae-063e-4789-93fe-3c73e93191b9\"\n }\n}",
|
1704
|
+
"title": "停机kube-apiserver"
|
1705
|
+
}
|
1706
|
+
],
|
1691
1707
|
"ModifyNodePoolDesiredCapacityAboutAsg": [
|
1692
1708
|
{
|
1693
1709
|
"document": "修改节点池关联伸缩组的期望实例数示例",
|
@@ -8454,7 +8454,7 @@
|
|
8454
8454
|
"members": [
|
8455
8455
|
{
|
8456
8456
|
"disabled": false,
|
8457
|
-
"document": "默认为0,表示不启用声纹。1
|
8457
|
+
"document": "默认为0,表示不启用声纹。1表示启用声纹,此时需要填写voiceprint id。",
|
8458
8458
|
"example": "1",
|
8459
8459
|
"member": "uint64",
|
8460
8460
|
"name": "Mode",
|
@@ -8465,7 +8465,7 @@
|
|
8465
8465
|
},
|
8466
8466
|
{
|
8467
8467
|
"disabled": false,
|
8468
|
-
"document": "
|
8468
|
+
"document": "VoicePrint Mode为1时需要填写,目前仅支持填写一个声纹id",
|
8469
8469
|
"example": "[\"your-voiceprint-id\"]",
|
8470
8470
|
"member": "string",
|
8471
8471
|
"name": "IdList",
|