tccli 3.0.872.1__py2.py3-none-any.whl → 3.0.874.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/autoscaling/v20180419/api.json +1 -2
- tccli/services/autoscaling/v20180419/examples.json +1 -1
- tccli/services/billing/v20180709/api.json +30 -40
- tccli/services/billing/v20180709/examples.json +1 -1
- tccli/services/cdb/v20170320/api.json +23 -0
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/ckafka/ckafka_client.py +53 -0
- tccli/services/ckafka/v20190819/api.json +264 -3
- tccli/services/ckafka/v20190819/examples.json +9 -1
- tccli/services/cwp/v20180228/api.json +63 -54
- tccli/services/cwp/v20180228/examples.json +2 -2
- tccli/services/dasb/v20191018/api.json +16 -52
- tccli/services/dasb/v20191018/examples.json +5 -5
- tccli/services/dlc/v20210125/api.json +37 -15
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/eis/v20210601/api.json +34 -4
- tccli/services/eis/v20210601/examples.json +4 -4
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +58 -1
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +10 -1
- tccli/services/iotvideo/v20201215/api.json +9 -6
- tccli/services/iotvideo/v20211125/api.json +9 -6
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/api.json +24 -0
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/mrs/v20200910/api.json +2 -2
- tccli/services/mrs/v20200910/examples.json +1 -1
- tccli/services/oceanus/v20190422/api.json +17 -46
- tccli/services/omics/omics_client.py +170 -11
- tccli/services/omics/v20221128/api.json +312 -0
- tccli/services/omics/v20221128/examples.json +24 -0
- tccli/services/redis/v20180412/api.json +136 -174
- tccli/services/redis/v20180412/examples.json +21 -21
- tccli/services/rum/v20210622/api.json +9 -16
- tccli/services/scf/v20180416/api.json +29 -21
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +52 -57
- tccli/services/ssl/v20191205/examples.json +3 -3
- tccli/services/ssm/v20190923/api.json +26 -30
- tccli/services/ssm/v20190923/examples.json +4 -4
- tccli/services/tcss/v20201101/api.json +9 -9
- tccli/services/tcss/v20201101/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +3 -3
- tccli/services/tione/v20211111/api.json +17 -55
- tccli/services/tione/v20211111/examples.json +5 -5
- tccli/services/trp/v20210515/api.json +0 -2
- tccli/services/trp/v20210515/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +70 -47
- tccli/services/vpc/v20170312/examples.json +17 -23
- tccli/services/vrs/v20200824/api.json +3 -3
- tccli/services/wedata/v20210820/api.json +11 -10
- {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/METADATA +2 -2
- {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/RECORD +59 -59
- {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/LICENSE +0 -0
- {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.872.1.dist-info → tccli-3.0.874.1.dist-info}/top_level.txt +0 -0
@@ -304,7 +304,32 @@
|
|
304
304
|
},
|
305
305
|
"ListDeployableRuntimesMCRequest": {
|
306
306
|
"document": "ListDeployableRuntimesMC请求参数结构体",
|
307
|
-
"members": [
|
307
|
+
"members": [
|
308
|
+
{
|
309
|
+
"document": "应用id",
|
310
|
+
"example": "1",
|
311
|
+
"member": "int64",
|
312
|
+
"name": "ProjectId",
|
313
|
+
"required": false,
|
314
|
+
"type": "int"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"document": "实例id",
|
318
|
+
"example": "1",
|
319
|
+
"member": "int64",
|
320
|
+
"name": "InstanceId",
|
321
|
+
"required": false,
|
322
|
+
"type": "int"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"document": "版本类型 0-pro 1-lite",
|
326
|
+
"example": "0",
|
327
|
+
"member": "int64",
|
328
|
+
"name": "PlanType",
|
329
|
+
"required": false,
|
330
|
+
"type": "int"
|
331
|
+
}
|
332
|
+
],
|
308
333
|
"type": "object"
|
309
334
|
},
|
310
335
|
"ListDeployableRuntimesMCResponse": {
|
@@ -315,7 +340,6 @@
|
|
315
340
|
"example": "无",
|
316
341
|
"member": "AbstractRuntimeMC",
|
317
342
|
"name": "Runtimes",
|
318
|
-
"required": true,
|
319
343
|
"type": "list",
|
320
344
|
"value_allowed_null": false
|
321
345
|
},
|
@@ -449,13 +473,20 @@
|
|
449
473
|
"document": "ListRuntimesMC请求参数结构体",
|
450
474
|
"members": [
|
451
475
|
{
|
452
|
-
"default": "",
|
453
476
|
"document": "环境运行类型:0:运行时类型、1:api类型",
|
454
477
|
"example": "1",
|
455
478
|
"member": "int64",
|
456
479
|
"name": "RuntimeClass",
|
457
480
|
"required": false,
|
458
481
|
"type": "int"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"document": "计划类型:0-pro 1-lite",
|
485
|
+
"example": "0",
|
486
|
+
"member": "int64",
|
487
|
+
"name": "PlanType",
|
488
|
+
"required": false,
|
489
|
+
"type": "int"
|
459
490
|
}
|
460
491
|
],
|
461
492
|
"type": "object"
|
@@ -468,7 +499,6 @@
|
|
468
499
|
"example": "无",
|
469
500
|
"member": "RuntimeMC",
|
470
501
|
"name": "Runtimes",
|
471
|
-
"required": true,
|
472
502
|
"type": "list",
|
473
503
|
"value_allowed_null": false
|
474
504
|
},
|
@@ -20,8 +20,8 @@
|
|
20
20
|
{
|
21
21
|
"document": "返回用户可用的运行时列表,发布应用时返回的运行时环境,仅shared和standalone运行时,无sandbox运行时,并且只有running状态的",
|
22
22
|
"input": "POST / HTTP/1.1\nHost: eis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDeployableRuntimesMC\n<公共请求参数>\n\n{}",
|
23
|
-
"output": "{\n \"Response\": {\n \"
|
24
|
-
"title": "
|
23
|
+
"output": "{\n \"Response\": {\n \"Runtimes\": [\n {\n \"RuntimeId\": 0,\n \"DisplayName\": \"abc\",\n \"Type\": 0,\n \"Zone\": \"abc\",\n \"Area\": \"abc\",\n \"Addr\": \"abc\",\n \"Status\": 0,\n \"ExpiredAt\": 0,\n \"RuntimeClass\": 0,\n \"Deployed\": true\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
24
|
+
"title": "获取可运行时列表"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"ListRuntimeDeployedInstancesMC": [
|
@@ -35,8 +35,8 @@
|
|
35
35
|
"ListRuntimesMC": [
|
36
36
|
{
|
37
37
|
"document": "返回用户的运行时列表,运行时管理主页使用,包含沙箱、共享运行时及独立运行时环境,不包含已经删除的运行时",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: eis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRuntimesMC\n<公共请求参数>\n\n{}",
|
39
|
-
"output": "{\n \"Response\": {\n \"
|
38
|
+
"input": "POST / HTTP/1.1\nHost: eis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRuntimesMC\n<公共请求参数>\n\n{\n \"RuntimeClass\": 0\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"Runtimes\": [\n {\n \"RuntimeId\": 0,\n \"Uin\": \"abc\",\n \"DisplayName\": \"abc\",\n \"Zone\": \"abc\",\n \"Type\": 0,\n \"Status\": 0,\n \"CreatedAt\": 0,\n \"UpdatedAt\": 0,\n \"WorkerSize\": 0,\n \"WorkerReplica\": 0,\n \"RunningInstanceCount\": 0,\n \"CpuUsed\": 0,\n \"CpuLimit\": 0,\n \"MemoryUsed\": 0,\n \"MemoryLimit\": 0,\n \"ExpiredAt\": 0,\n \"ChargeType\": 0,\n \"ResourceLimitType\": 0,\n \"AutoRenewal\": true,\n \"WorkerExtensions\": [\n {\n \"Type\": 0,\n \"Size\": 0,\n \"Replica\": 0,\n \"Name\": \"abc\",\n \"Status\": 0,\n \"CreatedAt\": 0,\n \"UpdatedAt\": 0\n }\n ],\n \"RuntimeType\": 0,\n \"RuntimeClass\": 0,\n \"BandwidthOutUsed\": 0,\n \"BandwidthOutLimit\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
40
40
|
"title": "获取运行时列表"
|
41
41
|
}
|
42
42
|
]
|
tccli/services/ess/ess_client.py
CHANGED
@@ -1265,6 +1265,58 @@ def doDescribeUserAutoSignStatus(args, parsed_globals):
|
|
1265
1265
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
1266
|
|
1267
1267
|
|
1268
|
+
def doCreateChannelSubOrganizationModifyQrCode(args, parsed_globals):
|
1269
|
+
g_param = parse_global_arg(parsed_globals)
|
1270
|
+
|
1271
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1272
|
+
cred = credential.CVMRoleCredential()
|
1273
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1274
|
+
cred = credential.STSAssumeRoleCredential(
|
1275
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1276
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
1277
|
+
)
|
1278
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1279
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1280
|
+
else:
|
1281
|
+
cred = credential.Credential(
|
1282
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1283
|
+
)
|
1284
|
+
http_profile = HttpProfile(
|
1285
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1286
|
+
reqMethod="POST",
|
1287
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1288
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1289
|
+
)
|
1290
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1291
|
+
if g_param[OptionsDefine.Language]:
|
1292
|
+
profile.language = g_param[OptionsDefine.Language]
|
1293
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1294
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1295
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1296
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1297
|
+
model = models.CreateChannelSubOrganizationModifyQrCodeRequest()
|
1298
|
+
model.from_json_string(json.dumps(args))
|
1299
|
+
start_time = time.time()
|
1300
|
+
while True:
|
1301
|
+
rsp = client.CreateChannelSubOrganizationModifyQrCode(model)
|
1302
|
+
result = rsp.to_json_string()
|
1303
|
+
try:
|
1304
|
+
json_obj = json.loads(result)
|
1305
|
+
except TypeError as e:
|
1306
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1307
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1308
|
+
break
|
1309
|
+
cur_time = time.time()
|
1310
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1311
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1312
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1313
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1314
|
+
else:
|
1315
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1316
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1317
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1318
|
+
|
1319
|
+
|
1268
1320
|
def doDisableUserAutoSign(args, parsed_globals):
|
1269
1321
|
g_param = parse_global_arg(parsed_globals)
|
1270
1322
|
|
@@ -2392,6 +2444,7 @@ ACTION_MAP = {
|
|
2392
2444
|
"CreateFlow": doCreateFlow,
|
2393
2445
|
"CreateReleaseFlow": doCreateReleaseFlow,
|
2394
2446
|
"DescribeUserAutoSignStatus": doDescribeUserAutoSignStatus,
|
2447
|
+
"CreateChannelSubOrganizationModifyQrCode": doCreateChannelSubOrganizationModifyQrCode,
|
2395
2448
|
"DisableUserAutoSign": doDisableUserAutoSign,
|
2396
2449
|
"CreateFlowByFiles": doCreateFlowByFiles,
|
2397
2450
|
"DescribeIntegrationRoles": doDescribeIntegrationRoles,
|
@@ -28,6 +28,13 @@
|
|
28
28
|
"output": "CreateBatchCancelFlowUrlResponse",
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
|
+
"CreateChannelSubOrganizationModifyQrCode": {
|
32
|
+
"document": "生成子客编辑企业信息二维码",
|
33
|
+
"input": "CreateChannelSubOrganizationModifyQrCodeRequest",
|
34
|
+
"name": "生成子客编辑企业信息二维码",
|
35
|
+
"output": "CreateChannelSubOrganizationModifyQrCodeResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
31
38
|
"CreateConvertTaskApi": {
|
32
39
|
"document": "上传了word、excel文件后,通过该接口发起文件转换任务,将word、excel文件转换为pdf文件。",
|
33
40
|
"input": "CreateConvertTaskApiRequest",
|
@@ -957,7 +964,7 @@
|
|
957
964
|
"document": "模板控件信息",
|
958
965
|
"members": [
|
959
966
|
{
|
960
|
-
"document": "如果是Component控件类型,则可选的字段为:\nTEXT - 普通文本控件,输入文本字符串;\nMULTI_LINE_TEXT - 多行文本控件,输入文本字符串;\nCHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;\nFILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;\nDYNAMIC_TABLE - 动态表格控件;\nATTACHMENT - 附件控件,ComponentValue 填写附件图片的资源 ID列表,以逗号分割;\nSELECTOR - 选择器控件,ComponentValue填写选择的字符串内容;\nDATE - 日期控件;默认是格式化为xxxx年xx月xx日字符串;\nDISTRICT -
|
967
|
+
"document": "如果是Component控件类型,则可选的字段为:\nTEXT - 普通文本控件,输入文本字符串;\nMULTI_LINE_TEXT - 多行文本控件,输入文本字符串;\nCHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;\nFILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;\nDYNAMIC_TABLE - 动态表格控件;\nATTACHMENT - 附件控件,ComponentValue 填写附件图片的资源 ID列表,以逗号分割;\nSELECTOR - 选择器控件,ComponentValue填写选择的字符串内容;\nDATE - 日期控件;默认是格式化为xxxx年xx月xx日字符串;\nDISTRICT - 省市区行政区控件,ComponentValue填写省市区行政区字符串内容;\n\n如果是SignComponent控件类型,则可选的字段为\nSIGN_SEAL - 签署印章控件;\nSIGN_DATE - 签署日期控件;\nSIGN_SIGNATURE - 用户签名控件;\nSIGN_PERSONAL_SEAL - 个人签署印章控件(使用文件发起暂不支持此类型);\nSIGN_PAGING_SEAL - 骑缝章;若文件发起,需要对应填充ComponentPosY、ComponentWidth、ComponentHeight\nSIGN_OPINION - 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认;\nSIGN_LEGAL_PERSON_SEAL - 企业法定代表人控件。\n\n表单域的控件不能作为印章和签名控件",
|
961
968
|
"example": "无",
|
962
969
|
"member": "string",
|
963
970
|
"name": "ComponentType",
|
@@ -1233,6 +1240,56 @@
|
|
1233
1240
|
],
|
1234
1241
|
"type": "object"
|
1235
1242
|
},
|
1243
|
+
"CreateChannelSubOrganizationModifyQrCodeRequest": {
|
1244
|
+
"document": "CreateChannelSubOrganizationModifyQrCode请求参数结构体",
|
1245
|
+
"members": [
|
1246
|
+
{
|
1247
|
+
"document": "操作人",
|
1248
|
+
"example": "无",
|
1249
|
+
"member": "UserInfo",
|
1250
|
+
"name": "Operator",
|
1251
|
+
"required": true,
|
1252
|
+
"type": "object"
|
1253
|
+
},
|
1254
|
+
{
|
1255
|
+
"document": "应用编号",
|
1256
|
+
"example": "无",
|
1257
|
+
"member": "string",
|
1258
|
+
"name": "ApplicationId",
|
1259
|
+
"required": true,
|
1260
|
+
"type": "string"
|
1261
|
+
}
|
1262
|
+
],
|
1263
|
+
"type": "object"
|
1264
|
+
},
|
1265
|
+
"CreateChannelSubOrganizationModifyQrCodeResponse": {
|
1266
|
+
"document": "CreateChannelSubOrganizationModifyQrCode返回参数结构体",
|
1267
|
+
"members": [
|
1268
|
+
{
|
1269
|
+
"document": "二维码下载链接",
|
1270
|
+
"example": "无",
|
1271
|
+
"member": "string",
|
1272
|
+
"name": "QrCodeUrl",
|
1273
|
+
"type": "string",
|
1274
|
+
"value_allowed_null": false
|
1275
|
+
},
|
1276
|
+
{
|
1277
|
+
"document": "二维码失效时间 unix 时间戳 精确到秒",
|
1278
|
+
"example": "无",
|
1279
|
+
"member": "int64",
|
1280
|
+
"name": "ExpiredTime",
|
1281
|
+
"type": "int",
|
1282
|
+
"value_allowed_null": false
|
1283
|
+
},
|
1284
|
+
{
|
1285
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
1286
|
+
"member": "string",
|
1287
|
+
"name": "RequestId",
|
1288
|
+
"type": "string"
|
1289
|
+
}
|
1290
|
+
],
|
1291
|
+
"type": "object"
|
1292
|
+
},
|
1236
1293
|
"CreateConvertTaskApiRequest": {
|
1237
1294
|
"document": "CreateConvertTaskApi请求参数结构体",
|
1238
1295
|
"members": [
|
@@ -38,6 +38,14 @@
|
|
38
38
|
"title": "获取批量撤销签署流程链接"
|
39
39
|
}
|
40
40
|
],
|
41
|
+
"CreateChannelSubOrganizationModifyQrCode": [
|
42
|
+
{
|
43
|
+
"document": "渠道商生成修改子客企业二维码链接",
|
44
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateChannelSubOrganizationModifyQrCode\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwFQUUckpswii3uUEwyEKVCYtOQfzVk\",\n \"Channel\": \"TENCENTCLOUD\",\n \"OpenId\": \"yDwFQUUckpsw6tpgUuMcjx2yLwQhEm9k\",\n \"ClientIp\": \"59.37.125.125\"\n },\n \"ApplicationId\": \"yDwFYUUckpsywy56UekPZF8PM7tLlo6p\"\n}",
|
45
|
+
"output": "{\n \"Response\": {\n \"ExpiredTime\": 1684401637,\n \"QrCodeUrl\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
46
|
+
"title": "渠道商生成修改子客企业二维码链接"
|
47
|
+
}
|
48
|
+
],
|
41
49
|
"CreateConvertTaskApi": [
|
42
50
|
{
|
43
51
|
"document": "适用场景:通过word文件资源id进行文件转换",
|
@@ -547,6 +547,15 @@
|
|
547
547
|
"required": false,
|
548
548
|
"type": "string",
|
549
549
|
"value_allowed_null": true
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"document": "抄送人信息",
|
553
|
+
"example": "无",
|
554
|
+
"member": "CcInfo",
|
555
|
+
"name": "CcInfos",
|
556
|
+
"required": false,
|
557
|
+
"type": "list",
|
558
|
+
"value_allowed_null": true
|
550
559
|
}
|
551
560
|
],
|
552
561
|
"usage": "in"
|
@@ -2628,7 +2637,7 @@
|
|
2628
2637
|
"value_allowed_null": false
|
2629
2638
|
},
|
2630
2639
|
{
|
2631
|
-
"document": "如果是Component控件类型,则可选的字段为:\nTEXT - 普通文本控件,输入文本字符串;\nMULTI_LINE_TEXT - 多行文本控件,输入文本字符串;\nCHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;\nFILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;\nDYNAMIC_TABLE - 动态表格控件;\nATTACHMENT - 附件控件,ComponentValue
|
2640
|
+
"document": "如果是Component控件类型,则可选的字段为:\nTEXT - 普通文本控件,输入文本字符串;\nMULTI_LINE_TEXT - 多行文本控件,输入文本字符串;\nCHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;\nFILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;\nDYNAMIC_TABLE - 动态表格控件;\nATTACHMENT - 附件控件,ComponentValue 填写附件图片的资源 ID列表,以逗号分割;\nSELECTOR - 选择器控件,ComponentValue填写选择的字符串内容;\nDATE - 日期控件;默认是格式化为xxxx年xx月xx日字符串;\nDISTRICT - 省市区行政区控件,ComponentValue填写省市区行政区字符串内容;\n\n如果是SignComponent控件类型,则可选的字段为\nSIGN_SEAL - 签署印章控件;\nSIGN_DATE - 签署日期控件;\nSIGN_SIGNATURE - 用户签名控件;\nSIGN_PERSONAL_SEAL - 个人签署印章控件(使用文件发起暂不支持此类型);\nSIGN_PAGING_SEAL - 骑缝章;若文件发起,需要对应填充ComponentPosY、ComponentWidth、ComponentHeight\nSIGN_OPINION - 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认;\nSIGN_LEGAL_PERSON_SEAL - 企业法定代表人控件。\n\n表单域的控件不能作为印章和签名控件",
|
2632
2641
|
"example": "SIGN_SEAL",
|
2633
2642
|
"member": "string",
|
2634
2643
|
"name": "ComponentType",
|
@@ -5230,7 +5230,6 @@
|
|
5230
5230
|
"document": "设备详细信息",
|
5231
5231
|
"members": [
|
5232
5232
|
{
|
5233
|
-
"default": "",
|
5234
5233
|
"document": "设备名",
|
5235
5234
|
"example": "video_00001",
|
5236
5235
|
"member": "string",
|
@@ -5240,7 +5239,6 @@
|
|
5240
5239
|
"value_allowed_null": false
|
5241
5240
|
},
|
5242
5241
|
{
|
5243
|
-
"default": "",
|
5244
5242
|
"document": "设备是否在线,0不在线,1在线,2获取失败,3未激活",
|
5245
5243
|
"example": "0",
|
5246
5244
|
"member": "uint64",
|
@@ -5250,7 +5248,6 @@
|
|
5250
5248
|
"value_allowed_null": false
|
5251
5249
|
},
|
5252
5250
|
{
|
5253
|
-
"default": "",
|
5254
5251
|
"document": "设备最后上线时间",
|
5255
5252
|
"example": "1625543955",
|
5256
5253
|
"member": "uint64",
|
@@ -5260,7 +5257,6 @@
|
|
5260
5257
|
"value_allowed_null": false
|
5261
5258
|
},
|
5262
5259
|
{
|
5263
|
-
"default": "",
|
5264
5260
|
"document": "设备密钥",
|
5265
5261
|
"example": "Cdakt7OGTs8689DT1qv0w==",
|
5266
5262
|
"member": "string",
|
@@ -5270,7 +5266,6 @@
|
|
5270
5266
|
"value_allowed_null": false
|
5271
5267
|
},
|
5272
5268
|
{
|
5273
|
-
"default": "",
|
5274
5269
|
"document": "设备启用状态 0为停用 1为可用",
|
5275
5270
|
"example": "1",
|
5276
5271
|
"member": "uint64",
|
@@ -5280,7 +5275,6 @@
|
|
5280
5275
|
"value_allowed_null": false
|
5281
5276
|
},
|
5282
5277
|
{
|
5283
|
-
"default": "",
|
5284
5278
|
"document": "设备过期时间",
|
5285
5279
|
"example": "1657024030",
|
5286
5280
|
"member": "uint64",
|
@@ -5288,6 +5282,15 @@
|
|
5288
5282
|
"required": true,
|
5289
5283
|
"type": "int",
|
5290
5284
|
"value_allowed_null": false
|
5285
|
+
},
|
5286
|
+
{
|
5287
|
+
"document": "设备的sdk日志等级,0:关闭,1:错误,2:告警,3:信息,4:调试\n注意:此字段可能返回 null,表示取不到有效值。",
|
5288
|
+
"example": "1",
|
5289
|
+
"member": "uint64",
|
5290
|
+
"name": "LogLevel",
|
5291
|
+
"required": false,
|
5292
|
+
"type": "int",
|
5293
|
+
"value_allowed_null": true
|
5291
5294
|
}
|
5292
5295
|
],
|
5293
5296
|
"usage": "out"
|
@@ -6291,7 +6291,6 @@
|
|
6291
6291
|
"document": "设备详细信息",
|
6292
6292
|
"members": [
|
6293
6293
|
{
|
6294
|
-
"default": "",
|
6295
6294
|
"document": "设备名",
|
6296
6295
|
"example": "video_00001",
|
6297
6296
|
"member": "string",
|
@@ -6301,7 +6300,6 @@
|
|
6301
6300
|
"value_allowed_null": false
|
6302
6301
|
},
|
6303
6302
|
{
|
6304
|
-
"default": "",
|
6305
6303
|
"document": "设备是否在线,0不在线,1在线,2获取失败,3未激活",
|
6306
6304
|
"example": "0",
|
6307
6305
|
"member": "uint64",
|
@@ -6311,7 +6309,6 @@
|
|
6311
6309
|
"value_allowed_null": false
|
6312
6310
|
},
|
6313
6311
|
{
|
6314
|
-
"default": "",
|
6315
6312
|
"document": "设备最后上线时间",
|
6316
6313
|
"example": "1625543955",
|
6317
6314
|
"member": "uint64",
|
@@ -6321,7 +6318,6 @@
|
|
6321
6318
|
"value_allowed_null": false
|
6322
6319
|
},
|
6323
6320
|
{
|
6324
|
-
"default": "",
|
6325
6321
|
"document": "设备密钥",
|
6326
6322
|
"example": "Cdakt7OGTs8689DT1qv0w==",
|
6327
6323
|
"member": "string",
|
@@ -6331,7 +6327,6 @@
|
|
6331
6327
|
"value_allowed_null": false
|
6332
6328
|
},
|
6333
6329
|
{
|
6334
|
-
"default": "",
|
6335
6330
|
"document": "设备启用状态 0为停用 1为可用",
|
6336
6331
|
"example": "1",
|
6337
6332
|
"member": "uint64",
|
@@ -6341,7 +6336,6 @@
|
|
6341
6336
|
"value_allowed_null": false
|
6342
6337
|
},
|
6343
6338
|
{
|
6344
|
-
"default": "",
|
6345
6339
|
"document": "设备过期时间",
|
6346
6340
|
"example": "1657024030",
|
6347
6341
|
"member": "uint64",
|
@@ -6349,6 +6343,15 @@
|
|
6349
6343
|
"required": true,
|
6350
6344
|
"type": "int",
|
6351
6345
|
"value_allowed_null": false
|
6346
|
+
},
|
6347
|
+
{
|
6348
|
+
"document": "设备的sdk日志等级,0:关闭,1:错误,2:告警,3:信息,4:调试\n注意:此字段可能返回 null,表示取不到有效值。",
|
6349
|
+
"example": "1",
|
6350
|
+
"member": "uint64",
|
6351
|
+
"name": "LogLevel",
|
6352
|
+
"required": false,
|
6353
|
+
"type": "int",
|
6354
|
+
"value_allowed_null": true
|
6352
6355
|
}
|
6353
6356
|
],
|
6354
6357
|
"usage": "out"
|
@@ -7609,6 +7609,58 @@ def doDescribePluginOverviews(args, parsed_globals):
|
|
7609
7609
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7610
7610
|
|
7611
7611
|
|
7612
|
+
def doDescribeClusterAgentCreatingProgress(args, parsed_globals):
|
7613
|
+
g_param = parse_global_arg(parsed_globals)
|
7614
|
+
|
7615
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
7616
|
+
cred = credential.CVMRoleCredential()
|
7617
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
7618
|
+
cred = credential.STSAssumeRoleCredential(
|
7619
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
7620
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
7621
|
+
)
|
7622
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
7623
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
7624
|
+
else:
|
7625
|
+
cred = credential.Credential(
|
7626
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
7627
|
+
)
|
7628
|
+
http_profile = HttpProfile(
|
7629
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
7630
|
+
reqMethod="POST",
|
7631
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
7632
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
7633
|
+
)
|
7634
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
7635
|
+
if g_param[OptionsDefine.Language]:
|
7636
|
+
profile.language = g_param[OptionsDefine.Language]
|
7637
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
7638
|
+
client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile)
|
7639
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
7640
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7641
|
+
model = models.DescribeClusterAgentCreatingProgressRequest()
|
7642
|
+
model.from_json_string(json.dumps(args))
|
7643
|
+
start_time = time.time()
|
7644
|
+
while True:
|
7645
|
+
rsp = client.DescribeClusterAgentCreatingProgress(model)
|
7646
|
+
result = rsp.to_json_string()
|
7647
|
+
try:
|
7648
|
+
json_obj = json.loads(result)
|
7649
|
+
except TypeError as e:
|
7650
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
7651
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
7652
|
+
break
|
7653
|
+
cur_time = time.time()
|
7654
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
7655
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
7656
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
7657
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
7658
|
+
else:
|
7659
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
7660
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
7661
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7662
|
+
|
7663
|
+
|
7612
7664
|
def doDescribeGrafanaIntegrations(args, parsed_globals):
|
7613
7665
|
g_param = parse_global_arg(parsed_globals)
|
7614
7666
|
|
@@ -7922,6 +7974,7 @@ ACTION_MAP = {
|
|
7922
7974
|
"DeletePrometheusTempSync": doDeletePrometheusTempSync,
|
7923
7975
|
"DeletePrometheusAlertPolicy": doDeletePrometheusAlertPolicy,
|
7924
7976
|
"DescribePluginOverviews": doDescribePluginOverviews,
|
7977
|
+
"DescribeClusterAgentCreatingProgress": doDescribeClusterAgentCreatingProgress,
|
7925
7978
|
"DescribeGrafanaIntegrations": doDescribeGrafanaIntegrations,
|
7926
7979
|
"DescribePrometheusRecordRuleYaml": doDescribePrometheusRecordRuleYaml,
|
7927
7980
|
"DescribeAlarmPolicy": doDescribeAlarmPolicy,
|
@@ -399,6 +399,13 @@
|
|
399
399
|
"output": "DescribeBindingPolicyObjectListResponse",
|
400
400
|
"status": "online"
|
401
401
|
},
|
402
|
+
"DescribeClusterAgentCreatingProgress": {
|
403
|
+
"document": "获取prom实例中集群详细的关联状态",
|
404
|
+
"input": "DescribeClusterAgentCreatingProgressRequest",
|
405
|
+
"name": "获取集群绑定进度",
|
406
|
+
"output": "DescribeClusterAgentCreatingProgressResponse",
|
407
|
+
"status": "online"
|
408
|
+
},
|
402
409
|
"DescribeConditionsTemplateList": {
|
403
410
|
"document": "获取条件模板列表",
|
404
411
|
"input": "DescribeConditionsTemplateListRequest",
|
@@ -7049,6 +7056,23 @@
|
|
7049
7056
|
],
|
7050
7057
|
"type": "object"
|
7051
7058
|
},
|
7059
|
+
"DescribeClusterAgentCreatingProgressRequest": {
|
7060
|
+
"document": "DescribeClusterAgentCreatingProgress请求参数结构体",
|
7061
|
+
"members": [],
|
7062
|
+
"type": "object"
|
7063
|
+
},
|
7064
|
+
"DescribeClusterAgentCreatingProgressResponse": {
|
7065
|
+
"document": "DescribeClusterAgentCreatingProgress返回参数结构体",
|
7066
|
+
"members": [
|
7067
|
+
{
|
7068
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
7069
|
+
"member": "string",
|
7070
|
+
"name": "RequestId",
|
7071
|
+
"type": "string"
|
7072
|
+
}
|
7073
|
+
],
|
7074
|
+
"type": "object"
|
7075
|
+
},
|
7052
7076
|
"DescribeConditionsTemplateListRequest": {
|
7053
7077
|
"document": "DescribeConditionsTemplateList请求参数结构体",
|
7054
7078
|
"members": [
|
@@ -486,6 +486,14 @@
|
|
486
486
|
"title": "获取已绑定对象列表"
|
487
487
|
}
|
488
488
|
],
|
489
|
+
"DescribeClusterAgentCreatingProgress": [
|
490
|
+
{
|
491
|
+
"document": "获取状态",
|
492
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterAgentCreatingProgress\n<公共请求参数>\n\n{}",
|
493
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}",
|
494
|
+
"title": "获取状态"
|
495
|
+
}
|
496
|
+
],
|
489
497
|
"DescribeConditionsTemplateList": [
|
490
498
|
{
|
491
499
|
"document": "",
|
@@ -3705,7 +3705,7 @@
|
|
3705
3705
|
"type": "int"
|
3706
3706
|
},
|
3707
3707
|
{
|
3708
|
-
"document": "可选。用于指定不同报告使用的结构化引擎版本,不同版本返回的JSON 数据结果不兼容。若不指定版本号,就默认用旧的版本号。\n(1)检验报告 11,默认使用 V2,最高支持 V3。\n(2)病理报告 15,默认使用 V1,最高支持 V2。\n(3)入院记录29、出院记录 28
|
3708
|
+
"document": "可选。用于指定不同报告使用的结构化引擎版本,不同版本返回的JSON 数据结果不兼容。若不指定版本号,就默认用旧的版本号。\n(1)检验报告 11,默认使用 V2,最高支持 V3。\n(2)病理报告 15,默认使用 V1,最高支持 V2。\n(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。",
|
3709
3709
|
"example": "[{\"ReportType\":11,\"Version\":2}]",
|
3710
3710
|
"member": "ReportTypeVersion",
|
3711
3711
|
"name": "ReportTypeVersion",
|
@@ -8858,7 +8858,7 @@
|
|
8858
8858
|
"type": "int"
|
8859
8859
|
},
|
8860
8860
|
{
|
8861
|
-
"document": "可选。用于指定不同报告使用的结构化引擎版本,不同版本返回的JSON 数据结果不兼容。若不指定版本号,就默认用旧的版本号。\n(1)检验报告 11,默认使用 V2,最高支持 V3。\n(2)病理报告 15,默认使用 V1,最高支持 V2。\n(3)入院记录29、出院记录 28
|
8861
|
+
"document": "可选。用于指定不同报告使用的结构化引擎版本,不同版本返回的JSON 数据结果不兼容。若不指定版本号,就默认用旧的版本号。\n(1)检验报告 11,默认使用 V2,最高支持 V3。\n(2)病理报告 15,默认使用 V1,最高支持 V2。\n(3)入院记录29、出院记录 28、病历记录 216、病程记录 217、门诊记录 210,默认使用 V1,最高支持 V2。",
|
8862
8862
|
"example": "[{\"ReportType\":11,\"Version\":2}]",
|
8863
8863
|
"member": "ReportTypeVersion",
|
8864
8864
|
"name": "ReportTypeVersion",
|