tccli 3.0.1244.1__py2.py3-none-any.whl → 3.0.1245.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/dbbrain/dbbrain_client.py +57 -4
- tccli/services/dbbrain/v20210527/api.json +145 -0
- tccli/services/dbbrain/v20210527/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/v20231130/api.json +30 -0
- tccli/services/monitor/v20180724/api.json +55 -0
- tccli/services/ocr/ocr_client.py +91 -38
- tccli/services/ocr/v20181119/api.json +187 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/scf/v20180416/examples.json +2 -2
- tccli/services/tcm/v20210413/api.json +9 -3
- tccli/services/tcm/v20210413/examples.json +7 -7
- tccli/services/tcr/v20190924/api.json +36 -36
- tccli/services/tcr/v20190924/examples.json +17 -17
- tccli/services/teo/v20220901/api.json +3 -3
- tccli/services/tke/v20180525/api.json +874 -688
- tccli/services/tke/v20180525/examples.json +40 -40
- tccli/services/tke/v20220501/api.json +16 -16
- tccli/services/tke/v20220501/examples.json +2 -2
- tccli/services/trocket/trocket_client.py +57 -4
- tccli/services/trocket/v20230308/api.json +143 -51
- tccli/services/trocket/v20230308/examples.json +11 -3
- tccli/services/vclm/v20240523/api.json +3 -3
- tccli/services/vpc/v20170312/api.json +20 -20
- tccli/services/vpc/v20170312/examples.json +9 -31
- tccli/services/waf/v20180125/api.json +1 -1
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/RECORD +34 -34
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1245.1'
|
@@ -1423,7 +1423,7 @@ def doDescribeHealthScore(args, parsed_globals):
|
|
1423
1423
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1424
1424
|
|
1425
1425
|
|
1426
|
-
def
|
1426
|
+
def doDescribeRedisTopHotKeys(args, parsed_globals):
|
1427
1427
|
g_param = parse_global_arg(parsed_globals)
|
1428
1428
|
|
1429
1429
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1452,11 +1452,11 @@ def doCancelKillTask(args, parsed_globals):
|
|
1452
1452
|
client = mod.DbbrainClient(cred, g_param[OptionsDefine.Region], profile)
|
1453
1453
|
client._sdkVersion += ("_CLI_" + __version__)
|
1454
1454
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1455
|
-
model = models.
|
1455
|
+
model = models.DescribeRedisTopHotKeysRequest()
|
1456
1456
|
model.from_json_string(json.dumps(args))
|
1457
1457
|
start_time = time.time()
|
1458
1458
|
while True:
|
1459
|
-
rsp = client.
|
1459
|
+
rsp = client.DescribeRedisTopHotKeys(model)
|
1460
1460
|
result = rsp.to_json_string()
|
1461
1461
|
try:
|
1462
1462
|
json_obj = json.loads(result)
|
@@ -2359,6 +2359,58 @@ def doDeleteSqlFilters(args, parsed_globals):
|
|
2359
2359
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2360
2360
|
|
2361
2361
|
|
2362
|
+
def doCancelKillTask(args, parsed_globals):
|
2363
|
+
g_param = parse_global_arg(parsed_globals)
|
2364
|
+
|
2365
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2366
|
+
cred = credential.CVMRoleCredential()
|
2367
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2368
|
+
cred = credential.STSAssumeRoleCredential(
|
2369
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2370
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2371
|
+
)
|
2372
|
+
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):
|
2373
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2374
|
+
else:
|
2375
|
+
cred = credential.Credential(
|
2376
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2377
|
+
)
|
2378
|
+
http_profile = HttpProfile(
|
2379
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2380
|
+
reqMethod="POST",
|
2381
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2382
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2383
|
+
)
|
2384
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2385
|
+
if g_param[OptionsDefine.Language]:
|
2386
|
+
profile.language = g_param[OptionsDefine.Language]
|
2387
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2388
|
+
client = mod.DbbrainClient(cred, g_param[OptionsDefine.Region], profile)
|
2389
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2390
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2391
|
+
model = models.CancelKillTaskRequest()
|
2392
|
+
model.from_json_string(json.dumps(args))
|
2393
|
+
start_time = time.time()
|
2394
|
+
while True:
|
2395
|
+
rsp = client.CancelKillTask(model)
|
2396
|
+
result = rsp.to_json_string()
|
2397
|
+
try:
|
2398
|
+
json_obj = json.loads(result)
|
2399
|
+
except TypeError as e:
|
2400
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2401
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2402
|
+
break
|
2403
|
+
cur_time = time.time()
|
2404
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2405
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2406
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2407
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2408
|
+
else:
|
2409
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2410
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2411
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2412
|
+
|
2413
|
+
|
2362
2414
|
def doDescribeDiagDBInstances(args, parsed_globals):
|
2363
2415
|
g_param = parse_global_arg(parsed_globals)
|
2364
2416
|
|
@@ -3335,7 +3387,7 @@ ACTION_MAP = {
|
|
3335
3387
|
"DescribeDBSpaceStatus": doDescribeDBSpaceStatus,
|
3336
3388
|
"CreateProxySessionKillTask": doCreateProxySessionKillTask,
|
3337
3389
|
"DescribeHealthScore": doDescribeHealthScore,
|
3338
|
-
"
|
3390
|
+
"DescribeRedisTopHotKeys": doDescribeRedisTopHotKeys,
|
3339
3391
|
"CreateSecurityAuditLogExportTask": doCreateSecurityAuditLogExportTask,
|
3340
3392
|
"CloseAuditService": doCloseAuditService,
|
3341
3393
|
"DeleteSecurityAuditLogExportTasks": doDeleteSecurityAuditLogExportTasks,
|
@@ -3353,6 +3405,7 @@ ACTION_MAP = {
|
|
3353
3405
|
"DescribeSlowLogTimeSeriesStats": doDescribeSlowLogTimeSeriesStats,
|
3354
3406
|
"DescribeTopSpaceSchemaTimeSeries": doDescribeTopSpaceSchemaTimeSeries,
|
3355
3407
|
"DeleteSqlFilters": doDeleteSqlFilters,
|
3408
|
+
"CancelKillTask": doCancelKillTask,
|
3356
3409
|
"DescribeDiagDBInstances": doDescribeDiagDBInstances,
|
3357
3410
|
"AddUserContact": doAddUserContact,
|
3358
3411
|
"DescribeIndexRecommendInfo": doDescribeIndexRecommendInfo,
|
@@ -280,6 +280,13 @@
|
|
280
280
|
"output": "DescribeRedisTopBigKeysResponse",
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
|
+
"DescribeRedisTopHotKeys": {
|
284
|
+
"document": "热Key分析",
|
285
|
+
"input": "DescribeRedisTopHotKeysRequest",
|
286
|
+
"name": "获取redis top热key",
|
287
|
+
"output": "DescribeRedisTopHotKeysResponse",
|
288
|
+
"status": "online"
|
289
|
+
},
|
283
290
|
"DescribeRedisTopKeyPrefixList": {
|
284
291
|
"document": "查询redis实例top key前缀列表。",
|
285
292
|
"input": "DescribeRedisTopKeyPrefixListRequest",
|
@@ -4268,6 +4275,88 @@
|
|
4268
4275
|
],
|
4269
4276
|
"type": "object"
|
4270
4277
|
},
|
4278
|
+
"DescribeRedisTopHotKeysRequest": {
|
4279
|
+
"document": "DescribeRedisTopHotKeys请求参数结构体",
|
4280
|
+
"members": [
|
4281
|
+
{
|
4282
|
+
"disabled": false,
|
4283
|
+
"document": "实例 ID 。",
|
4284
|
+
"example": "crs-test1234",
|
4285
|
+
"member": "string",
|
4286
|
+
"name": "InstanceId",
|
4287
|
+
"required": true,
|
4288
|
+
"type": "string"
|
4289
|
+
},
|
4290
|
+
{
|
4291
|
+
"disabled": false,
|
4292
|
+
"document": "开始时间,如“2024-09-22T00:00:00+00:00”。0天 < 当前服务器时间 - 开始时间 <= 10天。",
|
4293
|
+
"example": "2024-09-22T00:00:00+00:00",
|
4294
|
+
"member": "datetime_iso",
|
4295
|
+
"name": "StartTime",
|
4296
|
+
"required": true,
|
4297
|
+
"type": "string"
|
4298
|
+
},
|
4299
|
+
{
|
4300
|
+
"disabled": false,
|
4301
|
+
"document": "结束时间,如“2024-09-22T01:00:00+00:00”,0天 < 结束时间 - 开始时间 <= 10天。",
|
4302
|
+
"example": "2024-09-22T01:00:00+00:00",
|
4303
|
+
"member": "datetime_iso",
|
4304
|
+
"name": "EndTime",
|
4305
|
+
"required": true,
|
4306
|
+
"type": "string"
|
4307
|
+
},
|
4308
|
+
{
|
4309
|
+
"disabled": false,
|
4310
|
+
"document": "服务产品类型,仅仅支持值 \"redis\" - 云数据库 Redis。",
|
4311
|
+
"example": "redis",
|
4312
|
+
"member": "string",
|
4313
|
+
"name": "Product",
|
4314
|
+
"required": true,
|
4315
|
+
"type": "string"
|
4316
|
+
},
|
4317
|
+
{
|
4318
|
+
"disabled": false,
|
4319
|
+
"document": "Redis 节点数组。",
|
4320
|
+
"example": "[\"fa765e5e2e432806328a3e91d591e47097ecd17r\"]",
|
4321
|
+
"member": "string",
|
4322
|
+
"name": "InstanceNodeIds",
|
4323
|
+
"required": false,
|
4324
|
+
"type": "list"
|
4325
|
+
},
|
4326
|
+
{
|
4327
|
+
"disabled": false,
|
4328
|
+
"document": "top 数目,默认为20,最大值为100。",
|
4329
|
+
"example": "20",
|
4330
|
+
"member": "int64",
|
4331
|
+
"name": "Limit",
|
4332
|
+
"required": false,
|
4333
|
+
"type": "int"
|
4334
|
+
}
|
4335
|
+
],
|
4336
|
+
"type": "object"
|
4337
|
+
},
|
4338
|
+
"DescribeRedisTopHotKeysResponse": {
|
4339
|
+
"document": "DescribeRedisTopHotKeys返回参数结构体",
|
4340
|
+
"members": [
|
4341
|
+
{
|
4342
|
+
"disabled": false,
|
4343
|
+
"document": "热Key分析结果",
|
4344
|
+
"example": "无",
|
4345
|
+
"member": "TopHotKeys",
|
4346
|
+
"name": "TopHotKeys",
|
4347
|
+
"output_required": false,
|
4348
|
+
"type": "list",
|
4349
|
+
"value_allowed_null": false
|
4350
|
+
},
|
4351
|
+
{
|
4352
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4353
|
+
"member": "string",
|
4354
|
+
"name": "RequestId",
|
4355
|
+
"type": "string"
|
4356
|
+
}
|
4357
|
+
],
|
4358
|
+
"type": "object"
|
4359
|
+
},
|
4271
4360
|
"DescribeRedisTopKeyPrefixListRequest": {
|
4272
4361
|
"document": "DescribeRedisTopKeyPrefixList请求参数结构体",
|
4273
4362
|
"members": [
|
@@ -9326,6 +9415,62 @@
|
|
9326
9415
|
],
|
9327
9416
|
"usage": "out"
|
9328
9417
|
},
|
9418
|
+
"TopHotKeys": {
|
9419
|
+
"document": "热key分析返回信息",
|
9420
|
+
"members": [
|
9421
|
+
{
|
9422
|
+
"disabled": false,
|
9423
|
+
"document": "访问频次。",
|
9424
|
+
"example": "100",
|
9425
|
+
"member": "int64",
|
9426
|
+
"name": "Count",
|
9427
|
+
"output_required": false,
|
9428
|
+
"type": "int",
|
9429
|
+
"value_allowed_null": false
|
9430
|
+
},
|
9431
|
+
{
|
9432
|
+
"disabled": false,
|
9433
|
+
"document": "热Key所属数据库。",
|
9434
|
+
"example": "0",
|
9435
|
+
"member": "string",
|
9436
|
+
"name": "Db",
|
9437
|
+
"output_required": false,
|
9438
|
+
"type": "string",
|
9439
|
+
"value_allowed_null": false
|
9440
|
+
},
|
9441
|
+
{
|
9442
|
+
"disabled": false,
|
9443
|
+
"document": "Redis节点。",
|
9444
|
+
"example": "fa765e5e2e432806328a3e91d591e47097ecd27d",
|
9445
|
+
"member": "string",
|
9446
|
+
"name": "InstanceNodeId",
|
9447
|
+
"output_required": false,
|
9448
|
+
"type": "string",
|
9449
|
+
"value_allowed_null": false
|
9450
|
+
},
|
9451
|
+
{
|
9452
|
+
"disabled": false,
|
9453
|
+
"document": "热Key。",
|
9454
|
+
"example": "string|key:00000009688",
|
9455
|
+
"member": "string",
|
9456
|
+
"name": "Key",
|
9457
|
+
"output_required": false,
|
9458
|
+
"type": "string",
|
9459
|
+
"value_allowed_null": false
|
9460
|
+
},
|
9461
|
+
{
|
9462
|
+
"disabled": false,
|
9463
|
+
"document": "数据类型。",
|
9464
|
+
"example": "string",
|
9465
|
+
"member": "string",
|
9466
|
+
"name": "Type",
|
9467
|
+
"output_required": false,
|
9468
|
+
"type": "string",
|
9469
|
+
"value_allowed_null": false
|
9470
|
+
}
|
9471
|
+
],
|
9472
|
+
"usage": "out"
|
9473
|
+
},
|
9329
9474
|
"UpdateAgentSwitchRequest": {
|
9330
9475
|
"document": "UpdateAgentSwitch请求参数结构体",
|
9331
9476
|
"members": [
|
@@ -320,6 +320,14 @@
|
|
320
320
|
"title": "查询redis实例大key列表"
|
321
321
|
}
|
322
322
|
],
|
323
|
+
"DescribeRedisTopHotKeys": [
|
324
|
+
{
|
325
|
+
"document": "",
|
326
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRedisTopHotKeys\n<公共请求参数>\n\n{\n \"Product\": \"redis\",\n \"InstanceId\": \"crs-179943dsc\",\n \"StartTime\": \"2024-09-22T00:00:00+00:00\",\n \"EndTime\": \"2024-09-22T01:00:00+00:00\"\n}",
|
327
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"75421bae-7fcb-4b32-83df-d66b060b4cbf\",\n \"TopHotKeys\": [\n {\n \"Count\": 100,\n \"Db\": \"0\",\n \"InstanceNodeId\": \"fa765e5e2e432806328a691d591e47097ecd133d\",\n \"Key\": \"string|key:000000096\",\n \"Type\": \"string\"\n }\n ]\n }\n}",
|
328
|
+
"title": "查询热Key分析"
|
329
|
+
}
|
330
|
+
],
|
323
331
|
"DescribeRedisTopKeyPrefixList": [
|
324
332
|
{
|
325
333
|
"document": "",
|
@@ -281,7 +281,7 @@
|
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
283
|
"ChannelDescribeSignFaceVideo": {
|
284
|
-
"document": "该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。\n\n1. 该接口**仅适用于在H5
|
284
|
+
"document": "该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。\n\n1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取认证的视频内容。\n2. 该接口**不支持小程序端**的签署认证的视频获取。\n3. 请在**签署完成后的三天内**获取视频,**过期后将无法获取**。\n\n**注意:该接口需要开通白名单,请联系客户经理开通后使用。**",
|
285
285
|
"input": "ChannelDescribeSignFaceVideoRequest",
|
286
286
|
"name": "查询签署认证人脸视频",
|
287
287
|
"output": "ChannelDescribeSignFaceVideoResponse",
|
@@ -173,7 +173,7 @@
|
|
173
173
|
"members": [
|
174
174
|
{
|
175
175
|
"disabled": false,
|
176
|
-
"document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision。\n各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。\n\n注意:\n不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
|
176
|
+
"document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest、 hunyuan-large、 hunyuan-large-longcontext、 hunyuan-turbo-vision、 hunyuan-standard-vision。\n各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。\n\n注意:\n不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。",
|
177
177
|
"example": "hunyuan-pro",
|
178
178
|
"member": "string",
|
179
179
|
"name": "Model",
|
@@ -6914,7 +6914,7 @@
|
|
6914
6914
|
},
|
6915
6915
|
{
|
6916
6916
|
"disabled": false,
|
6917
|
-
"document": "自动续费标识。取值范围: \nNOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 \nNOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费
|
6917
|
+
"document": "自动续费标识。取值范围: \nNOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 \nNOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知。",
|
6918
6918
|
"example": "NOTIFY_AND_MANUAL_RENEW",
|
6919
6919
|
"member": "string",
|
6920
6920
|
"name": "RenewFlag",
|
@@ -3895,6 +3895,16 @@
|
|
3895
3895
|
"type": "string",
|
3896
3896
|
"value_allowed_null": false
|
3897
3897
|
},
|
3898
|
+
{
|
3899
|
+
"disabled": false,
|
3900
|
+
"document": "知识库使用字符总数",
|
3901
|
+
"example": "无",
|
3902
|
+
"member": "string",
|
3903
|
+
"name": "UsedCharSize",
|
3904
|
+
"output_required": false,
|
3905
|
+
"type": "string",
|
3906
|
+
"value_allowed_null": false
|
3907
|
+
},
|
3898
3908
|
{
|
3899
3909
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3900
3910
|
"member": "string",
|
@@ -5026,6 +5036,26 @@
|
|
5026
5036
|
"type": "int",
|
5027
5037
|
"value_allowed_null": false
|
5028
5038
|
},
|
5039
|
+
{
|
5040
|
+
"disabled": false,
|
5041
|
+
"document": "拆分token消耗量",
|
5042
|
+
"example": "无",
|
5043
|
+
"member": "float",
|
5044
|
+
"name": "SplitTokenUsage",
|
5045
|
+
"output_required": false,
|
5046
|
+
"type": "float",
|
5047
|
+
"value_allowed_null": false
|
5048
|
+
},
|
5049
|
+
{
|
5050
|
+
"disabled": false,
|
5051
|
+
"document": "Rag检索次数",
|
5052
|
+
"example": "无",
|
5053
|
+
"member": "float",
|
5054
|
+
"name": "RagSearchUsage",
|
5055
|
+
"output_required": false,
|
5056
|
+
"type": "float",
|
5057
|
+
"value_allowed_null": false
|
5058
|
+
},
|
5029
5059
|
{
|
5030
5060
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5031
5061
|
"member": "string",
|
@@ -3505,6 +3505,24 @@
|
|
3505
3505
|
"name": "EbSubject",
|
3506
3506
|
"required": false,
|
3507
3507
|
"type": "string"
|
3508
|
+
},
|
3509
|
+
{
|
3510
|
+
"disabled": false,
|
3511
|
+
"document": "附加告警内容",
|
3512
|
+
"example": "无",
|
3513
|
+
"member": "string",
|
3514
|
+
"name": "AdditionalAlarmContent",
|
3515
|
+
"required": false,
|
3516
|
+
"type": "string"
|
3517
|
+
},
|
3518
|
+
{
|
3519
|
+
"disabled": false,
|
3520
|
+
"document": "通知模板绑定信息",
|
3521
|
+
"example": "[{\"NoticeContentTmplID\":\"tmpl-xxx\",\"PolicyID\":\"policy-xxx\",\"NoticeID\":\"notice-xxx\"}]",
|
3522
|
+
"member": "NoticeContentTmplBindInfo",
|
3523
|
+
"name": "NoticeContentTmplBindInfos",
|
3524
|
+
"required": false,
|
3525
|
+
"type": "list"
|
3508
3526
|
}
|
3509
3527
|
],
|
3510
3528
|
"type": "object"
|
@@ -15513,6 +15531,15 @@
|
|
15513
15531
|
"name": "HierarchicalNotices",
|
15514
15532
|
"required": false,
|
15515
15533
|
"type": "list"
|
15534
|
+
},
|
15535
|
+
{
|
15536
|
+
"disabled": false,
|
15537
|
+
"document": "通知内容模板绑定信息",
|
15538
|
+
"example": " [{\"NoticeContentTmplID\":\"tmpl-xxx\",\"PolicyID\":\"policy-xxx\",\"NoticeID\":\"notice-xxx\"}]",
|
15539
|
+
"member": "NoticeContentTmplBindInfo",
|
15540
|
+
"name": "NoticeContentTmplBindInfos",
|
15541
|
+
"required": false,
|
15542
|
+
"type": "list"
|
15516
15543
|
}
|
15517
15544
|
],
|
15518
15545
|
"type": "object"
|
@@ -16379,6 +16406,34 @@
|
|
16379
16406
|
],
|
16380
16407
|
"usage": "in"
|
16381
16408
|
},
|
16409
|
+
"NoticeContentTmplBindInfo": {
|
16410
|
+
"document": "通知内容模板绑定信息",
|
16411
|
+
"members": [
|
16412
|
+
{
|
16413
|
+
"disabled": false,
|
16414
|
+
"document": "通知内容模板ID",
|
16415
|
+
"example": "tmpl-xxx",
|
16416
|
+
"member": "string",
|
16417
|
+
"name": "ContentTmplID",
|
16418
|
+
"output_required": false,
|
16419
|
+
"required": false,
|
16420
|
+
"type": "string",
|
16421
|
+
"value_allowed_null": false
|
16422
|
+
},
|
16423
|
+
{
|
16424
|
+
"disabled": false,
|
16425
|
+
"document": "通知模板ID",
|
16426
|
+
"example": "notice-xxx",
|
16427
|
+
"member": "string",
|
16428
|
+
"name": "NoticeID",
|
16429
|
+
"output_required": false,
|
16430
|
+
"required": false,
|
16431
|
+
"type": "string",
|
16432
|
+
"value_allowed_null": false
|
16433
|
+
}
|
16434
|
+
],
|
16435
|
+
"usage": "both"
|
16436
|
+
},
|
16382
16437
|
"Operator": {
|
16383
16438
|
"document": "维度支持的操作符信息",
|
16384
16439
|
"members": [
|