tccli 3.0.1310.1__py2.py3-none-any.whl → 3.0.1312.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/apm/v20210622/api.json +22 -2
- tccli/services/autoscaling/v20180419/api.json +19 -10
- tccli/services/batch/v20170312/api.json +119 -143
- tccli/services/batch/v20170312/examples.json +5 -5
- tccli/services/billing/billing_client.py +867 -125
- tccli/services/billing/v20180709/api.json +1336 -45
- tccli/services/billing/v20180709/examples.json +136 -0
- tccli/services/cbs/v20170312/api.json +19 -16
- tccli/services/cbs/v20170312/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +33 -33
- tccli/services/clb/v20180317/examples.json +8 -8
- tccli/services/cynosdb/v20190107/api.json +2 -2
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dbbrain/dbbrain_client.py +147 -41
- tccli/services/dbbrain/v20210527/api.json +224 -0
- tccli/services/dbbrain/v20210527/examples.json +16 -0
- tccli/services/dnspod/dnspod_client.py +53 -0
- tccli/services/dnspod/v20210323/api.json +287 -0
- tccli/services/dnspod/v20210323/examples.json +8 -0
- tccli/services/domain/v20180808/api.json +21 -21
- tccli/services/domain/v20180808/examples.json +2 -2
- tccli/services/goosefs/v20220519/api.json +5 -5
- tccli/services/hunyuan/v20230901/api.json +123 -0
- tccli/services/ims/v20201229/api.json +93 -102
- tccli/services/lighthouse/v20200324/api.json +2 -2
- tccli/services/lke/v20231130/api.json +117 -2
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/mps/v20190612/api.json +96 -1
- tccli/services/postgres/v20170312/api.json +4 -4
- tccli/services/tag/v20180813/api.json +4 -4
- tccli/services/tcb/v20180608/api.json +25 -5
- tccli/services/tcb/v20180608/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +45 -24
- tccli/services/thpc/thpc_client.py +53 -0
- tccli/services/thpc/v20211109/api.json +3 -3
- tccli/services/thpc/v20220401/api.json +4 -4
- tccli/services/thpc/v20230321/api.json +48 -5
- tccli/services/thpc/v20230321/examples.json +8 -0
- tccli/services/tione/v20211111/api.json +159 -4
- tccli/services/tke/v20180525/api.json +10 -10
- tccli/services/tmt/tmt_client.py +61 -8
- tccli/services/tmt/v20180321/api.json +166 -0
- tccli/services/tmt/v20180321/examples.json +14 -0
- tccli/services/trtc/v20190722/api.json +9 -0
- tccli/services/vod/v20180717/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +9 -9
- tccli/services/vpc/v20170312/examples.json +6 -6
- tccli/services/waf/v20180125/api.json +11 -0
- tccli/services/wedata/v20210820/api.json +603 -0
- tccli/services/wedata/v20210820/examples.json +16 -0
- tccli/services/wedata/wedata_client.py +106 -0
- {tccli-3.0.1310.1.dist-info → tccli-3.0.1312.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1310.1.dist-info → tccli-3.0.1312.1.dist-info}/RECORD +57 -57
- {tccli-3.0.1310.1.dist-info → tccli-3.0.1312.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1310.1.dist-info → tccli-3.0.1312.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1310.1.dist-info → tccli-3.0.1312.1.dist-info}/license_files/LICENSE +0 -0
@@ -14,6 +14,13 @@
|
|
14
14
|
"output": "CancelDBAutonomyActionResponse",
|
15
15
|
"status": "online"
|
16
16
|
},
|
17
|
+
"CancelDBAutonomyEvent": {
|
18
|
+
"document": "自治中心-终止自治事件",
|
19
|
+
"input": "CancelDBAutonomyEventRequest",
|
20
|
+
"name": "终止自治事件",
|
21
|
+
"output": "CancelDBAutonomyEventResponse",
|
22
|
+
"status": "online"
|
23
|
+
},
|
17
24
|
"CancelKillTask": {
|
18
25
|
"document": "终止中断会话任务。",
|
19
26
|
"input": "CancelKillTaskRequest",
|
@@ -182,6 +189,13 @@
|
|
182
189
|
"output": "DescribeAuditLogFilesResponse",
|
183
190
|
"status": "online"
|
184
191
|
},
|
192
|
+
"DescribeDBAutonomyAction": {
|
193
|
+
"document": "自治中心-查询自治事件任务详情。",
|
194
|
+
"input": "DescribeDBAutonomyActionRequest",
|
195
|
+
"name": "查询自治事件任务详情",
|
196
|
+
"output": "DescribeDBAutonomyActionResponse",
|
197
|
+
"status": "online"
|
198
|
+
},
|
185
199
|
"DescribeDBAutonomyActions": {
|
186
200
|
"document": "自治中心-终止自治任务(单次)",
|
187
201
|
"input": "DescribeDBAutonomyActionsRequest",
|
@@ -1546,6 +1560,51 @@
|
|
1546
1560
|
],
|
1547
1561
|
"type": "object"
|
1548
1562
|
},
|
1563
|
+
"CancelDBAutonomyEventRequest": {
|
1564
|
+
"document": "CancelDBAutonomyEvent请求参数结构体",
|
1565
|
+
"members": [
|
1566
|
+
{
|
1567
|
+
"disabled": false,
|
1568
|
+
"document": "自治事件ID。",
|
1569
|
+
"example": "12",
|
1570
|
+
"member": "int64",
|
1571
|
+
"name": "EventId",
|
1572
|
+
"required": true,
|
1573
|
+
"type": "int"
|
1574
|
+
},
|
1575
|
+
{
|
1576
|
+
"disabled": false,
|
1577
|
+
"document": "实列ID。",
|
1578
|
+
"example": "crs-qtmkik3e",
|
1579
|
+
"member": "string",
|
1580
|
+
"name": "InstanceId",
|
1581
|
+
"required": true,
|
1582
|
+
"type": "string"
|
1583
|
+
},
|
1584
|
+
{
|
1585
|
+
"disabled": false,
|
1586
|
+
"document": "服务产品类型,支持值包括: \"redis\" - 云数据库 Redis。",
|
1587
|
+
"example": "redis",
|
1588
|
+
"member": "string",
|
1589
|
+
"name": "Product",
|
1590
|
+
"required": true,
|
1591
|
+
"type": "string"
|
1592
|
+
}
|
1593
|
+
],
|
1594
|
+
"type": "object"
|
1595
|
+
},
|
1596
|
+
"CancelDBAutonomyEventResponse": {
|
1597
|
+
"document": "CancelDBAutonomyEvent返回参数结构体",
|
1598
|
+
"members": [
|
1599
|
+
{
|
1600
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1601
|
+
"member": "string",
|
1602
|
+
"name": "RequestId",
|
1603
|
+
"type": "string"
|
1604
|
+
}
|
1605
|
+
],
|
1606
|
+
"type": "object"
|
1607
|
+
},
|
1549
1608
|
"CancelKillTaskRequest": {
|
1550
1609
|
"document": "CancelKillTask请求参数结构体",
|
1551
1610
|
"members": [
|
@@ -3260,6 +3319,171 @@
|
|
3260
3319
|
],
|
3261
3320
|
"type": "object"
|
3262
3321
|
},
|
3322
|
+
"DescribeDBAutonomyActionRequest": {
|
3323
|
+
"document": "DescribeDBAutonomyAction请求参数结构体",
|
3324
|
+
"members": [
|
3325
|
+
{
|
3326
|
+
"disabled": false,
|
3327
|
+
"document": "自治任务ID。",
|
3328
|
+
"example": "12",
|
3329
|
+
"member": "int64",
|
3330
|
+
"name": "ActionId",
|
3331
|
+
"required": true,
|
3332
|
+
"type": "int"
|
3333
|
+
},
|
3334
|
+
{
|
3335
|
+
"disabled": false,
|
3336
|
+
"document": "实列ID。",
|
3337
|
+
"example": "crs-qtmkik3e",
|
3338
|
+
"member": "string",
|
3339
|
+
"name": "InstanceId",
|
3340
|
+
"required": true,
|
3341
|
+
"type": "string"
|
3342
|
+
},
|
3343
|
+
{
|
3344
|
+
"disabled": false,
|
3345
|
+
"document": "服务产品类型,支持值包括: \"redis\" - 云数据库 Redis。",
|
3346
|
+
"example": "redis",
|
3347
|
+
"member": "string",
|
3348
|
+
"name": "Product",
|
3349
|
+
"required": true,
|
3350
|
+
"type": "string"
|
3351
|
+
}
|
3352
|
+
],
|
3353
|
+
"type": "object"
|
3354
|
+
},
|
3355
|
+
"DescribeDBAutonomyActionResponse": {
|
3356
|
+
"document": "DescribeDBAutonomyAction返回参数结构体",
|
3357
|
+
"members": [
|
3358
|
+
{
|
3359
|
+
"disabled": false,
|
3360
|
+
"document": "自治任务ID。",
|
3361
|
+
"example": "2",
|
3362
|
+
"member": "int64",
|
3363
|
+
"name": "ActionId",
|
3364
|
+
"output_required": true,
|
3365
|
+
"type": "int",
|
3366
|
+
"value_allowed_null": false
|
3367
|
+
},
|
3368
|
+
{
|
3369
|
+
"disabled": false,
|
3370
|
+
"document": "自治事件ID。",
|
3371
|
+
"example": "2",
|
3372
|
+
"member": "int64",
|
3373
|
+
"name": "EventId",
|
3374
|
+
"output_required": true,
|
3375
|
+
"type": "int",
|
3376
|
+
"value_allowed_null": false
|
3377
|
+
},
|
3378
|
+
{
|
3379
|
+
"disabled": false,
|
3380
|
+
"document": "任务ID。",
|
3381
|
+
"example": "1",
|
3382
|
+
"member": "int64",
|
3383
|
+
"name": "TaskId",
|
3384
|
+
"output_required": false,
|
3385
|
+
"type": "int",
|
3386
|
+
"value_allowed_null": false
|
3387
|
+
},
|
3388
|
+
{
|
3389
|
+
"disabled": false,
|
3390
|
+
"document": "类型:支持RedisAutoScaleUp",
|
3391
|
+
"example": "RedisAutoScaleUp",
|
3392
|
+
"member": "string",
|
3393
|
+
"name": "Type",
|
3394
|
+
"output_required": true,
|
3395
|
+
"type": "string",
|
3396
|
+
"value_allowed_null": false
|
3397
|
+
},
|
3398
|
+
{
|
3399
|
+
"disabled": false,
|
3400
|
+
"document": "自治任务触发时间。",
|
3401
|
+
"example": "2025-03-12 00:00:00",
|
3402
|
+
"member": "string",
|
3403
|
+
"name": "TriggerTime",
|
3404
|
+
"output_required": false,
|
3405
|
+
"type": "string",
|
3406
|
+
"value_allowed_null": false
|
3407
|
+
},
|
3408
|
+
{
|
3409
|
+
"disabled": false,
|
3410
|
+
"document": "自治任务创建时间。",
|
3411
|
+
"example": "2025-03-12 00:00:00",
|
3412
|
+
"member": "string",
|
3413
|
+
"name": "CreateTime",
|
3414
|
+
"output_required": false,
|
3415
|
+
"type": "string",
|
3416
|
+
"value_allowed_null": false
|
3417
|
+
},
|
3418
|
+
{
|
3419
|
+
"disabled": false,
|
3420
|
+
"document": "自治任务更新时间。",
|
3421
|
+
"example": "2025-03-12 00:00:00",
|
3422
|
+
"member": "string",
|
3423
|
+
"name": "UpdateTime",
|
3424
|
+
"output_required": false,
|
3425
|
+
"type": "string",
|
3426
|
+
"value_allowed_null": false
|
3427
|
+
},
|
3428
|
+
{
|
3429
|
+
"disabled": false,
|
3430
|
+
"document": "自治任务完成时间。",
|
3431
|
+
"example": "2025-03-12 00:00:00",
|
3432
|
+
"member": "string",
|
3433
|
+
"name": "FinishTime",
|
3434
|
+
"output_required": false,
|
3435
|
+
"type": "string",
|
3436
|
+
"value_allowed_null": false
|
3437
|
+
},
|
3438
|
+
{
|
3439
|
+
"disabled": false,
|
3440
|
+
"document": "剩余时间,单位:秒。",
|
3441
|
+
"example": "100",
|
3442
|
+
"member": "int64",
|
3443
|
+
"name": "ExpireTime",
|
3444
|
+
"output_required": true,
|
3445
|
+
"type": "int",
|
3446
|
+
"value_allowed_null": false
|
3447
|
+
},
|
3448
|
+
{
|
3449
|
+
"disabled": false,
|
3450
|
+
"document": "触发原因。",
|
3451
|
+
"example": "指标\"cpu_limit\"大于10s持续超过15分钟",
|
3452
|
+
"member": "string",
|
3453
|
+
"name": "Reason",
|
3454
|
+
"output_required": true,
|
3455
|
+
"type": "string",
|
3456
|
+
"value_allowed_null": false
|
3457
|
+
},
|
3458
|
+
{
|
3459
|
+
"disabled": false,
|
3460
|
+
"document": "自治任务状态:支持 RUNNING,FINISHED,TERMINATED,CANCELLED",
|
3461
|
+
"example": "RUNNING",
|
3462
|
+
"member": "string",
|
3463
|
+
"name": "Status",
|
3464
|
+
"output_required": true,
|
3465
|
+
"type": "string",
|
3466
|
+
"value_allowed_null": false
|
3467
|
+
},
|
3468
|
+
{
|
3469
|
+
"disabled": false,
|
3470
|
+
"document": "任务相关的图表等信息。",
|
3471
|
+
"example": "[{\"DataType\":\"title\",\"Data\":{\"Name\":\"扩容任务【7477146】\"}},{\"Layout\":\"vertical\",\"DataType\":\"table\",\"Data\":{\"Names\":[\"任务类型\"],\"Data\":[{\"预期扩容后规格\":\"4GiB\"}]}},{\"DataType\":\"title\",\"Data\":{\"Name\":\"触1发原因\"}}]",
|
3472
|
+
"member": "string",
|
3473
|
+
"name": "Info",
|
3474
|
+
"output_required": false,
|
3475
|
+
"type": "string",
|
3476
|
+
"value_allowed_null": false
|
3477
|
+
},
|
3478
|
+
{
|
3479
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3480
|
+
"member": "string",
|
3481
|
+
"name": "RequestId",
|
3482
|
+
"type": "string"
|
3483
|
+
}
|
3484
|
+
],
|
3485
|
+
"type": "object"
|
3486
|
+
},
|
3263
3487
|
"DescribeDBAutonomyActionsRequest": {
|
3264
3488
|
"document": "DescribeDBAutonomyActions请求参数结构体",
|
3265
3489
|
"members": [
|
@@ -16,6 +16,14 @@
|
|
16
16
|
"title": "终止自治任务(单次)"
|
17
17
|
}
|
18
18
|
],
|
19
|
+
"CancelDBAutonomyEvent": [
|
20
|
+
{
|
21
|
+
"document": "",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CancelDBAutonomyEvent\n<公共请求参数>\n\n{\n \"EventId\": 1,\n \"InstanceId\": \"crs-m5toyq2w\",\n \"Product\": \"redis\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f2a46502-fb93-4fc5-9f22-a788f26c298d\"\n }\n}",
|
24
|
+
"title": "终止自治事件"
|
25
|
+
}
|
26
|
+
],
|
19
27
|
"CancelKillTask": [
|
20
28
|
{
|
21
29
|
"document": "",
|
@@ -208,6 +216,14 @@
|
|
208
216
|
"title": "查询审计日志文件列表"
|
209
217
|
}
|
210
218
|
],
|
219
|
+
"DescribeDBAutonomyAction": [
|
220
|
+
{
|
221
|
+
"document": "",
|
222
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBAutonomyAction\n<公共请求参数>\n\n{\n \"ActionId\": 11,\n \"InstanceId\": \"crs-m5toyq2w\",\n \"Product\": \"redis\"\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"ActionId\": 1295,\n \"CreateTime\": \"2025-05-08 14:33:00\",\n \"EventId\": 55,\n \"ExpireTime\": 0,\n \"FinishTime\": \"2025-05-08 14:50:55\",\n \"Info\": \"[{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"扩容任务【7477146】\\\"}},{\\\"Layout\\\":\\\"vertical\\\",\\\"DataType\\\":\\\"table\\\",\\\"Data\\\":{\\\"Names\\\":[\\\"任务类型\\\"],\\\"Data\\\":[{\\\"预期扩容后规格\\\":\\\"4GiB\\\"}]}},{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"触1发原因\\\"}}]\",\n \"Reason\": \"指标\\\\\\\"mem_util\\\\\\\"大于50%持续超过10分钟\",\n \"RequestId\": \"80340cd2-adca-4e6a-81af-1ca998426a61\",\n \"Status\": \"CANCELLED\",\n \"TaskId\": 7477145,\n \"TriggerTime\": \"2025-05-08 14:33:00\",\n \"Type\": \"RedisAutoScaleUp\",\n \"UpdateTime\": \"2025-05-08 14:33:00\"\n }\n}",
|
224
|
+
"title": "查询自治事件任务详情"
|
225
|
+
}
|
226
|
+
],
|
211
227
|
"DescribeDBAutonomyActions": [
|
212
228
|
{
|
213
229
|
"document": "",
|
@@ -537,6 +537,58 @@ def doCreateLineGroup(args, parsed_globals):
|
|
537
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
538
|
|
539
539
|
|
540
|
+
def doDescribeDomainAndRecordList(args, parsed_globals):
|
541
|
+
g_param = parse_global_arg(parsed_globals)
|
542
|
+
|
543
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
544
|
+
cred = credential.CVMRoleCredential()
|
545
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
546
|
+
cred = credential.STSAssumeRoleCredential(
|
547
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
548
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
549
|
+
)
|
550
|
+
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):
|
551
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
552
|
+
else:
|
553
|
+
cred = credential.Credential(
|
554
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
555
|
+
)
|
556
|
+
http_profile = HttpProfile(
|
557
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
558
|
+
reqMethod="POST",
|
559
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
560
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
561
|
+
)
|
562
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
563
|
+
if g_param[OptionsDefine.Language]:
|
564
|
+
profile.language = g_param[OptionsDefine.Language]
|
565
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
566
|
+
client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
|
567
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
568
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
+
model = models.DescribeDomainAndRecordListRequest()
|
570
|
+
model.from_json_string(json.dumps(args))
|
571
|
+
start_time = time.time()
|
572
|
+
while True:
|
573
|
+
rsp = client.DescribeDomainAndRecordList(model)
|
574
|
+
result = rsp.to_json_string()
|
575
|
+
try:
|
576
|
+
json_obj = json.loads(result)
|
577
|
+
except TypeError as e:
|
578
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
579
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
580
|
+
break
|
581
|
+
cur_time = time.time()
|
582
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
583
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
584
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
585
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
586
|
+
else:
|
587
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
588
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
589
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
|
+
|
591
|
+
|
540
592
|
def doDescribeDomain(args, parsed_globals):
|
541
593
|
g_param = parse_global_arg(parsed_globals)
|
542
594
|
|
@@ -4562,6 +4614,7 @@ ACTION_MAP = {
|
|
4562
4614
|
"CreateDomainBatch": doCreateDomainBatch,
|
4563
4615
|
"DescribeDomainGroupList": doDescribeDomainGroupList,
|
4564
4616
|
"CreateLineGroup": doCreateLineGroup,
|
4617
|
+
"DescribeDomainAndRecordList": doDescribeDomainAndRecordList,
|
4565
4618
|
"DescribeDomain": doDescribeDomain,
|
4566
4619
|
"DeleteRecord": doDeleteRecord,
|
4567
4620
|
"DeleteLineGroup": doDeleteLineGroup,
|
@@ -224,6 +224,13 @@
|
|
224
224
|
"output": "DescribeDomainAnalyticsResponse",
|
225
225
|
"status": "online"
|
226
226
|
},
|
227
|
+
"DescribeDomainAndRecordList": {
|
228
|
+
"document": "批量操作中搜索域名",
|
229
|
+
"input": "DescribeDomainAndRecordListRequest",
|
230
|
+
"name": "批量操作中搜索域名",
|
231
|
+
"output": "DescribeDomainAndRecordListResponse",
|
232
|
+
"status": "online"
|
233
|
+
},
|
227
234
|
"DescribeDomainCustomLineList": {
|
228
235
|
"document": "获取域名的自定义线路列表",
|
229
236
|
"input": "DescribeDomainCustomLineListRequest",
|
@@ -859,6 +866,168 @@
|
|
859
866
|
],
|
860
867
|
"usage": "out"
|
861
868
|
},
|
869
|
+
"BatchSearchDomainInfo": {
|
870
|
+
"document": "批量操作筛选域名信息",
|
871
|
+
"members": [
|
872
|
+
{
|
873
|
+
"disabled": false,
|
874
|
+
"document": "域名",
|
875
|
+
"example": "example.com",
|
876
|
+
"member": "string",
|
877
|
+
"name": "Domain",
|
878
|
+
"required": false,
|
879
|
+
"type": "string",
|
880
|
+
"value_allowed_null": false
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"disabled": false,
|
884
|
+
"document": "域名 ID",
|
885
|
+
"example": "12620698",
|
886
|
+
"member": "uint64",
|
887
|
+
"name": "DomainId",
|
888
|
+
"required": false,
|
889
|
+
"type": "int",
|
890
|
+
"value_allowed_null": false
|
891
|
+
},
|
892
|
+
{
|
893
|
+
"disabled": false,
|
894
|
+
"document": "域名套餐等级",
|
895
|
+
"example": "DP_Free",
|
896
|
+
"member": "string",
|
897
|
+
"name": "DomainGrade",
|
898
|
+
"required": false,
|
899
|
+
"type": "string",
|
900
|
+
"value_allowed_null": false
|
901
|
+
},
|
902
|
+
{
|
903
|
+
"disabled": false,
|
904
|
+
"document": "记录信息列表",
|
905
|
+
"example": "无",
|
906
|
+
"member": "BatchSearchRecordInfo",
|
907
|
+
"name": "RecordList",
|
908
|
+
"required": false,
|
909
|
+
"type": "list",
|
910
|
+
"value_allowed_null": false
|
911
|
+
}
|
912
|
+
],
|
913
|
+
"usage": "out"
|
914
|
+
},
|
915
|
+
"BatchSearchRecordInfo": {
|
916
|
+
"document": "批量操作筛选记录信息",
|
917
|
+
"members": [
|
918
|
+
{
|
919
|
+
"disabled": false,
|
920
|
+
"document": "解析记录 ID",
|
921
|
+
"example": "15689601",
|
922
|
+
"member": "uint64",
|
923
|
+
"name": "RecordId",
|
924
|
+
"required": false,
|
925
|
+
"type": "int",
|
926
|
+
"value_allowed_null": false
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"disabled": false,
|
930
|
+
"document": "解析线路",
|
931
|
+
"example": "默认",
|
932
|
+
"member": "string",
|
933
|
+
"name": "Area",
|
934
|
+
"required": true,
|
935
|
+
"type": "string",
|
936
|
+
"value_allowed_null": false
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"disabled": false,
|
940
|
+
"document": "记录备注\n注意:此字段可能返回 null,表示取不到有效值。",
|
941
|
+
"example": "首页",
|
942
|
+
"member": "string",
|
943
|
+
"name": "Remark",
|
944
|
+
"required": false,
|
945
|
+
"type": "string",
|
946
|
+
"value_allowed_null": true
|
947
|
+
},
|
948
|
+
{
|
949
|
+
"disabled": false,
|
950
|
+
"document": "TTL(秒)",
|
951
|
+
"example": "600",
|
952
|
+
"member": "uint64",
|
953
|
+
"name": "TTL",
|
954
|
+
"required": true,
|
955
|
+
"type": "int",
|
956
|
+
"value_allowed_null": false
|
957
|
+
},
|
958
|
+
{
|
959
|
+
"disabled": false,
|
960
|
+
"document": "记录类型",
|
961
|
+
"example": "A",
|
962
|
+
"member": "string",
|
963
|
+
"name": "RecordType",
|
964
|
+
"required": true,
|
965
|
+
"type": "string",
|
966
|
+
"value_allowed_null": false
|
967
|
+
},
|
968
|
+
{
|
969
|
+
"disabled": false,
|
970
|
+
"document": "记录是否启用",
|
971
|
+
"example": "1",
|
972
|
+
"member": "uint64",
|
973
|
+
"name": "Enabled",
|
974
|
+
"required": false,
|
975
|
+
"type": "int",
|
976
|
+
"value_allowed_null": false
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"disabled": false,
|
980
|
+
"document": "权重\n注意:此字段可能返回 null,表示取不到有效值。",
|
981
|
+
"example": "20",
|
982
|
+
"member": "uint64",
|
983
|
+
"name": "Weight",
|
984
|
+
"required": false,
|
985
|
+
"type": "int",
|
986
|
+
"value_allowed_null": true
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"disabled": false,
|
990
|
+
"document": "记录分组 ID",
|
991
|
+
"example": "0",
|
992
|
+
"member": "uint64",
|
993
|
+
"name": "GroupId",
|
994
|
+
"required": false,
|
995
|
+
"type": "int",
|
996
|
+
"value_allowed_null": false
|
997
|
+
},
|
998
|
+
{
|
999
|
+
"disabled": false,
|
1000
|
+
"document": "子域名",
|
1001
|
+
"example": "test",
|
1002
|
+
"member": "string",
|
1003
|
+
"name": "SubDomain",
|
1004
|
+
"required": true,
|
1005
|
+
"type": "string",
|
1006
|
+
"value_allowed_null": false
|
1007
|
+
},
|
1008
|
+
{
|
1009
|
+
"disabled": false,
|
1010
|
+
"document": "解析值",
|
1011
|
+
"example": "0.0.0.0",
|
1012
|
+
"member": "string",
|
1013
|
+
"name": "Value",
|
1014
|
+
"required": true,
|
1015
|
+
"type": "string",
|
1016
|
+
"value_allowed_null": false
|
1017
|
+
},
|
1018
|
+
{
|
1019
|
+
"disabled": false,
|
1020
|
+
"document": "MX优先级\n注意:此字段可能返回 null,表示取不到有效值。",
|
1021
|
+
"example": "0",
|
1022
|
+
"member": "uint64",
|
1023
|
+
"name": "MX",
|
1024
|
+
"required": false,
|
1025
|
+
"type": "int",
|
1026
|
+
"value_allowed_null": true
|
1027
|
+
}
|
1028
|
+
],
|
1029
|
+
"usage": "out"
|
1030
|
+
},
|
862
1031
|
"CheckRecordSnapshotRollbackRequest": {
|
863
1032
|
"document": "CheckRecordSnapshotRollback请求参数结构体",
|
864
1033
|
"members": [
|
@@ -3482,6 +3651,124 @@
|
|
3482
3651
|
],
|
3483
3652
|
"type": "object"
|
3484
3653
|
},
|
3654
|
+
"DescribeDomainAndRecordListRequest": {
|
3655
|
+
"document": "DescribeDomainAndRecordList请求参数结构体",
|
3656
|
+
"members": [
|
3657
|
+
{
|
3658
|
+
"disabled": false,
|
3659
|
+
"document": "搜索所有域名。AllDomain、GroupIdList、DomainList、DomainIdList 参数传任一个即可。优先级为:AllDomain > GroupIdList > DomainList > DomainIdList。",
|
3660
|
+
"example": "yes",
|
3661
|
+
"member": "string",
|
3662
|
+
"name": "AllDomain",
|
3663
|
+
"required": false,
|
3664
|
+
"type": "string"
|
3665
|
+
},
|
3666
|
+
{
|
3667
|
+
"disabled": false,
|
3668
|
+
"document": "要搜索的域名列表。",
|
3669
|
+
"example": "无",
|
3670
|
+
"member": "string",
|
3671
|
+
"name": "DomainList",
|
3672
|
+
"required": false,
|
3673
|
+
"type": "list"
|
3674
|
+
},
|
3675
|
+
{
|
3676
|
+
"disabled": false,
|
3677
|
+
"document": "要搜索的域名 ID 列表。",
|
3678
|
+
"example": "无",
|
3679
|
+
"member": "uint64",
|
3680
|
+
"name": "DomainIdList",
|
3681
|
+
"required": false,
|
3682
|
+
"type": "list"
|
3683
|
+
},
|
3684
|
+
{
|
3685
|
+
"disabled": false,
|
3686
|
+
"document": "要搜索的域名分组 ID 列表。",
|
3687
|
+
"example": "无",
|
3688
|
+
"member": "uint64",
|
3689
|
+
"name": "GroupIdList",
|
3690
|
+
"required": false,
|
3691
|
+
"type": "list"
|
3692
|
+
},
|
3693
|
+
{
|
3694
|
+
"disabled": false,
|
3695
|
+
"document": "记录类型筛选",
|
3696
|
+
"example": "A",
|
3697
|
+
"member": "string",
|
3698
|
+
"name": "RecordType",
|
3699
|
+
"required": false,
|
3700
|
+
"type": "string"
|
3701
|
+
},
|
3702
|
+
{
|
3703
|
+
"disabled": false,
|
3704
|
+
"document": "子域名筛选",
|
3705
|
+
"example": "www",
|
3706
|
+
"member": "string",
|
3707
|
+
"name": "SubKeyword",
|
3708
|
+
"required": false,
|
3709
|
+
"type": "string"
|
3710
|
+
},
|
3711
|
+
{
|
3712
|
+
"disabled": false,
|
3713
|
+
"document": "记录值筛选",
|
3714
|
+
"example": "192",
|
3715
|
+
"member": "string",
|
3716
|
+
"name": "ValueKeyword",
|
3717
|
+
"required": false,
|
3718
|
+
"type": "string"
|
3719
|
+
},
|
3720
|
+
{
|
3721
|
+
"disabled": false,
|
3722
|
+
"document": "线路筛选",
|
3723
|
+
"example": "默认",
|
3724
|
+
"member": "string",
|
3725
|
+
"name": "Area",
|
3726
|
+
"required": false,
|
3727
|
+
"type": "string"
|
3728
|
+
},
|
3729
|
+
{
|
3730
|
+
"disabled": false,
|
3731
|
+
"document": "备注筛选",
|
3732
|
+
"example": "备注",
|
3733
|
+
"member": "string",
|
3734
|
+
"name": "Remark",
|
3735
|
+
"required": false,
|
3736
|
+
"type": "string"
|
3737
|
+
},
|
3738
|
+
{
|
3739
|
+
"disabled": false,
|
3740
|
+
"document": "记录状态筛选\n1:正常\n0:暂停\n",
|
3741
|
+
"example": "1",
|
3742
|
+
"member": "string",
|
3743
|
+
"name": "Enabled",
|
3744
|
+
"required": false,
|
3745
|
+
"type": "string"
|
3746
|
+
}
|
3747
|
+
],
|
3748
|
+
"type": "object"
|
3749
|
+
},
|
3750
|
+
"DescribeDomainAndRecordListResponse": {
|
3751
|
+
"document": "DescribeDomainAndRecordList返回参数结构体",
|
3752
|
+
"members": [
|
3753
|
+
{
|
3754
|
+
"disabled": false,
|
3755
|
+
"document": "域名列表",
|
3756
|
+
"example": "无",
|
3757
|
+
"member": "BatchSearchDomainInfo",
|
3758
|
+
"name": "DetailList",
|
3759
|
+
"output_required": true,
|
3760
|
+
"type": "list",
|
3761
|
+
"value_allowed_null": false
|
3762
|
+
},
|
3763
|
+
{
|
3764
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3765
|
+
"member": "string",
|
3766
|
+
"name": "RequestId",
|
3767
|
+
"type": "string"
|
3768
|
+
}
|
3769
|
+
],
|
3770
|
+
"type": "object"
|
3771
|
+
},
|
3485
3772
|
"DescribeDomainCustomLineListRequest": {
|
3486
3773
|
"document": "DescribeDomainCustomLineList请求参数结构体",
|
3487
3774
|
"members": [
|
@@ -268,6 +268,14 @@
|
|
268
268
|
"title": "域名解析量统计"
|
269
269
|
}
|
270
270
|
],
|
271
|
+
"DescribeDomainAndRecordList": [
|
272
|
+
{
|
273
|
+
"document": "批量操作中搜索域名",
|
274
|
+
"input": "POST / HTTP/1.1\nHost: dnspod.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomainAndRecordList\n<公共请求参数>\n\n{\n \"AllDomain\": \"yes\",\n \"RecordType\": \"A\",\n \"SubKeyword\": \"www\",\n \"ValueKeyword\": \"192\",\n \"Area\": \"\"\n}",
|
275
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7d6bfc77-6cba-478d-80bc-278cacf7ab79\",\n \"DetailList\": [\n {\n \"DomainId\": 12620698,\n \"Domain\": \"example.com\",\n \"DomainGrade\": \"DP_Free\",\n \"RecordList\": [\n {\n \"RecordId\": 15934040,\n \"Area\": \"默认\",\n \"Remark\": \"\",\n \"TTL\": 600,\n \"RecordType\": \"A\",\n \"Enabled\": 1,\n \"Weight\": 0,\n \"GroupId\": 0,\n \"SubDomain\": \"create-with-remark\",\n \"Value\": \"127.0.0.1\",\n \"MX\": 0\n },\n {\n \"RecordId\": 15934041,\n \"Area\": \"默认\",\n \"Remark\": \"yyyy\",\n \"TTL\": 600,\n \"RecordType\": \"A\",\n \"Enabled\": 1,\n \"Weight\": 0,\n \"GroupId\": 0,\n \"SubDomain\": \"create-with-remark\",\n \"Value\": \"127.0.0.3\",\n \"MX\": 0\n }\n ]\n }\n ]\n }\n}",
|
276
|
+
"title": "批量操作中搜索域名"
|
277
|
+
}
|
278
|
+
],
|
271
279
|
"DescribeDomainCustomLineList": [
|
272
280
|
{
|
273
281
|
"document": "获取域名的自定义线路列表",
|