tccli 3.0.1155.1__py2.py3-none-any.whl → 3.0.1157.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 +48 -20
- tccli/services/cam/v20190116/api.json +10 -0
- tccli/services/ccc/v20200210/api.json +10 -0
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/v20170320/api.json +38 -1
- tccli/services/cdwch/v20200915/api.json +27 -0
- tccli/services/cdwdoris/v20211228/api.json +27 -0
- tccli/services/cynosdb/v20190107/api.json +1 -1
- tccli/services/dts/v20211206/api.json +9 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +91 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/gaap/v20180529/api.json +17 -17
- tccli/services/gaap/v20180529/examples.json +7 -13
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/iss/v20230517/api.json +6 -6
- tccli/services/mongodb/mongodb_client.py +273 -8
- tccli/services/mongodb/v20190725/api.json +486 -6
- tccli/services/mongodb/v20190725/examples.json +40 -0
- tccli/services/monitor/v20180724/api.json +23 -23
- tccli/services/monitor/v20180724/examples.json +12 -12
- tccli/services/mps/v20190612/api.json +2 -2
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/oceanus/v20190422/api.json +9 -0
- tccli/services/postgres/postgres_client.py +395 -24
- tccli/services/postgres/v20170312/api.json +549 -0
- tccli/services/postgres/v20170312/examples.json +92 -0
- tccli/services/rce/v20201103/api.json +78 -0
- tccli/services/tcr/v20190924/api.json +71 -45
- tccli/services/tcr/v20190924/examples.json +9 -9
- tccli/services/tem/v20210701/api.json +21 -3
- tccli/services/tem/v20210701/examples.json +1 -7
- tccli/services/thpc/thpc_client.py +110 -4
- tccli/services/thpc/v20230321/api.json +170 -35
- tccli/services/thpc/v20230321/examples.json +17 -1
- tccli/services/tke/v20220501/api.json +10 -0
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vpc/v20170312/api.json +74 -15
- tccli/services/waf/v20180125/api.json +421 -72
- tccli/services/waf/v20180125/examples.json +6 -6
- tccli/services/wedata/v20210820/api.json +45 -7
- tccli/services/wedata/v20210820/examples.json +6 -0
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/RECORD +48 -48
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/license_files/LICENSE +0 -0
@@ -28,6 +28,13 @@
|
|
28
28
|
"output": "CloseServerlessDBExtranetAccessResponse",
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
|
+
"CreateAccount": {
|
32
|
+
"document": "此接口用于创建数据账号,返回的Oid为账号唯一标识。与数据库系统表pg_roles中记录的oid一致。",
|
33
|
+
"input": "CreateAccountRequest",
|
34
|
+
"name": "创建数据库账号",
|
35
|
+
"output": "CreateAccountResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
31
38
|
"CreateBaseBackup": {
|
32
39
|
"document": "本接口(CreateBaseBackup)用于创建实例的数据备份。",
|
33
40
|
"input": "CreateBaseBackupRequest",
|
@@ -91,6 +98,13 @@
|
|
91
98
|
"output": "CreateServerlessDBInstanceResponse",
|
92
99
|
"status": "online"
|
93
100
|
},
|
101
|
+
"DeleteAccount": {
|
102
|
+
"document": "此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。",
|
103
|
+
"input": "DeleteAccountRequest",
|
104
|
+
"name": "删除数据库账号",
|
105
|
+
"output": "DeleteAccountResponse",
|
106
|
+
"status": "online"
|
107
|
+
},
|
94
108
|
"DeleteBaseBackup": {
|
95
109
|
"document": "本接口(DeleteBaseBackup)用于删除实例指定数据备份。",
|
96
110
|
"input": "DeleteBaseBackupRequest",
|
@@ -140,6 +154,13 @@
|
|
140
154
|
"output": "DeleteServerlessDBInstanceResponse",
|
141
155
|
"status": "online"
|
142
156
|
},
|
157
|
+
"DescribeAccountPrivileges": {
|
158
|
+
"document": "查询数据库账号对某数据库对象拥有的权限列表。",
|
159
|
+
"input": "DescribeAccountPrivilegesRequest",
|
160
|
+
"name": "查询数据库账号的权限信息",
|
161
|
+
"output": "DescribeAccountPrivilegesResponse",
|
162
|
+
"status": "online"
|
163
|
+
},
|
143
164
|
"DescribeAccounts": {
|
144
165
|
"document": "本接口(DescribeAccounts)用于查询实例的数据库账号列表。",
|
145
166
|
"input": "DescribeAccountsRequest",
|
@@ -280,6 +301,13 @@
|
|
280
301
|
"output": "DescribeDBXlogsResponse",
|
281
302
|
"status": "online"
|
282
303
|
},
|
304
|
+
"DescribeDatabaseObjects": {
|
305
|
+
"document": "本接口用于查询数据库对象列表。例如查询test数据库下的模式列表。",
|
306
|
+
"input": "DescribeDatabaseObjectsRequest",
|
307
|
+
"name": "查询数据库对象列表",
|
308
|
+
"output": "DescribeDatabaseObjectsResponse",
|
309
|
+
"status": "online"
|
310
|
+
},
|
283
311
|
"DescribeDatabases": {
|
284
312
|
"document": "接口(DescribeDatabases)用来查询实例的数据库列表。",
|
285
313
|
"input": "DescribeDatabasesRequest",
|
@@ -434,6 +462,20 @@
|
|
434
462
|
"output": "IsolateDBInstancesResponse",
|
435
463
|
"status": "online"
|
436
464
|
},
|
465
|
+
"LockAccount": {
|
466
|
+
"document": "此接口用于锁定数据库账号,锁定后账号当前连接会断开,并且无法建立新连接。",
|
467
|
+
"input": "LockAccountRequest",
|
468
|
+
"name": "锁定数据库账号",
|
469
|
+
"output": "LockAccountResponse",
|
470
|
+
"status": "online"
|
471
|
+
},
|
472
|
+
"ModifyAccountPrivileges": {
|
473
|
+
"document": "修改某账号对某数据库对象的权限、修改账号类型。",
|
474
|
+
"input": "ModifyAccountPrivilegesRequest",
|
475
|
+
"name": "修改数据库账号的权限、类型",
|
476
|
+
"output": "ModifyAccountPrivilegesResponse",
|
477
|
+
"status": "online"
|
478
|
+
},
|
437
479
|
"ModifyAccountRemark": {
|
438
480
|
"document": "本接口(ModifyAccountRemark)用于修改账号备注。",
|
439
481
|
"input": "ModifyAccountRemarkRequest",
|
@@ -616,6 +658,13 @@
|
|
616
658
|
"output": "SwitchDBInstancePrimaryResponse",
|
617
659
|
"status": "online"
|
618
660
|
},
|
661
|
+
"UnlockAccount": {
|
662
|
+
"document": "解除数据库账号的锁定,解锁后账号可以登陆数据库。",
|
663
|
+
"input": "UnlockAccountRequest",
|
664
|
+
"name": "解除数据库账号锁定",
|
665
|
+
"output": "UnlockAccountResponse",
|
666
|
+
"status": "online"
|
667
|
+
},
|
619
668
|
"UpgradeDBInstance": {
|
620
669
|
"document": "本接口(UpgradeDBInstance)用于升级实例配置。本接口已废弃,推荐使用接口[ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)替代。",
|
621
670
|
"input": "UpgradeDBInstanceRequest",
|
@@ -1568,6 +1617,69 @@
|
|
1568
1617
|
],
|
1569
1618
|
"type": "object"
|
1570
1619
|
},
|
1620
|
+
"CreateAccountRequest": {
|
1621
|
+
"document": "CreateAccount请求参数结构体",
|
1622
|
+
"members": [
|
1623
|
+
{
|
1624
|
+
"disabled": false,
|
1625
|
+
"document": "实例ID。",
|
1626
|
+
"example": "postgres-4sfuv15b",
|
1627
|
+
"member": "string",
|
1628
|
+
"name": "DBInstanceId",
|
1629
|
+
"required": true,
|
1630
|
+
"type": "string"
|
1631
|
+
},
|
1632
|
+
{
|
1633
|
+
"disabled": false,
|
1634
|
+
"document": "创建的账号名称。",
|
1635
|
+
"example": "test",
|
1636
|
+
"member": "string",
|
1637
|
+
"name": "UserName",
|
1638
|
+
"required": true,
|
1639
|
+
"type": "string"
|
1640
|
+
},
|
1641
|
+
{
|
1642
|
+
"disabled": false,
|
1643
|
+
"document": "账号对应的密码。",
|
1644
|
+
"example": "1234qwe",
|
1645
|
+
"member": "string",
|
1646
|
+
"name": "Password",
|
1647
|
+
"required": true,
|
1648
|
+
"type": "string"
|
1649
|
+
},
|
1650
|
+
{
|
1651
|
+
"disabled": false,
|
1652
|
+
"document": "账号类型。当前支持normal、tencentDBSuper两个输入。normal指代普通用户,tencentDBSuper为拥有pg_tencentdb_superuser角色的账号。",
|
1653
|
+
"example": "normal",
|
1654
|
+
"member": "string",
|
1655
|
+
"name": "Type",
|
1656
|
+
"required": true,
|
1657
|
+
"type": "string"
|
1658
|
+
},
|
1659
|
+
{
|
1660
|
+
"disabled": false,
|
1661
|
+
"document": "账号备注。",
|
1662
|
+
"example": "test Remark",
|
1663
|
+
"member": "string",
|
1664
|
+
"name": "Remark",
|
1665
|
+
"required": false,
|
1666
|
+
"type": "string"
|
1667
|
+
}
|
1668
|
+
],
|
1669
|
+
"type": "object"
|
1670
|
+
},
|
1671
|
+
"CreateAccountResponse": {
|
1672
|
+
"document": "CreateAccount返回参数结构体",
|
1673
|
+
"members": [
|
1674
|
+
{
|
1675
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1676
|
+
"member": "string",
|
1677
|
+
"name": "RequestId",
|
1678
|
+
"type": "string"
|
1679
|
+
}
|
1680
|
+
],
|
1681
|
+
"type": "object"
|
1682
|
+
},
|
1571
1683
|
"CreateBaseBackupRequest": {
|
1572
1684
|
"document": "CreateBaseBackup请求参数结构体",
|
1573
1685
|
"members": [
|
@@ -3460,6 +3572,131 @@
|
|
3460
3572
|
],
|
3461
3573
|
"usage": "both"
|
3462
3574
|
},
|
3575
|
+
"DatabaseObject": {
|
3576
|
+
"document": "描述数据库中某个对象所属的类型、是在哪个数据库、模式、表中的对象。",
|
3577
|
+
"members": [
|
3578
|
+
{
|
3579
|
+
"disabled": false,
|
3580
|
+
"document": "支持使用的数据库对象类型有:account,database,schema,sequence,procedure,type,function,table,view,matview,column。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3581
|
+
"example": "database",
|
3582
|
+
"member": "string",
|
3583
|
+
"name": "ObjectType",
|
3584
|
+
"output_required": true,
|
3585
|
+
"required": true,
|
3586
|
+
"type": "string",
|
3587
|
+
"value_allowed_null": true
|
3588
|
+
},
|
3589
|
+
{
|
3590
|
+
"disabled": false,
|
3591
|
+
"document": "所描述的数据库对象名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
3592
|
+
"example": "test_database\t",
|
3593
|
+
"member": "string",
|
3594
|
+
"name": "ObjectName",
|
3595
|
+
"output_required": true,
|
3596
|
+
"required": true,
|
3597
|
+
"type": "string",
|
3598
|
+
"value_allowed_null": true
|
3599
|
+
},
|
3600
|
+
{
|
3601
|
+
"disabled": false,
|
3602
|
+
"document": "所要描述的数据库对象,所属的数据库名称。当描述对象类型不为database时,此参数必选。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3603
|
+
"example": "test_database",
|
3604
|
+
"member": "string",
|
3605
|
+
"name": "DatabaseName",
|
3606
|
+
"output_required": false,
|
3607
|
+
"required": false,
|
3608
|
+
"type": "string",
|
3609
|
+
"value_allowed_null": true
|
3610
|
+
},
|
3611
|
+
{
|
3612
|
+
"disabled": false,
|
3613
|
+
"document": "所要描述的数据库对象,所属的模式名称。当描述对象不为database、schema时,此参数必选。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3614
|
+
"example": "test_schema",
|
3615
|
+
"member": "string",
|
3616
|
+
"name": "SchemaName",
|
3617
|
+
"output_required": false,
|
3618
|
+
"required": false,
|
3619
|
+
"type": "string",
|
3620
|
+
"value_allowed_null": true
|
3621
|
+
},
|
3622
|
+
{
|
3623
|
+
"disabled": false,
|
3624
|
+
"document": "所要描述的数据库对象,所属的表名称。当描述的对象类型为column时,此参数必填。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3625
|
+
"example": "test_table",
|
3626
|
+
"member": "string",
|
3627
|
+
"name": "TableName",
|
3628
|
+
"output_required": false,
|
3629
|
+
"required": false,
|
3630
|
+
"type": "string",
|
3631
|
+
"value_allowed_null": true
|
3632
|
+
}
|
3633
|
+
],
|
3634
|
+
"usage": "both"
|
3635
|
+
},
|
3636
|
+
"DatabasePrivilege": {
|
3637
|
+
"document": "指定账号对数据库对象拥有的权限列表",
|
3638
|
+
"members": [
|
3639
|
+
{
|
3640
|
+
"disabled": false,
|
3641
|
+
"document": "数据库对象,当ObjectType为database时,DataseName/SchemaName/TableName可为空;当ObjectType为schema时,SchemaName/TableName可为空;当ObjectType为column时,TableName不可为空,其余情况均可为空。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3642
|
+
"example": "{\"ObjectType\":\"table\",\"ObjectName\":\"test_table\",\"DatabaseName\":\"test_database\",\"SchemaName\":\"test_schema\"}",
|
3643
|
+
"member": "DatabaseObject",
|
3644
|
+
"name": "Object",
|
3645
|
+
"output_required": false,
|
3646
|
+
"required": false,
|
3647
|
+
"type": "object",
|
3648
|
+
"value_allowed_null": true
|
3649
|
+
},
|
3650
|
+
{
|
3651
|
+
"disabled": false,
|
3652
|
+
"document": "指定账号对数据库对象拥有的权限列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
3653
|
+
"example": "[\"SELECT\"]",
|
3654
|
+
"member": "string",
|
3655
|
+
"name": "PrivilegeSet",
|
3656
|
+
"output_required": false,
|
3657
|
+
"required": false,
|
3658
|
+
"type": "list",
|
3659
|
+
"value_allowed_null": true
|
3660
|
+
}
|
3661
|
+
],
|
3662
|
+
"usage": "both"
|
3663
|
+
},
|
3664
|
+
"DeleteAccountRequest": {
|
3665
|
+
"document": "DeleteAccount请求参数结构体",
|
3666
|
+
"members": [
|
3667
|
+
{
|
3668
|
+
"disabled": false,
|
3669
|
+
"document": "实例ID。\t",
|
3670
|
+
"example": "postgres-4sfuv15b\t",
|
3671
|
+
"member": "string",
|
3672
|
+
"name": "DBInstanceId",
|
3673
|
+
"required": true,
|
3674
|
+
"type": "string"
|
3675
|
+
},
|
3676
|
+
{
|
3677
|
+
"disabled": false,
|
3678
|
+
"document": "删除的账号名称。\t",
|
3679
|
+
"example": "test",
|
3680
|
+
"member": "string",
|
3681
|
+
"name": "UserName",
|
3682
|
+
"required": true,
|
3683
|
+
"type": "string"
|
3684
|
+
}
|
3685
|
+
],
|
3686
|
+
"type": "object"
|
3687
|
+
},
|
3688
|
+
"DeleteAccountResponse": {
|
3689
|
+
"document": "DeleteAccount返回参数结构体",
|
3690
|
+
"members": [
|
3691
|
+
{
|
3692
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3693
|
+
"member": "string",
|
3694
|
+
"name": "RequestId",
|
3695
|
+
"type": "string"
|
3696
|
+
}
|
3697
|
+
],
|
3698
|
+
"type": "object"
|
3699
|
+
},
|
3463
3700
|
"DeleteBaseBackupRequest": {
|
3464
3701
|
"document": "DeleteBaseBackup请求参数结构体",
|
3465
3702
|
"members": [
|
@@ -3760,6 +3997,61 @@
|
|
3760
3997
|
],
|
3761
3998
|
"type": "object"
|
3762
3999
|
},
|
4000
|
+
"DescribeAccountPrivilegesRequest": {
|
4001
|
+
"document": "DescribeAccountPrivileges请求参数结构体",
|
4002
|
+
"members": [
|
4003
|
+
{
|
4004
|
+
"disabled": false,
|
4005
|
+
"document": "实例ID。\t",
|
4006
|
+
"example": "postgres-4sfuv15b\t",
|
4007
|
+
"member": "string",
|
4008
|
+
"name": "DBInstanceId",
|
4009
|
+
"required": true,
|
4010
|
+
"type": "string"
|
4011
|
+
},
|
4012
|
+
{
|
4013
|
+
"disabled": false,
|
4014
|
+
"document": "查询此账号对某数据库对象所拥有的权限信息。",
|
4015
|
+
"example": "test",
|
4016
|
+
"member": "string",
|
4017
|
+
"name": "UserName",
|
4018
|
+
"required": true,
|
4019
|
+
"type": "string"
|
4020
|
+
},
|
4021
|
+
{
|
4022
|
+
"disabled": false,
|
4023
|
+
"document": "要查询的数据库对象信息",
|
4024
|
+
"example": "[{\"ObjectType\":\"table\",\"ObjectName\":\"users\",\"DatabaseName\":\"user_database\",\"SchemaName\":\"user_schema\"}]",
|
4025
|
+
"member": "DatabaseObject",
|
4026
|
+
"name": "DatabaseObjectSet",
|
4027
|
+
"required": true,
|
4028
|
+
"type": "list"
|
4029
|
+
}
|
4030
|
+
],
|
4031
|
+
"type": "object"
|
4032
|
+
},
|
4033
|
+
"DescribeAccountPrivilegesResponse": {
|
4034
|
+
"document": "DescribeAccountPrivileges返回参数结构体",
|
4035
|
+
"members": [
|
4036
|
+
{
|
4037
|
+
"disabled": false,
|
4038
|
+
"document": "用户拥有数据库user_database的CREATE、CONNECT、TEMPORARY权限",
|
4039
|
+
"example": "{\"Object\": {\"DatabaseName\": \"\", \"ObjectName\": \"user_database\", \"ObjectType\": \"database\", \"SchemaName\": \"\", \"TableName\": \"\" }, \"PrivilegeSet\": [ \"CREATE\", \"CONNECT\", \"TEMPORARY\"] }",
|
4040
|
+
"member": "DatabasePrivilege",
|
4041
|
+
"name": "PrivilegeSet",
|
4042
|
+
"output_required": false,
|
4043
|
+
"type": "list",
|
4044
|
+
"value_allowed_null": false
|
4045
|
+
},
|
4046
|
+
{
|
4047
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4048
|
+
"member": "string",
|
4049
|
+
"name": "RequestId",
|
4050
|
+
"type": "string"
|
4051
|
+
}
|
4052
|
+
],
|
4053
|
+
"type": "object"
|
4054
|
+
},
|
3763
4055
|
"DescribeAccountsRequest": {
|
3764
4056
|
"document": "DescribeAccounts请求参数结构体",
|
3765
4057
|
"members": [
|
@@ -5190,6 +5482,107 @@
|
|
5190
5482
|
],
|
5191
5483
|
"type": "object"
|
5192
5484
|
},
|
5485
|
+
"DescribeDatabaseObjectsRequest": {
|
5486
|
+
"document": "DescribeDatabaseObjects请求参数结构体",
|
5487
|
+
"members": [
|
5488
|
+
{
|
5489
|
+
"disabled": false,
|
5490
|
+
"document": "实例ID。\t",
|
5491
|
+
"example": "postgres-4sfuv15b\t",
|
5492
|
+
"member": "string",
|
5493
|
+
"name": "DBInstanceId",
|
5494
|
+
"required": true,
|
5495
|
+
"type": "string"
|
5496
|
+
},
|
5497
|
+
{
|
5498
|
+
"disabled": false,
|
5499
|
+
"document": "查询的对象类型。支持查询的数据对象有:database,schema,sequence,procedure,type,function,table,view,matview,column。",
|
5500
|
+
"example": "table",
|
5501
|
+
"member": "string",
|
5502
|
+
"name": "ObjectType",
|
5503
|
+
"required": true,
|
5504
|
+
"type": "string"
|
5505
|
+
},
|
5506
|
+
{
|
5507
|
+
"disabled": false,
|
5508
|
+
"document": "单次显示数量,默认20。可选范围为[0,100]。",
|
5509
|
+
"example": "20",
|
5510
|
+
"member": "int64",
|
5511
|
+
"name": "Limit",
|
5512
|
+
"required": false,
|
5513
|
+
"type": "int"
|
5514
|
+
},
|
5515
|
+
{
|
5516
|
+
"disabled": false,
|
5517
|
+
"document": "数据偏移量,从0开始。\t",
|
5518
|
+
"example": "0",
|
5519
|
+
"member": "int64",
|
5520
|
+
"name": "Offset",
|
5521
|
+
"required": false,
|
5522
|
+
"type": "int"
|
5523
|
+
},
|
5524
|
+
{
|
5525
|
+
"disabled": false,
|
5526
|
+
"document": "查询对象所属的数据库。当查询对象类型不为database时,此参数必填。",
|
5527
|
+
"example": "test_database",
|
5528
|
+
"member": "string",
|
5529
|
+
"name": "DatabaseName",
|
5530
|
+
"required": false,
|
5531
|
+
"type": "string"
|
5532
|
+
},
|
5533
|
+
{
|
5534
|
+
"disabled": false,
|
5535
|
+
"document": "查询对象所属的模式。当查询对象类型不为database、schema时,此参数必填。",
|
5536
|
+
"example": "test_schema",
|
5537
|
+
"member": "string",
|
5538
|
+
"name": "SchemaName",
|
5539
|
+
"required": false,
|
5540
|
+
"type": "string"
|
5541
|
+
},
|
5542
|
+
{
|
5543
|
+
"disabled": false,
|
5544
|
+
"document": "查询对象所属的表。当查询对象类型为column时,此参数必填。",
|
5545
|
+
"example": "test_table",
|
5546
|
+
"member": "string",
|
5547
|
+
"name": "TableName",
|
5548
|
+
"required": false,
|
5549
|
+
"type": "string"
|
5550
|
+
}
|
5551
|
+
],
|
5552
|
+
"type": "object"
|
5553
|
+
},
|
5554
|
+
"DescribeDatabaseObjectsResponse": {
|
5555
|
+
"document": "DescribeDatabaseObjects返回参数结构体",
|
5556
|
+
"members": [
|
5557
|
+
{
|
5558
|
+
"disabled": false,
|
5559
|
+
"document": "查询对象列表。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5560
|
+
"example": "[\"test\"]",
|
5561
|
+
"member": "string",
|
5562
|
+
"name": "ObjectSet",
|
5563
|
+
"output_required": false,
|
5564
|
+
"type": "list",
|
5565
|
+
"value_allowed_null": true
|
5566
|
+
},
|
5567
|
+
{
|
5568
|
+
"disabled": false,
|
5569
|
+
"document": "查询对象总数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
5570
|
+
"example": "1",
|
5571
|
+
"member": "uint64",
|
5572
|
+
"name": "TotalCount",
|
5573
|
+
"output_required": false,
|
5574
|
+
"type": "int",
|
5575
|
+
"value_allowed_null": true
|
5576
|
+
},
|
5577
|
+
{
|
5578
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5579
|
+
"member": "string",
|
5580
|
+
"name": "RequestId",
|
5581
|
+
"type": "string"
|
5582
|
+
}
|
5583
|
+
],
|
5584
|
+
"type": "object"
|
5585
|
+
},
|
5193
5586
|
"DescribeDatabasesRequest": {
|
5194
5587
|
"document": "DescribeDatabases请求参数结构体",
|
5195
5588
|
"members": [
|
@@ -7013,6 +7406,42 @@
|
|
7013
7406
|
],
|
7014
7407
|
"type": "object"
|
7015
7408
|
},
|
7409
|
+
"LockAccountRequest": {
|
7410
|
+
"document": "LockAccount请求参数结构体",
|
7411
|
+
"members": [
|
7412
|
+
{
|
7413
|
+
"disabled": false,
|
7414
|
+
"document": "实例ID。\t",
|
7415
|
+
"example": "postgres-4sfuv15b\t",
|
7416
|
+
"member": "string",
|
7417
|
+
"name": "DBInstanceId",
|
7418
|
+
"required": true,
|
7419
|
+
"type": "string"
|
7420
|
+
},
|
7421
|
+
{
|
7422
|
+
"disabled": false,
|
7423
|
+
"document": "账号名称。",
|
7424
|
+
"example": "test",
|
7425
|
+
"member": "string",
|
7426
|
+
"name": "UserName",
|
7427
|
+
"required": true,
|
7428
|
+
"type": "string"
|
7429
|
+
}
|
7430
|
+
],
|
7431
|
+
"type": "object"
|
7432
|
+
},
|
7433
|
+
"LockAccountResponse": {
|
7434
|
+
"document": "LockAccount返回参数结构体",
|
7435
|
+
"members": [
|
7436
|
+
{
|
7437
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7438
|
+
"member": "string",
|
7439
|
+
"name": "RequestId",
|
7440
|
+
"type": "string"
|
7441
|
+
}
|
7442
|
+
],
|
7443
|
+
"type": "object"
|
7444
|
+
},
|
7016
7445
|
"LogBackup": {
|
7017
7446
|
"document": "数据库日志备份信息",
|
7018
7447
|
"members": [
|
@@ -7119,6 +7548,51 @@
|
|
7119
7548
|
],
|
7120
7549
|
"usage": "out"
|
7121
7550
|
},
|
7551
|
+
"ModifyAccountPrivilegesRequest": {
|
7552
|
+
"document": "ModifyAccountPrivileges请求参数结构体",
|
7553
|
+
"members": [
|
7554
|
+
{
|
7555
|
+
"disabled": false,
|
7556
|
+
"document": "实例ID。\t",
|
7557
|
+
"example": "postgres-4sfuv15b\t",
|
7558
|
+
"member": "string",
|
7559
|
+
"name": "DBInstanceId",
|
7560
|
+
"required": true,
|
7561
|
+
"type": "string"
|
7562
|
+
},
|
7563
|
+
{
|
7564
|
+
"disabled": false,
|
7565
|
+
"document": "修改此账号对某数据库对象的权限。",
|
7566
|
+
"example": "test",
|
7567
|
+
"member": "string",
|
7568
|
+
"name": "UserName",
|
7569
|
+
"required": true,
|
7570
|
+
"type": "string"
|
7571
|
+
},
|
7572
|
+
{
|
7573
|
+
"disabled": false,
|
7574
|
+
"document": "修改的权限信息,支持批量修改,一次最高修改50条。",
|
7575
|
+
"example": "[{\"DatabasePrivilege\":{\"Object\":{\"ObjectType\":\"account\",\"ObjectName\":\"user_without_permission\"},\"PrivilegeSet\":[\"tencentDBSuper\"]},\"ModifyType\":\"alterRole\"}]",
|
7576
|
+
"member": "ModifyPrivilege",
|
7577
|
+
"name": "ModifyPrivilegeSet",
|
7578
|
+
"required": true,
|
7579
|
+
"type": "list"
|
7580
|
+
}
|
7581
|
+
],
|
7582
|
+
"type": "object"
|
7583
|
+
},
|
7584
|
+
"ModifyAccountPrivilegesResponse": {
|
7585
|
+
"document": "ModifyAccountPrivileges返回参数结构体",
|
7586
|
+
"members": [
|
7587
|
+
{
|
7588
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7589
|
+
"member": "string",
|
7590
|
+
"name": "RequestId",
|
7591
|
+
"type": "string"
|
7592
|
+
}
|
7593
|
+
],
|
7594
|
+
"type": "object"
|
7595
|
+
},
|
7122
7596
|
"ModifyAccountRemarkRequest": {
|
7123
7597
|
"document": "ModifyAccountRemark请求参数结构体",
|
7124
7598
|
"members": [
|
@@ -7960,6 +8434,45 @@
|
|
7960
8434
|
],
|
7961
8435
|
"type": "object"
|
7962
8436
|
},
|
8437
|
+
"ModifyPrivilege": {
|
8438
|
+
"document": "用于修改数据库对象的权限,其中包含了数据库对象描述的数据结构、需要修改的权限列表以及修改的类型等。",
|
8439
|
+
"members": [
|
8440
|
+
{
|
8441
|
+
"disabled": false,
|
8442
|
+
"document": "要修改的数据库对象及权限列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
8443
|
+
"example": "\"Object\":{\"ObjectType\":\"table\",\"ObjectName\":\"test_table\",\"DatabaseName\":\"test_database\",\"SchemaName\":\"test_schema\"},\"Privileges\":[\"SELECT\"]",
|
8444
|
+
"member": "DatabasePrivilege",
|
8445
|
+
"name": "DatabasePrivilege",
|
8446
|
+
"output_required": false,
|
8447
|
+
"required": false,
|
8448
|
+
"type": "object",
|
8449
|
+
"value_allowed_null": true
|
8450
|
+
},
|
8451
|
+
{
|
8452
|
+
"disabled": false,
|
8453
|
+
"document": "修改的方式,当前仅支持grantObject、revokeObject、alterRole。grantObject代表授权、revokeObject代表收回权、alterRole代表修改账号类型。\n注意:此字段可能返回 null,表示取不到有效值。",
|
8454
|
+
"example": "grantObject",
|
8455
|
+
"member": "string",
|
8456
|
+
"name": "ModifyType",
|
8457
|
+
"output_required": false,
|
8458
|
+
"required": false,
|
8459
|
+
"type": "string",
|
8460
|
+
"value_allowed_null": true
|
8461
|
+
},
|
8462
|
+
{
|
8463
|
+
"disabled": false,
|
8464
|
+
"document": "当ModifyType为revokeObject才需要此参数,参数为true时,撤销权限会级联撤销。默认为false。\n注意:此字段可能返回 null,表示取不到有效值。",
|
8465
|
+
"example": "false",
|
8466
|
+
"member": "bool",
|
8467
|
+
"name": "IsCascade",
|
8468
|
+
"output_required": false,
|
8469
|
+
"required": false,
|
8470
|
+
"type": "bool",
|
8471
|
+
"value_allowed_null": true
|
8472
|
+
}
|
8473
|
+
],
|
8474
|
+
"usage": "both"
|
8475
|
+
},
|
7963
8476
|
"ModifyReadOnlyGroupConfigRequest": {
|
7964
8477
|
"document": "ModifyReadOnlyGroupConfig请求参数结构体",
|
7965
8478
|
"members": [
|
@@ -10249,6 +10762,42 @@
|
|
10249
10762
|
],
|
10250
10763
|
"usage": "both"
|
10251
10764
|
},
|
10765
|
+
"UnlockAccountRequest": {
|
10766
|
+
"document": "UnlockAccount请求参数结构体",
|
10767
|
+
"members": [
|
10768
|
+
{
|
10769
|
+
"disabled": false,
|
10770
|
+
"document": "实例ID。\t",
|
10771
|
+
"example": "postgres-4sfuv15b\t",
|
10772
|
+
"member": "string",
|
10773
|
+
"name": "DBInstanceId",
|
10774
|
+
"required": true,
|
10775
|
+
"type": "string"
|
10776
|
+
},
|
10777
|
+
{
|
10778
|
+
"disabled": false,
|
10779
|
+
"document": "账号名称。",
|
10780
|
+
"example": "test",
|
10781
|
+
"member": "string",
|
10782
|
+
"name": "UserName",
|
10783
|
+
"required": true,
|
10784
|
+
"type": "string"
|
10785
|
+
}
|
10786
|
+
],
|
10787
|
+
"type": "object"
|
10788
|
+
},
|
10789
|
+
"UnlockAccountResponse": {
|
10790
|
+
"document": "UnlockAccount返回参数结构体",
|
10791
|
+
"members": [
|
10792
|
+
{
|
10793
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10794
|
+
"member": "string",
|
10795
|
+
"name": "RequestId",
|
10796
|
+
"type": "string"
|
10797
|
+
}
|
10798
|
+
],
|
10799
|
+
"type": "object"
|
10800
|
+
},
|
10252
10801
|
"UpgradeDBInstanceKernelVersionRequest": {
|
10253
10802
|
"document": "UpgradeDBInstanceKernelVersion请求参数结构体",
|
10254
10803
|
"members": [
|