tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1284.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/acp/v20220105/api.json +23 -23
- tccli/services/acp/v20220105/examples.json +2 -8
- tccli/services/advisor/v20200721/api.json +4 -2
- tccli/services/apm/v20210622/api.json +1 -1
- tccli/services/cdn/v20180606/api.json +4 -2
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfg/v20210820/api.json +5 -5
- tccli/services/clb/v20180317/api.json +20 -2
- tccli/services/cynosdb/v20190107/api.json +10 -0
- tccli/services/dbbrain/v20191016/api.json +17 -17
- tccli/services/dbbrain/v20210527/api.json +22 -22
- tccli/services/dcdb/v20180411/api.json +14 -4
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +128 -56
- tccli/services/dlc/v20210125/examples.json +3 -3
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/dts/v20180330/api.json +16 -16
- tccli/services/dts/v20211206/api.json +493 -488
- tccli/services/es/v20180416/api.json +3 -3
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +122 -1
- tccli/services/ess/v20201111/examples.json +26 -0
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +163 -0
- tccli/services/essbasic/v20210526/examples.json +26 -0
- tccli/services/goosefs/v20220519/api.json +26 -24
- tccli/services/goosefs/v20220519/examples.json +2 -2
- tccli/services/lke/v20231130/api.json +8 -8
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lowcode/v20210108/api.json +165 -165
- tccli/services/lowcode/v20210108/examples.json +5 -5
- tccli/services/mariadb/v20170312/api.json +12 -2
- tccli/services/mariadb/v20170312/examples.json +4 -4
- tccli/services/monitor/v20180724/api.json +7 -7
- tccli/services/monitor/v20180724/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +61 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +11 -2
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/rum/v20210622/api.json +2 -2
- tccli/services/scf/v20180416/api.json +40 -0
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +118 -212
- tccli/services/tdmq/v20200217/examples.json +0 -8
- tccli/services/tds/v20220801/api.json +2 -2
- tccli/services/tione/v20211111/api.json +41 -1
- tccli/services/tse/v20201207/api.json +207 -104
- tccli/services/vclm/v20240523/api.json +20 -2
- tccli/services/vdb/v20230616/api.json +62 -62
- tccli/services/vdb/v20230616/examples.json +2 -2
- tccli/services/waf/v20180125/api.json +143 -0
- tccli/services/waf/v20180125/examples.json +16 -0
- tccli/services/waf/waf_client.py +106 -0
- tccli/services/wedata/v20210820/api.json +965 -133
- tccli/services/wedata/v20210820/examples.json +24 -8
- tccli/services/wedata/wedata_client.py +106 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1284.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1284.1.dist-info}/RECORD +66 -66
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1284.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1284.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1284.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"CreateKnowledgeSet": [
|
4
4
|
{
|
5
5
|
"document": "创建微搭知识库",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1cf\",\n \"Name\": \"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1cf\",\n \"Name\": \"the_name\",\n \"Title\": \"the_title\",\n \"Desc\": \"the_desc\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
|
8
8
|
"title": "创建知识库"
|
9
9
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"DeleteKnowledgeSet": [
|
20
20
|
{
|
21
21
|
"document": "用于删除知识库",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1cf\",\n \"Name\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1cf\",\n \"Name\": \"name\"\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
|
24
24
|
"title": "删除知识库"
|
25
25
|
}
|
@@ -52,7 +52,7 @@
|
|
52
52
|
{
|
53
53
|
"document": "查询环境下的知识库列表",
|
54
54
|
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKnowledgeSetList\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-xxxx\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
55
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"KnowledgeSets\": [\n {\n \"Name\": \"
|
55
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"KnowledgeSets\": [\n {\n \"Name\": \"name\",\n \"Title\": \"title\",\n \"Desc\": \"desc\",\n \"Active\": \"ENABLED\",\n \"CreateTime\": \"2024-06-04 18:07:38\",\n \"UpdateTime\": \"2024-06-04 18:09:29\"\n }\n ],\n \"Total\": 1\n },\n \"RequestId\": \"f549082e-0cff-4026-96f6-a570d9f1c22d\"\n }\n}",
|
56
56
|
"title": "查询环境下的知识库列表"
|
57
57
|
}
|
58
58
|
],
|
@@ -60,14 +60,14 @@
|
|
60
60
|
{
|
61
61
|
"document": "根据关键字搜索知识库文档",
|
62
62
|
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchDocList\n<公共请求参数>\n\n{\n \"EnvId\": \"prod-1\",\n \"CollectionView\": \"view\",\n \"SearchKey\": \"key\",\n \"SearchValue\": \"value\",\n \"PageNo\": 1,\n \"PageSize\": 1\n}",
|
63
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"DocInfos\": [\n {\n \"CollectionViewName\": \"name\",\n \"DocSetId\": \"00-11\",\n \"DocSetName\": \"abc.md\",\n \"DocType\": \".md\",\n \"FileTitle\": \"title\",\n \"FileMetaData\": \"{\\\"key\\\":\\\"value\\\"}\",\n \"DocDesc\": \"
|
63
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DocInfos\": [\n {\n \"CollectionViewName\": \"name\",\n \"DocSetId\": \"00-11\",\n \"DocSetName\": \"abc.md\",\n \"DocType\": \".md\",\n \"FileTitle\": \"title\",\n \"FileMetaData\": \"{\\\"key\\\":\\\"value\\\"}\",\n \"DocDesc\": \"desc\",\n \"FileSize\": 0\n }\n ],\n \"Total\": 10\n },\n \"RequestId\": \"1cc82948-244f-4812-bb2a-25a8a473d312\"\n }\n}",
|
64
64
|
"title": "知识库文档搜索接口"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"UpdateKnowledgeSet": [
|
68
68
|
{
|
69
69
|
"document": "更新知识库状态",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-xxx\",\n \"Name\": \"
|
70
|
+
"input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateKnowledgeSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-xxx\",\n \"Name\": \"name\",\n \"Active\": \"ENABLED\"\n}",
|
71
71
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
|
72
72
|
"title": "更新知识库"
|
73
73
|
}
|
@@ -3596,6 +3596,16 @@
|
|
3596
3596
|
"type": "int",
|
3597
3597
|
"value_allowed_null": false
|
3598
3598
|
},
|
3599
|
+
{
|
3600
|
+
"disabled": false,
|
3601
|
+
"document": "文件下载链接路径前缀",
|
3602
|
+
"example": "http://newdtsdev-1301792469.cos.ap-guangzhou.myqcloud.com",
|
3603
|
+
"member": "string",
|
3604
|
+
"name": "UrlPrefix",
|
3605
|
+
"output_required": true,
|
3606
|
+
"type": "string",
|
3607
|
+
"value_allowed_null": false
|
3608
|
+
},
|
3599
3609
|
{
|
3600
3610
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3601
3611
|
"member": "string",
|
@@ -3676,7 +3686,7 @@
|
|
3676
3686
|
"example": "2019-04-06 00:31:10",
|
3677
3687
|
"member": "string",
|
3678
3688
|
"name": "StartTime",
|
3679
|
-
"
|
3689
|
+
"output_required": true,
|
3680
3690
|
"type": "string",
|
3681
3691
|
"value_allowed_null": false
|
3682
3692
|
},
|
@@ -3686,7 +3696,7 @@
|
|
3686
3696
|
"example": "2019-04-06 14:31:56",
|
3687
3697
|
"member": "string",
|
3688
3698
|
"name": "EndTime",
|
3689
|
-
"
|
3699
|
+
"output_required": true,
|
3690
3700
|
"type": "string",
|
3691
3701
|
"value_allowed_null": false
|
3692
3702
|
},
|
@@ -122,10 +122,10 @@
|
|
122
122
|
],
|
123
123
|
"DescribeBackupFiles": [
|
124
124
|
{
|
125
|
-
"document": "",
|
126
|
-
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupFiles\n<公共请求参数>\n\n{}",
|
127
|
-
"output": "{\n \"Response\": {\n \"Files\": [\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"
|
128
|
-
"title": "
|
125
|
+
"document": "该接口用于获取实例的备份列表",
|
126
|
+
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackupFiles\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsql-02badqa3\",\n \"BackupType\": \"Data\",\n \"Limit\": 20,\n \"Offset\": 0\n}",
|
127
|
+
"output": "{\n \"Response\": {\n \"Files\": [\n {\n \"BackupType\": \"Data\",\n \"EndTime\": \"2024-12-20 16:29:07\",\n \"FileName\": \"cos_xtrabackup+1734683337+20241220+162857+1507806831+xbstream.lz4\",\n \"FilePath\": \"cos_backup/tdsql/set_1734680376_202786203/xtrabackup/2024-12-20/cos_xtrabackup+1734683337+20241220+162857+1507806831+xbstream.lz4\",\n \"FileSize\": 13930740,\n \"InstanceId\": \"tdsql-02badqa3\",\n \"InstanceName\": \"QT4syxfv8.0\",\n \"InstanceStatus\": 2,\n \"ManualBackup\": 0,\n \"ShardId\": \"\",\n \"StartTime\": \"2024-12-20 16:28:57\",\n \"StorageClass\": \"STANDARD\"\n }\n ],\n \"RequestId\": \"549454bd-65ac-4507-8f75-65609c357328\",\n \"TotalCount\": 1,\n \"UrlPrefix\": \"http://newdtsdev-1301792469.cos.ap-guangzhou.myqcloud.com\"\n }\n}",
|
128
|
+
"title": "获取实例备份列表"
|
129
129
|
}
|
130
130
|
],
|
131
131
|
"DescribeBackupTime": [
|
@@ -10186,7 +10186,7 @@
|
|
10186
10186
|
{
|
10187
10187
|
"disabled": false,
|
10188
10188
|
"document": "策略组id",
|
10189
|
-
"example": "
|
10189
|
+
"example": "1247756",
|
10190
10190
|
"member": "int64",
|
10191
10191
|
"name": "GroupId",
|
10192
10192
|
"required": true,
|
@@ -10261,7 +10261,7 @@
|
|
10261
10261
|
{
|
10262
10262
|
"disabled": false,
|
10263
10263
|
"document": "最近编辑的用户uin",
|
10264
|
-
"example": "
|
10264
|
+
"example": "100040701662",
|
10265
10265
|
"member": "string",
|
10266
10266
|
"name": "LastEditUin",
|
10267
10267
|
"output_required": true,
|
@@ -10301,7 +10301,7 @@
|
|
10301
10301
|
{
|
10302
10302
|
"disabled": false,
|
10303
10303
|
"document": "阈值规则列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
10304
|
-
"example": "
|
10304
|
+
"example": "无",
|
10305
10305
|
"member": "DescribePolicyGroupInfoCondition",
|
10306
10306
|
"name": "ConditionsConfig",
|
10307
10307
|
"output_required": true,
|
@@ -10311,7 +10311,7 @@
|
|
10311
10311
|
{
|
10312
10312
|
"disabled": false,
|
10313
10313
|
"document": "产品事件规则列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
10314
|
-
"example": "
|
10314
|
+
"example": "无",
|
10315
10315
|
"member": "DescribePolicyGroupInfoEventCondition",
|
10316
10316
|
"name": "EventConfig",
|
10317
10317
|
"output_required": true,
|
@@ -10321,7 +10321,7 @@
|
|
10321
10321
|
{
|
10322
10322
|
"disabled": false,
|
10323
10323
|
"document": "用户接收人列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
10324
|
-
"example": "
|
10324
|
+
"example": "无",
|
10325
10325
|
"member": "DescribePolicyGroupInfoReceiverInfo",
|
10326
10326
|
"name": "ReceiverInfos",
|
10327
10327
|
"output_required": true,
|
@@ -10331,7 +10331,7 @@
|
|
10331
10331
|
{
|
10332
10332
|
"disabled": false,
|
10333
10333
|
"document": "用户回调信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
10334
|
-
"example": "
|
10334
|
+
"example": "无",
|
10335
10335
|
"member": "DescribePolicyGroupInfoCallback",
|
10336
10336
|
"name": "Callback",
|
10337
10337
|
"output_required": true,
|
@@ -10341,7 +10341,7 @@
|
|
10341
10341
|
{
|
10342
10342
|
"disabled": false,
|
10343
10343
|
"document": "模板策略组\n注意:此字段可能返回 null,表示取不到有效值。",
|
10344
|
-
"example": "
|
10344
|
+
"example": "无",
|
10345
10345
|
"member": "DescribePolicyGroupInfoConditionTpl",
|
10346
10346
|
"name": "ConditionsTemp",
|
10347
10347
|
"output_required": true,
|
@@ -853,8 +853,8 @@
|
|
853
853
|
"DescribePrometheusConfig": [
|
854
854
|
{
|
855
855
|
"document": "拉取prometheus配置",
|
856
|
-
"input": "https://monitor.tencentcloudapi.com/?Action=DescribePrometheusConfig\
|
857
|
-
"output": "{\n \"Response\": {\n \"Config\": \"
|
856
|
+
"input": "https://monitor.tencentcloudapi.com/?Action=DescribePrometheusConfig\n&InstanceId=prom-fdfasasf\n&ClusterType=tke\n&ClusterId=cls-gdgdge\n&<公共请求参数>",
|
857
|
+
"output": "{\n \"Response\": {\n \"Config\": \"global:\\n scrape_interval: 15s\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"test-sm\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"test-pm\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"test-rawjob\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"Probes\": [\n {\n \"Name\": \"test-probe\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"ImageNeedUpdate\": true,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
858
858
|
"title": "拉取prometheus配置"
|
859
859
|
}
|
860
860
|
],
|
@@ -603,7 +603,7 @@
|
|
603
603
|
"status": "online"
|
604
604
|
},
|
605
605
|
"VerifyOfdVatInvoiceOCR": {
|
606
|
-
"document": "本接口支持OFD
|
606
|
+
"document": "本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。",
|
607
607
|
"input": "VerifyOfdVatInvoiceOCRRequest",
|
608
608
|
"name": "OFD发票识别",
|
609
609
|
"output": "VerifyOfdVatInvoiceOCRResponse",
|
@@ -22972,7 +22972,7 @@
|
|
22972
22972
|
},
|
22973
22973
|
{
|
22974
22974
|
"disabled": false,
|
22975
|
-
"document": "OFD文件的 Base64
|
22975
|
+
"document": "OFD文件的 Base64 值。OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只使用OfdFileUrl。",
|
22976
22976
|
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
22977
22977
|
"member": "string",
|
22978
22978
|
"name": "OfdFileBase64",
|
@@ -198,10 +198,10 @@
|
|
198
198
|
],
|
199
199
|
"GeneralEfficientOCR": [
|
200
200
|
{
|
201
|
-
"document": "通用印刷体识别(精简版)示例",
|
201
|
+
"document": "通用印刷体识别(精简版)示例 , [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=GeneralEfficientOCR)",
|
202
202
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralEfficientOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralBasicOCR/GeneralBasicOCR1.jpg\"\n}",
|
203
203
|
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"Angel\": 0,\n \"RequestId\": \"389c588f-ae23-42f9-a34c-c5dfafc8fdd1\",\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"Sun\",\n \"ItemPolygon\": {\n \"Height\": 35,\n \"Width\": 71,\n \"X\": 467,\n \"Y\": 104\n },\n \"Polygon\": [\n {\n \"X\": 467,\n \"Y\": 104\n },\n {\n \"X\": 537,\n \"Y\": 104\n },\n {\n \"X\": 537,\n \"Y\": 138\n },\n {\n \"X\": 467,\n \"Y\": 138\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"1月8日\",\n \"ItemPolygon\": {\n \"Height\": 19,\n \"Width\": 55,\n \"X\": 474,\n \"Y\": 142\n },\n \"Polygon\": [\n {\n \"X\": 474,\n \"Y\": 142\n },\n {\n \"X\": 528,\n \"Y\": 142\n },\n {\n \"X\": 528,\n \"Y\": 160\n },\n {\n \"X\": 474,\n \"Y\": 160\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"八色鸫\",\n \"ItemPolygon\": {\n \"Height\": 29,\n \"Width\": 81,\n \"X\": 66,\n \"Y\": 443\n },\n \"Polygon\": [\n {\n \"X\": 66,\n \"Y\": 443\n },\n {\n \"X\": 146,\n \"Y\": 443\n },\n {\n \"X\": 146,\n \"Y\": 471\n },\n {\n \"X\": 66,\n \"Y\": 471\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 86,\n \"DetectedText\": \"Pilta nympha\",\n \"ItemPolygon\": {\n \"Height\": 19,\n \"Width\": 95,\n \"X\": 63,\n \"Y\": 482\n },\n \"Polygon\": [\n {\n \"X\": 63,\n \"Y\": 482\n },\n {\n \"X\": 157,\n \"Y\": 482\n },\n {\n \"X\": 157,\n \"Y\": 500\n },\n {\n \"X\": 63,\n \"Y\": 500\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 93,\n \"DetectedText\": \"八色鸫雌鸟和雄鸟样漂亮。它经常在亚热带的森林地面上走动,捕\",\n \"ItemPolygon\": {\n \"Height\": 20,\n \"Width\": 424,\n \"X\": 63,\n \"Y\": 505\n },\n \"Polygon\": [\n {\n \"X\": 63,\n \"Y\": 505\n },\n {\n \"X\": 486,\n \"Y\": 505\n },\n {\n \"X\": 486,\n \"Y\": 524\n },\n {\n \"X\": 63,\n \"Y\": 524\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"食落叶下的昆虫和蜥蜴等小动物,唱歌时会飞到树上。因为森林砍伐\",\n \"ItemPolygon\": {\n \"Height\": 20,\n \"Width\": 426,\n \"X\": 61,\n \"Y\": 529\n },\n \"Polygon\": [\n {\n \"X\": 61,\n \"Y\": 529\n },\n {\n \"X\": 486,\n \"Y\": 529\n },\n {\n \"X\": 486,\n \"Y\": 548\n },\n {\n \"X\": 61,\n \"Y\": 548\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"和非法的玩赏鸟贸易,现在它的数量已明显减少。\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 309,\n \"X\": 59,\n \"Y\": 555\n },\n \"Polygon\": [\n {\n \"X\": 59,\n \"Y\": 555\n },\n {\n \"X\": 367,\n \"Y\": 555\n },\n {\n \"X\": 367,\n \"Y\": 572\n },\n {\n \"X\": 59,\n \"Y\": 572\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n }\n ]\n }\n}",
|
204
|
-
"title": "通用印刷体识别(精简版)示例代码
|
204
|
+
"title": "通用印刷体识别(精简版)示例代码"
|
205
205
|
}
|
206
206
|
],
|
207
207
|
"GeneralFastOCR": [
|
@@ -3711,6 +3711,58 @@ def doDeletePolicy(args, parsed_globals):
|
|
3711
3711
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3712
3712
|
|
3713
3713
|
|
3714
|
+
def doUpdateOrganizationMembersPolicy(args, parsed_globals):
|
3715
|
+
g_param = parse_global_arg(parsed_globals)
|
3716
|
+
|
3717
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3718
|
+
cred = credential.CVMRoleCredential()
|
3719
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3720
|
+
cred = credential.STSAssumeRoleCredential(
|
3721
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3722
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3723
|
+
)
|
3724
|
+
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):
|
3725
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3726
|
+
else:
|
3727
|
+
cred = credential.Credential(
|
3728
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3729
|
+
)
|
3730
|
+
http_profile = HttpProfile(
|
3731
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3732
|
+
reqMethod="POST",
|
3733
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3734
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3735
|
+
)
|
3736
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3737
|
+
if g_param[OptionsDefine.Language]:
|
3738
|
+
profile.language = g_param[OptionsDefine.Language]
|
3739
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3740
|
+
client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
|
3741
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3742
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3743
|
+
model = models.UpdateOrganizationMembersPolicyRequest()
|
3744
|
+
model.from_json_string(json.dumps(args))
|
3745
|
+
start_time = time.time()
|
3746
|
+
while True:
|
3747
|
+
rsp = client.UpdateOrganizationMembersPolicy(model)
|
3748
|
+
result = rsp.to_json_string()
|
3749
|
+
try:
|
3750
|
+
json_obj = json.loads(result)
|
3751
|
+
except TypeError as e:
|
3752
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3753
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3754
|
+
break
|
3755
|
+
cur_time = time.time()
|
3756
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3757
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3758
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3759
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3760
|
+
else:
|
3761
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3762
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3763
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3764
|
+
|
3765
|
+
|
3714
3766
|
def doCreateGroup(args, parsed_globals):
|
3715
3767
|
g_param = parse_global_arg(parsed_globals)
|
3716
3768
|
|
@@ -7279,6 +7331,7 @@ ACTION_MAP = {
|
|
7279
7331
|
"AddPermissionPolicyToRoleConfiguration": doAddPermissionPolicyToRoleConfiguration,
|
7280
7332
|
"DeleteOrganizationMembersPolicy": doDeleteOrganizationMembersPolicy,
|
7281
7333
|
"DeletePolicy": doDeletePolicy,
|
7334
|
+
"UpdateOrganizationMembersPolicy": doUpdateOrganizationMembersPolicy,
|
7282
7335
|
"CreateGroup": doCreateGroup,
|
7283
7336
|
"DescribeShareUnitMembers": doDescribeShareUnitMembers,
|
7284
7337
|
"DismantleRoleConfiguration": doDismantleRoleConfiguration,
|
@@ -812,6 +812,13 @@
|
|
812
812
|
"output": "UpdateOrganizationMemberEmailBindResponse",
|
813
813
|
"status": "online"
|
814
814
|
},
|
815
|
+
"UpdateOrganizationMembersPolicy": {
|
816
|
+
"document": "修改组织成员访问策略",
|
817
|
+
"input": "UpdateOrganizationMembersPolicyRequest",
|
818
|
+
"name": "修改组织成员访问策略",
|
819
|
+
"output": "UpdateOrganizationMembersPolicyResponse",
|
820
|
+
"status": "online"
|
821
|
+
},
|
815
822
|
"UpdateOrganizationNode": {
|
816
823
|
"document": "更新企业组织节点",
|
817
824
|
"input": "UpdateOrganizationNodeRequest",
|
@@ -11618,6 +11625,60 @@
|
|
11618
11625
|
],
|
11619
11626
|
"type": "object"
|
11620
11627
|
},
|
11628
|
+
"UpdateOrganizationMembersPolicyRequest": {
|
11629
|
+
"document": "UpdateOrganizationMembersPolicy请求参数结构体",
|
11630
|
+
"members": [
|
11631
|
+
{
|
11632
|
+
"disabled": false,
|
11633
|
+
"document": "成员Uin列表。最多10个",
|
11634
|
+
"example": "[111111111111]",
|
11635
|
+
"member": "int64",
|
11636
|
+
"name": "MemberUins",
|
11637
|
+
"required": true,
|
11638
|
+
"type": "list"
|
11639
|
+
},
|
11640
|
+
{
|
11641
|
+
"disabled": false,
|
11642
|
+
"document": "成员访问策略Id。可通过DescribeOrganizationMemberPolicies获取",
|
11643
|
+
"example": "123",
|
11644
|
+
"member": "uint64",
|
11645
|
+
"name": "PolicyId",
|
11646
|
+
"required": true,
|
11647
|
+
"type": "int"
|
11648
|
+
},
|
11649
|
+
{
|
11650
|
+
"disabled": false,
|
11651
|
+
"document": "成员访问身份ID。可通过ListOrganizationIdentity获取",
|
11652
|
+
"example": "11",
|
11653
|
+
"member": "int64",
|
11654
|
+
"name": "IdentityId",
|
11655
|
+
"required": true,
|
11656
|
+
"type": "int"
|
11657
|
+
},
|
11658
|
+
{
|
11659
|
+
"disabled": false,
|
11660
|
+
"document": "策略描述。最大长度为128个字符",
|
11661
|
+
"example": "\"\"",
|
11662
|
+
"member": "string",
|
11663
|
+
"name": "Description",
|
11664
|
+
"required": false,
|
11665
|
+
"type": "string"
|
11666
|
+
}
|
11667
|
+
],
|
11668
|
+
"type": "object"
|
11669
|
+
},
|
11670
|
+
"UpdateOrganizationMembersPolicyResponse": {
|
11671
|
+
"document": "UpdateOrganizationMembersPolicy返回参数结构体",
|
11672
|
+
"members": [
|
11673
|
+
{
|
11674
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11675
|
+
"member": "string",
|
11676
|
+
"name": "RequestId",
|
11677
|
+
"type": "string"
|
11678
|
+
}
|
11679
|
+
],
|
11680
|
+
"type": "object"
|
11681
|
+
},
|
11621
11682
|
"UpdateOrganizationNodeRequest": {
|
11622
11683
|
"document": "UpdateOrganizationNode请求参数结构体",
|
11623
11684
|
"members": [
|
@@ -928,6 +928,14 @@
|
|
928
928
|
"title": "修改绑定成员邮箱"
|
929
929
|
}
|
930
930
|
],
|
931
|
+
"UpdateOrganizationMembersPolicy": [
|
932
|
+
{
|
933
|
+
"document": "",
|
934
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateOrganizationMembersPolicy\n<公共请求参数>\n\n{\n \"MemberUins\": [\n 111111111111\n ],\n \"PolicyId\": 123,\n \"IdentityId\": 1,\n \"Description\": \"\"\n}",
|
935
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a4868f21-fa38-4815-8e48-596b17c1b37\"\n }\n}",
|
936
|
+
"title": "修改组织成员访问策略"
|
937
|
+
}
|
938
|
+
],
|
931
939
|
"UpdateOrganizationNode": [
|
932
940
|
{
|
933
941
|
"document": "",
|
@@ -12274,8 +12274,8 @@
|
|
12274
12274
|
"members": [
|
12275
12275
|
{
|
12276
12276
|
"disabled": false,
|
12277
|
-
"document": "待变更实例 ID。",
|
12278
|
-
"example": "crs-
|
12277
|
+
"document": "待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。",
|
12278
|
+
"example": "crs-5qlr****",
|
12279
12279
|
"member": "string",
|
12280
12280
|
"name": "InstanceId",
|
12281
12281
|
"required": true,
|
@@ -12316,6 +12316,15 @@
|
|
12316
12316
|
"name": "NodeSet",
|
12317
12317
|
"required": false,
|
12318
12318
|
"type": "list"
|
12319
|
+
},
|
12320
|
+
{
|
12321
|
+
"disabled": false,
|
12322
|
+
"document": "切换时间。 \n- 1:维护时间窗操作:在设置的维护时间窗内执行操作。请通过接口[DescribeMaintenanceWindow](https://cloud.tencent.com/document/product/239/46336)查询设置的维护时间窗时间段。缩副本、扩缩分片、扩内存均支持在维护时间窗执行操作。\n- 2:立即操作:默认切换时刻。操作将立即执行,无需等待维护时间窗。",
|
12323
|
+
"example": "2",
|
12324
|
+
"member": "uint64",
|
12325
|
+
"name": "SwitchOption",
|
12326
|
+
"required": false,
|
12327
|
+
"type": "int"
|
12319
12328
|
}
|
12320
12329
|
],
|
12321
12330
|
"type": "object"
|
@@ -841,7 +841,7 @@
|
|
841
841
|
"UpgradeInstance": [
|
842
842
|
{
|
843
843
|
"document": "变更实例的内存配置",
|
844
|
-
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"crs-5qlr****\",\n \"MemSize\":
|
844
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"crs-5qlr****\",\n \"MemSize\": 4096\n}",
|
845
845
|
"output": "{\n \"Response\": {\n \"DealId\": \"6954227\",\n \"RequestId\": \"4daddc97-0005-45d8-b5b8-38514ec1e97c\"\n }\n}",
|
846
846
|
"title": "变更规格"
|
847
847
|
}
|
@@ -7080,13 +7080,13 @@
|
|
7080
7080
|
},
|
7081
7081
|
{
|
7082
7082
|
"disabled": false,
|
7083
|
-
"document": "kafka
|
7083
|
+
"document": "kafka旁路配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
7084
7084
|
"example": "Kafka",
|
7085
7085
|
"member": "Kafka",
|
7086
7086
|
"name": "Kafka",
|
7087
7087
|
"output_required": false,
|
7088
7088
|
"type": "object",
|
7089
|
-
"value_allowed_null":
|
7089
|
+
"value_allowed_null": true
|
7090
7090
|
}
|
7091
7091
|
],
|
7092
7092
|
"usage": "out"
|
@@ -1105,6 +1105,15 @@
|
|
1105
1105
|
"name": "WafConfig",
|
1106
1106
|
"required": false,
|
1107
1107
|
"type": "object"
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
"disabled": false,
|
1111
|
+
"document": "标签",
|
1112
|
+
"example": "无",
|
1113
|
+
"member": "Tag",
|
1114
|
+
"name": "Tags",
|
1115
|
+
"required": false,
|
1116
|
+
"type": "list"
|
1108
1117
|
}
|
1109
1118
|
],
|
1110
1119
|
"type": "object"
|
@@ -2055,6 +2064,17 @@
|
|
2055
2064
|
"required": false,
|
2056
2065
|
"type": "object",
|
2057
2066
|
"value_allowed_null": false
|
2067
|
+
},
|
2068
|
+
{
|
2069
|
+
"disabled": false,
|
2070
|
+
"document": "标签",
|
2071
|
+
"example": "无",
|
2072
|
+
"member": "Tag",
|
2073
|
+
"name": "Tags",
|
2074
|
+
"output_required": false,
|
2075
|
+
"required": false,
|
2076
|
+
"type": "list",
|
2077
|
+
"value_allowed_null": false
|
2058
2078
|
}
|
2059
2079
|
],
|
2060
2080
|
"usage": "both"
|
@@ -2839,6 +2859,16 @@
|
|
2839
2859
|
"type": "object",
|
2840
2860
|
"value_allowed_null": false
|
2841
2861
|
},
|
2862
|
+
{
|
2863
|
+
"disabled": false,
|
2864
|
+
"document": "标签",
|
2865
|
+
"example": "无",
|
2866
|
+
"member": "Tag",
|
2867
|
+
"name": "Tags",
|
2868
|
+
"output_required": false,
|
2869
|
+
"type": "list",
|
2870
|
+
"value_allowed_null": false
|
2871
|
+
},
|
2842
2872
|
{
|
2843
2873
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2844
2874
|
"member": "string",
|
@@ -7086,6 +7116,16 @@
|
|
7086
7116
|
"output_required": true,
|
7087
7117
|
"type": "string",
|
7088
7118
|
"value_allowed_null": true
|
7119
|
+
},
|
7120
|
+
{
|
7121
|
+
"disabled": false,
|
7122
|
+
"document": "与此触发器关联的资源。目前仅函数URL关联的自定义域名会返回",
|
7123
|
+
"example": "[{\\\"domain\\\":\\\"test.com\\\",\\\"PathMatch\\\":\\\"/*\\\"}]",
|
7124
|
+
"member": "string",
|
7125
|
+
"name": "BoundResources",
|
7126
|
+
"output_required": false,
|
7127
|
+
"type": "string",
|
7128
|
+
"value_allowed_null": false
|
7089
7129
|
}
|
7090
7130
|
],
|
7091
7131
|
"usage": "out"
|
@@ -2513,58 +2513,6 @@ def doDeleteCluster(args, parsed_globals):
|
|
2513
2513
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2514
2514
|
|
2515
2515
|
|
2516
|
-
def doCreateRocketMQVipInstance(args, parsed_globals):
|
2517
|
-
g_param = parse_global_arg(parsed_globals)
|
2518
|
-
|
2519
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2520
|
-
cred = credential.CVMRoleCredential()
|
2521
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2522
|
-
cred = credential.STSAssumeRoleCredential(
|
2523
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2524
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2525
|
-
)
|
2526
|
-
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):
|
2527
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2528
|
-
else:
|
2529
|
-
cred = credential.Credential(
|
2530
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2531
|
-
)
|
2532
|
-
http_profile = HttpProfile(
|
2533
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2534
|
-
reqMethod="POST",
|
2535
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
2536
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2537
|
-
)
|
2538
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2539
|
-
if g_param[OptionsDefine.Language]:
|
2540
|
-
profile.language = g_param[OptionsDefine.Language]
|
2541
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2542
|
-
client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
|
2543
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
2544
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2545
|
-
model = models.CreateRocketMQVipInstanceRequest()
|
2546
|
-
model.from_json_string(json.dumps(args))
|
2547
|
-
start_time = time.time()
|
2548
|
-
while True:
|
2549
|
-
rsp = client.CreateRocketMQVipInstance(model)
|
2550
|
-
result = rsp.to_json_string()
|
2551
|
-
try:
|
2552
|
-
json_obj = json.loads(result)
|
2553
|
-
except TypeError as e:
|
2554
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2555
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2556
|
-
break
|
2557
|
-
cur_time = time.time()
|
2558
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2559
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2560
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2561
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2562
|
-
else:
|
2563
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2564
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2565
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2566
|
-
|
2567
|
-
|
2568
2516
|
def doResetRocketMQConsumerOffSet(args, parsed_globals):
|
2569
2517
|
g_param = parse_global_arg(parsed_globals)
|
2570
2518
|
|
@@ -7557,7 +7505,7 @@ def doModifyRole(args, parsed_globals):
|
|
7557
7505
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7558
7506
|
|
7559
7507
|
|
7560
|
-
def
|
7508
|
+
def doCreateRocketMQVipInstance(args, parsed_globals):
|
7561
7509
|
g_param = parse_global_arg(parsed_globals)
|
7562
7510
|
|
7563
7511
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -7586,11 +7534,11 @@ def doDescribeRabbitMQVirtualHostList(args, parsed_globals):
|
|
7586
7534
|
client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
|
7587
7535
|
client._sdkVersion += ("_CLI_" + __version__)
|
7588
7536
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7589
|
-
model = models.
|
7537
|
+
model = models.CreateRocketMQVipInstanceRequest()
|
7590
7538
|
model.from_json_string(json.dumps(args))
|
7591
7539
|
start_time = time.time()
|
7592
7540
|
while True:
|
7593
|
-
rsp = client.
|
7541
|
+
rsp = client.CreateRocketMQVipInstance(model)
|
7594
7542
|
result = rsp.to_json_string()
|
7595
7543
|
try:
|
7596
7544
|
json_obj = json.loads(result)
|
@@ -7928,7 +7876,6 @@ ACTION_MAP = {
|
|
7928
7876
|
"DescribeCmqSubscriptionDetail": doDescribeCmqSubscriptionDetail,
|
7929
7877
|
"DescribeRabbitMQVirtualHost": doDescribeRabbitMQVirtualHost,
|
7930
7878
|
"DeleteCluster": doDeleteCluster,
|
7931
|
-
"CreateRocketMQVipInstance": doCreateRocketMQVipInstance,
|
7932
7879
|
"ResetRocketMQConsumerOffSet": doResetRocketMQConsumerOffSet,
|
7933
7880
|
"DescribeRabbitMQPermission": doDescribeRabbitMQPermission,
|
7934
7881
|
"DeleteRabbitMQPermission": doDeleteRabbitMQPermission,
|
@@ -8025,7 +7972,7 @@ ACTION_MAP = {
|
|
8025
7972
|
"DescribeRocketMQPublicAccessPoint": doDescribeRocketMQPublicAccessPoint,
|
8026
7973
|
"DeleteRabbitMQBinding": doDeleteRabbitMQBinding,
|
8027
7974
|
"ModifyRole": doModifyRole,
|
8028
|
-
"
|
7975
|
+
"CreateRocketMQVipInstance": doCreateRocketMQVipInstance,
|
8029
7976
|
"DeleteRocketMQEnvironmentRoles": doDeleteRocketMQEnvironmentRoles,
|
8030
7977
|
"DeleteCmqSubscribe": doDeleteCmqSubscribe,
|
8031
7978
|
"DescribeAllTenants": doDescribeAllTenants,
|