tccli 3.0.1173.1__py2.py3-none-any.whl → 3.0.1175.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 (45) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +2 -2
  3. tccli/services/ccc/v20200210/api.json +9 -0
  4. tccli/services/cdwdoris/cdwdoris_client.py +57 -4
  5. tccli/services/cdwdoris/v20211228/api.json +90 -0
  6. tccli/services/cdwdoris/v20211228/examples.json +8 -0
  7. tccli/services/cfg/v20210820/api.json +25 -0
  8. tccli/services/cls/v20201016/api.json +148 -16
  9. tccli/services/cls/v20201016/examples.json +5 -5
  10. tccli/services/cwp/v20180228/api.json +41 -14
  11. tccli/services/dbbrain/v20210527/api.json +116 -1
  12. tccli/services/dbbrain/v20210527/examples.json +1 -1
  13. tccli/services/eb/v20210416/api.json +1 -0
  14. tccli/services/ess/v20201111/api.json +10 -0
  15. tccli/services/ess/v20201111/examples.json +2 -2
  16. tccli/services/facefusion/v20181201/api.json +15 -21
  17. tccli/services/facefusion/v20220927/api.json +17 -21
  18. tccli/services/faceid/v20180301/api.json +20 -2
  19. tccli/services/faceid/v20180301/examples.json +7 -1
  20. tccli/services/hunyuan/v20230901/api.json +1 -1
  21. tccli/services/ims/v20201229/api.json +2 -2
  22. tccli/services/iotexplorer/v20190423/api.json +20 -10
  23. tccli/services/lighthouse/v20200324/api.json +18 -0
  24. tccli/services/lke/v20231130/api.json +9 -0
  25. tccli/services/mps/v20190612/api.json +47 -5
  26. tccli/services/ms/v20180408/api.json +46 -46
  27. tccli/services/ocr/ocr_client.py +413 -307
  28. tccli/services/ocr/v20181119/api.json +166 -4
  29. tccli/services/ocr/v20181119/examples.json +16 -0
  30. tccli/services/sqlserver/sqlserver_client.py +53 -0
  31. tccli/services/sqlserver/v20180328/api.json +108 -9
  32. tccli/services/sqlserver/v20180328/examples.json +8 -0
  33. tccli/services/tdmq/v20200217/api.json +25 -6
  34. tccli/services/tiia/tiia_client.py +4 -57
  35. tccli/services/tiia/v20190529/api.json +0 -296
  36. tccli/services/tiia/v20190529/examples.json +0 -8
  37. tccli/services/tmt/v20180321/api.json +1 -1
  38. tccli/services/vod/v20180717/api.json +62 -5
  39. tccli/services/vod/v20180717/examples.json +1 -1
  40. tccli/services/vpc/v20170312/api.json +93 -0
  41. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/METADATA +2 -2
  42. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/RECORD +45 -45
  43. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/WHEEL +0 -0
  44. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/entry_points.txt +0 -0
  45. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/license_files/LICENSE +0 -0
@@ -63,6 +63,13 @@
63
63
  "output": "ClassifyDetectOCRResponse",
64
64
  "status": "online"
65
65
  },
66
+ "ClassifyStoreName": {
67
+ "document": "本接口用于识别门头照分类标签信息",
68
+ "input": "ClassifyStoreNameRequest",
69
+ "name": "门头照分类",
70
+ "output": "ClassifyStoreNameResponse",
71
+ "status": "online"
72
+ },
66
73
  "CreateAIFormTask": {
67
74
  "document": "本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。\n\n智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。",
68
75
  "input": "CreateAIFormTaskRequest",
@@ -413,6 +420,13 @@
413
420
  "output": "RecognizePhilippinesVoteIDOCRResponse",
414
421
  "status": "online"
415
422
  },
423
+ "RecognizeStoreName": {
424
+ "document": "本接口用于识别门头照文字识别结果以及对应分类标签信息",
425
+ "input": "RecognizeStoreNameRequest",
426
+ "name": "门头照识别",
427
+ "output": "RecognizeStoreNameResponse",
428
+ "status": "online"
429
+ },
416
430
  "RecognizeTableAccurateOCR": {
417
431
  "document": "本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/act/event/ocrdemo)。\n\n默认接口请求频率限制:2次/秒。",
418
432
  "input": "RecognizeTableAccurateOCRRequest",
@@ -2544,6 +2558,52 @@
2544
2558
  ],
2545
2559
  "type": "object"
2546
2560
  },
2561
+ "ClassifyStoreNameRequest": {
2562
+ "document": "ClassifyStoreName请求参数结构体",
2563
+ "members": [
2564
+ {
2565
+ "disabled": false,
2566
+ "document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。\n支持的图片像素:需介于20-10000px之间。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
2567
+ "example": "无",
2568
+ "member": "string",
2569
+ "name": "ImageBase64",
2570
+ "required": false,
2571
+ "type": "string"
2572
+ },
2573
+ {
2574
+ "disabled": false,
2575
+ "document": "图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
2576
+ "example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/docume",
2577
+ "member": "string",
2578
+ "name": "ImageUrl",
2579
+ "required": false,
2580
+ "type": "string"
2581
+ }
2582
+ ],
2583
+ "type": "object"
2584
+ },
2585
+ "ClassifyStoreNameResponse": {
2586
+ "document": "ClassifyStoreName返回参数结构体",
2587
+ "members": [
2588
+ {
2589
+ "disabled": false,
2590
+ "document": "门头照标签",
2591
+ "example": "无",
2592
+ "member": "string",
2593
+ "name": "StoreLabel",
2594
+ "output_required": true,
2595
+ "type": "list",
2596
+ "value_allowed_null": false
2597
+ },
2598
+ {
2599
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2600
+ "member": "string",
2601
+ "name": "RequestId",
2602
+ "type": "string"
2603
+ }
2604
+ ],
2605
+ "type": "object"
2606
+ },
2547
2607
  "Coord": {
2548
2608
  "document": "坐标",
2549
2609
  "members": [
@@ -10657,11 +10717,11 @@
10657
10717
  "members": [
10658
10718
  {
10659
10719
  "disabled": false,
10660
- "document": "类型(二维码、条形码)",
10720
+ "document": "类型包括\n二维码:QR_CODE\n一维码:EAN-13、EAN-8、EAN-2、UPC-A、UPC-E、CODE-39、CODE-93、CODE-128 \nPDF:PDF_417\nDataMatrix:DATA_MATRIX\n小程序码:WX_CODE",
10661
10721
  "example": "无",
10662
10722
  "member": "string",
10663
10723
  "name": "TypeName",
10664
- "required": true,
10724
+ "output_required": true,
10665
10725
  "type": "string",
10666
10726
  "value_allowed_null": false
10667
10727
  },
@@ -10671,7 +10731,7 @@
10671
10731
  "example": "无",
10672
10732
  "member": "string",
10673
10733
  "name": "Url",
10674
- "required": true,
10734
+ "output_required": true,
10675
10735
  "type": "string",
10676
10736
  "value_allowed_null": false
10677
10737
  },
@@ -10681,7 +10741,7 @@
10681
10741
  "example": "无",
10682
10742
  "member": "QrcodePositionObj",
10683
10743
  "name": "Position",
10684
- "required": true,
10744
+ "output_required": true,
10685
10745
  "type": "object",
10686
10746
  "value_allowed_null": false
10687
10747
  }
@@ -13115,6 +13175,72 @@
13115
13175
  ],
13116
13176
  "type": "object"
13117
13177
  },
13178
+ "RecognizeStoreNameRequest": {
13179
+ "document": "RecognizeStoreName请求参数结构体",
13180
+ "members": [
13181
+ {
13182
+ "disabled": false,
13183
+ "document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。\n支持的图片像素:需介于20-10000px之间。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
13184
+ "example": "无",
13185
+ "member": "string",
13186
+ "name": "ImageBase64",
13187
+ "required": false,
13188
+ "type": "string"
13189
+ },
13190
+ {
13191
+ "disabled": false,
13192
+ "document": "图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
13193
+ "example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/docume",
13194
+ "member": "string",
13195
+ "name": "ImageUrl",
13196
+ "required": false,
13197
+ "type": "string"
13198
+ }
13199
+ ],
13200
+ "type": "object"
13201
+ },
13202
+ "RecognizeStoreNameResponse": {
13203
+ "document": "RecognizeStoreName返回参数结构体",
13204
+ "members": [
13205
+ {
13206
+ "disabled": false,
13207
+ "document": "门头照名称",
13208
+ "example": "无",
13209
+ "member": "StoreInfo",
13210
+ "name": "StoreInfo",
13211
+ "output_required": true,
13212
+ "type": "list",
13213
+ "value_allowed_null": false
13214
+ },
13215
+ {
13216
+ "disabled": false,
13217
+ "document": "图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负",
13218
+ "example": "无",
13219
+ "member": "float",
13220
+ "name": "Angle",
13221
+ "output_required": false,
13222
+ "type": "float",
13223
+ "value_allowed_null": false
13224
+ },
13225
+ {
13226
+ "disabled": false,
13227
+ "document": "门头照标签",
13228
+ "example": "无",
13229
+ "member": "string",
13230
+ "name": "StoreLabel",
13231
+ "output_required": true,
13232
+ "type": "list",
13233
+ "value_allowed_null": false
13234
+ },
13235
+ {
13236
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
13237
+ "member": "string",
13238
+ "name": "RequestId",
13239
+ "type": "string"
13240
+ }
13241
+ ],
13242
+ "type": "object"
13243
+ },
13118
13244
  "RecognizeTableAccurateOCRRequest": {
13119
13245
  "document": "RecognizeTableAccurateOCR请求参数结构体",
13120
13246
  "members": [
@@ -15167,6 +15293,42 @@
15167
15293
  ],
15168
15294
  "type": "object"
15169
15295
  },
15296
+ "StoreInfo": {
15297
+ "document": "门头照识别结果",
15298
+ "members": [
15299
+ {
15300
+ "disabled": false,
15301
+ "document": "识别出的字段名称(关键字),支持以下字段:\n付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。",
15302
+ "example": "商店名称",
15303
+ "member": "string",
15304
+ "name": "Name",
15305
+ "output_required": true,
15306
+ "type": "string",
15307
+ "value_allowed_null": false
15308
+ },
15309
+ {
15310
+ "disabled": false,
15311
+ "document": "识别出的字段名称对应的值,也就是字段Name对应的字符串结果。",
15312
+ "example": "Everyday Chain",
15313
+ "member": "string",
15314
+ "name": "Value",
15315
+ "output_required": true,
15316
+ "type": "string",
15317
+ "value_allowed_null": false
15318
+ },
15319
+ {
15320
+ "disabled": false,
15321
+ "document": "文本行在旋转纠正之后的图像中的像素坐标",
15322
+ "example": "无",
15323
+ "member": "Rect",
15324
+ "name": "Rect",
15325
+ "output_required": true,
15326
+ "type": "object",
15327
+ "value_allowed_null": false
15328
+ }
15329
+ ],
15330
+ "usage": "out"
15331
+ },
15170
15332
  "StructuralItem": {
15171
15333
  "document": "智能结构化识别",
15172
15334
  "members": [
@@ -72,6 +72,14 @@
72
72
  "title": "智能卡证分类示例代码"
73
73
  }
74
74
  ],
75
+ "ClassifyStoreName": [
76
+ {
77
+ "document": "门头照分类示例",
78
+ "input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ClassifyStoreName\n<公共请求参数>\n\n{\n \"ImageBase64\": \"\"\n}",
79
+ "output": "{\n \"Response\": {\n \"RequestId\": \"014dedcb-8435-40e8-9fa1-547597bbbb7d\",\n \"StoreLabel\": [\n \"门头照\"\n ]\n }\n}",
80
+ "title": "门头照分类示例"
81
+ }
82
+ ],
75
83
  "CreateAIFormTask": [
76
84
  {
77
85
  "document": "创建文件识别任务示例",
@@ -526,6 +534,14 @@
526
534
  "title": "菲律宾VoteID识别示例"
527
535
  }
528
536
  ],
537
+ "RecognizeStoreName": [
538
+ {
539
+ "document": "门头照识别示例",
540
+ "input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeStoreName\n<公共请求参数>\n\n{\n \"ImageBase64\": \"\"\n}",
541
+ "output": "{\n \"Response\": {\n \"Angle\": 0.988696813583374,\n \"RequestId\": \"e450a988-e6b1-4dde-810c-59ab214d39a6\",\n \"StoreInfo\": [\n {\n \"Name\": \"商店名称\",\n \"Rect\": {\n \"Height\": 263,\n \"Width\": 1132,\n \"X\": 232,\n \"Y\": 366\n },\n \"Value\": \"城市生活超市\"\n },\n {\n \"Name\": \"商店名称\",\n \"Rect\": {\n \"Height\": 69,\n \"Width\": 275,\n \"X\": 240,\n \"Y\": 557\n },\n \"Value\": \"CITY LIFE\"\n }\n ],\n \"StoreLabel\": [\n \"门头照\"\n ]\n }\n}",
542
+ "title": "门头照识别示例"
543
+ }
544
+ ],
529
545
  "RecognizeTableAccurateOCR": [
530
546
  {
531
547
  "document": "表格识别示例代码",
@@ -3033,6 +3033,58 @@ def doDescribeInstanceParams(args, parsed_globals):
3033
3033
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3034
3034
 
3035
3035
 
3036
+ def doModifyDatabasePrivilege(args, parsed_globals):
3037
+ g_param = parse_global_arg(parsed_globals)
3038
+
3039
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3040
+ cred = credential.CVMRoleCredential()
3041
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3042
+ cred = credential.STSAssumeRoleCredential(
3043
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3044
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3045
+ )
3046
+ 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):
3047
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3048
+ else:
3049
+ cred = credential.Credential(
3050
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3051
+ )
3052
+ http_profile = HttpProfile(
3053
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3054
+ reqMethod="POST",
3055
+ endpoint=g_param[OptionsDefine.Endpoint],
3056
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3057
+ )
3058
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3059
+ if g_param[OptionsDefine.Language]:
3060
+ profile.language = g_param[OptionsDefine.Language]
3061
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3062
+ client = mod.SqlserverClient(cred, g_param[OptionsDefine.Region], profile)
3063
+ client._sdkVersion += ("_CLI_" + __version__)
3064
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3065
+ model = models.ModifyDatabasePrivilegeRequest()
3066
+ model.from_json_string(json.dumps(args))
3067
+ start_time = time.time()
3068
+ while True:
3069
+ rsp = client.ModifyDatabasePrivilege(model)
3070
+ result = rsp.to_json_string()
3071
+ try:
3072
+ json_obj = json.loads(result)
3073
+ except TypeError as e:
3074
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3075
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3076
+ break
3077
+ cur_time = time.time()
3078
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3079
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3080
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3081
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3082
+ else:
3083
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3084
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3085
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3086
+
3087
+
3036
3088
  def doCompleteExpansion(args, parsed_globals):
3037
3089
  g_param = parse_global_arg(parsed_globals)
3038
3090
 
@@ -7730,6 +7782,7 @@ ACTION_MAP = {
7730
7782
  "DescribeRegions": doDescribeRegions,
7731
7783
  "DescribeRestoreTask": doDescribeRestoreTask,
7732
7784
  "DescribeInstanceParams": doDescribeInstanceParams,
7785
+ "ModifyDatabasePrivilege": doModifyDatabasePrivilege,
7733
7786
  "CompleteExpansion": doCompleteExpansion,
7734
7787
  "DescribeBackupStatistical": doDescribeBackupStatistical,
7735
7788
  "CreateDB": doCreateDB,
@@ -819,6 +819,13 @@
819
819
  "output": "ModifyDatabaseMdfResponse",
820
820
  "status": "online"
821
821
  },
822
+ "ModifyDatabasePrivilege": {
823
+ "document": "本接口(ModifyDatabasePrivilege)用于修改实例数据库权限。",
824
+ "input": "ModifyDatabasePrivilegeRequest",
825
+ "name": "修改实例数据库权限",
826
+ "output": "ModifyDatabasePrivilegeResponse",
827
+ "status": "online"
828
+ },
822
829
  "ModifyDatabaseShrinkMDF": {
823
830
  "document": "本接口(ModifyDatabaseShrinkDMF)用于收缩数据库mdf(Shrink mdf)。",
824
831
  "input": "ModifyDatabaseShrinkMDFRequest",
@@ -1323,18 +1330,16 @@
1323
1330
  "member": "string",
1324
1331
  "name": "UserName",
1325
1332
  "required": true,
1326
- "type": "string",
1327
- "value_allowed_null": false
1333
+ "type": "string"
1328
1334
  },
1329
1335
  {
1330
1336
  "disabled": false,
1331
- "document": "账号权限变更信息",
1337
+ "document": "账号权限变更信息。参数DBPrivileges和AccAllDB只能二选一",
1332
1338
  "example": "无",
1333
1339
  "member": "DBPrivilegeModifyInfo",
1334
1340
  "name": "DBPrivileges",
1335
1341
  "required": true,
1336
- "type": "list",
1337
- "value_allowed_null": false
1342
+ "type": "list"
1338
1343
  },
1339
1344
  {
1340
1345
  "disabled": false,
@@ -1343,8 +1348,7 @@
1343
1348
  "member": "bool",
1344
1349
  "name": "IsAdmin",
1345
1350
  "required": false,
1346
- "type": "bool",
1347
- "value_allowed_null": false
1351
+ "type": "bool"
1348
1352
  },
1349
1353
  {
1350
1354
  "disabled": false,
@@ -1353,8 +1357,16 @@
1353
1357
  "member": "string",
1354
1358
  "name": "AccountType",
1355
1359
  "required": false,
1356
- "type": "string",
1357
- "value_allowed_null": false
1360
+ "type": "string"
1361
+ },
1362
+ {
1363
+ "disabled": false,
1364
+ "document": "全量修改指定账号下的所有DB权限,只支持特殊权限账号和普通权限账号。参数DBPrivileges和AccAllDB只能二选一",
1365
+ "example": "无",
1366
+ "member": "SelectAllDB",
1367
+ "name": "AccAllDB",
1368
+ "required": false,
1369
+ "type": "object"
1358
1370
  }
1359
1371
  ],
1360
1372
  "usage": "in"
@@ -5026,6 +5038,32 @@
5026
5038
  ],
5027
5039
  "usage": "in"
5028
5040
  },
5041
+ "DataBasePrivilegeModifyInfo": {
5042
+ "document": "数据库账号权限变更信息",
5043
+ "members": [
5044
+ {
5045
+ "disabled": false,
5046
+ "document": "数据库名称",
5047
+ "example": "",
5048
+ "member": "string",
5049
+ "name": "DataBaseName",
5050
+ "required": true,
5051
+ "type": "string",
5052
+ "value_allowed_null": false
5053
+ },
5054
+ {
5055
+ "disabled": false,
5056
+ "document": "数据库权限变更信息",
5057
+ "example": "",
5058
+ "member": "AccountPrivilege",
5059
+ "name": "AccountPrivileges",
5060
+ "required": true,
5061
+ "type": "list",
5062
+ "value_allowed_null": false
5063
+ }
5064
+ ],
5065
+ "usage": "in"
5066
+ },
5029
5067
  "DatabaseTuple": {
5030
5068
  "document": "该数据结构表示具有发布订阅关系的两个数据库。",
5031
5069
  "members": [
@@ -14134,6 +14172,52 @@
14134
14172
  ],
14135
14173
  "type": "object"
14136
14174
  },
14175
+ "ModifyDatabasePrivilegeRequest": {
14176
+ "document": "ModifyDatabasePrivilege请求参数结构体",
14177
+ "members": [
14178
+ {
14179
+ "disabled": false,
14180
+ "document": "数据库实例ID,形如mssql-njj2mtpl",
14181
+ "example": "mssql-njj2mtpl",
14182
+ "member": "string",
14183
+ "name": "InstanceId",
14184
+ "required": true,
14185
+ "type": "string"
14186
+ },
14187
+ {
14188
+ "disabled": false,
14189
+ "document": "数据库权限变更信息",
14190
+ "example": "无",
14191
+ "member": "DataBasePrivilegeModifyInfo",
14192
+ "name": "DataBaseSet",
14193
+ "required": true,
14194
+ "type": "list"
14195
+ }
14196
+ ],
14197
+ "type": "object"
14198
+ },
14199
+ "ModifyDatabasePrivilegeResponse": {
14200
+ "document": "ModifyDatabasePrivilege返回参数结构体",
14201
+ "members": [
14202
+ {
14203
+ "disabled": false,
14204
+ "document": "异步任务流程ID",
14205
+ "example": "30321",
14206
+ "member": "uint64",
14207
+ "name": "FlowId",
14208
+ "required": true,
14209
+ "type": "int",
14210
+ "value_allowed_null": false
14211
+ },
14212
+ {
14213
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
14214
+ "member": "string",
14215
+ "name": "RequestId",
14216
+ "type": "string"
14217
+ }
14218
+ ],
14219
+ "type": "object"
14220
+ },
14137
14221
  "ModifyDatabaseShrinkMDFRequest": {
14138
14222
  "document": "ModifyDatabaseShrinkMDF请求参数结构体",
14139
14223
  "members": [
@@ -16588,6 +16672,21 @@
16588
16672
  ],
16589
16673
  "usage": "out"
16590
16674
  },
16675
+ "SelectAllDB": {
16676
+ "document": "DB权限修改类型",
16677
+ "members": [
16678
+ {
16679
+ "disabled": false,
16680
+ "document": "权限变更信息。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除账号对该DB的权限,DBOwner所有者",
16681
+ "example": "ReadWrite",
16682
+ "member": "string",
16683
+ "name": "Privilege",
16684
+ "required": true,
16685
+ "type": "string"
16686
+ }
16687
+ ],
16688
+ "usage": "in"
16689
+ },
16591
16690
  "SlaveZones": {
16592
16691
  "document": "备可用区信息",
16593
16692
  "members": [
@@ -966,6 +966,14 @@
966
966
  "title": "收缩数据库mdf"
967
967
  }
968
968
  ],
969
+ "ModifyDatabasePrivilege": [
970
+ {
971
+ "document": "以数据库维度修改权限",
972
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyDatabasePrivilege\n&InstanceId=mssql-njj2mtpl\n&DataBaseSet.0.DataBaseName=testuser\n&DataBaseSet.0.AccountPrivileges.0.UserName=testdb\n&DataBaseSet.0.AccountPrivileges.0.Privilege=ReadOnly\n&<公共请求参数>",
973
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"FlowId\": \"30321\"\n }\n}",
974
+ "title": "修改数据库的权限"
975
+ }
976
+ ],
969
977
  "ModifyDatabaseShrinkMDF": [
970
978
  {
971
979
  "document": "",
@@ -9745,7 +9745,7 @@
9745
9745
  "example": "0",
9746
9746
  "member": "int64",
9747
9747
  "name": "Status",
9748
- "required": true,
9748
+ "output_required": true,
9749
9749
  "type": "int",
9750
9750
  "value_allowed_null": false
9751
9751
  },
@@ -9755,7 +9755,7 @@
9755
9755
  "example": "1",
9756
9756
  "member": "int64",
9757
9757
  "name": "PayStatus",
9758
- "required": true,
9758
+ "output_required": true,
9759
9759
  "type": "int",
9760
9760
  "value_allowed_null": false
9761
9761
  },
@@ -9765,7 +9765,7 @@
9765
9765
  "example": "xxx",
9766
9766
  "member": "string",
9767
9767
  "name": "AccessUrl",
9768
- "required": true,
9768
+ "output_required": true,
9769
9769
  "type": "string",
9770
9770
  "value_allowed_null": true
9771
9771
  },
@@ -9775,7 +9775,7 @@
9775
9775
  "example": "无",
9776
9776
  "member": "PublicAccessRule",
9777
9777
  "name": "Rules",
9778
- "required": true,
9778
+ "output_required": true,
9779
9779
  "type": "list",
9780
9780
  "value_allowed_null": true
9781
9781
  },
@@ -9785,7 +9785,7 @@
9785
9785
  "example": "10",
9786
9786
  "member": "int64",
9787
9787
  "name": "Bandwidth",
9788
- "required": true,
9788
+ "output_required": true,
9789
9789
  "type": "int",
9790
9790
  "value_allowed_null": true
9791
9791
  },
@@ -9795,10 +9795,20 @@
9795
9795
  "example": "0",
9796
9796
  "member": "int64",
9797
9797
  "name": "PayMode",
9798
- "required": true,
9798
+ "output_required": true,
9799
9799
  "type": "int",
9800
9800
  "value_allowed_null": true
9801
9801
  },
9802
+ {
9803
+ "disabled": false,
9804
+ "document": "公网是否按流量计费\n注意:此字段可能返回 null,表示取不到有效值。",
9805
+ "example": "false",
9806
+ "member": "bool",
9807
+ "name": "BillingFlow",
9808
+ "output_required": false,
9809
+ "type": "bool",
9810
+ "value_allowed_null": true
9811
+ },
9802
9812
  {
9803
9813
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9804
9814
  "member": "string",
@@ -18932,6 +18942,15 @@
18932
18942
  "name": "Rules",
18933
18943
  "required": false,
18934
18944
  "type": "list"
18945
+ },
18946
+ {
18947
+ "disabled": false,
18948
+ "document": "公网是否按流量计费",
18949
+ "example": "false",
18950
+ "member": "bool",
18951
+ "name": "BillingFlow",
18952
+ "required": false,
18953
+ "type": "bool"
18935
18954
  }
18936
18955
  ],
18937
18956
  "type": "object"