tccli 3.0.1155.1__py2.py3-none-any.whl → 3.0.1157.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.
Files changed (48) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +48 -20
  3. tccli/services/cam/v20190116/api.json +10 -0
  4. tccli/services/ccc/v20200210/api.json +10 -0
  5. tccli/services/ccc/v20200210/examples.json +1 -1
  6. tccli/services/cdb/v20170320/api.json +38 -1
  7. tccli/services/cdwch/v20200915/api.json +27 -0
  8. tccli/services/cdwdoris/v20211228/api.json +27 -0
  9. tccli/services/cynosdb/v20190107/api.json +1 -1
  10. tccli/services/dts/v20211206/api.json +9 -0
  11. tccli/services/ess/ess_client.py +53 -0
  12. tccli/services/ess/v20201111/api.json +91 -0
  13. tccli/services/ess/v20201111/examples.json +8 -0
  14. tccli/services/gaap/v20180529/api.json +17 -17
  15. tccli/services/gaap/v20180529/examples.json +7 -13
  16. tccli/services/hunyuan/v20230901/api.json +2 -2
  17. tccli/services/iss/v20230517/api.json +6 -6
  18. tccli/services/mongodb/mongodb_client.py +273 -8
  19. tccli/services/mongodb/v20190725/api.json +486 -6
  20. tccli/services/mongodb/v20190725/examples.json +40 -0
  21. tccli/services/monitor/v20180724/api.json +23 -23
  22. tccli/services/monitor/v20180724/examples.json +12 -12
  23. tccli/services/mps/v20190612/api.json +2 -2
  24. tccli/services/mps/v20190612/examples.json +2 -2
  25. tccli/services/oceanus/v20190422/api.json +9 -0
  26. tccli/services/postgres/postgres_client.py +395 -24
  27. tccli/services/postgres/v20170312/api.json +549 -0
  28. tccli/services/postgres/v20170312/examples.json +92 -0
  29. tccli/services/rce/v20201103/api.json +78 -0
  30. tccli/services/tcr/v20190924/api.json +71 -45
  31. tccli/services/tcr/v20190924/examples.json +9 -9
  32. tccli/services/tem/v20210701/api.json +21 -3
  33. tccli/services/tem/v20210701/examples.json +1 -7
  34. tccli/services/thpc/thpc_client.py +110 -4
  35. tccli/services/thpc/v20230321/api.json +170 -35
  36. tccli/services/thpc/v20230321/examples.json +17 -1
  37. tccli/services/tke/v20220501/api.json +10 -0
  38. tccli/services/vclm/v20240523/api.json +9 -0
  39. tccli/services/vpc/v20170312/api.json +74 -15
  40. tccli/services/waf/v20180125/api.json +421 -72
  41. tccli/services/waf/v20180125/examples.json +6 -6
  42. tccli/services/wedata/v20210820/api.json +45 -7
  43. tccli/services/wedata/v20210820/examples.json +6 -0
  44. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/METADATA +2 -2
  45. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/RECORD +48 -48
  46. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/WHEEL +0 -0
  47. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/entry_points.txt +0 -0
  48. {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/license_files/LICENSE +0 -0
@@ -32,6 +32,20 @@
32
32
  "title": "关闭serverless公网地址"
33
33
  }
34
34
  ],
35
+ "CreateAccount": [
36
+ {
37
+ "document": "创建数据库普通账号",
38
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"user_normal\",\n \"Password\": \"Test_password1\",\n \"Type\": \"normal\",\n \"Remark\": \"\"\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5d19322f-50fe-4084-a5d3-b0bc680fd3a1\"\n }\n}",
40
+ "title": "创建数据库普通账号"
41
+ },
42
+ {
43
+ "document": "创建数据库超级账号\n",
44
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"user_Super\",\n \"Password\": \"Test_password1\",\n \"Type\": \"tencentDBSuper\",\n \"Remark\": \"超级用户\"\n}",
45
+ "output": "{\n \"Response\": {\n \"RequestId\": \"fad9ac43-c906-4494-bbb5-88d154d2829c\"\n }\n}",
46
+ "title": "创建数据库超级账号"
47
+ }
48
+ ],
35
49
  "CreateBaseBackup": [
36
50
  {
37
51
  "document": "手动创建实例数据备份。",
@@ -116,6 +130,14 @@
116
130
  "title": "创建serverlessDB实例"
117
131
  }
118
132
  ],
133
+ "DeleteAccount": [
134
+ {
135
+ "document": "删除数据库账号",
136
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"asdfghjkl\"\n}",
137
+ "output": "{\n \"Response\": {\n \"RequestId\": \"eac6a620-d337-4c7e-a4cc-8b7c082de489\"\n }\n}",
138
+ "title": "删除数据库账号"
139
+ }
140
+ ],
119
141
  "DeleteBaseBackup": [
120
142
  {
121
143
  "document": "",
@@ -178,6 +200,32 @@
178
200
  "title": "指定实例名删除serverlessDB实例"
179
201
  }
180
202
  ],
203
+ "DescribeAccountPrivileges": [
204
+ {
205
+ "document": "查看账号类型",
206
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccountPrivileges\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"user_without_permission\",\n \"DatabaseObjectSet\": [\n {\n \"ObjectType\": \"account\",\n \"ObjectName\": \"user_without_permission\"\n }\n ]\n}",
207
+ "output": "{\n \"Response\": {\n \"PrivilegeSet\": [\n {\n \"Object\": {\n \"DatabaseName\": \"\",\n \"ObjectName\": \"without_per\",\n \"ObjectType\": \"account\",\n \"SchemaName\": \"\",\n \"TableName\": \"\"\n },\n \"PrivilegeSet\": [\n \"tencentDBSuper\"\n ]\n }\n ],\n \"RequestId\": \"dc43ec52-efbe-4bde-b588-bfa427a8c29b\"\n }\n}",
208
+ "title": "查看账号类型"
209
+ },
210
+ {
211
+ "document": "查询账号without_per对数据库user_database的权限",
212
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccountPrivileges\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"without_per\",\n \"DatabaseObjectSet\": [\n {\n \"ObjectType\": \"database\",\n \"ObjectName\": \"user_database\"\n }\n ]\n}",
213
+ "output": "{\n \"Response\": {\n \"PrivilegeSet\": [\n {\n \"Object\": {\n \"DatabaseName\": \"\",\n \"ObjectName\": \"user_database\",\n \"ObjectType\": \"database\",\n \"SchemaName\": \"\",\n \"TableName\": \"\"\n },\n \"PrivilegeSet\": [\n \"CREATE\",\n \"CONNECT\",\n \"TEMPORARY\"\n ]\n }\n ],\n \"RequestId\": \"fc891ba1-8943-4116-8eb6-4696873d90c8\"\n }\n}",
214
+ "title": "查询数据库权限"
215
+ },
216
+ {
217
+ "document": "查询账号without_per对user_database数据库下,user_schema的权限",
218
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccountPrivileges\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"without_per\",\n \"DatabaseObjectSet\": [\n {\n \"ObjectType\": \"schema\",\n \"ObjectName\": \"user_schema\",\n \"DatabaseName\": \"user_database\"\n }\n ]\n}",
219
+ "output": "{\n \"Response\": {\n \"PrivilegeSet\": [\n {\n \"Object\": {\n \"DatabaseName\": \"user_database\",\n \"ObjectName\": \"user_schema\",\n \"ObjectType\": \"schema\",\n \"SchemaName\": \"\",\n \"TableName\": \"\"\n },\n \"PrivilegeSet\": [\n \"USAGE\",\n \"CREATE\"\n ]\n }\n ],\n \"RequestId\": \"410f0673-c35c-401e-97c8-d4e196d1f33c\"\n }\n}",
220
+ "title": "查询模式权限"
221
+ },
222
+ {
223
+ "document": "批量查询",
224
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccountPrivileges\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"without_per\",\n \"DatabaseObjectSet\": [\n {\n \"ObjectType\": \"table\",\n \"ObjectName\": \"users\",\n \"DatabaseName\": \"user_database\",\n \"SchemaName\": \"user_schema\"\n },\n {\n \"ObjectType\": \"schema\",\n \"ObjectName\": \"user_schema\",\n \"DatabaseName\": \"user_database\"\n }\n ]\n}",
225
+ "output": "{\n \"Response\": {\n \"PrivilegeSet\": [\n {\n \"Object\": {\n \"DatabaseName\": \"user_database\",\n \"ObjectName\": \"users\",\n \"ObjectType\": \"table\",\n \"SchemaName\": \"user_schema\",\n \"TableName\": \"\"\n },\n \"PrivilegeSet\": [\n \"DELETE\",\n \"TRUNCATE\",\n \"REFERENCES\",\n \"TRIGGER\",\n \"SELECT\",\n \"INSERT\",\n \"UPDATE\"\n ]\n },\n {\n \"Object\": {\n \"DatabaseName\": \"user_database\",\n \"ObjectName\": \"user_schema\",\n \"ObjectType\": \"schema\",\n \"SchemaName\": \"\",\n \"TableName\": \"\"\n },\n \"PrivilegeSet\": [\n \"CREATE\",\n \"USAGE\"\n ]\n }\n ],\n \"RequestId\": \"41d71515-447d-4557-a799-3b60ad86323d\"\n }\n}",
226
+ "title": "批量查询"
227
+ }
228
+ ],
181
229
  "DescribeAccounts": [
182
230
  {
183
231
  "document": "获取实例postgres-hpe52jnz的账户列表",
@@ -362,6 +410,26 @@
362
410
  "title": "获取实例postgres-apzvwncr的Xlog列表"
363
411
  }
364
412
  ],
413
+ "DescribeDatabaseObjects": [
414
+ {
415
+ "document": "查询数据库列表",
416
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatabaseObjects\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"ObjectType\": \"database\"\n}",
417
+ "output": "{\n \"Response\": {\n \"ObjectSet\": [\n \"postgres\",\n \"postgres_bak_1715170243\",\n \"user_database\"\n ],\n \"TotalCount\": 3,\n \"RequestId\": \"c90f7a9d-f519-4d2f-bb2f-e3966cd102b6\"\n }\n}",
418
+ "title": "查询对象为database"
419
+ },
420
+ {
421
+ "document": "查询user_database下的模式",
422
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatabaseObjects\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"ObjectType\": \"schema\",\n \"Limit\": 2,\n \"Offset\": 1,\n \"DatabaseName\": \"user_database\"\n}",
423
+ "output": "{\n \"Response\": {\n \"ObjectSet\": [\n \"information_schema\",\n \"pg_catalog\"\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"bb6146b9-0c63-40ea-b89a-d83944805b79\"\n }\n}",
424
+ "title": "查询对象为schema"
425
+ },
426
+ {
427
+ "document": "查询user_database数据库下,属于user_schema模式的表",
428
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatabaseObjects\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"ObjectType\": \"table\",\n \"DatabaseName\": \"user_database\",\n \"SchemaName\": \"user_schema\"\n}",
429
+ "output": "{\n \"Response\": {\n \"ObjectSet\": [\n \"users\",\n \"users1\",\n \"users2\"\n ],\n \"TotalCount\": 3,\n \"RequestId\": \"80530420-d73e-4a60-8149-93cf800220b9\"\n }\n}",
430
+ "title": "查询对象为table"
431
+ }
432
+ ],
365
433
  "DescribeDatabases": [
366
434
  {
367
435
  "document": "不做筛选,全量拉取实例的数据库列表。",
@@ -550,6 +618,22 @@
550
618
  "title": "隔离实例"
551
619
  }
552
620
  ],
621
+ "LockAccount": [
622
+ {
623
+ "document": "锁定数据库账号",
624
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LockAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-4sfuv15b\",\n \"UserName\": \"test\"\n}",
625
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\"\n }\n}",
626
+ "title": "锁定数据库账号"
627
+ }
628
+ ],
629
+ "ModifyAccountPrivileges": [
630
+ {
631
+ "document": "批量修改without_per账号的权限:授予user_database库下user_schema模式的CREATE权限,并撤销对应USAGE权限;授予user_database库下,属于user_schema模式的users表的SELECT权限。修改without_per账号的类型为tencentDBSuper。",
632
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAccountPrivileges\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5cz25tr5\",\n \"UserName\": \"without_per\",\n \"ModifyPrivilegeSet\": [\n {\n \"DatabasePrivilege\": {\n \"Object\": {\n \"ObjectType\": \"schema\",\n \"ObjectName\": \"user_schema\",\n \"DatabaseName\": \"user_database\"\n },\n \"PrivilegeSet\": [\n \"USAGE\"\n ]\n },\n \"ModifyType\": \"revokeObject\",\n \"IsCascade\": false\n },\n {\n \"DatabasePrivilege\": {\n \"Object\": {\n \"ObjectType\": \"schema\",\n \"ObjectName\": \"user_schema\",\n \"DatabaseName\": \"user_database\"\n },\n \"PrivilegeSet\": [\n \"CREATE\"\n ]\n },\n \"ModifyType\": \"grantObject\"\n },\n {\n \"DatabasePrivilege\": {\n \"Object\": {\n \"ObjectType\": \"table\",\n \"ObjectName\": \"users\",\n \"DatabaseName\": \"user_database\",\n \"SchemaName\": \"user_schema\"\n },\n \"PrivilegeSet\": [\n \"SELECT\"\n ]\n },\n \"ModifyType\": \"grantObject\"\n },\n {\n \"DatabasePrivilege\": {\n \"Object\": {\n \"ObjectType\": \"account\",\n \"ObjectName\": \"without_per\"\n },\n \"PrivilegeSet\": [\n \"tencentDBSuper\"\n ]\n },\n \"ModifyType\": \"alterRole\"\n }\n ]\n}",
633
+ "output": "{\n \"Response\": {\n \"RequestId\": \"73086328-bdfa-4bf9-8206-8a3d6b2438b1\"\n }\n}",
634
+ "title": "批量修改权限"
635
+ }
636
+ ],
553
637
  "ModifyAccountRemark": [
554
638
  {
555
639
  "document": "",
@@ -806,6 +890,14 @@
806
890
  "title": "切换实例主备关系"
807
891
  }
808
892
  ],
893
+ "UnlockAccount": [
894
+ {
895
+ "document": "账号锁定之后,通过此操作解锁。",
896
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnlockAccount\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-4sfuv15b\",\n \"UserName\": \"test\"\n}",
897
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6ace8140-6b9e-4e81-a8ad-ef3f92b2aa90\"\n }\n}",
898
+ "title": "解除数据库账号锁定"
899
+ }
900
+ ],
809
901
  "UpgradeDBInstance": [
810
902
  {
811
903
  "document": "调整实例postgres-6bwgamo3规格为内存2GB、存储100GB。",
@@ -57,6 +57,75 @@
57
57
  ],
58
58
  "usage": "in"
59
59
  },
60
+ "DataAuthorizationInfo": {
61
+ "document": "数据授权信息",
62
+ "members": [
63
+ {
64
+ "disabled": false,
65
+ "document": "客户主体名称。\n\n示例值:某某有限公司。",
66
+ "example": "无",
67
+ "member": "string",
68
+ "name": "DataProviderName",
69
+ "required": true,
70
+ "type": "string"
71
+ },
72
+ {
73
+ "disabled": false,
74
+ "document": "接收方主体名称。\n\n固定填:腾讯云计算(北京)有限责任公司\n\n示例值:腾讯云计算(北京)有限责任公司",
75
+ "example": "无",
76
+ "member": "string",
77
+ "name": "DataRecipientName",
78
+ "required": true,
79
+ "type": "string"
80
+ },
81
+ {
82
+ "disabled": false,
83
+ "document": "客户请求RCE所涉及的用户敏感数据类型,支持多选。实际以接口请求传参为准。\n\n1-手机号;\n\n2-微信开放账号;\n\n3-QQ开放账号;\n\n4-IP地址;\n\n5-设备指纹;\n\n999-其它;\n\n示例值:[1, 4]",
84
+ "example": "无",
85
+ "member": "uint64",
86
+ "name": "UserDataType",
87
+ "required": true,
88
+ "type": "list"
89
+ },
90
+ {
91
+ "disabled": false,
92
+ "document": "客户是否已经获取用户授权。\n\n1-已授权;其它值为未授权。\n\n示例值:1",
93
+ "example": "无",
94
+ "member": "uint64",
95
+ "name": "IsAuthorize",
96
+ "required": true,
97
+ "type": "int"
98
+ },
99
+ {
100
+ "disabled": false,
101
+ "document": "是否是用户个人敏感数据。\n\n固定填:1。\n\n示例值:1",
102
+ "example": "无",
103
+ "member": "uint64",
104
+ "name": "IsPersonalData",
105
+ "required": true,
106
+ "type": "int"
107
+ },
108
+ {
109
+ "disabled": false,
110
+ "document": "客户获得的用户授权期限时间戳(单位秒)。\n\n不填默认无固定期限。\n\n示例值:1719805604",
111
+ "example": "无",
112
+ "member": "uint64",
113
+ "name": "AuthorizationTerm",
114
+ "required": false,
115
+ "type": "int"
116
+ },
117
+ {
118
+ "disabled": false,
119
+ "document": "客户获得用户授权所依赖的协议地址。\n\n示例值:https://www.*****.com/*****",
120
+ "example": "无",
121
+ "member": "string",
122
+ "name": "PrivacyPolicyLink",
123
+ "required": false,
124
+ "type": "string"
125
+ }
126
+ ],
127
+ "usage": "in"
128
+ },
60
129
  "InputCryptoManageMarketingRisk": {
61
130
  "document": "全栈式风控引擎入参",
62
131
  "members": [
@@ -319,6 +388,15 @@
319
388
  "name": "Platform",
320
389
  "required": false,
321
390
  "type": "string"
391
+ },
392
+ {
393
+ "disabled": false,
394
+ "document": "数据授权信息。",
395
+ "example": "无",
396
+ "member": "DataAuthorizationInfo",
397
+ "name": "DataAuthorization",
398
+ "required": false,
399
+ "type": "object"
322
400
  }
323
401
  ],
324
402
  "usage": "in"
@@ -428,7 +428,7 @@
428
428
  "status": "online"
429
429
  },
430
430
  "DescribeInstanceAllNamespaces": {
431
- "document": "查询所有实例命名空间列表",
431
+ "document": "查询所有有实例命名空间列表",
432
432
  "input": "DescribeInstanceAllNamespacesRequest",
433
433
  "name": "查询所有实例命名空间",
434
434
  "output": "DescribeInstanceAllNamespacesResponse",
@@ -575,9 +575,9 @@
575
575
  "status": "online"
576
576
  },
577
577
  "DescribeTagRetentionRules": {
578
- "document": "查询版本保留规则",
578
+ "document": "查询镜像版本保留规则",
579
579
  "input": "DescribeTagRetentionRulesRequest",
580
- "name": "查询版本保留规则",
580
+ "name": "查询镜像版本保留规则",
581
581
  "output": "DescribeTagRetentionRulesResponse",
582
582
  "status": "online"
583
583
  },
@@ -2627,7 +2627,7 @@
2627
2627
  {
2628
2628
  "disabled": false,
2629
2629
  "document": "实例Id",
2630
- "example": "",
2630
+ "example": "tcr-xxx",
2631
2631
  "member": "string",
2632
2632
  "name": "RegistryId",
2633
2633
  "required": true,
@@ -2635,28 +2635,28 @@
2635
2635
  },
2636
2636
  {
2637
2637
  "disabled": false,
2638
- "document": "镜像仓库名称",
2639
- "example": "",
2638
+ "document": "命名空间名称",
2639
+ "example": "ns",
2640
2640
  "member": "string",
2641
- "name": "RepositoryName",
2641
+ "name": "NamespaceName",
2642
2642
  "required": true,
2643
2643
  "type": "string"
2644
2644
  },
2645
2645
  {
2646
2646
  "disabled": false,
2647
- "document": "镜像版本",
2648
- "example": "",
2647
+ "document": "镜像仓库名称",
2648
+ "example": "repo",
2649
2649
  "member": "string",
2650
- "name": "ImageVersion",
2650
+ "name": "RepositoryName",
2651
2651
  "required": true,
2652
2652
  "type": "string"
2653
2653
  },
2654
2654
  {
2655
2655
  "disabled": false,
2656
- "document": "命名空间名称",
2657
- "example": "",
2656
+ "document": "镜像版本",
2657
+ "example": "v1",
2658
2658
  "member": "string",
2659
- "name": "NamespaceName",
2659
+ "name": "ImageVersion",
2660
2660
  "required": true,
2661
2661
  "type": "string"
2662
2662
  }
@@ -3966,7 +3966,7 @@
3966
3966
  {
3967
3967
  "disabled": false,
3968
3968
  "document": "实例ID",
3969
- "example": "",
3969
+ "example": "tcr-xx",
3970
3970
  "member": "string",
3971
3971
  "name": "RegistryId",
3972
3972
  "required": true,
@@ -3975,7 +3975,7 @@
3975
3975
  {
3976
3976
  "disabled": false,
3977
3977
  "document": "命名空间名称",
3978
- "example": "",
3978
+ "example": "ns",
3979
3979
  "member": "string",
3980
3980
  "name": "NamespaceName",
3981
3981
  "required": true,
@@ -3984,7 +3984,7 @@
3984
3984
  {
3985
3985
  "disabled": false,
3986
3986
  "document": "镜像仓库名称",
3987
- "example": "",
3987
+ "example": "repo",
3988
3988
  "member": "string",
3989
3989
  "name": "RepositoryName",
3990
3990
  "required": true,
@@ -3993,7 +3993,7 @@
3993
3993
  {
3994
3994
  "disabled": false,
3995
3995
  "document": "镜像版本",
3996
- "example": "",
3996
+ "example": "v1",
3997
3997
  "member": "string",
3998
3998
  "name": "ImageVersion",
3999
3999
  "required": true,
@@ -4008,21 +4008,43 @@
4008
4008
  {
4009
4009
  "disabled": false,
4010
4010
  "document": "镜像的Manifest信息",
4011
- "example": "",
4011
+ "example": "\"\"",
4012
4012
  "member": "string",
4013
4013
  "name": "Manifest",
4014
+ "output_required": true,
4014
4015
  "type": "string",
4015
4016
  "value_allowed_null": false
4016
4017
  },
4017
4018
  {
4018
4019
  "disabled": false,
4019
4020
  "document": "镜像的配置信息",
4020
- "example": "",
4021
+ "example": "\"\"",
4021
4022
  "member": "string",
4022
4023
  "name": "Config",
4024
+ "output_required": true,
4023
4025
  "type": "string",
4024
4026
  "value_allowed_null": false
4025
4027
  },
4028
+ {
4029
+ "disabled": false,
4030
+ "document": "镜像的Labels信息\n注意:此字段可能返回 null,表示取不到有效值。",
4031
+ "example": "无",
4032
+ "member": "KeyValueString",
4033
+ "name": "Labels",
4034
+ "output_required": false,
4035
+ "type": "list",
4036
+ "value_allowed_null": true
4037
+ },
4038
+ {
4039
+ "disabled": false,
4040
+ "document": "镜像大小,单位:byte\n注意:此字段可能返回 null,表示取不到有效值。",
4041
+ "example": "1570",
4042
+ "member": "int64",
4043
+ "name": "Size",
4044
+ "output_required": false,
4045
+ "type": "int",
4046
+ "value_allowed_null": true
4047
+ },
4026
4048
  {
4027
4049
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4028
4050
  "member": "string",
@@ -4183,7 +4205,7 @@
4183
4205
  "example": "无",
4184
4206
  "member": "TcrImageInfo",
4185
4207
  "name": "ImageInfoList",
4186
- "required": true,
4208
+ "output_required": true,
4187
4209
  "type": "list",
4188
4210
  "value_allowed_null": false
4189
4211
  },
@@ -4193,7 +4215,7 @@
4193
4215
  "example": "2",
4194
4216
  "member": "int64",
4195
4217
  "name": "TotalCount",
4196
- "required": true,
4218
+ "output_required": true,
4197
4219
  "type": "int",
4198
4220
  "value_allowed_null": false
4199
4221
  },
@@ -5483,7 +5505,7 @@
5483
5505
  "example": "无",
5484
5506
  "member": "RetentionExecution",
5485
5507
  "name": "RetentionExecutionList",
5486
- "required": true,
5508
+ "output_required": true,
5487
5509
  "type": "list",
5488
5510
  "value_allowed_null": false
5489
5511
  },
@@ -5493,7 +5515,7 @@
5493
5515
  "example": "1",
5494
5516
  "member": "int64",
5495
5517
  "name": "TotalCount",
5496
- "required": true,
5518
+ "output_required": true,
5497
5519
  "type": "int",
5498
5520
  "value_allowed_null": false
5499
5521
  },
@@ -5566,7 +5588,7 @@
5566
5588
  "example": "无",
5567
5589
  "member": "RetentionTask",
5568
5590
  "name": "RetentionTaskList",
5569
- "required": true,
5591
+ "output_required": true,
5570
5592
  "type": "list",
5571
5593
  "value_allowed_null": false
5572
5594
  },
@@ -5576,7 +5598,7 @@
5576
5598
  "example": "1",
5577
5599
  "member": "int64",
5578
5600
  "name": "TotalCount",
5579
- "required": true,
5601
+ "output_required": true,
5580
5602
  "type": "int",
5581
5603
  "value_allowed_null": false
5582
5604
  },
@@ -5640,7 +5662,7 @@
5640
5662
  "example": "无",
5641
5663
  "member": "RetentionPolicy",
5642
5664
  "name": "RetentionPolicyList",
5643
- "required": true,
5665
+ "output_required": true,
5644
5666
  "type": "list",
5645
5667
  "value_allowed_null": false
5646
5668
  },
@@ -5650,7 +5672,7 @@
5650
5672
  "example": "1",
5651
5673
  "member": "int64",
5652
5674
  "name": "TotalCount",
5653
- "required": true,
5675
+ "output_required": true,
5654
5676
  "type": "int",
5655
5677
  "value_allowed_null": false
5656
5678
  },
@@ -5696,7 +5718,7 @@
5696
5718
  {
5697
5719
  "disabled": false,
5698
5720
  "document": "实例 Id",
5699
- "example": "",
5721
+ "example": "tcr-xxx",
5700
5722
  "member": "string",
5701
5723
  "name": "RegistryId",
5702
5724
  "required": true,
@@ -5705,7 +5727,7 @@
5705
5727
  {
5706
5728
  "disabled": false,
5707
5729
  "document": "命名空间",
5708
- "example": "",
5730
+ "example": "ns",
5709
5731
  "member": "string",
5710
5732
  "name": "Namespace",
5711
5733
  "required": true,
@@ -5714,7 +5736,7 @@
5714
5736
  {
5715
5737
  "disabled": false,
5716
5738
  "document": "触发器 Id",
5717
- "example": "",
5739
+ "example": "10",
5718
5740
  "member": "int64",
5719
5741
  "name": "Id",
5720
5742
  "required": false,
@@ -5723,7 +5745,7 @@
5723
5745
  {
5724
5746
  "disabled": false,
5725
5747
  "document": "分页单页数量",
5726
- "example": "",
5748
+ "example": "20",
5727
5749
  "member": "int64",
5728
5750
  "name": "Limit",
5729
5751
  "required": false,
@@ -5732,7 +5754,7 @@
5732
5754
  {
5733
5755
  "disabled": false,
5734
5756
  "document": "分页偏移量",
5735
- "example": "",
5757
+ "example": "0",
5736
5758
  "member": "int64",
5737
5759
  "name": "Offset",
5738
5760
  "required": false,
@@ -5747,18 +5769,20 @@
5747
5769
  {
5748
5770
  "disabled": false,
5749
5771
  "document": "总数",
5750
- "example": "",
5772
+ "example": "10",
5751
5773
  "member": "int64",
5752
5774
  "name": "TotalCount",
5775
+ "output_required": true,
5753
5776
  "type": "int",
5754
5777
  "value_allowed_null": false
5755
5778
  },
5756
5779
  {
5757
5780
  "disabled": false,
5758
5781
  "document": "日志列表",
5759
- "example": "",
5782
+ "example": "",
5760
5783
  "member": "WebhookTriggerLog",
5761
5784
  "name": "Logs",
5785
+ "output_required": true,
5762
5786
  "type": "list",
5763
5787
  "value_allowed_null": false
5764
5788
  },
@@ -8709,7 +8733,7 @@
8709
8733
  "example": "1",
8710
8734
  "member": "int64",
8711
8735
  "name": "RetentionId",
8712
- "required": true,
8736
+ "output_required": true,
8713
8737
  "type": "int",
8714
8738
  "value_allowed_null": false
8715
8739
  },
@@ -8719,7 +8743,7 @@
8719
8743
  "example": "mytest",
8720
8744
  "member": "string",
8721
8745
  "name": "NamespaceName",
8722
- "required": true,
8746
+ "output_required": true,
8723
8747
  "type": "string",
8724
8748
  "value_allowed_null": false
8725
8749
  },
@@ -8729,7 +8753,7 @@
8729
8753
  "example": "无",
8730
8754
  "member": "RetentionRule",
8731
8755
  "name": "RetentionRuleList",
8732
- "required": true,
8756
+ "output_required": true,
8733
8757
  "type": "list",
8734
8758
  "value_allowed_null": false
8735
8759
  },
@@ -8739,7 +8763,7 @@
8739
8763
  "example": "manual",
8740
8764
  "member": "string",
8741
8765
  "name": "CronSetting",
8742
- "required": true,
8766
+ "output_required": true,
8743
8767
  "type": "string",
8744
8768
  "value_allowed_null": false
8745
8769
  },
@@ -8749,7 +8773,7 @@
8749
8773
  "example": "false",
8750
8774
  "member": "bool",
8751
8775
  "name": "Disabled",
8752
- "required": true,
8776
+ "output_required": true,
8753
8777
  "type": "bool",
8754
8778
  "value_allowed_null": false
8755
8779
  },
@@ -8759,7 +8783,7 @@
8759
8783
  "example": "2021-02-03",
8760
8784
  "member": "string",
8761
8785
  "name": "NextExecutionTime",
8762
- "required": true,
8786
+ "output_required": true,
8763
8787
  "type": "string",
8764
8788
  "value_allowed_null": false
8765
8789
  }
@@ -8771,26 +8795,28 @@
8771
8795
  "members": [
8772
8796
  {
8773
8797
  "disabled": false,
8774
- "document": "支持的策略,可选值为latestPushedK(保留最新推送多少个版本)nDaysSinceLastPush(保留近天内推送)",
8798
+ "document": "支持的策略,可选值为latestPushedK(保留最新推送多少个版本)nDaysSinceLastPush(保留近天内推送)\n注意:此字段可能返回 null,表示取不到有效值。",
8775
8799
  "example": "latestPushedK",
8776
8800
  "member": "string",
8777
8801
  "name": "Key",
8802
+ "output_required": false,
8778
8803
  "required": true,
8779
8804
  "type": "string",
8780
- "value_allowed_null": false
8805
+ "value_allowed_null": true
8781
8806
  },
8782
8807
  {
8783
8808
  "disabled": false,
8784
- "document": "规则设置下的对应值",
8809
+ "document": "规则设置下的对应值\n注意:此字段可能返回 null,表示取不到有效值。",
8785
8810
  "example": "0",
8786
8811
  "member": "int64",
8787
8812
  "name": "Value",
8813
+ "output_required": false,
8788
8814
  "required": true,
8789
8815
  "type": "int",
8790
- "value_allowed_null": false
8816
+ "value_allowed_null": true
8791
8817
  }
8792
8818
  ],
8793
- "usage": "in"
8819
+ "usage": "both"
8794
8820
  },
8795
8821
  "RetentionTask": {
8796
8822
  "document": "版本保留执行的规则",