tccli 3.0.845.1__py2.py3-none-any.whl → 3.0.847.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/billing/v20180709/api.json +18 -62
  3. tccli/services/billing/v20180709/examples.json +8 -8
  4. tccli/services/cat/v20180409/api.json +0 -28
  5. tccli/services/cat/v20180409/examples.json +7 -7
  6. tccli/services/ccc/v20200210/api.json +16 -7
  7. tccli/services/ccc/v20200210/examples.json +2 -2
  8. tccli/services/cdb/v20170320/api.json +71 -50
  9. tccli/services/cdb/v20170320/examples.json +4 -4
  10. tccli/services/cdn/v20180606/api.json +1 -11
  11. tccli/services/cdn/v20180606/examples.json +1 -1
  12. tccli/services/ckafka/v20190819/api.json +8 -5
  13. tccli/services/ckafka/v20190819/examples.json +3 -3
  14. tccli/services/cls/v20201016/api.json +44 -33
  15. tccli/services/cls/v20201016/examples.json +3 -3
  16. tccli/services/cvm/v20170312/api.json +2 -4
  17. tccli/services/dbbrain/v20210527/api.json +36 -30
  18. tccli/services/dcdb/dcdb_client.py +53 -0
  19. tccli/services/dcdb/v20180411/api.json +812 -157
  20. tccli/services/dcdb/v20180411/examples.json +8 -0
  21. tccli/services/dlc/v20210125/api.json +9 -0
  22. tccli/services/emr/v20190103/api.json +9 -29
  23. tccli/services/ess/ess_client.py +273 -8
  24. tccli/services/ess/v20201111/api.json +639 -89
  25. tccli/services/ess/v20201111/examples.json +58 -6
  26. tccli/services/essbasic/essbasic_client.py +159 -0
  27. tccli/services/essbasic/v20210526/api.json +287 -3
  28. tccli/services/essbasic/v20210526/examples.json +24 -0
  29. tccli/services/iotexplorer/v20190423/api.json +25 -33
  30. tccli/services/iotexplorer/v20190423/examples.json +9 -9
  31. tccli/services/mariadb/mariadb_client.py +53 -0
  32. tccli/services/mariadb/v20170312/api.json +520 -0
  33. tccli/services/mariadb/v20170312/examples.json +8 -0
  34. tccli/services/monitor/v20180724/api.json +10 -11
  35. tccli/services/monitor/v20180724/examples.json +5 -5
  36. tccli/services/mps/v20190612/api.json +2 -7
  37. tccli/services/ocr/v20181119/api.json +73 -89
  38. tccli/services/ocr/v20181119/examples.json +23 -23
  39. tccli/services/redis/redis_client.py +53 -0
  40. tccli/services/redis/v20180412/api.json +214 -0
  41. tccli/services/redis/v20180412/examples.json +8 -0
  42. tccli/services/tcss/v20201101/api.json +40 -7
  43. tccli/services/tcss/v20201101/examples.json +3 -3
  44. tccli/services/tdid/v20210519/api.json +68 -68
  45. tccli/services/tiw/tiw_client.py +1403 -78
  46. tccli/services/tiw/v20190919/api.json +2439 -461
  47. tccli/services/tiw/v20190919/examples.json +200 -0
  48. tccli/services/trtc/v20190722/api.json +41 -29
  49. tccli/services/trtc/v20190722/examples.json +10 -10
  50. tccli/services/vpc/v20170312/api.json +15 -27
  51. tccli/services/vpc/v20170312/examples.json +6 -6
  52. tccli/services/waf/v20180125/api.json +50 -6
  53. tccli/services/waf/v20180125/examples.json +2 -2
  54. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/RECORD +59 -59
  56. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/LICENSE +0 -0
  57. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/top_level.txt +0 -0
@@ -119,6 +119,13 @@
119
119
  "output": "DescribeDBSyncModeResponse",
120
120
  "status": "online"
121
121
  },
122
+ "DescribeDCDBInstanceDetail": {
123
+ "document": "本接口(DescribeDCDBInstanceDetail)用于获取DCDB实例详情",
124
+ "input": "DescribeDCDBInstanceDetailRequest",
125
+ "name": "获取DCDB实例详情",
126
+ "output": "DescribeDCDBInstanceDetailResponse",
127
+ "status": "online"
128
+ },
122
129
  "DescribeDCDBInstanceNodeInfo": {
123
130
  "document": "本接口(DescribeDCDBInstanceNodeInfo)用于获取实例节点信息",
124
131
  "input": "DescribeDCDBInstanceNodeInfoRequest",
@@ -3349,234 +3356,702 @@
3349
3356
  ],
3350
3357
  "type": "object"
3351
3358
  },
3352
- "DescribeDCDBInstanceNodeInfoRequest": {
3353
- "document": "DescribeDCDBInstanceNodeInfo请求参数结构体",
3359
+ "DescribeDCDBInstanceDetailRequest": {
3360
+ "document": "DescribeDCDBInstanceDetail请求参数结构体",
3354
3361
  "members": [
3355
3362
  {
3356
3363
  "default": "",
3357
- "document": "实例ID",
3358
- "example": "tdsqlshard-8upuqubt",
3364
+ "document": "实例ID,形如dcdbt-7oaxtcb7",
3365
+ "example": "tdsqlshard-rlye31jd",
3359
3366
  "member": "string",
3360
3367
  "name": "InstanceId",
3361
3368
  "required": true,
3362
3369
  "type": "string"
3363
- },
3364
- {
3365
- "default": "",
3366
- "document": "单次最多返回多少条,取值范围为(0-100],默认为100",
3367
- "example": "100",
3368
- "member": "uint64",
3369
- "name": "Limit",
3370
- "required": false,
3371
- "type": "int"
3372
- },
3373
- {
3374
- "default": "",
3375
- "document": "返回数据的偏移值,默认为0",
3376
- "example": "0",
3377
- "member": "uint64",
3378
- "name": "Offset",
3379
- "required": false,
3380
- "type": "int"
3381
3370
  }
3382
3371
  ],
3383
3372
  "type": "object"
3384
3373
  },
3385
- "DescribeDCDBInstanceNodeInfoResponse": {
3386
- "document": "DescribeDCDBInstanceNodeInfo返回参数结构体",
3374
+ "DescribeDCDBInstanceDetailResponse": {
3375
+ "document": "DescribeDCDBInstanceDetail返回参数结构体",
3387
3376
  "members": [
3388
3377
  {
3389
- "document": "节点总个数",
3390
- "example": "4",
3391
- "member": "uint64",
3392
- "name": "TotalCount",
3378
+ "document": "实例ID,形如dcdbt-7oaxtcb7",
3379
+ "example": "tdsqlshard-rlye31jd",
3380
+ "member": "string",
3381
+ "name": "InstanceId",
3393
3382
  "required": true,
3394
- "type": "int",
3383
+ "type": "string",
3395
3384
  "value_allowed_null": false
3396
3385
  },
3397
3386
  {
3398
- "document": "节点信息",
3399
- "example": "",
3400
- "member": "BriefNodeInfo",
3401
- "name": "NodesInfo",
3387
+ "document": "实例名称",
3388
+ "example": "tdsqlshard-rlye31jd",
3389
+ "member": "string",
3390
+ "name": "InstanceName",
3402
3391
  "required": true,
3403
- "type": "list",
3392
+ "type": "string",
3404
3393
  "value_allowed_null": false
3405
3394
  },
3406
3395
  {
3407
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
3408
- "member": "string",
3409
- "name": "RequestId",
3410
- "type": "string"
3411
- }
3412
- ],
3413
- "type": "object"
3414
- },
3415
- "DescribeDCDBInstancesRequest": {
3416
- "document": "DescribeDCDBInstances请求参数结构体",
3417
- "members": [
3396
+ "document": "实例状态。0-实例创建中;1-异步任务处理中;2-运行中;3-实例未初始化;-1-实例已隔离",
3397
+ "example": "2",
3398
+ "member": "int64",
3399
+ "name": "Status",
3400
+ "required": true,
3401
+ "type": "int",
3402
+ "value_allowed_null": false
3403
+ },
3418
3404
  {
3419
- "default": "",
3420
- "document": "按照一个或者多个实例 ID 查询。实例 ID 形如:dcdbt-2t4cf98d",
3421
- "example": "[\"dcdbt-52s53yyh\\n\"]",
3405
+ "document": "实例目前运行状态描述",
3406
+ "example": "运行中",
3422
3407
  "member": "string",
3423
- "name": "InstanceIds",
3424
- "required": false,
3425
- "type": "list"
3408
+ "name": "StatusDesc",
3409
+ "required": true,
3410
+ "type": "string",
3411
+ "value_allowed_null": false
3426
3412
  },
3427
3413
  {
3428
- "default": "",
3429
- "document": "搜索的字段名,当前支持的值有:instancename、vip、all。传 instancename 表示按实例名进行搜索;传 vip 表示按内网IP进行搜索;传 all 将会按实例ID、实例名和内网IP进行搜索。",
3430
- "example": "无",
3414
+ "document": "实例内网IP地址",
3415
+ "example": "172.16.0.39",
3431
3416
  "member": "string",
3432
- "name": "SearchName",
3433
- "required": false,
3434
- "type": "string"
3417
+ "name": "Vip",
3418
+ "required": true,
3419
+ "type": "string",
3420
+ "value_allowed_null": false
3435
3421
  },
3436
3422
  {
3437
- "default": "",
3438
- "document": "搜索的关键字,支持模糊搜索。多个关键字使用换行符('\\n')分割。",
3439
- "example": "",
3440
- "member": "string",
3441
- "name": "SearchKey",
3442
- "required": false,
3443
- "type": "string"
3423
+ "document": "实例内网端口",
3424
+ "example": "3306",
3425
+ "member": "int64",
3426
+ "name": "Vport",
3427
+ "required": true,
3428
+ "type": "int",
3429
+ "value_allowed_null": false
3444
3430
  },
3445
3431
  {
3446
- "default": "",
3447
- "document": "按项目 ID 查询",
3448
- "example": "无",
3432
+ "document": "实例节点数。值为2时表示一主一从,值为3时表示一主二从",
3433
+ "example": "2",
3449
3434
  "member": "int64",
3450
- "name": "ProjectIds",
3451
- "required": false,
3452
- "type": "list"
3435
+ "name": "NodeCount",
3436
+ "required": true,
3437
+ "type": "int",
3438
+ "value_allowed_null": false
3453
3439
  },
3454
3440
  {
3455
- "default": "",
3456
- "document": "是否根据 VPC 网络来搜索",
3457
- "example": "",
3458
- "member": "bool",
3459
- "name": "IsFilterVpc",
3460
- "required": false,
3461
- "type": "bool"
3441
+ "document": "实例所在地域名称,形如ap-guangzhou",
3442
+ "example": "ap-guangzhou",
3443
+ "member": "string",
3444
+ "name": "Region",
3445
+ "required": true,
3446
+ "type": "string",
3447
+ "value_allowed_null": false
3462
3448
  },
3463
3449
  {
3464
- "default": "",
3465
- "document": "私有网络 ID, IsFilterVpc 为 1 时有效",
3466
- "example": "无",
3450
+ "document": "实例私有网络ID,形如vpc-r9jr0de3",
3451
+ "example": "vpc-4x1eyoyv",
3467
3452
  "member": "string",
3468
3453
  "name": "VpcId",
3469
- "required": false,
3470
- "type": "string"
3454
+ "required": true,
3455
+ "type": "string",
3456
+ "value_allowed_null": false
3471
3457
  },
3472
3458
  {
3473
- "default": "",
3474
- "document": "私有网络的子网 ID, IsFilterVpc 为 1 时有效",
3475
- "example": "无",
3459
+ "document": "实例私有网络子网ID,形如subnet-6rqs61o2",
3460
+ "example": "subnet-58oypmoq",
3476
3461
  "member": "string",
3477
3462
  "name": "SubnetId",
3478
- "required": false,
3479
- "type": "string"
3463
+ "required": true,
3464
+ "type": "string",
3465
+ "value_allowed_null": false
3480
3466
  },
3481
3467
  {
3482
- "default": "",
3483
- "document": "排序字段, projectId, createtime, instancename 三者之一",
3484
- "example": "",
3485
- "member": "string",
3486
- "name": "OrderBy",
3487
- "required": false,
3488
- "type": "string"
3468
+ "document": "外网状态,0-未开通;1-已开通;2-关闭;3-开通中;4-关闭中",
3469
+ "example": "0",
3470
+ "member": "int64",
3471
+ "name": "WanStatus",
3472
+ "required": true,
3473
+ "type": "int",
3474
+ "value_allowed_null": false
3489
3475
  },
3490
3476
  {
3491
- "default": "",
3492
- "document": "排序类型, desc 或者 asc",
3477
+ "document": "外网访问的域名,公网可解析",
3493
3478
  "example": "无",
3494
3479
  "member": "string",
3495
- "name": "OrderByType",
3496
- "required": false,
3497
- "type": "string"
3480
+ "name": "WanDomain",
3481
+ "required": true,
3482
+ "type": "string",
3483
+ "value_allowed_null": false
3498
3484
  },
3499
3485
  {
3500
- "default": "",
3501
- "document": "偏移量,默认为 0",
3486
+ "document": "外网IP地址,公网可访问",
3502
3487
  "example": "无",
3503
- "member": "int64",
3504
- "name": "Offset",
3505
- "required": false,
3506
- "type": "int"
3488
+ "member": "string",
3489
+ "name": "WanVip",
3490
+ "required": true,
3491
+ "type": "string",
3492
+ "value_allowed_null": false
3507
3493
  },
3508
3494
  {
3509
- "default": "",
3510
- "document": "返回数量,默认为 10,最大值为 100。",
3511
- "example": "无",
3495
+ "document": "外网访问端口",
3496
+ "example": "0",
3512
3497
  "member": "int64",
3513
- "name": "Limit",
3514
- "required": false,
3515
- "type": "int"
3498
+ "name": "WanPort",
3499
+ "required": true,
3500
+ "type": "int",
3501
+ "value_allowed_null": false
3516
3502
  },
3517
3503
  {
3518
- "default": "",
3519
- "document": "1非独享集群,2独享集群, 0全部",
3520
- "example": "无",
3504
+ "document": "实例所属项目ID",
3505
+ "example": "0",
3521
3506
  "member": "int64",
3522
- "name": "ExclusterType",
3523
- "required": false,
3524
- "type": "int"
3507
+ "name": "ProjectId",
3508
+ "required": true,
3509
+ "type": "int",
3510
+ "value_allowed_null": false
3525
3511
  },
3526
3512
  {
3527
- "default": "",
3528
- "document": "标识是否使用ExclusterType字段, false不使用,true使用",
3529
- "example": "",
3530
- "member": "bool",
3531
- "name": "IsFilterExcluster",
3532
- "required": false,
3533
- "type": "bool"
3513
+ "document": "实例自动续费标志。0-正常续费;1-自动续费;2-到期不续费",
3514
+ "example": "0",
3515
+ "member": "int64",
3516
+ "name": "AutoRenewFlag",
3517
+ "required": true,
3518
+ "type": "int",
3519
+ "value_allowed_null": false
3534
3520
  },
3535
3521
  {
3536
- "default": "",
3537
3522
  "document": "独享集群ID",
3538
- "example": "",
3523
+ "example": "dbdc-odgvdv66",
3539
3524
  "member": "string",
3540
- "name": "ExclusterIds",
3541
- "required": false,
3542
- "type": "list"
3525
+ "name": "ExclusterId",
3526
+ "required": true,
3527
+ "type": "string",
3528
+ "value_allowed_null": false
3543
3529
  },
3544
3530
  {
3545
- "default": "",
3546
- "document": "按标签key查询",
3547
- "example": "无",
3531
+ "document": "付费模式。prepaid-预付费;postpaid-按量计费",
3532
+ "example": "prepaid",
3548
3533
  "member": "string",
3549
- "name": "TagKeys",
3550
- "required": false,
3551
- "type": "list"
3534
+ "name": "PayMode",
3535
+ "required": true,
3536
+ "type": "string",
3537
+ "value_allowed_null": false
3552
3538
  },
3553
3539
  {
3554
- "default": "",
3555
- "document": "实例类型过滤,1-独享实例,2-主实例,3-灾备实例,多个按逗号分隔",
3556
- "example": "",
3557
- "member": "string",
3558
- "name": "FilterInstanceType",
3559
- "required": false,
3560
- "type": "string"
3540
+ "document": "实例创建时间,格式为 2006-01-02 15:04:05",
3541
+ "example": "2020-04-08 13:59:39",
3542
+ "member": "datetime",
3543
+ "name": "CreateTime",
3544
+ "required": true,
3545
+ "type": "string",
3546
+ "value_allowed_null": false
3561
3547
  },
3562
3548
  {
3563
- "default": "",
3564
- "document": "按实例状态筛选",
3565
- "example": "",
3566
- "member": "int64",
3567
- "name": "Status",
3568
- "required": false,
3569
- "type": "list"
3549
+ "document": "实例到期时间,格式为 2006-01-02 15:04:05",
3550
+ "example": "2020-05-08 13:59:39",
3551
+ "member": "datetime",
3552
+ "name": "PeriodEndTime",
3553
+ "required": true,
3554
+ "type": "string",
3555
+ "value_allowed_null": false
3570
3556
  },
3571
3557
  {
3572
- "default": "",
3573
- "document": "排除实例状态",
3574
- "example": "",
3575
- "member": "int64",
3576
- "name": "ExcludeStatus",
3577
- "required": false,
3578
- "type": "list"
3579
- }
3558
+ "document": "数据库版本信息",
3559
+ "example": "5.7.17",
3560
+ "member": "string",
3561
+ "name": "DbVersion",
3562
+ "required": true,
3563
+ "type": "string",
3564
+ "value_allowed_null": false
3565
+ },
3566
+ {
3567
+ "document": "实例是否支持审计。0-不支持;1-支持",
3568
+ "example": "1",
3569
+ "member": "int64",
3570
+ "name": "IsAuditSupported",
3571
+ "required": true,
3572
+ "type": "int",
3573
+ "value_allowed_null": false
3574
+ },
3575
+ {
3576
+ "document": "实例是否支持数据加密。0-不支持;1-支持",
3577
+ "example": "0",
3578
+ "member": "int64",
3579
+ "name": "IsEncryptSupported",
3580
+ "required": true,
3581
+ "type": "int",
3582
+ "value_allowed_null": false
3583
+ },
3584
+ {
3585
+ "document": "实例母机机器型号",
3586
+ "example": "SH02D",
3587
+ "member": "string",
3588
+ "name": "Machine",
3589
+ "required": true,
3590
+ "type": "string",
3591
+ "value_allowed_null": false
3592
+ },
3593
+ {
3594
+ "document": "实例内存大小,单位 GB,各个分片的内存大小的和",
3595
+ "example": "12",
3596
+ "member": "int64",
3597
+ "name": "Memory",
3598
+ "required": true,
3599
+ "type": "int",
3600
+ "value_allowed_null": false
3601
+ },
3602
+ {
3603
+ "document": "实例磁盘存储大小,单位 GB,各个分片的磁盘大小的和",
3604
+ "example": "40",
3605
+ "member": "int64",
3606
+ "name": "Storage",
3607
+ "required": true,
3608
+ "type": "int",
3609
+ "value_allowed_null": false
3610
+ },
3611
+ {
3612
+ "document": "实例存储空间使用率,计算方式为:各个分片已经使用的磁盘大小的和/各个分片的磁盘大小的和。",
3613
+ "example": "0.001",
3614
+ "member": "float",
3615
+ "name": "StorageUsage",
3616
+ "required": true,
3617
+ "type": "float",
3618
+ "value_allowed_null": false
3619
+ },
3620
+ {
3621
+ "document": "日志存储空间大小,单位GB",
3622
+ "example": "16",
3623
+ "member": "int64",
3624
+ "name": "LogStorage",
3625
+ "required": true,
3626
+ "type": "int",
3627
+ "value_allowed_null": false
3628
+ },
3629
+ {
3630
+ "document": "产品类型ID",
3631
+ "example": "11128",
3632
+ "member": "int64",
3633
+ "name": "Pid",
3634
+ "required": true,
3635
+ "type": "int",
3636
+ "value_allowed_null": false
3637
+ },
3638
+ {
3639
+ "document": "主DB可用区",
3640
+ "example": "ap-guangzhou-1",
3641
+ "member": "string",
3642
+ "name": "MasterZone",
3643
+ "required": true,
3644
+ "type": "string",
3645
+ "value_allowed_null": false
3646
+ },
3647
+ {
3648
+ "document": "从DB可用区",
3649
+ "example": "[\"ap-guangzhou-1\"]",
3650
+ "member": "string",
3651
+ "name": "SlaveZones",
3652
+ "required": true,
3653
+ "type": "list",
3654
+ "value_allowed_null": false
3655
+ },
3656
+ {
3657
+ "document": "分片信息",
3658
+ "example": "无",
3659
+ "member": "ShardBriefInfo",
3660
+ "name": "Shards",
3661
+ "required": true,
3662
+ "type": "list",
3663
+ "value_allowed_null": false
3664
+ },
3665
+ {
3666
+ "document": "内网IPv6\n注意:此字段可能返回 null,表示取不到有效值。",
3667
+ "example": "无",
3668
+ "member": "string",
3669
+ "name": "Vip6",
3670
+ "required": true,
3671
+ "type": "string",
3672
+ "value_allowed_null": true
3673
+ },
3674
+ {
3675
+ "document": "实例Cpu核数\n注意:此字段可能返回 null,表示取不到有效值。",
3676
+ "example": "1",
3677
+ "member": "int64",
3678
+ "name": "Cpu",
3679
+ "required": true,
3680
+ "type": "int",
3681
+ "value_allowed_null": true
3682
+ },
3683
+ {
3684
+ "document": "实例QPS\n注意:此字段可能返回 null,表示取不到有效值。",
3685
+ "example": "4000",
3686
+ "member": "int64",
3687
+ "name": "Qps",
3688
+ "required": true,
3689
+ "type": "int",
3690
+ "value_allowed_null": true
3691
+ },
3692
+ {
3693
+ "document": "DB引擎\n注意:此字段可能返回 null,表示取不到有效值。",
3694
+ "example": "Mysql",
3695
+ "member": "string",
3696
+ "name": "DbEngine",
3697
+ "required": true,
3698
+ "type": "string",
3699
+ "value_allowed_null": true
3700
+ },
3701
+ {
3702
+ "document": "是否支持IPv6\n注意:此字段可能返回 null,表示取不到有效值。",
3703
+ "example": "0",
3704
+ "member": "int64",
3705
+ "name": "Ipv6Flag",
3706
+ "required": true,
3707
+ "type": "int",
3708
+ "value_allowed_null": true
3709
+ },
3710
+ {
3711
+ "document": "外网IPv6地址,公网可访问\n注意:此字段可能返回 null,表示取不到有效值。",
3712
+ "example": "无",
3713
+ "member": "string",
3714
+ "name": "WanVipv6",
3715
+ "required": true,
3716
+ "type": "string",
3717
+ "value_allowed_null": true
3718
+ },
3719
+ {
3720
+ "document": "外网状态,0-未开通;1-已开通;2-关闭;3-开通中;4-关闭中\n注意:此字段可能返回 null,表示取不到有效值。",
3721
+ "example": "0",
3722
+ "member": "int64",
3723
+ "name": "WanStatusIpv6",
3724
+ "required": true,
3725
+ "type": "int",
3726
+ "value_allowed_null": true
3727
+ },
3728
+ {
3729
+ "document": "外网IPv6端口\n注意:此字段可能返回 null,表示取不到有效值。",
3730
+ "example": "0",
3731
+ "member": "int64",
3732
+ "name": "WanPortIpv6",
3733
+ "required": true,
3734
+ "type": "int",
3735
+ "value_allowed_null": true
3736
+ },
3737
+ {
3738
+ "document": "标签信息",
3739
+ "example": "无",
3740
+ "member": "ResourceTag",
3741
+ "name": "ResourceTags",
3742
+ "required": true,
3743
+ "type": "list",
3744
+ "value_allowed_null": false
3745
+ },
3746
+ {
3747
+ "document": "DCN标志,0-无,1-主实例,2-灾备实例\n注意:此字段可能返回 null,表示取不到有效值。",
3748
+ "example": "0",
3749
+ "member": "int64",
3750
+ "name": "DcnFlag",
3751
+ "required": true,
3752
+ "type": "int",
3753
+ "value_allowed_null": true
3754
+ },
3755
+ {
3756
+ "document": "DCN状态,0-无,1-创建中,2-同步中,3-已断开\n注意:此字段可能返回 null,表示取不到有效值。",
3757
+ "example": "0",
3758
+ "member": "int64",
3759
+ "name": "DcnStatus",
3760
+ "required": true,
3761
+ "type": "int",
3762
+ "value_allowed_null": true
3763
+ },
3764
+ {
3765
+ "document": "DCN灾备实例数\n注意:此字段可能返回 null,表示取不到有效值。",
3766
+ "example": "0",
3767
+ "member": "int64",
3768
+ "name": "DcnDstNum",
3769
+ "required": true,
3770
+ "type": "int",
3771
+ "value_allowed_null": true
3772
+ },
3773
+ {
3774
+ "document": "1: 主实例(独享型), 2: 主实例, 3: 灾备实例, 4: 灾备实例(独享型)\n注意:此字段可能返回 null,表示取不到有效值。",
3775
+ "example": "2",
3776
+ "member": "int64",
3777
+ "name": "InstanceType",
3778
+ "required": true,
3779
+ "type": "int",
3780
+ "value_allowed_null": true
3781
+ },
3782
+ {
3783
+ "document": "实例是否支持设置用户连接数限制,内核为10.1暂不支持。\n注意:此字段可能返回 null,表示取不到有效值。",
3784
+ "example": "true",
3785
+ "member": "bool",
3786
+ "name": "IsMaxUserConnectionsSupported",
3787
+ "required": true,
3788
+ "type": "bool",
3789
+ "value_allowed_null": true
3790
+ },
3791
+ {
3792
+ "document": "对外显示的数据库版本\n注意:此字段可能返回 null,表示取不到有效值。",
3793
+ "example": "5.7",
3794
+ "member": "string",
3795
+ "name": "DbVersionId",
3796
+ "required": true,
3797
+ "type": "string",
3798
+ "value_allowed_null": true
3799
+ },
3800
+ {
3801
+ "document": "加密状态, 0-未开启,1-已开启\n注意:此字段可能返回 null,表示取不到有效值。",
3802
+ "example": "0",
3803
+ "member": "int64",
3804
+ "name": "EncryptStatus",
3805
+ "required": true,
3806
+ "type": "int",
3807
+ "value_allowed_null": true
3808
+ },
3809
+ {
3810
+ "document": "独享集群类型,0:公有云, 1:金融围笼, 2:CDC集群\n注意:此字段可能返回 null,表示取不到有效值。",
3811
+ "example": "0",
3812
+ "member": "int64",
3813
+ "name": "ExclusterType",
3814
+ "required": true,
3815
+ "type": "int",
3816
+ "value_allowed_null": true
3817
+ },
3818
+ {
3819
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
3820
+ "member": "string",
3821
+ "name": "RequestId",
3822
+ "type": "string"
3823
+ }
3824
+ ],
3825
+ "type": "object"
3826
+ },
3827
+ "DescribeDCDBInstanceNodeInfoRequest": {
3828
+ "document": "DescribeDCDBInstanceNodeInfo请求参数结构体",
3829
+ "members": [
3830
+ {
3831
+ "default": "",
3832
+ "document": "实例ID",
3833
+ "example": "tdsqlshard-8upuqubt",
3834
+ "member": "string",
3835
+ "name": "InstanceId",
3836
+ "required": true,
3837
+ "type": "string"
3838
+ },
3839
+ {
3840
+ "default": "",
3841
+ "document": "单次最多返回多少条,取值范围为(0-100],默认为100",
3842
+ "example": "100",
3843
+ "member": "uint64",
3844
+ "name": "Limit",
3845
+ "required": false,
3846
+ "type": "int"
3847
+ },
3848
+ {
3849
+ "default": "",
3850
+ "document": "返回数据的偏移值,默认为0",
3851
+ "example": "0",
3852
+ "member": "uint64",
3853
+ "name": "Offset",
3854
+ "required": false,
3855
+ "type": "int"
3856
+ }
3857
+ ],
3858
+ "type": "object"
3859
+ },
3860
+ "DescribeDCDBInstanceNodeInfoResponse": {
3861
+ "document": "DescribeDCDBInstanceNodeInfo返回参数结构体",
3862
+ "members": [
3863
+ {
3864
+ "document": "节点总个数",
3865
+ "example": "4",
3866
+ "member": "uint64",
3867
+ "name": "TotalCount",
3868
+ "required": true,
3869
+ "type": "int",
3870
+ "value_allowed_null": false
3871
+ },
3872
+ {
3873
+ "document": "节点信息",
3874
+ "example": "无",
3875
+ "member": "BriefNodeInfo",
3876
+ "name": "NodesInfo",
3877
+ "required": true,
3878
+ "type": "list",
3879
+ "value_allowed_null": false
3880
+ },
3881
+ {
3882
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
3883
+ "member": "string",
3884
+ "name": "RequestId",
3885
+ "type": "string"
3886
+ }
3887
+ ],
3888
+ "type": "object"
3889
+ },
3890
+ "DescribeDCDBInstancesRequest": {
3891
+ "document": "DescribeDCDBInstances请求参数结构体",
3892
+ "members": [
3893
+ {
3894
+ "default": "",
3895
+ "document": "按照一个或者多个实例 ID 查询。实例 ID 形如:dcdbt-2t4cf98d",
3896
+ "example": "[\"dcdbt-52s53yyh\\n\"]",
3897
+ "member": "string",
3898
+ "name": "InstanceIds",
3899
+ "required": false,
3900
+ "type": "list"
3901
+ },
3902
+ {
3903
+ "default": "",
3904
+ "document": "搜索的字段名,当前支持的值有:instancename、vip、all。传 instancename 表示按实例名进行搜索;传 vip 表示按内网IP进行搜索;传 all 将会按实例ID、实例名和内网IP进行搜索。",
3905
+ "example": "无",
3906
+ "member": "string",
3907
+ "name": "SearchName",
3908
+ "required": false,
3909
+ "type": "string"
3910
+ },
3911
+ {
3912
+ "default": "",
3913
+ "document": "搜索的关键字,支持模糊搜索。多个关键字使用换行符('\\n')分割。",
3914
+ "example": "无",
3915
+ "member": "string",
3916
+ "name": "SearchKey",
3917
+ "required": false,
3918
+ "type": "string"
3919
+ },
3920
+ {
3921
+ "default": "",
3922
+ "document": "按项目 ID 查询",
3923
+ "example": "无",
3924
+ "member": "int64",
3925
+ "name": "ProjectIds",
3926
+ "required": false,
3927
+ "type": "list"
3928
+ },
3929
+ {
3930
+ "default": "",
3931
+ "document": "是否根据 VPC 网络来搜索",
3932
+ "example": "无",
3933
+ "member": "bool",
3934
+ "name": "IsFilterVpc",
3935
+ "required": false,
3936
+ "type": "bool"
3937
+ },
3938
+ {
3939
+ "default": "",
3940
+ "document": "私有网络 ID, IsFilterVpc 为 1 时有效",
3941
+ "example": "无",
3942
+ "member": "string",
3943
+ "name": "VpcId",
3944
+ "required": false,
3945
+ "type": "string"
3946
+ },
3947
+ {
3948
+ "default": "",
3949
+ "document": "私有网络的子网 ID, IsFilterVpc 为 1 时有效",
3950
+ "example": "无",
3951
+ "member": "string",
3952
+ "name": "SubnetId",
3953
+ "required": false,
3954
+ "type": "string"
3955
+ },
3956
+ {
3957
+ "default": "",
3958
+ "document": "排序字段, projectId, createtime, instancename 三者之一",
3959
+ "example": "无",
3960
+ "member": "string",
3961
+ "name": "OrderBy",
3962
+ "required": false,
3963
+ "type": "string"
3964
+ },
3965
+ {
3966
+ "default": "",
3967
+ "document": "排序类型, desc 或者 asc",
3968
+ "example": "无",
3969
+ "member": "string",
3970
+ "name": "OrderByType",
3971
+ "required": false,
3972
+ "type": "string"
3973
+ },
3974
+ {
3975
+ "default": "",
3976
+ "document": "偏移量,默认为 0",
3977
+ "example": "无",
3978
+ "member": "int64",
3979
+ "name": "Offset",
3980
+ "required": false,
3981
+ "type": "int"
3982
+ },
3983
+ {
3984
+ "default": "",
3985
+ "document": "返回数量,默认为 10,最大值为 100。",
3986
+ "example": "无",
3987
+ "member": "int64",
3988
+ "name": "Limit",
3989
+ "required": false,
3990
+ "type": "int"
3991
+ },
3992
+ {
3993
+ "default": "",
3994
+ "document": "1非独享集群,2独享集群, 0全部",
3995
+ "example": "无",
3996
+ "member": "int64",
3997
+ "name": "ExclusterType",
3998
+ "required": false,
3999
+ "type": "int"
4000
+ },
4001
+ {
4002
+ "default": "",
4003
+ "document": "标识是否使用ExclusterType字段, false不使用,true使用",
4004
+ "example": "无",
4005
+ "member": "bool",
4006
+ "name": "IsFilterExcluster",
4007
+ "required": false,
4008
+ "type": "bool"
4009
+ },
4010
+ {
4011
+ "default": "",
4012
+ "document": "独享集群ID",
4013
+ "example": "无",
4014
+ "member": "string",
4015
+ "name": "ExclusterIds",
4016
+ "required": false,
4017
+ "type": "list"
4018
+ },
4019
+ {
4020
+ "default": "",
4021
+ "document": "按标签key查询",
4022
+ "example": "无",
4023
+ "member": "string",
4024
+ "name": "TagKeys",
4025
+ "required": false,
4026
+ "type": "list"
4027
+ },
4028
+ {
4029
+ "default": "",
4030
+ "document": "实例类型过滤,1-独享实例,2-主实例,3-灾备实例,多个按逗号分隔",
4031
+ "example": "无",
4032
+ "member": "string",
4033
+ "name": "FilterInstanceType",
4034
+ "required": false,
4035
+ "type": "string"
4036
+ },
4037
+ {
4038
+ "default": "",
4039
+ "document": "按实例状态筛选",
4040
+ "example": "无",
4041
+ "member": "int64",
4042
+ "name": "Status",
4043
+ "required": false,
4044
+ "type": "list"
4045
+ },
4046
+ {
4047
+ "default": "",
4048
+ "document": "排除实例状态",
4049
+ "example": "无",
4050
+ "member": "int64",
4051
+ "name": "ExcludeStatus",
4052
+ "required": false,
4053
+ "type": "list"
4054
+ }
3580
4055
  ],
3581
4056
  "type": "object"
3582
4057
  },
@@ -5862,6 +6337,30 @@
5862
6337
  ],
5863
6338
  "type": "object"
5864
6339
  },
6340
+ "NodeInfo": {
6341
+ "document": "描述DB节点信息",
6342
+ "members": [
6343
+ {
6344
+ "default": "",
6345
+ "document": "DB节点ID",
6346
+ "member": "string",
6347
+ "name": "NodeId",
6348
+ "required": true,
6349
+ "type": "string",
6350
+ "value_allowed_null": false
6351
+ },
6352
+ {
6353
+ "default": "",
6354
+ "document": "DB节点角色,取值为master或者slave",
6355
+ "member": "string",
6356
+ "name": "Role",
6357
+ "required": true,
6358
+ "type": "string",
6359
+ "value_allowed_null": false
6360
+ }
6361
+ ],
6362
+ "usage": "out"
6363
+ },
5865
6364
  "OpenDBExtranetAccessRequest": {
5866
6365
  "document": "OpenDBExtranetAccess请求参数结构体",
5867
6366
  "members": [
@@ -6461,6 +6960,162 @@
6461
6960
  ],
6462
6961
  "usage": "out"
6463
6962
  },
6963
+ "ShardBriefInfo": {
6964
+ "document": "DCDB分片信息",
6965
+ "members": [
6966
+ {
6967
+ "default": "",
6968
+ "document": "分片SerialId",
6969
+ "example": "set_1612751240_1",
6970
+ "member": "string",
6971
+ "name": "ShardSerialId",
6972
+ "required": true,
6973
+ "type": "string",
6974
+ "value_allowed_null": false
6975
+ },
6976
+ {
6977
+ "default": "",
6978
+ "document": "分片ID,形如shard-7vg1o339",
6979
+ "example": "shard-lbt0utcz",
6980
+ "member": "string",
6981
+ "name": "ShardInstanceId",
6982
+ "required": true,
6983
+ "type": "string",
6984
+ "value_allowed_null": false
6985
+ },
6986
+ {
6987
+ "default": "",
6988
+ "document": "分片运行状态",
6989
+ "example": "2",
6990
+ "member": "int64",
6991
+ "name": "Status",
6992
+ "required": true,
6993
+ "type": "int",
6994
+ "value_allowed_null": false
6995
+ },
6996
+ {
6997
+ "default": "",
6998
+ "document": "分片运行状态描述",
6999
+ "example": "运行中",
7000
+ "member": "string",
7001
+ "name": "StatusDesc",
7002
+ "required": true,
7003
+ "type": "string",
7004
+ "value_allowed_null": false
7005
+ },
7006
+ {
7007
+ "default": "",
7008
+ "document": "分片创建时间",
7009
+ "example": "2021-02-08 10:25:08",
7010
+ "member": "datetime",
7011
+ "name": "CreateTime",
7012
+ "required": true,
7013
+ "type": "string",
7014
+ "value_allowed_null": false
7015
+ },
7016
+ {
7017
+ "default": "",
7018
+ "document": "分片内存大小,单位GB",
7019
+ "example": "2",
7020
+ "member": "int64",
7021
+ "name": "Memory",
7022
+ "required": true,
7023
+ "type": "int",
7024
+ "value_allowed_null": false
7025
+ },
7026
+ {
7027
+ "default": "",
7028
+ "document": "分片磁盘大小,单位GB",
7029
+ "example": "10",
7030
+ "member": "int64",
7031
+ "name": "Storage",
7032
+ "required": true,
7033
+ "type": "int",
7034
+ "value_allowed_null": false
7035
+ },
7036
+ {
7037
+ "default": "",
7038
+ "document": "分片日志磁盘空间大小,单位GB",
7039
+ "example": "8",
7040
+ "member": "int64",
7041
+ "name": "LogDisk",
7042
+ "required": true,
7043
+ "type": "int",
7044
+ "value_allowed_null": false
7045
+ },
7046
+ {
7047
+ "default": "",
7048
+ "document": "分片节点个数",
7049
+ "example": "3",
7050
+ "member": "int64",
7051
+ "name": "NodeCount",
7052
+ "required": true,
7053
+ "type": "int",
7054
+ "value_allowed_null": false
7055
+ },
7056
+ {
7057
+ "default": "",
7058
+ "document": "分片磁盘空间使用率",
7059
+ "example": "0.007",
7060
+ "member": "float",
7061
+ "name": "StorageUsage",
7062
+ "required": true,
7063
+ "type": "float",
7064
+ "value_allowed_null": false
7065
+ },
7066
+ {
7067
+ "default": "",
7068
+ "document": "分片Proxy版本信息",
7069
+ "example": "1.14.63-M-V2R667D003",
7070
+ "member": "string",
7071
+ "name": "ProxyVersion",
7072
+ "required": true,
7073
+ "type": "string",
7074
+ "value_allowed_null": false
7075
+ },
7076
+ {
7077
+ "default": "",
7078
+ "document": "分片主DB可用区",
7079
+ "example": "ap-guangzhou-1",
7080
+ "member": "string",
7081
+ "name": "ShardMasterZone",
7082
+ "required": true,
7083
+ "type": "string",
7084
+ "value_allowed_null": false
7085
+ },
7086
+ {
7087
+ "default": "",
7088
+ "document": "分片从DB可用区",
7089
+ "example": "[\"ap-guangzhou-1\", \"ap-guangzhou-2\"]",
7090
+ "member": "string",
7091
+ "name": "ShardSlaveZones",
7092
+ "required": true,
7093
+ "type": "list",
7094
+ "value_allowed_null": false
7095
+ },
7096
+ {
7097
+ "default": "",
7098
+ "document": "分片Cpu核数",
7099
+ "example": "1",
7100
+ "member": "int64",
7101
+ "name": "Cpu",
7102
+ "required": true,
7103
+ "type": "int",
7104
+ "value_allowed_null": false
7105
+ },
7106
+ {
7107
+ "default": "",
7108
+ "document": "DB节点信息\n注意:此字段可能返回 null,表示取不到有效值。",
7109
+ "example": "null",
7110
+ "member": "NodeInfo",
7111
+ "name": "NodesInfo",
7112
+ "required": true,
7113
+ "type": "list",
7114
+ "value_allowed_null": true
7115
+ }
7116
+ ],
7117
+ "usage": "out"
7118
+ },
6464
7119
  "ShardInfo": {
6465
7120
  "document": "分片信息",
6466
7121
  "members": [