tccli 3.0.1247.1__py2.py3-none-any.whl → 3.0.1248.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 (55) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aca/v20210323/api.json +9 -9
  3. tccli/services/autoscaling/v20180419/api.json +11 -0
  4. tccli/services/bh/v20230418/api.json +2 -2
  5. tccli/services/clb/v20180317/api.json +29 -1
  6. tccli/services/clb/v20180317/examples.json +2 -2
  7. tccli/services/cloudapp/v20220530/api.json +43 -12
  8. tccli/services/cloudapp/v20220530/examples.json +1 -1
  9. tccli/services/cls/v20201016/api.json +17 -7
  10. tccli/services/cls/v20201016/examples.json +4 -4
  11. tccli/services/cynosdb/v20190107/api.json +64 -0
  12. tccli/services/cynosdb/v20190107/examples.json +1 -1
  13. tccli/services/dc/v20180410/api.json +202 -171
  14. tccli/services/drm/v20181115/api.json +18 -7
  15. tccli/services/dts/v20211206/api.json +37 -1
  16. tccli/services/emr/v20190103/api.json +639 -514
  17. tccli/services/emr/v20190103/examples.json +10 -10
  18. tccli/services/ess/v20201111/api.json +22 -3
  19. tccli/services/essbasic/v20210526/api.json +21 -2
  20. tccli/services/gaap/v20180529/api.json +12 -11
  21. tccli/services/gaap/v20180529/examples.json +2 -8
  22. tccli/services/gme/v20180711/api.json +110 -100
  23. tccli/services/gme/v20180711/examples.json +2 -2
  24. tccli/services/gwlb/v20240906/api.json +1 -1
  25. tccli/services/hai/hai_client.py +61 -8
  26. tccli/services/hai/v20230812/api.json +64 -2
  27. tccli/services/hai/v20230812/examples.json +10 -2
  28. tccli/services/keewidb/v20220308/api.json +17 -17
  29. tccli/services/lcic/v20220817/api.json +1 -1
  30. tccli/services/mongodb/v20180408/api.json +52 -50
  31. tccli/services/mongodb/v20180408/examples.json +3 -3
  32. tccli/services/mongodb/v20190725/api.json +39 -44
  33. tccli/services/ocr/v20181119/api.json +7 -7
  34. tccli/services/postgres/postgres_client.py +106 -0
  35. tccli/services/postgres/v20170312/api.json +135 -0
  36. tccli/services/postgres/v20170312/examples.json +16 -0
  37. tccli/services/redis/v20180412/api.json +11 -11
  38. tccli/services/scf/v20180416/api.json +2 -2
  39. tccli/services/ssl/v20191205/api.json +6 -6
  40. tccli/services/ssl/v20191205/examples.json +71 -5
  41. tccli/services/tcb/v20180608/api.json +694 -500
  42. tccli/services/tcb/v20180608/examples.json +13 -13
  43. tccli/services/tcbr/v20220217/examples.json +1 -1
  44. tccli/services/tcr/v20190924/api.json +13 -12
  45. tccli/services/tcr/v20190924/examples.json +6 -6
  46. tccli/services/tione/v20211111/api.json +23 -3
  47. tccli/services/trtc/v20190722/api.json +51 -49
  48. tccli/services/trtc/v20190722/examples.json +2 -2
  49. tccli/services/vpc/v20170312/api.json +18 -8
  50. tccli/services/vpc/v20170312/examples.json +4 -4
  51. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/METADATA +2 -2
  52. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/RECORD +55 -55
  53. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/WHEEL +0 -0
  54. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/entry_points.txt +0 -0
  55. {tccli-3.0.1247.1.dist-info → tccli-3.0.1248.1.dist-info}/license_files/LICENSE +0 -0
@@ -7000,7 +7000,7 @@
7000
7000
  "members": [
7001
7001
  {
7002
7002
  "disabled": false,
7003
- "document": "默认为false",
7003
+ "document": "复印件告警,默认为false",
7004
7004
  "example": "false",
7005
7005
  "member": "bool",
7006
7006
  "name": "CopyWarn",
@@ -7009,7 +7009,7 @@
7009
7009
  },
7010
7010
  {
7011
7011
  "disabled": false,
7012
- "document": "默认为false",
7012
+ "document": "边框和框内遮挡告警,默认为false",
7013
7013
  "example": "false",
7014
7014
  "member": "bool",
7015
7015
  "name": "BorderCheckWarn",
@@ -7018,7 +7018,7 @@
7018
7018
  },
7019
7019
  {
7020
7020
  "disabled": false,
7021
- "document": "默认为false",
7021
+ "document": "翻拍告警,默认为false",
7022
7022
  "example": "false",
7023
7023
  "member": "bool",
7024
7024
  "name": "ReshootWarn",
@@ -7027,7 +7027,7 @@
7027
7027
  },
7028
7028
  {
7029
7029
  "disabled": false,
7030
- "document": "默认为false",
7030
+ "document": "疑似存在PS痕迹告警,默认为false",
7031
7031
  "example": "false",
7032
7032
  "member": "bool",
7033
7033
  "name": "DetectPsWarn",
@@ -7036,7 +7036,7 @@
7036
7036
  },
7037
7037
  {
7038
7038
  "disabled": false,
7039
- "document": "默认为false",
7039
+ "document": "临时身份证告警,默认为false",
7040
7040
  "example": "false",
7041
7041
  "member": "bool",
7042
7042
  "name": "TempIdWarn",
@@ -7045,7 +7045,7 @@
7045
7045
  },
7046
7046
  {
7047
7047
  "disabled": false,
7048
- "document": "默认为false",
7048
+ "document": "身份证有效日期不合法告警,默认为false",
7049
7049
  "example": "false",
7050
7050
  "member": "bool",
7051
7051
  "name": "InvalidDateWarn",
@@ -7054,7 +7054,7 @@
7054
7054
  },
7055
7055
  {
7056
7056
  "disabled": false,
7057
- "document": "默认为false",
7057
+ "document": "是否开启反光检测,默认为false",
7058
7058
  "example": "false",
7059
7059
  "member": "bool",
7060
7060
  "name": "ReflectWarn",
@@ -433,6 +433,58 @@ def doModifyDBInstanceName(args, parsed_globals):
433
433
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
434
 
435
435
 
436
+ def doDescribeMaintainTimeWindow(args, parsed_globals):
437
+ g_param = parse_global_arg(parsed_globals)
438
+
439
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
440
+ cred = credential.CVMRoleCredential()
441
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
442
+ cred = credential.STSAssumeRoleCredential(
443
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
444
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
445
+ )
446
+ 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):
447
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
448
+ else:
449
+ cred = credential.Credential(
450
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
451
+ )
452
+ http_profile = HttpProfile(
453
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
454
+ reqMethod="POST",
455
+ endpoint=g_param[OptionsDefine.Endpoint],
456
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
457
+ )
458
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
459
+ if g_param[OptionsDefine.Language]:
460
+ profile.language = g_param[OptionsDefine.Language]
461
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
462
+ client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
463
+ client._sdkVersion += ("_CLI_" + __version__)
464
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
465
+ model = models.DescribeMaintainTimeWindowRequest()
466
+ model.from_json_string(json.dumps(args))
467
+ start_time = time.time()
468
+ while True:
469
+ rsp = client.DescribeMaintainTimeWindow(model)
470
+ result = rsp.to_json_string()
471
+ try:
472
+ json_obj = json.loads(result)
473
+ except TypeError as e:
474
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
475
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
476
+ break
477
+ cur_time = time.time()
478
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
479
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
480
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
481
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
482
+ else:
483
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
484
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
485
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
+
487
+
436
488
  def doDescribeDedicatedClusters(args, parsed_globals):
437
489
  g_param = parse_global_arg(parsed_globals)
438
490
 
@@ -797,6 +849,58 @@ def doModifyDBInstanceSecurityGroups(args, parsed_globals):
797
849
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
798
850
 
799
851
 
852
+ def doModifyMaintainTimeWindow(args, parsed_globals):
853
+ g_param = parse_global_arg(parsed_globals)
854
+
855
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
856
+ cred = credential.CVMRoleCredential()
857
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
858
+ cred = credential.STSAssumeRoleCredential(
859
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
860
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
861
+ )
862
+ 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):
863
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
864
+ else:
865
+ cred = credential.Credential(
866
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
867
+ )
868
+ http_profile = HttpProfile(
869
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
870
+ reqMethod="POST",
871
+ endpoint=g_param[OptionsDefine.Endpoint],
872
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
873
+ )
874
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
875
+ if g_param[OptionsDefine.Language]:
876
+ profile.language = g_param[OptionsDefine.Language]
877
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
878
+ client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
879
+ client._sdkVersion += ("_CLI_" + __version__)
880
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
881
+ model = models.ModifyMaintainTimeWindowRequest()
882
+ model.from_json_string(json.dumps(args))
883
+ start_time = time.time()
884
+ while True:
885
+ rsp = client.ModifyMaintainTimeWindow(model)
886
+ result = rsp.to_json_string()
887
+ try:
888
+ json_obj = json.loads(result)
889
+ except TypeError as e:
890
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
891
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
892
+ break
893
+ cur_time = time.time()
894
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
895
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
896
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
897
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
898
+ else:
899
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
900
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
901
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
902
+
903
+
800
904
  def doRenewInstance(args, parsed_globals):
801
905
  g_param = parse_global_arg(parsed_globals)
802
906
 
@@ -5288,6 +5392,7 @@ ACTION_MAP = {
5288
5392
  "ModifyAccountRemark": doModifyAccountRemark,
5289
5393
  "SetAutoRenewFlag": doSetAutoRenewFlag,
5290
5394
  "ModifyDBInstanceName": doModifyDBInstanceName,
5395
+ "DescribeMaintainTimeWindow": doDescribeMaintainTimeWindow,
5291
5396
  "DescribeDedicatedClusters": doDescribeDedicatedClusters,
5292
5397
  "DeleteParameterTemplate": doDeleteParameterTemplate,
5293
5398
  "DescribeDBInstanceParameters": doDescribeDBInstanceParameters,
@@ -5295,6 +5400,7 @@ ACTION_MAP = {
5295
5400
  "CreateDBInstanceNetworkAccess": doCreateDBInstanceNetworkAccess,
5296
5401
  "ModifyDBInstanceSpec": doModifyDBInstanceSpec,
5297
5402
  "ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
5403
+ "ModifyMaintainTimeWindow": doModifyMaintainTimeWindow,
5298
5404
  "RenewInstance": doRenewInstance,
5299
5405
  "DescribeDatabases": doDescribeDatabases,
5300
5406
  "DescribeSlowQueryAnalysis": doDescribeSlowQueryAnalysis,
@@ -350,6 +350,13 @@
350
350
  "output": "DescribeLogBackupsResponse",
351
351
  "status": "online"
352
352
  },
353
+ "DescribeMaintainTimeWindow": {
354
+ "document": "本接口 (DescribeMaintainTimeWindow) 用于查询实例的维护时间窗口",
355
+ "input": "DescribeMaintainTimeWindowRequest",
356
+ "name": "查询维护时间窗口",
357
+ "output": "DescribeMaintainTimeWindowResponse",
358
+ "status": "online"
359
+ },
353
360
  "DescribeOrders": {
354
361
  "document": "本接口(DescribeOrders)用于查询订单信息。",
355
362
  "input": "DescribeOrdersRequest",
@@ -588,6 +595,13 @@
588
595
  "output": "ModifyDatabaseOwnerResponse",
589
596
  "status": "online"
590
597
  },
598
+ "ModifyMaintainTimeWindow": {
599
+ "document": "本接口 (ModifyMaintainTimeWindow) 用于实例维护时间窗口的修改。",
600
+ "input": "ModifyMaintainTimeWindowRequest",
601
+ "name": "修改维护时间窗口",
602
+ "output": "ModifyMaintainTimeWindowResponse",
603
+ "status": "online"
604
+ },
591
605
  "ModifyParameterTemplate": {
592
606
  "document": "本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。",
593
607
  "input": "ModifyParameterTemplateRequest",
@@ -6227,6 +6241,73 @@
6227
6241
  ],
6228
6242
  "type": "object"
6229
6243
  },
6244
+ "DescribeMaintainTimeWindowRequest": {
6245
+ "document": "DescribeMaintainTimeWindow请求参数结构体",
6246
+ "members": [
6247
+ {
6248
+ "disabled": false,
6249
+ "document": "实例ID",
6250
+ "example": "postgres-rwwbeuyx",
6251
+ "member": "string",
6252
+ "name": "DBInstanceId",
6253
+ "required": true,
6254
+ "type": "string"
6255
+ }
6256
+ ],
6257
+ "type": "object"
6258
+ },
6259
+ "DescribeMaintainTimeWindowResponse": {
6260
+ "document": "DescribeMaintainTimeWindow返回参数结构体",
6261
+ "members": [
6262
+ {
6263
+ "disabled": false,
6264
+ "document": "实例ID",
6265
+ "example": "postgres-esb6u38t",
6266
+ "member": "string",
6267
+ "name": "DBInstanceId",
6268
+ "output_required": true,
6269
+ "type": "string",
6270
+ "value_allowed_null": false
6271
+ },
6272
+ {
6273
+ "disabled": false,
6274
+ "document": "维护开始时间。时区为东八区(UTC+8)",
6275
+ "example": "22:00",
6276
+ "member": "string",
6277
+ "name": "MaintainStartTime",
6278
+ "output_required": true,
6279
+ "type": "string",
6280
+ "value_allowed_null": false
6281
+ },
6282
+ {
6283
+ "disabled": false,
6284
+ "document": "维护持续时间。单位:小时",
6285
+ "example": "1",
6286
+ "member": "uint64",
6287
+ "name": "MaintainDuration",
6288
+ "output_required": true,
6289
+ "type": "int",
6290
+ "value_allowed_null": false
6291
+ },
6292
+ {
6293
+ "disabled": false,
6294
+ "document": "维护周期",
6295
+ "example": "[\"monday\",\"tuesday\",\"wednesday\",\"thursday\",\"friday\"]",
6296
+ "member": "string",
6297
+ "name": "MaintainWeekDays",
6298
+ "output_required": true,
6299
+ "type": "list",
6300
+ "value_allowed_null": false
6301
+ },
6302
+ {
6303
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6304
+ "member": "string",
6305
+ "name": "RequestId",
6306
+ "type": "string"
6307
+ }
6308
+ ],
6309
+ "type": "object"
6310
+ },
6230
6311
  "DescribeOrdersRequest": {
6231
6312
  "document": "DescribeOrders请求参数结构体",
6232
6313
  "members": [
@@ -8793,6 +8874,60 @@
8793
8874
  ],
8794
8875
  "type": "object"
8795
8876
  },
8877
+ "ModifyMaintainTimeWindowRequest": {
8878
+ "document": "ModifyMaintainTimeWindow请求参数结构体",
8879
+ "members": [
8880
+ {
8881
+ "disabled": false,
8882
+ "document": "实例ID",
8883
+ "example": "postgres-c4wtbx1f",
8884
+ "member": "string",
8885
+ "name": "DBInstanceId",
8886
+ "required": true,
8887
+ "type": "string"
8888
+ },
8889
+ {
8890
+ "disabled": false,
8891
+ "document": "维护开始时间。时区为东八区(UTC+8)",
8892
+ "example": "22:00",
8893
+ "member": "string",
8894
+ "name": "MaintainStartTime",
8895
+ "required": false,
8896
+ "type": "string"
8897
+ },
8898
+ {
8899
+ "disabled": false,
8900
+ "document": "维护持续时间。单位:小时",
8901
+ "example": "1",
8902
+ "member": "uint64",
8903
+ "name": "MaintainDuration",
8904
+ "required": false,
8905
+ "type": "int"
8906
+ },
8907
+ {
8908
+ "disabled": false,
8909
+ "document": "维护周期",
8910
+ "example": "[\"monday\",\"tuesday\",\"wednesday\",\"thursday\",\"friday\"]",
8911
+ "member": "string",
8912
+ "name": "MaintainWeekDays",
8913
+ "required": false,
8914
+ "type": "list"
8915
+ }
8916
+ ],
8917
+ "type": "object"
8918
+ },
8919
+ "ModifyMaintainTimeWindowResponse": {
8920
+ "document": "ModifyMaintainTimeWindow返回参数结构体",
8921
+ "members": [
8922
+ {
8923
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8924
+ "member": "string",
8925
+ "name": "RequestId",
8926
+ "type": "string"
8927
+ }
8928
+ ],
8929
+ "type": "object"
8930
+ },
8796
8931
  "ModifyParameterTemplateRequest": {
8797
8932
  "document": "ModifyParameterTemplate请求参数结构体",
8798
8933
  "members": [
@@ -496,6 +496,14 @@
496
496
  "title": "查询日志备份列表"
497
497
  }
498
498
  ],
499
+ "DescribeMaintainTimeWindow": [
500
+ {
501
+ "document": "查询\tpostgres-rwwbeuyx实例的维护窗口",
502
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMaintainTimeWindow\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-rwwbeuyx\"\n}",
503
+ "output": "{\n \"Response\": {\n \"DBInstanceId\": \"postgres-rwwbeuyx\",\n \"MaintainDuration\": 1,\n \"MaintainStartTime\": \"04:00\",\n \"MaintainWeekDays\": [\n \"monday\",\n \"tuesday\",\n \"wednesday\",\n \"thursday\",\n \"friday\",\n \"saturday\",\n \"sunday\"\n ],\n \"RequestId\": \"0f6113e2-f27c-4fe2-a63c-a298f4071e6c\"\n }\n}",
504
+ "title": "查询实例的维护时间窗口"
505
+ }
506
+ ],
499
507
  "DescribeOrders": [
500
508
  {
501
509
  "document": "查询订单信息",
@@ -804,6 +812,14 @@
804
812
  "title": "修改数据库所有者"
805
813
  }
806
814
  ],
815
+ "ModifyMaintainTimeWindow": [
816
+ {
817
+ "document": "修改postgres-c4wtbx1f实例的维护时间窗口为每周一、周二的23:00-00:00",
818
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMaintainTimeWindow\n<公共请求参数>\n\n{\n \"MaintainWeekDays\": [\n \"tuesday\",\n \"monday\"\n ],\n \"MaintainDuration\": \"1\",\n \"DBInstanceId\": \"postgres-c4wtbx1f\",\n \"MaintainStartTime\": \"23:00\"\n}",
819
+ "output": "{\n \"Response\": {\n \"RequestId\": \"0f6113e2-f27c-4fe2-a63c-a298f4071e6c\"\n }\n}",
820
+ "title": "修改维护时间窗口"
821
+ }
822
+ ],
807
823
  "ModifyParameterTemplate": [
808
824
  {
809
825
  "document": "修改模版中的参数项",
@@ -92,7 +92,7 @@
92
92
  "status": "online"
93
93
  },
94
94
  "CreateParamTemplate": {
95
- "document": "创建参数模板。",
95
+ "document": "该接口(CreateParamTemplate)用于创建参数模板。",
96
96
  "input": "CreateParamTemplateRequest",
97
97
  "name": "创建参数模板",
98
98
  "output": "CreateParamTemplateResponse",
@@ -113,7 +113,7 @@
113
113
  "status": "online"
114
114
  },
115
115
  "DeleteParamTemplate": {
116
- "document": "删除参数模板",
116
+ "document": "本接口(DeleteParamTemplate)用于删除参数模板。",
117
117
  "input": "DeleteParamTemplateRequest",
118
118
  "name": "删除参数模板",
119
119
  "output": "DeleteParamTemplateResponse",
@@ -176,7 +176,7 @@
176
176
  "status": "online"
177
177
  },
178
178
  "DescribeGlobalReplicationArea": {
179
- "document": "查询全球复制支持地域信息",
179
+ "document": "本接口(DescribeGlobalReplicationArea)用于查询全球复制支持地域信息。",
180
180
  "input": "DescribeGlobalReplicationAreaRequest",
181
181
  "name": "查询全球复制支持地域信息",
182
182
  "output": "DescribeGlobalReplicationAreaResponse",
@@ -253,7 +253,7 @@
253
253
  "status": "online"
254
254
  },
255
255
  "DescribeInstanceMonitorSIP": {
256
- "document": "该接口已下线,请使用数据库智能管家 DBbrain 接口 [DescribeProxyProcessStatistics] (https://cloud.tencent.com/document/product/1130/84544) 获取实例访问来源。",
256
+ "document": "该接口已下线,请使用数据库智能管家 DBbrain 接口 [DescribeProxyProcessStatistics](https://cloud.tencent.com/document/product/1130/84544) 获取实例访问来源。",
257
257
  "input": "DescribeInstanceMonitorSIPRequest",
258
258
  "name": "查询实例访问来源信息",
259
259
  "output": "DescribeInstanceMonitorSIPResponse",
@@ -267,7 +267,7 @@
267
267
  "status": "online"
268
268
  },
269
269
  "DescribeInstanceMonitorTopNCmd": {
270
- "document": "查询实例访问命令",
270
+ "document": "本接口(DescribeInstanceMonitorTopNCmd)用于查询实例访问命令。",
271
271
  "input": "DescribeInstanceMonitorTopNCmdRequest",
272
272
  "name": "查询实例访问命令",
273
273
  "output": "DescribeInstanceMonitorTopNCmdResponse",
@@ -288,7 +288,7 @@
288
288
  "status": "online"
289
289
  },
290
290
  "DescribeInstanceParamRecords": {
291
- "document": "查询参数修改历史列表",
291
+ "document": "本接口(DescribeInstanceParamRecords)用于查询参数修改历史列表。",
292
292
  "input": "DescribeInstanceParamRecordsRequest",
293
293
  "name": "查询参数修改历史列表",
294
294
  "output": "DescribeInstanceParamRecordsResponse",
@@ -358,7 +358,7 @@
358
358
  "status": "online"
359
359
  },
360
360
  "DescribeParamTemplates": {
361
- "document": "查询参数模板列表",
361
+ "document": "本接口(DescribeParamTemplates)用于查询参数模板列表。",
362
362
  "input": "DescribeParamTemplatesRequest",
363
363
  "name": "查询参数模板列表",
364
364
  "output": "DescribeParamTemplatesResponse",
@@ -694,7 +694,7 @@
694
694
  "status": "online"
695
695
  },
696
696
  "RestoreInstance": {
697
- "document": "恢复 CRS 实例",
697
+ "document": "本接口(RestoreInstance)用于恢复实例。",
698
698
  "input": "RestoreInstanceRequest",
699
699
  "name": "恢复 CRS 实例",
700
700
  "output": "RestoreInstanceResponse",
@@ -2046,7 +2046,7 @@
2046
2046
  },
2047
2047
  {
2048
2048
  "disabled": false,
2049
- "document": "访问实例的密码。\n- 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。\n- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以\"/\"开头。\n- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。",
2049
+ "document": "访问实例的密码。\n- 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。\n- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.2、7.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以\"/\"开头。\n- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。",
2050
2050
  "example": "123456MyP@ssword",
2051
2051
  "member": "string",
2052
2052
  "name": "Password",
@@ -4120,7 +4120,7 @@
4120
4120
  "members": [
4121
4121
  {
4122
4122
  "disabled": false,
4123
- "document": "实例 ID。",
4123
+ "document": "实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。",
4124
4124
  "example": "crs-5a4py64p",
4125
4125
  "member": "string",
4126
4126
  "name": "InstanceId",
@@ -8831,7 +8831,7 @@
8831
8831
  },
8832
8832
  {
8833
8833
  "disabled": false,
8834
- "document": "实例新密码。密码复杂度要求如下:\n- 长度8 - 30位, 推荐使用12位以上的密码。\n- 不能以\"/\"开头。\n- 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。",
8834
+ "document": "实例新密码。密码复杂度要求如下:\n- 长度8 - 64位, 推荐使用12位以上的密码。\n- 不能以\"/\"开头。\n- 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。",
8835
8835
  "example": "456987zy",
8836
8836
  "member": "string",
8837
8837
  "name": "Password",
@@ -1189,7 +1189,7 @@
1189
1189
  },
1190
1190
  {
1191
1191
  "disabled": false,
1192
- "document": "函数运行环境,目前仅支持 Python2.7Python3.6Nodejs6.10Nodejs8.9Nodejs10.15Nodejs12.16 Php5.2 Php7.4Go1Java8 CustomRuntime,默认Python2.7",
1192
+ "document": "函数运行环境,默认Python2.7\n目前支持的运行环境:\n- Python2.7\n- Python3.6\n- Python3.7\n- Python3.9\n- Python3.10\n- Nodejs6.10\n- Nodejs8.9\n- Nodejs10.15\n- Nodejs12.16\n- Nodejs14.18\n- Nodejs16.13\n- Nodejs18.15\n- Php5.6\n- Php7(7.2版本)\n- Php7.4\n- Php8.0\n- Go1\n- Java8\n- CustomRuntime",
1193
1193
  "example": "Python3.6",
1194
1194
  "member": "string",
1195
1195
  "name": "Runtime",
@@ -7392,7 +7392,7 @@
7392
7392
  },
7393
7393
  {
7394
7394
  "disabled": false,
7395
- "document": "函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime",
7395
+ "document": "函数运行环境,创建时指定,目前不支持修改。",
7396
7396
  "example": "Python3.6",
7397
7397
  "member": "string",
7398
7398
  "name": "Runtime",
@@ -92,7 +92,7 @@
92
92
  "status": "online"
93
93
  },
94
94
  "DeployCertificateInstance": {
95
- "document": "证书部署到云资源实例列表",
95
+ "document": "证书部署到云资源实例列表,本接口只会创建部署任务, 部署任务结果可通过DescribeHostDeployRecordDetail查询。本接口创建部署任务时,会校验证书和部署实例的匹配关系,存在不匹配的则会创建部署任务失败。以下为匹配关系校验规则:\n- 若待部署的证书和传入实例域名的当前绑定的证书一致, 则不会创建成功\n- 若待部署的证书和传入域名不匹配, 则不会创建成功\n- 若部署clb实例时, 7层监听器下无规则,则不会创建成功\n- 若部署clb实例时, 7层监听器未开启SNI,该监听器下存在任一域名和证书不匹配, 则不会创建成功\n- 若部署clb实例是,监听器规则为正则表示式, 则不会创建成功\n\n<dx-alert infotype=\"explain\" title=\"\">一个证书ID,相同的资源类型,只能创建一个部署任务,必须等部署任务执行完成,才能创建新的部署任务</dx-alert>",
96
96
  "input": "DeployCertificateInstanceRequest",
97
97
  "name": "证书部署到云资源实例列表",
98
98
  "output": "DeployCertificateInstanceResponse",
@@ -2993,8 +2993,8 @@
2993
2993
  },
2994
2994
  {
2995
2995
  "disabled": false,
2996
- "document": "需要部署实例列表",
2997
- "example": "[\"www.test.com\"]",
2996
+ "document": "证书部署的实例列表,不同云资源类型如下\n- clb:若监听器开启了SNI,则需要指定到域名LoadBalancerId|ListenerId|Domain,例:[\"lb-bid2fs4g|lbl-a8af11gs|tencent.com\"],若监听器未开启SNI或者为四层监听器,则指定到监听器,例:[\"lb-bid2fs4g|lbl-1c6rp5eo\"]\n- cdn:Domain|计费开关,例:[\"cdn2.tencent.com|off\", \"cdn.tencent.com|on\"]\n- ddos:InsId|Domain|VirtualPort,例:[\"bgpip-000001ms|tencent.com|443\"]\n- live:Domain,例:[\"live1.tencent.com\", \"live2.tencent.com\"]\n- vod:Domain, 例:[\"vod1.tencent.com\", \"vod2.tencent.com\"]\n- waf:Domain, 例:[\"waf1.tencent.com\", \"waf2.tencent.com\"]\n- apigateway:ServiceId|Domain, 例:[\"service-8sk7cqmd|apigw1.tencent.com\", \"service-8sk7cqmd|apigw2.ninghhuang.online\"]\n- teo:Domain, 例:[\"edgeone1.tencent.com\", \"edgeone2.tencent.com\"]\n- tke:ClusterId|NameSpace|SecretName, 例:[\"cls-42sa0ae0|default|test-tencent\"]\n- cos:Region#Bucket#Domain, 例:[\"ap-hongkong#ssl-server-1251810746#tencent.com\"]\n- lighthouse:Region|InstanceId|Domain, 例:[\"ap-shanghai|lhins-nh7lql34|tencent.com\"]\n- tse:GatewayId|CertificateId, 例:[\"gateway-s1da9151|fa61bc05-cc54-4eea-c932-24de52577372\"]\n- tcb:Type|Region|EnvId|Domain, 例:[\"AccessService|ap-shanghai|ceshi-4s5h0ymg11c839c7|tencent.com\"]\n",
2997
+ "example": "[\"lb-bid2fs4g|lbl-1c6rp5eo\", \"lb-bid2fs4g|lbl-a8af11gs|tencent.com\"]",
2998
2998
  "member": "string",
2999
2999
  "name": "InstanceIdList",
3000
3000
  "required": true,
@@ -3002,7 +3002,7 @@
3002
3002
  },
3003
3003
  {
3004
3004
  "disabled": false,
3005
- "document": "部署的云资源类型,如clbcos",
3005
+ "document": "证书部署云资源支持的云资源类型:\n- clb\n- cdn\n- ddos\n- live\n- vod\n- waf\n- apigateway\n- teo\n- tke\n- cos\n- lighthouse\n- tse\n- tcb\n<dx-alert infotype=\"explain\" title=\"\">当云资源类型传入clb、waf、apigateway、cos、lighthouse、tke、tse、tcb 时,公共参数Region必传。</dx-alert>",
3006
3006
  "example": "clb",
3007
3007
  "member": "string",
3008
3008
  "name": "ResourceType",
@@ -3020,7 +3020,7 @@
3020
3020
  },
3021
3021
  {
3022
3022
  "disabled": false,
3023
- "document": "是否查询缓存,1:是; 0:否, 默认为查询缓存,缓存半小时",
3023
+ "document": "是否查询缓存,1:是; 0:否, 默认为查询缓存,默认缓存半小时",
3024
3024
  "example": "1",
3025
3025
  "member": "uint64",
3026
3026
  "name": "IsCache",
@@ -3045,7 +3045,7 @@
3045
3045
  },
3046
3046
  {
3047
3047
  "disabled": false,
3048
- "document": "部署状态,1表示部署成功,0表示部署失败",
3048
+ "document": "部署任务创建状态;1表示创建成功; 0表示当前存在部署中的任务,未创建新的部署任务;返回值DeployRecordId为部署中的任务ID",
3049
3049
  "example": "1",
3050
3050
  "member": "int64",
3051
3051
  "name": "DeployStatus",