tccli 3.0.1326.1__py2.py3-none-any.whl → 3.0.1328.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/ams/v20201229/api.json +9 -9
- tccli/services/apm/v20210622/api.json +10 -1
- tccli/services/apm/v20210622/examples.json +2 -2
- tccli/services/bh/v20230418/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +2 -2
- tccli/services/cdb/v20170320/api.json +30 -12
- tccli/services/cdc/v20201214/api.json +5 -5
- tccli/services/cfs/v20190719/api.json +4 -4
- tccli/services/chc/chc_client.py +53 -0
- tccli/services/chc/v20230418/api.json +62 -0
- tccli/services/chc/v20230418/examples.json +8 -0
- tccli/services/clb/clb_client.py +53 -0
- tccli/services/clb/v20180317/api.json +100 -0
- tccli/services/clb/v20180317/examples.json +8 -0
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/cwp/v20180228/api.json +92 -1
- tccli/services/dbbrain/v20210527/api.json +4 -4
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +3 -3
- tccli/services/emr/v20190103/api.json +193 -9
- tccli/services/ess/ess_client.py +126 -20
- tccli/services/ess/v20201111/api.json +135 -1
- tccli/services/ess/v20201111/examples.json +22 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/gs/gs_client.py +836 -147
- tccli/services/gs/v20191118/api.json +964 -28
- tccli/services/gs/v20191118/examples.json +106 -2
- tccli/services/iotexplorer/v20190423/api.json +5 -5
- tccli/services/iotexplorer/v20190423/examples.json +1 -1
- tccli/services/lowcode/v20210108/api.json +60 -0
- tccli/services/mariadb/v20170312/api.json +10 -10
- tccli/services/monitor/monitor_client.py +117 -11
- tccli/services/monitor/v20180724/api.json +151 -0
- tccli/services/monitor/v20180724/examples.json +16 -0
- tccli/services/mrs/v20200910/api.json +1 -1
- tccli/services/oceanus/v20190422/api.json +15 -5
- tccli/services/oceanus/v20190422/examples.json +8 -2
- tccli/services/ocr/v20181119/api.json +74 -9
- tccli/services/partners/v20180321/api.json +7 -7
- tccli/services/privatedns/privatedns_client.py +53 -0
- tccli/services/privatedns/v20201028/api.json +179 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/tcss/v20201101/api.json +248 -35
- tccli/services/tcss/v20201101/examples.json +8 -8
- tccli/services/tem/tem_client.py +53 -0
- tccli/services/tem/v20210701/api.json +107 -0
- tccli/services/tem/v20210701/examples.json +8 -0
- tccli/services/teo/v20220901/api.json +807 -74
- tccli/services/teo/v20220901/examples.json +2 -2
- tccli/services/tms/v20201229/api.json +2 -2
- tccli/services/tms/v20201229/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +2 -2
- tccli/services/vclm/v20240523/api.json +173 -0
- tccli/services/vclm/v20240523/examples.json +16 -0
- tccli/services/vclm/vclm_client.py +106 -0
- tccli/services/vm/v20210922/api.json +13 -13
- tccli/services/vm/v20210922/examples.json +2 -2
- tccli/services/vod/v20180717/api.json +13 -11
- tccli/services/vod/v20180717/examples.json +4 -4
- tccli/services/vpc/v20170312/api.json +12 -3
- tccli/services/waf/v20180125/api.json +2 -2
- tccli/services/wedata/v20210820/api.json +952 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/RECORD +70 -70
- {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1326.1.dist-info → tccli-3.0.1328.1.dist-info}/license_files/LICENSE +0 -0
@@ -70,6 +70,13 @@
|
|
70
70
|
"output": "CreateExporterIntegrationResponse",
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
|
+
"CreateExternalCluster": {
|
74
|
+
"document": "注册外部集群到云上 TMP 实例",
|
75
|
+
"input": "CreateExternalClusterRequest",
|
76
|
+
"name": "注册外部 k8s 集群",
|
77
|
+
"output": "CreateExternalClusterResponse",
|
78
|
+
"status": "online"
|
79
|
+
},
|
73
80
|
"CreateGrafanaInstance": {
|
74
81
|
"document": "本接口(CreateGrafanaInstance)用于创建 Grafana 包年包月实例,默认基础版、到期自动续费、不可使用代金券。",
|
75
82
|
"input": "CreateGrafanaInstanceRequest",
|
@@ -462,6 +469,13 @@
|
|
462
469
|
"output": "DescribeExternalClusterRegisterCommandResponse",
|
463
470
|
"status": "online"
|
464
471
|
},
|
472
|
+
"DescribeExternalClusterUninstallCommand": {
|
473
|
+
"document": "查看外部集群 Agent 卸载命令",
|
474
|
+
"input": "DescribeExternalClusterUninstallCommandRequest",
|
475
|
+
"name": "查看外部集群 Agent 卸载命令",
|
476
|
+
"output": "DescribeExternalClusterUninstallCommandResponse",
|
477
|
+
"status": "online"
|
478
|
+
},
|
465
479
|
"DescribeGrafanaChannels": {
|
466
480
|
"document": "列出 Grafana 所有告警通道",
|
467
481
|
"input": "DescribeGrafanaChannelsRequest",
|
@@ -4145,6 +4159,97 @@
|
|
4145
4159
|
],
|
4146
4160
|
"type": "object"
|
4147
4161
|
},
|
4162
|
+
"CreateExternalClusterRequest": {
|
4163
|
+
"document": "CreateExternalCluster请求参数结构体",
|
4164
|
+
"members": [
|
4165
|
+
{
|
4166
|
+
"disabled": false,
|
4167
|
+
"document": "实例 ID",
|
4168
|
+
"example": "prom-abcd",
|
4169
|
+
"member": "string",
|
4170
|
+
"name": "InstanceId",
|
4171
|
+
"required": true,
|
4172
|
+
"type": "string"
|
4173
|
+
},
|
4174
|
+
{
|
4175
|
+
"disabled": false,
|
4176
|
+
"document": "集群所在地域",
|
4177
|
+
"example": "ap-shanghai",
|
4178
|
+
"member": "string",
|
4179
|
+
"name": "ClusterRegion",
|
4180
|
+
"required": true,
|
4181
|
+
"type": "string"
|
4182
|
+
},
|
4183
|
+
{
|
4184
|
+
"disabled": false,
|
4185
|
+
"document": "集群名称",
|
4186
|
+
"example": "cluster name",
|
4187
|
+
"member": "string",
|
4188
|
+
"name": "ClusterName",
|
4189
|
+
"required": false,
|
4190
|
+
"type": "string"
|
4191
|
+
},
|
4192
|
+
{
|
4193
|
+
"disabled": false,
|
4194
|
+
"document": "集群 ID",
|
4195
|
+
"example": "ecls-abcd",
|
4196
|
+
"member": "string",
|
4197
|
+
"name": "ClusterId",
|
4198
|
+
"required": false,
|
4199
|
+
"type": "string"
|
4200
|
+
},
|
4201
|
+
{
|
4202
|
+
"disabled": false,
|
4203
|
+
"document": "外部标签",
|
4204
|
+
"example": "[{\"Name\": \"cluster_name\", \"Value\": \"ai\"}]",
|
4205
|
+
"member": "Label",
|
4206
|
+
"name": "ExternalLabels",
|
4207
|
+
"required": false,
|
4208
|
+
"type": "list"
|
4209
|
+
},
|
4210
|
+
{
|
4211
|
+
"disabled": false,
|
4212
|
+
"document": "是否打开预聚合规则",
|
4213
|
+
"example": "bool",
|
4214
|
+
"member": "bool",
|
4215
|
+
"name": "OpenDefaultRecord",
|
4216
|
+
"required": false,
|
4217
|
+
"type": "bool"
|
4218
|
+
},
|
4219
|
+
{
|
4220
|
+
"disabled": false,
|
4221
|
+
"document": "是否开启公网",
|
4222
|
+
"example": "bool",
|
4223
|
+
"member": "bool",
|
4224
|
+
"name": "EnableExternal",
|
4225
|
+
"required": false,
|
4226
|
+
"type": "bool"
|
4227
|
+
}
|
4228
|
+
],
|
4229
|
+
"type": "object"
|
4230
|
+
},
|
4231
|
+
"CreateExternalClusterResponse": {
|
4232
|
+
"document": "CreateExternalCluster返回参数结构体",
|
4233
|
+
"members": [
|
4234
|
+
{
|
4235
|
+
"disabled": false,
|
4236
|
+
"document": "集群 ID",
|
4237
|
+
"example": "ecls-abcd",
|
4238
|
+
"member": "string",
|
4239
|
+
"name": "ClusterId",
|
4240
|
+
"output_required": false,
|
4241
|
+
"type": "string",
|
4242
|
+
"value_allowed_null": false
|
4243
|
+
},
|
4244
|
+
{
|
4245
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4246
|
+
"member": "string",
|
4247
|
+
"name": "RequestId",
|
4248
|
+
"type": "string"
|
4249
|
+
}
|
4250
|
+
],
|
4251
|
+
"type": "object"
|
4252
|
+
},
|
4148
4253
|
"CreateGrafanaInstanceRequest": {
|
4149
4254
|
"document": "CreateGrafanaInstance请求参数结构体",
|
4150
4255
|
"members": [
|
@@ -8719,6 +8824,52 @@
|
|
8719
8824
|
],
|
8720
8825
|
"type": "object"
|
8721
8826
|
},
|
8827
|
+
"DescribeExternalClusterUninstallCommandRequest": {
|
8828
|
+
"document": "DescribeExternalClusterUninstallCommand请求参数结构体",
|
8829
|
+
"members": [
|
8830
|
+
{
|
8831
|
+
"disabled": false,
|
8832
|
+
"document": "实例 ID",
|
8833
|
+
"example": "prom-abcd",
|
8834
|
+
"member": "string",
|
8835
|
+
"name": "InstanceId",
|
8836
|
+
"required": true,
|
8837
|
+
"type": "string"
|
8838
|
+
},
|
8839
|
+
{
|
8840
|
+
"disabled": false,
|
8841
|
+
"document": "集群 ID",
|
8842
|
+
"example": "ecls-abcd",
|
8843
|
+
"member": "string",
|
8844
|
+
"name": "ClusterId",
|
8845
|
+
"required": true,
|
8846
|
+
"type": "string"
|
8847
|
+
}
|
8848
|
+
],
|
8849
|
+
"type": "object"
|
8850
|
+
},
|
8851
|
+
"DescribeExternalClusterUninstallCommandResponse": {
|
8852
|
+
"document": "DescribeExternalClusterUninstallCommand返回参数结构体",
|
8853
|
+
"members": [
|
8854
|
+
{
|
8855
|
+
"disabled": false,
|
8856
|
+
"document": "卸载命令",
|
8857
|
+
"example": "apiVersion: batch/v1 kind: Job metadata: name: uninstaller spec: template: spec: containers: - name: uninstaller image: ccr.ccs.tencentyun.com/cloudmonitor/agent-installer:v0.0.8",
|
8858
|
+
"member": "string",
|
8859
|
+
"name": "Command",
|
8860
|
+
"output_required": true,
|
8861
|
+
"type": "string",
|
8862
|
+
"value_allowed_null": false
|
8863
|
+
},
|
8864
|
+
{
|
8865
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8866
|
+
"member": "string",
|
8867
|
+
"name": "RequestId",
|
8868
|
+
"type": "string"
|
8869
|
+
}
|
8870
|
+
],
|
8871
|
+
"type": "object"
|
8872
|
+
},
|
8722
8873
|
"DescribeGrafanaChannelsRequest": {
|
8723
8874
|
"document": "DescribeGrafanaChannels请求参数结构体",
|
8724
8875
|
"members": [
|
@@ -194,6 +194,14 @@
|
|
194
194
|
"title": "e. 创建 Ingress NGINX Controller 集成"
|
195
195
|
}
|
196
196
|
],
|
197
|
+
"CreateExternalCluster": [
|
198
|
+
{
|
199
|
+
"document": "",
|
200
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateExternalCluster\n<公共请求参数>\n\n{\n \"ClusterName\": \"test-cluster\",\n \"InstanceId\": \"prom-abcd\",\n \"ClusterRegion\": \"ap-shanghai\"\n}",
|
201
|
+
"output": "{\n \"Response\": {\n \"ClusterId\": \"ecls-abc\",\n \"RequestId\": \"abcd-abcd\"\n }\n}",
|
202
|
+
"title": "组测集群到云上"
|
203
|
+
}
|
204
|
+
],
|
197
205
|
"CreateGrafanaInstance": [
|
198
206
|
{
|
199
207
|
"document": "创建Grafana实例",
|
@@ -684,6 +692,14 @@
|
|
684
692
|
"title": "查看外部集群注册命令"
|
685
693
|
}
|
686
694
|
],
|
695
|
+
"DescribeExternalClusterUninstallCommand": [
|
696
|
+
{
|
697
|
+
"document": "",
|
698
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeExternalClusterUninstallCommand\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-abcd\",\n \"ClusterId\": \"ecls-abcd\"\n}",
|
699
|
+
"output": "{\n \"Response\": {\n \"Command\": \"\\n---\\napiVersion: v1\\nkind: ServiceAccount\\nmetadata:\\n name: tmp-uninstaller\\n namespace: default\\n---\\napiVersion: rbac.authorization.k8s.io/v1\\nkind: ClusterRoleBinding\\nmetadata:\\n name: tmp-uninstaller\\nroleRef:\\n apiGroup: rbac.authorization.k8s.io\\n kind: ClusterRole\\n name: cluster-admin\\nsubjects:\\n- kind: ServiceAccount\\n name: tmp-uninstaller\\n namespace: default\\n---\\napiVersion: batch/v1\\nkind: Job\\nmetadata:\\n name: tmp-uninstaller\\n namespace: default\\nspec:\\n backoffLimit: 2\\n ttlSecondsAfterFinished: 10\\n template:\\n spec:\\n tolerations:\\n - operator: Exists\\n serviceAccountName: tmp-uninstaller\\n containers:\\n - name: uninstaller\\n image: ccr.ccs.tencentyun.com/cloudmonitor/agent-installer:v0.0.9\\n command:\\n - uninstall\\n args:\\n - all \\n - prom-abcd\\n restartPolicy: Never\\n\",\n \"RequestId\": \"bfa18d10-fe18-4f0e-b7e8-18857f951655\"\n }\n}",
|
700
|
+
"title": "查看外部集群 Agent 卸载命令"
|
701
|
+
}
|
702
|
+
],
|
687
703
|
"DescribeGrafanaChannels": [
|
688
704
|
{
|
689
705
|
"document": "",
|
@@ -6272,7 +6272,7 @@
|
|
6272
6272
|
"members": [
|
6273
6273
|
{
|
6274
6274
|
"disabled": false,
|
6275
|
-
"document": "异步任务ID\n1
|
6275
|
+
"document": "异步任务ID\n1.因上传图片TaskID 仅 24 小时内有效,请于提交任务获取TaskID后24小时内调用ImageMaskAsyncGetResult接口获取结果.\n2.建议在获取到TaskID 后,5-10分钟后再调用 ImageMaskAsyncGetResult 接口获取脱敏结果。",
|
6276
6276
|
"example": "1cf14582-bd61-4ea2-93ca-c63eaa8d427a",
|
6277
6277
|
"member": "string",
|
6278
6278
|
"name": "TaskID",
|
@@ -127,7 +127,7 @@
|
|
127
127
|
"status": "online"
|
128
128
|
},
|
129
129
|
"DescribeJobEvents": {
|
130
|
-
"document": "
|
130
|
+
"document": "请求参数不包含 \"RunningOrderIds\"时,接口获取指定作业的事件,包括作业启动停止、运行失败、快照失败、作业异常等各种事件类型;请求参数不包含 \"RunningOrderIds\"时,接口为查询作业实例ID接口,获取作业实例",
|
131
131
|
"input": "DescribeJobEventsRequest",
|
132
132
|
"name": "获取指定作业的事件",
|
133
133
|
"output": "DescribeJobEventsResponse",
|
@@ -3113,10 +3113,10 @@
|
|
3113
3113
|
{
|
3114
3114
|
"disabled": false,
|
3115
3115
|
"document": "该作业指定范围内的事件列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
3116
|
-
"example": "[]",
|
3116
|
+
"example": "[ ]",
|
3117
3117
|
"member": "JobEvent",
|
3118
3118
|
"name": "Events",
|
3119
|
-
"
|
3119
|
+
"output_required": true,
|
3120
3120
|
"type": "list",
|
3121
3121
|
"value_allowed_null": true
|
3122
3122
|
},
|
@@ -3126,7 +3126,7 @@
|
|
3126
3126
|
"example": "[3,2,1]",
|
3127
3127
|
"member": "uint64",
|
3128
3128
|
"name": "RunningOrderIds",
|
3129
|
-
"
|
3129
|
+
"output_required": true,
|
3130
3130
|
"type": "list",
|
3131
3131
|
"value_allowed_null": true
|
3132
3132
|
},
|
@@ -3136,10 +3136,20 @@
|
|
3136
3136
|
"example": "10",
|
3137
3137
|
"member": "uint64",
|
3138
3138
|
"name": "TotalCount",
|
3139
|
-
"
|
3139
|
+
"output_required": true,
|
3140
3140
|
"type": "int",
|
3141
3141
|
"value_allowed_null": true
|
3142
3142
|
},
|
3143
|
+
{
|
3144
|
+
"disabled": false,
|
3145
|
+
"document": "实例对应的版本\n注意:此字段可能返回 null,表示取不到有效值。",
|
3146
|
+
"example": "[1,2,3]",
|
3147
|
+
"member": "uint64",
|
3148
|
+
"name": "Versions",
|
3149
|
+
"output_required": false,
|
3150
|
+
"type": "list",
|
3151
|
+
"value_allowed_null": true
|
3152
|
+
},
|
3143
3153
|
{
|
3144
3154
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3145
3155
|
"member": "string",
|
@@ -164,10 +164,16 @@
|
|
164
164
|
],
|
165
165
|
"DescribeJobEvents": [
|
166
166
|
{
|
167
|
-
"document": "",
|
168
|
-
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJobEvents\n<公共请求参数>\n\n{\n \"RunningOrderIds\": [\n 1\n ],\n \"Types\": [\n \"1\",\n \"2\"\n ],\n \"EndTimestamp\": 1630933910,\n \"StartTimestamp\": 1630833910,\n \"JobId\": \"cql-
|
167
|
+
"document": "请求参数不包含 \"RunningOrderIds\"时,接口为查询作业事件接口",
|
168
|
+
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJobEvents\n<公共请求参数>\n\n{\n \"RunningOrderIds\": [\n 1\n ],\n \"Types\": [\n \"1\",\n \"2\"\n ],\n \"EndTimestamp\": 1630933910,\n \"StartTimestamp\": 1630833910,\n \"JobId\": \"cql-xxx\"\n}",
|
169
169
|
"output": "{\n \"Response\": {\n \"RunningOrderIds\": [\n 1\n ],\n \"Events\": [\n {\n \"RunningOrderId\": 1,\n \"Description\": \"作业停止事件\",\n \"Timestamp\": 1630933810,\n \"Type\": \"11\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"123345be-e89b-52f3-a456-426616274040\"\n }\n}",
|
170
170
|
"title": "查询作业事件"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"document": "请求参数不包含 \"RunningOrderIds\"时,接口为查询作业实例ID接口",
|
174
|
+
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJobEvents\n<公共请求参数>\n\n{\n \"WorkSpaceId\": \"space-xxxx\",\n \"JobId\": \"cql-xxxx\",\n \"StartTimestamp\": 1747994802,\n \"EndTimestamp\": 1748513202\n}",
|
175
|
+
"output": "{\n \"Response\": {\n \"Events\": null,\n \"RequestId\": \"a908a65e-aa94-4406-acc4-2aa64edb40c6\",\n \"RunningOrderIds\": [\n 10,\n 9,\n 8,\n 7\n ],\n \"Versions\": [\n 1,\n 2,\n 3\n ],\n \"TotalCount\": 0\n }\n}",
|
176
|
+
"title": "查询作业运行实例ID"
|
171
177
|
}
|
172
178
|
],
|
173
179
|
"DescribeJobRuntimeInfo": [
|
@@ -260,9 +260,9 @@
|
|
260
260
|
"status": "online"
|
261
261
|
},
|
262
262
|
"MainlandPermitOCR": {
|
263
|
-
"document": "
|
263
|
+
"document": "智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。\n\n默认接口请求频率限制:20次/秒。",
|
264
264
|
"input": "MainlandPermitOCRRequest",
|
265
|
-
"name": "
|
265
|
+
"name": "港澳台通行证及来往内地通行证识别",
|
266
266
|
"output": "MainlandPermitOCRResponse",
|
267
267
|
"status": "online"
|
268
268
|
},
|
@@ -500,7 +500,7 @@
|
|
500
500
|
"SmartStructuralPro": {
|
501
501
|
"document": "本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://ocrdemo.cloud.tencent.com/)。\n\n默认接口请求频率限制:5次/秒。",
|
502
502
|
"input": "SmartStructuralProRequest",
|
503
|
-
"name": "
|
503
|
+
"name": "文档抽取(多模态)",
|
504
504
|
"output": "SmartStructuralProResponse",
|
505
505
|
"status": "online"
|
506
506
|
},
|
@@ -5852,7 +5852,7 @@
|
|
5852
5852
|
"members": [
|
5853
5853
|
{
|
5854
5854
|
"disabled": false,
|
5855
|
-
"document": "
|
5855
|
+
"document": "图片/PDF的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
|
5856
5856
|
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
5857
5857
|
"member": "string",
|
5858
5858
|
"name": "ImageBase64",
|
@@ -5861,7 +5861,7 @@
|
|
5861
5861
|
},
|
5862
5862
|
{
|
5863
5863
|
"disabled": false,
|
5864
|
-
"document": "
|
5864
|
+
"document": "图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
|
5865
5865
|
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg",
|
5866
5866
|
"member": "string",
|
5867
5867
|
"name": "ImageUrl",
|
@@ -8039,7 +8039,7 @@
|
|
8039
8039
|
},
|
8040
8040
|
{
|
8041
8041
|
"disabled": false,
|
8042
|
-
"document": "发票处于识别图片或PDF
|
8042
|
+
"document": "发票处于识别图片或PDF文件中的页码,默认从1开始。",
|
8043
8043
|
"example": "1",
|
8044
8044
|
"member": "int64",
|
8045
8045
|
"name": "Page",
|
@@ -8106,6 +8106,62 @@
|
|
8106
8106
|
"output_required": false,
|
8107
8107
|
"type": "string",
|
8108
8108
|
"value_allowed_null": false
|
8109
|
+
},
|
8110
|
+
{
|
8111
|
+
"disabled": false,
|
8112
|
+
"document": "印章信息",
|
8113
|
+
"example": "无",
|
8114
|
+
"member": "InvoiceSealInfo",
|
8115
|
+
"name": "InvoiceSealInfo",
|
8116
|
+
"output_required": false,
|
8117
|
+
"type": "object",
|
8118
|
+
"value_allowed_null": false
|
8119
|
+
}
|
8120
|
+
],
|
8121
|
+
"usage": "out"
|
8122
|
+
},
|
8123
|
+
"InvoiceSealInfo": {
|
8124
|
+
"document": "印章信息",
|
8125
|
+
"members": [
|
8126
|
+
{
|
8127
|
+
"disabled": false,
|
8128
|
+
"document": "是否有公司印章(0:没有,1:有)",
|
8129
|
+
"example": "0",
|
8130
|
+
"member": "string",
|
8131
|
+
"name": "CompanySealMark",
|
8132
|
+
"output_required": false,
|
8133
|
+
"type": "string",
|
8134
|
+
"value_allowed_null": false
|
8135
|
+
},
|
8136
|
+
{
|
8137
|
+
"disabled": false,
|
8138
|
+
"document": "是否有监制印章(0:没有,1:有)",
|
8139
|
+
"example": "0",
|
8140
|
+
"member": "string",
|
8141
|
+
"name": "SupervisionSealMark",
|
8142
|
+
"output_required": false,
|
8143
|
+
"type": "string",
|
8144
|
+
"value_allowed_null": false
|
8145
|
+
},
|
8146
|
+
{
|
8147
|
+
"disabled": false,
|
8148
|
+
"document": "公司印章信息",
|
8149
|
+
"example": "无",
|
8150
|
+
"member": "string",
|
8151
|
+
"name": "CompanySealMarkInfo",
|
8152
|
+
"output_required": false,
|
8153
|
+
"type": "list",
|
8154
|
+
"value_allowed_null": false
|
8155
|
+
},
|
8156
|
+
{
|
8157
|
+
"disabled": false,
|
8158
|
+
"document": "监制印章信息",
|
8159
|
+
"example": "无",
|
8160
|
+
"member": "string",
|
8161
|
+
"name": "SupervisionSealMarkInfo",
|
8162
|
+
"output_required": false,
|
8163
|
+
"type": "list",
|
8164
|
+
"value_allowed_null": false
|
8109
8165
|
}
|
8110
8166
|
],
|
8111
8167
|
"usage": "out"
|
@@ -9178,7 +9234,7 @@
|
|
9178
9234
|
},
|
9179
9235
|
{
|
9180
9236
|
"disabled": false,
|
9181
|
-
"document": "图片正反面\nFRONT
|
9237
|
+
"document": "图片正反面\nFRONT:正面\nBACK:反面\n默认为FRONT",
|
9182
9238
|
"example": "FRONT",
|
9183
9239
|
"member": "string",
|
9184
9240
|
"name": "CardSide",
|
@@ -9283,7 +9339,7 @@
|
|
9283
9339
|
},
|
9284
9340
|
{
|
9285
9341
|
"disabled": false,
|
9286
|
-
"document": "证件类别,
|
9342
|
+
"document": "证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。",
|
9287
9343
|
"example": "台湾居民来往大陆通行证",
|
9288
9344
|
"member": "string",
|
9289
9345
|
"name": "Type",
|
@@ -13476,6 +13532,15 @@
|
|
13476
13532
|
"name": "EnableQRCode",
|
13477
13533
|
"required": false,
|
13478
13534
|
"type": "bool"
|
13535
|
+
},
|
13536
|
+
{
|
13537
|
+
"disabled": false,
|
13538
|
+
"document": "是否开启印章识别,默认为false",
|
13539
|
+
"example": "false",
|
13540
|
+
"member": "bool",
|
13541
|
+
"name": "EnableSeal",
|
13542
|
+
"required": false,
|
13543
|
+
"type": "bool"
|
13479
13544
|
}
|
13480
13545
|
],
|
13481
13546
|
"type": "object"
|
@@ -16559,7 +16624,7 @@
|
|
16559
16624
|
},
|
16560
16625
|
{
|
16561
16626
|
"disabled": false,
|
16562
|
-
"document": "配置id支持:\nGeneral -- 通用场景 \nInvoiceEng -- 国际invoice模版 \nWayBillEng --海运订单模板\nCustomsDeclaration -- 进出口报关单\nWeightNote -- 磅单\nMedicalMeter -- 血压仪表识别\nBillOfLading -- 海运提单\nEntrustmentBook -- 海运托书\nWordRecognize -- 手写英文作文模版\nStatement -- 对账单识别模板\nBookingConfirmation -- 配舱通知书识别模板\nAirWayBill -- 航空运单识别模板\nDispatchWeightNote -- 磅单发货单识别模板\nReceiptWeightNote -- 磅单收货单识别模板\nArticalRecognize -- 手写作文模版\nTable --
|
16627
|
+
"document": "配置id支持:\nGeneral -- 通用场景 \nInvoiceEng -- 国际invoice模版 \nWayBillEng --海运订单模板\nCustomsDeclaration -- 进出口报关单\nWeightNote -- 磅单\nMedicalMeter -- 血压仪表识别\nBillOfLading -- 海运提单\nEntrustmentBook -- 海运托书\nWordRecognize -- 手写英文作文模版\nStatement -- 对账单识别模板\nBookingConfirmation -- 配舱通知书识别模板\nAirWayBill -- 航空运单识别模板\nDispatchWeightNote -- 磅单发货单识别模板\nReceiptWeightNote -- 磅单收货单识别模板\nArticalRecognize -- 手写作文模版\nTable -- 表格模版\nSteelLabel -- 实物标签识别模板\nCarInsurance -- 车辆保险单识别模板",
|
16563
16628
|
"example": "General",
|
16564
16629
|
"member": "string",
|
16565
16630
|
"name": "ConfigId",
|
@@ -1607,7 +1607,7 @@
|
|
1607
1607
|
{
|
1608
1608
|
"disabled": false,
|
1609
1609
|
"document": "业务明细列表",
|
1610
|
-
"example": "
|
1610
|
+
"example": "无",
|
1611
1611
|
"member": "AgentBillElem",
|
1612
1612
|
"name": "AgentBillSet",
|
1613
1613
|
"output_required": true,
|
@@ -1774,7 +1774,7 @@
|
|
1774
1774
|
{
|
1775
1775
|
"disabled": false,
|
1776
1776
|
"document": "待审核代客列表",
|
1777
|
-
"example": "
|
1777
|
+
"example": "无",
|
1778
1778
|
"member": "AgentClientElem",
|
1779
1779
|
"name": "AgentClientSet",
|
1780
1780
|
"output_required": true,
|
@@ -1902,7 +1902,7 @@
|
|
1902
1902
|
{
|
1903
1903
|
"disabled": false,
|
1904
1904
|
"document": "订单数组",
|
1905
|
-
"example": "
|
1905
|
+
"example": "无",
|
1906
1906
|
"member": "AgentDealNewElem",
|
1907
1907
|
"name": "AgentDealSet",
|
1908
1908
|
"output_required": true,
|
@@ -2076,7 +2076,7 @@
|
|
2076
2076
|
{
|
2077
2077
|
"disabled": false,
|
2078
2078
|
"document": "订单数组",
|
2079
|
-
"example": "
|
2079
|
+
"example": "无",
|
2080
2080
|
"member": "AgentDealNewElem",
|
2081
2081
|
"name": "AgentPayDealSet",
|
2082
2082
|
"output_required": true,
|
@@ -2232,7 +2232,7 @@
|
|
2232
2232
|
{
|
2233
2233
|
"disabled": false,
|
2234
2234
|
"document": "订单数组",
|
2235
|
-
"example": "
|
2235
|
+
"example": "无",
|
2236
2236
|
"member": "AgentDealNewElem",
|
2237
2237
|
"name": "AgentPayDealSet",
|
2238
2238
|
"output_required": true,
|
@@ -2282,7 +2282,7 @@
|
|
2282
2282
|
"example": "40",
|
2283
2283
|
"member": "int64",
|
2284
2284
|
"name": "Balance",
|
2285
|
-
"
|
2285
|
+
"output_required": true,
|
2286
2286
|
"type": "int",
|
2287
2287
|
"value_allowed_null": false
|
2288
2288
|
},
|
@@ -2292,7 +2292,7 @@
|
|
2292
2292
|
"example": "40",
|
2293
2293
|
"member": "int64",
|
2294
2294
|
"name": "Cash",
|
2295
|
-
"
|
2295
|
+
"output_required": true,
|
2296
2296
|
"type": "int",
|
2297
2297
|
"value_allowed_null": false
|
2298
2298
|
},
|
@@ -953,6 +953,58 @@ def doDescribeAccountVpcList(args, parsed_globals):
|
|
953
953
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
954
|
|
955
955
|
|
956
|
+
def doDescribeRecord(args, parsed_globals):
|
957
|
+
g_param = parse_global_arg(parsed_globals)
|
958
|
+
|
959
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
960
|
+
cred = credential.CVMRoleCredential()
|
961
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
962
|
+
cred = credential.STSAssumeRoleCredential(
|
963
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
964
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
965
|
+
)
|
966
|
+
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):
|
967
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
968
|
+
else:
|
969
|
+
cred = credential.Credential(
|
970
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
971
|
+
)
|
972
|
+
http_profile = HttpProfile(
|
973
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
974
|
+
reqMethod="POST",
|
975
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
976
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
977
|
+
)
|
978
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
979
|
+
if g_param[OptionsDefine.Language]:
|
980
|
+
profile.language = g_param[OptionsDefine.Language]
|
981
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
982
|
+
client = mod.PrivatednsClient(cred, g_param[OptionsDefine.Region], profile)
|
983
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
984
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
985
|
+
model = models.DescribeRecordRequest()
|
986
|
+
model.from_json_string(json.dumps(args))
|
987
|
+
start_time = time.time()
|
988
|
+
while True:
|
989
|
+
rsp = client.DescribeRecord(model)
|
990
|
+
result = rsp.to_json_string()
|
991
|
+
try:
|
992
|
+
json_obj = json.loads(result)
|
993
|
+
except TypeError as e:
|
994
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
995
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
996
|
+
break
|
997
|
+
cur_time = time.time()
|
998
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
999
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1000
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1001
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1002
|
+
else:
|
1003
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1004
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1005
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1006
|
+
|
1007
|
+
|
956
1008
|
def doModifyRecordsStatus(args, parsed_globals):
|
957
1009
|
g_param = parse_global_arg(parsed_globals)
|
958
1010
|
|
@@ -1294,6 +1346,7 @@ ACTION_MAP = {
|
|
1294
1346
|
"ModifyPrivateZoneVpc": doModifyPrivateZoneVpc,
|
1295
1347
|
"DeletePrivateZone": doDeletePrivateZone,
|
1296
1348
|
"DescribeAccountVpcList": doDescribeAccountVpcList,
|
1349
|
+
"DescribeRecord": doDescribeRecord,
|
1297
1350
|
"ModifyRecordsStatus": doModifyRecordsStatus,
|
1298
1351
|
"DeleteSpecifyPrivateZoneVpc": doDeleteSpecifyPrivateZoneVpc,
|
1299
1352
|
"DescribePrivateZoneService": doDescribePrivateZoneService,
|