tccli 3.0.1148.1__py2.py3-none-any.whl → 3.0.1150.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 (41) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cam/v20190116/api.json +4 -4
  3. tccli/services/cam/v20190116/examples.json +1 -1
  4. tccli/services/cbs/v20170312/api.json +2 -2
  5. tccli/services/cwp/v20180228/api.json +63 -16
  6. tccli/services/cwp/v20180228/examples.json +1 -1
  7. tccli/services/cynosdb/v20190107/api.json +2 -2
  8. tccli/services/dc/v20180410/api.json +14 -7
  9. tccli/services/dts/v20211206/api.json +2 -2
  10. tccli/services/ess/ess_client.py +53 -0
  11. tccli/services/ess/v20201111/api.json +67 -5
  12. tccli/services/ess/v20201111/examples.json +14 -0
  13. tccli/services/essbasic/essbasic_client.py +57 -4
  14. tccli/services/essbasic/v20210526/api.json +56 -3
  15. tccli/services/essbasic/v20210526/examples.json +8 -0
  16. tccli/services/gaap/gaap_client.py +53 -0
  17. tccli/services/gaap/v20180529/api.json +34 -0
  18. tccli/services/gaap/v20180529/examples.json +8 -0
  19. tccli/services/iotexplorer/v20190423/api.json +85 -1
  20. tccli/services/live/v20180801/api.json +6 -0
  21. tccli/services/live/v20180801/examples.json +1 -1
  22. tccli/services/lke/v20231130/api.json +10 -1
  23. tccli/services/mariadb/mariadb_client.py +53 -0
  24. tccli/services/mariadb/v20170312/api.json +88 -0
  25. tccli/services/mariadb/v20170312/examples.json +8 -0
  26. tccli/services/mongodb/v20190725/api.json +53 -44
  27. tccli/services/monitor/v20180724/api.json +1 -1
  28. tccli/services/mps/v20190612/api.json +8 -6
  29. tccli/services/mps/v20190612/examples.json +1 -1
  30. tccli/services/oceanus/v20190422/api.json +33 -0
  31. tccli/services/organization/v20210331/api.json +1 -1
  32. tccli/services/rum/v20210622/api.json +9 -0
  33. tccli/services/ses/v20201002/api.json +1 -1
  34. tccli/services/tdmq/v20200217/api.json +4 -2
  35. tccli/services/thpc/v20230321/api.json +11 -3
  36. tccli/services/trtc/v20190722/api.json +15 -5
  37. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/METADATA +2 -2
  38. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/RECORD +41 -41
  39. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/WHEEL +0 -0
  40. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/entry_points.txt +0 -0
  41. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/license_files/LICENSE +0 -0
@@ -1856,6 +1856,15 @@
1856
1856
  "CreateReconstructDocumentFlowRequest": {
1857
1857
  "document": "CreateReconstructDocumentFlow请求参数结构体",
1858
1858
  "members": [
1859
+ {
1860
+ "disabled": false,
1861
+ "document": "文件类型。支持的文件类型:PDF、DOCX、DOC、XLS、XLSX、PPT、PPTX、PNG、JPG、JPEG、CSV",
1862
+ "example": "PDF",
1863
+ "member": "string",
1864
+ "name": "FileType",
1865
+ "required": false,
1866
+ "type": "string"
1867
+ },
1859
1868
  {
1860
1869
  "disabled": false,
1861
1870
  "document": "文件的 Base64 值。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
@@ -1909,7 +1918,7 @@
1909
1918
  "members": [
1910
1919
  {
1911
1920
  "disabled": false,
1912
- "document": "任务唯一id",
1921
+ "document": "任务唯一id。30天内可以通过GetReconstructDocumentResult接口查询TaskId对应的处理结果。",
1913
1922
  "example": "无",
1914
1923
  "member": "string",
1915
1924
  "name": "TaskId",
@@ -3293,6 +3293,58 @@ def doDescribePrice(args, parsed_globals):
3293
3293
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3294
3294
 
3295
3295
 
3296
+ def doUpgradeHourDBInstance(args, parsed_globals):
3297
+ g_param = parse_global_arg(parsed_globals)
3298
+
3299
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3300
+ cred = credential.CVMRoleCredential()
3301
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3302
+ cred = credential.STSAssumeRoleCredential(
3303
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3304
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3305
+ )
3306
+ 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):
3307
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3308
+ else:
3309
+ cred = credential.Credential(
3310
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3311
+ )
3312
+ http_profile = HttpProfile(
3313
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3314
+ reqMethod="POST",
3315
+ endpoint=g_param[OptionsDefine.Endpoint],
3316
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3317
+ )
3318
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3319
+ if g_param[OptionsDefine.Language]:
3320
+ profile.language = g_param[OptionsDefine.Language]
3321
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3322
+ client = mod.MariadbClient(cred, g_param[OptionsDefine.Region], profile)
3323
+ client._sdkVersion += ("_CLI_" + __version__)
3324
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3325
+ model = models.UpgradeHourDBInstanceRequest()
3326
+ model.from_json_string(json.dumps(args))
3327
+ start_time = time.time()
3328
+ while True:
3329
+ rsp = client.UpgradeHourDBInstance(model)
3330
+ result = rsp.to_json_string()
3331
+ try:
3332
+ json_obj = json.loads(result)
3333
+ except TypeError as e:
3334
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3335
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3336
+ break
3337
+ cur_time = time.time()
3338
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3339
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3340
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3341
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3342
+ else:
3343
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3344
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3345
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3346
+
3347
+
3296
3348
  def doDescribeDatabaseTable(args, parsed_globals):
3297
3349
  g_param = parse_global_arg(parsed_globals)
3298
3350
 
@@ -3835,6 +3887,7 @@ ACTION_MAP = {
3835
3887
  "ModifyInstanceVport": doModifyInstanceVport,
3836
3888
  "UpgradeDedicatedDBInstance": doUpgradeDedicatedDBInstance,
3837
3889
  "DescribePrice": doDescribePrice,
3890
+ "UpgradeHourDBInstance": doUpgradeHourDBInstance,
3838
3891
  "DescribeDatabaseTable": doDescribeDatabaseTable,
3839
3892
  "CancelDcnJob": doCancelDcnJob,
3840
3893
  "TerminateDedicatedDBInstance": doTerminateDedicatedDBInstance,
@@ -503,6 +503,13 @@
503
503
  "name": "升级独享云数据库实例",
504
504
  "output": "UpgradeDedicatedDBInstanceResponse",
505
505
  "status": "online"
506
+ },
507
+ "UpgradeHourDBInstance": {
508
+ "document": "升级MariaDB按量计费实例",
509
+ "input": "UpgradeHourDBInstanceRequest",
510
+ "name": "升级MariaDB按量计费实例",
511
+ "output": "UpgradeHourDBInstanceResponse",
512
+ "status": "online"
506
513
  }
507
514
  },
508
515
  "metadata": {
@@ -8578,6 +8585,87 @@
8578
8585
  ],
8579
8586
  "type": "object"
8580
8587
  },
8588
+ "UpgradeHourDBInstanceRequest": {
8589
+ "document": "UpgradeHourDBInstance请求参数结构体",
8590
+ "members": [
8591
+ {
8592
+ "disabled": false,
8593
+ "document": "实例ID",
8594
+ "example": "tdsql-cq3ndzu7",
8595
+ "member": "string",
8596
+ "name": "InstanceId",
8597
+ "required": true,
8598
+ "type": "string"
8599
+ },
8600
+ {
8601
+ "disabled": false,
8602
+ "document": "内存大小,单位:GB",
8603
+ "example": "2",
8604
+ "member": "int64",
8605
+ "name": "Memory",
8606
+ "required": true,
8607
+ "type": "int"
8608
+ },
8609
+ {
8610
+ "disabled": false,
8611
+ "document": "存储大小,单位:GB",
8612
+ "example": "10",
8613
+ "member": "int64",
8614
+ "name": "Storage",
8615
+ "required": true,
8616
+ "type": "int"
8617
+ },
8618
+ {
8619
+ "disabled": false,
8620
+ "document": "切换开始时间,格式如: \"2019-12-12 07:00:00\"。开始时间必须在当前时间一个小时以后,3天以内。",
8621
+ "example": "2019-12-12 07:00:00",
8622
+ "member": "datetime",
8623
+ "name": "SwitchStartTime",
8624
+ "required": false,
8625
+ "type": "string"
8626
+ },
8627
+ {
8628
+ "disabled": false,
8629
+ "document": "切换结束时间, 格式如: \"2019-12-12 07:15:00\",结束时间必须大于开始时间。",
8630
+ "example": "2019-12-12 07:15:00",
8631
+ "member": "datetime",
8632
+ "name": "SwitchEndTime",
8633
+ "required": false,
8634
+ "type": "string"
8635
+ },
8636
+ {
8637
+ "disabled": false,
8638
+ "document": "是否自动重试。 0:不自动重试 1:自动重试",
8639
+ "example": "1",
8640
+ "member": "int64",
8641
+ "name": "SwitchAutoRetry",
8642
+ "required": false,
8643
+ "type": "int"
8644
+ },
8645
+ {
8646
+ "disabled": false,
8647
+ "document": "变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区",
8648
+ "example": "[]",
8649
+ "member": "string",
8650
+ "name": "Zones",
8651
+ "required": false,
8652
+ "type": "list"
8653
+ }
8654
+ ],
8655
+ "type": "object"
8656
+ },
8657
+ "UpgradeHourDBInstanceResponse": {
8658
+ "document": "UpgradeHourDBInstance返回参数结构体",
8659
+ "members": [
8660
+ {
8661
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8662
+ "member": "string",
8663
+ "name": "RequestId",
8664
+ "type": "string"
8665
+ }
8666
+ ],
8667
+ "type": "object"
8668
+ },
8581
8669
  "ViewPrivileges": {
8582
8670
  "document": "视图权限信息",
8583
8671
  "members": [
@@ -575,6 +575,14 @@
575
575
  "output": "{\n \"Response\": {\n \"RequestId\": \"14f6980a-7fe1-11ea-b896-525400542aa6\",\n \"FlowId\": 1122\n }\n}",
576
576
  "title": "无"
577
577
  }
578
+ ],
579
+ "UpgradeHourDBInstance": [
580
+ {
581
+ "document": "升级MariaDB按量计费实例",
582
+ "input": "https://mariadb.tencentcloudapi.com/?Action=UpgradeHourDBInstance\n&InstanceId=tdsql-cq3ndzu7\n&Memory=2\n&Storage=10\n&<公共请求参数>",
583
+ "output": "{\n \"Response\": {\n \"RequestId\": \"b3d8965f-5124-451d-be87-499ea75eb3a4\"\n }\n}",
584
+ "title": "升级MariaDB按量计费实例"
585
+ }
578
586
  ]
579
587
  },
580
588
  "version": "1.0"
@@ -314,7 +314,7 @@
314
314
  "members": [
315
315
  {
316
316
  "disabled": false,
317
- "document": "需要删除的节点角色。\n- SECONDARY:Mongod 节点。\n- READONLY:只读节点。\n- MONGOS:Mongos 节点。",
317
+ "document": "需要新增的节点角色。\n- SECONDARY:Mongod 节点。\n- READONLY:只读节点。\n- MONGOS:Mongos 节点。",
318
318
  "example": "SECONDARY",
319
319
  "member": "string",
320
320
  "name": "Role",
@@ -894,7 +894,7 @@
894
894
  "members": [
895
895
  {
896
896
  "disabled": false,
897
- "document": "实例内存大小,单位:GB",
897
+ "document": "实例内存大小,单位:GB。具体售卖的内存规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
898
898
  "example": "4",
899
899
  "member": "uint64",
900
900
  "name": "Memory",
@@ -903,8 +903,8 @@
903
903
  },
904
904
  {
905
905
  "disabled": false,
906
- "document": "实例硬盘大小,单位:GB",
907
- "example": "250",
906
+ "document": "实例硬盘大小,单位:GB。每一个 CPU 规格对应的最大磁盘与最小磁盘范围,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
907
+ "example": "100",
908
908
  "member": "uint64",
909
909
  "name": "Volume",
910
910
  "required": true,
@@ -912,7 +912,7 @@
912
912
  },
913
913
  {
914
914
  "disabled": false,
915
- "document": "指副本集数量。\n- 创建副本集实例,该参数只能为1。\n- 创建分片实例,指分片的数量。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
915
+ "document": "- 创建副本集实例,指副本集数量,该参数只能为1。\n- 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。",
916
916
  "example": "1",
917
917
  "member": "uint64",
918
918
  "name": "ReplicateSetNum",
@@ -921,7 +921,7 @@
921
921
  },
922
922
  {
923
923
  "disabled": false,
924
- "document": "指每个副本集内节点个数。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
924
+ "document": "- 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
925
925
  "example": "2",
926
926
  "member": "uint64",
927
927
  "name": "NodeNum",
@@ -930,8 +930,8 @@
930
930
  },
931
931
  {
932
932
  "disabled": false,
933
- "document": "指版本信息。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。\n- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。\n- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。\n- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。",
934
- "example": "MONGO_3_WT",
933
+ "document": "指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。\n- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。\n- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。\n- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。\n- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。\n- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。",
934
+ "example": "MONGO_44_WT",
935
935
  "member": "string",
936
936
  "name": "MongoVersion",
937
937
  "required": true,
@@ -939,7 +939,7 @@
939
939
  },
940
940
  {
941
941
  "disabled": false,
942
- "document": "机器类型。\n- HIO:高IO型。\n- HIO10G:高IO万兆。",
942
+ "document": "产品规格类型。\n- HIO10G:通用高HIO万兆型。\n- HCD:云盘版类型。",
943
943
  "example": "HIO10G",
944
944
  "member": "string",
945
945
  "name": "MachineCode",
@@ -1002,7 +1002,7 @@
1002
1002
  },
1003
1003
  {
1004
1004
  "disabled": false,
1005
- "document": "项目ID。若不设置该参数,则为默认项目。",
1005
+ "document": "项目ID。\n- 若不设置该参数,则为默认项目。\n- 在 [MongoDB 控制台项目管理](https://console.cloud.tencent.com/project)页面,可获取项目ID。",
1006
1006
  "example": "无",
1007
1007
  "member": "int64",
1008
1008
  "name": "ProjectId",
@@ -1020,7 +1020,7 @@
1020
1020
  },
1021
1021
  {
1022
1022
  "disabled": false,
1023
- "document": "实例类型。\n- 1:正式实例。\n- 3:只读实例。\n- 4:灾备实例。",
1023
+ "document": "实例类型。- 1:正式实例。- 3:只读实例。- 4:灾备实例。-5:克隆实例,注意:克隆实例RestoreTime为必填项。",
1024
1024
  "example": "1",
1025
1025
  "member": "int64",
1026
1026
  "name": "Clone",
@@ -1038,7 +1038,7 @@
1038
1038
  },
1039
1039
  {
1040
1040
  "disabled": false,
1041
- "document": "安全组。",
1041
+ "document": "安全组 ID。",
1042
1042
  "example": "无",
1043
1043
  "member": "string",
1044
1044
  "name": "SecurityGroup",
@@ -1065,7 +1065,7 @@
1065
1065
  },
1066
1066
  {
1067
1067
  "disabled": false,
1068
- "document": "多可用区部署的节点列表。具体信息,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)获取。\n- 多可用区部署节点只能部署在3个不同可用区。不支持将集群的大多数节点部署在同一个可用区。例如:3节点集群不支持2个节点部署在同一个区。\n- 不支持4.2及以上版本。\n- 不支持只读灾备实例。\n- 不能选择基础网络。",
1068
+ "document": "若多可用区部署云数据库实例,指定多可用区列表。\n- 多可用区部署实例,参数 **Zone** 指定实例主可用区信息;**AvailabilityZoneList** 指定所有可用区信息,包含主可用区。输入格式如:[ap-guangzhou-2,ap-guangzhou-3,ap-guangzhou-4]。\n- 通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 可获取云数据库不同地域规划的可用区信息,以便指定有效的可用区。\n- 多可用区部署节点只能部署在3个不同可用区。不支持将集群的大多数节点部署在同一个可用区。例如:3节点集群不支持2个节点部署在同一个区。\n",
1069
1069
  "example": "无",
1070
1070
  "member": "string",
1071
1071
  "name": "AvailabilityZoneList",
@@ -1074,7 +1074,7 @@
1074
1074
  },
1075
1075
  {
1076
1076
  "disabled": false,
1077
- "document": "Mongos CPU 核数。购买分片集群时,必须填写。\n",
1077
+ "document": "Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。\n",
1078
1078
  "example": "无",
1079
1079
  "member": "uint64",
1080
1080
  "name": "MongosCpu",
@@ -1083,7 +1083,7 @@
1083
1083
  },
1084
1084
  {
1085
1085
  "disabled": false,
1086
- "document": "Mongos 内存大小。购买分片集群时,必须填写。\n\n",
1086
+ "document": "Mongos 内存大小。\n- 购买分片集群时,必须填写。\n- 单位:GB,支持1核2GB、2核4GB、4核8GB、8核16GB、16核32GB。\n\n",
1087
1087
  "example": "无",
1088
1088
  "member": "uint64",
1089
1089
  "name": "MongosMemory",
@@ -1092,7 +1092,7 @@
1092
1092
  },
1093
1093
  {
1094
1094
  "disabled": false,
1095
- "document": "Mongos 数量。购买分片集群时,必须填写。\n\n",
1095
+ "document": "Mongos 数量。购买分片集群时,必须填写。\n- 单可用区部署实例,其数量范围为[3,32]。\n- 多可用区部署实例,其数量范围为[6,32]。",
1096
1096
  "example": "无",
1097
1097
  "member": "uint64",
1098
1098
  "name": "MongosNodeNum",
@@ -1101,7 +1101,7 @@
1101
1101
  },
1102
1102
  {
1103
1103
  "disabled": false,
1104
- "document": "只读节点数量,最大不超过7个。",
1104
+ "document": "只读节点数量,取值范围[0,5]。",
1105
1105
  "example": "无",
1106
1106
  "member": "uint64",
1107
1107
  "name": "ReadonlyNodeNum",
@@ -1110,7 +1110,7 @@
1110
1110
  },
1111
1111
  {
1112
1112
  "disabled": false,
1113
- "document": "指只读节点所属可用区。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。",
1113
+ "document": "指只读节点所属可用区数组。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。",
1114
1114
  "example": "无",
1115
1115
  "member": "string",
1116
1116
  "name": "ReadonlyNodeAvailabilityZoneList",
@@ -1166,7 +1166,7 @@
1166
1166
  "members": [
1167
1167
  {
1168
1168
  "disabled": false,
1169
- "document": "指每个副本集内节点个数。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
1169
+ "document": "- 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
1170
1170
  "example": "3",
1171
1171
  "member": "uint64",
1172
1172
  "name": "NodeNum",
@@ -1175,7 +1175,7 @@
1175
1175
  },
1176
1176
  {
1177
1177
  "disabled": false,
1178
- "document": "实例内存大小,单位:GB",
1178
+ "document": "实例内存大小,单位:GB。具体售卖的内存规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
1179
1179
  "example": "4",
1180
1180
  "member": "uint64",
1181
1181
  "name": "Memory",
@@ -1184,8 +1184,8 @@
1184
1184
  },
1185
1185
  {
1186
1186
  "disabled": false,
1187
- "document": "实例硬盘大小,单位:GB",
1188
- "example": "250",
1187
+ "document": "实例硬盘大小,单位:GB。每一个 CPU 规格对应的最大磁盘与最小磁盘范围,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
1188
+ "example": "100",
1189
1189
  "member": "uint64",
1190
1190
  "name": "Volume",
1191
1191
  "required": true,
@@ -1193,8 +1193,8 @@
1193
1193
  },
1194
1194
  {
1195
1195
  "disabled": false,
1196
- "document": "指版本信息。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。\n- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。\n- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。\n- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。",
1197
- "example": "MONGO_3_WT",
1196
+ "document": "指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。\n- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。\n- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。\n- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。\n- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。\n- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。",
1197
+ "example": "MONGO_44_WT",
1198
1198
  "member": "string",
1199
1199
  "name": "MongoVersion",
1200
1200
  "required": true,
@@ -1220,7 +1220,7 @@
1220
1220
  },
1221
1221
  {
1222
1222
  "disabled": false,
1223
- "document": "实例时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]",
1223
+ "document": "指定购买实例的购买时长。取值可选:[1,2,3,4,5,6,7,8,9,10,11,12,24,36];单位:月。\n",
1224
1224
  "example": "1",
1225
1225
  "member": "uint64",
1226
1226
  "name": "Period",
@@ -1229,7 +1229,7 @@
1229
1229
  },
1230
1230
  {
1231
1231
  "disabled": false,
1232
- "document": "机器类型。\n- HIO:高IO型。\n- HIO10G:高IO万兆。",
1232
+ "document": "产品规格类型。\n- HIO10G:通用高HIO万兆型。\n- HCD:云盘版类型。",
1233
1233
  "example": "HIO10G",
1234
1234
  "member": "string",
1235
1235
  "name": "MachineCode",
@@ -1247,7 +1247,7 @@
1247
1247
  },
1248
1248
  {
1249
1249
  "disabled": false,
1250
- "document": "指副本集数量。\n- 创建副本集实例,该参数只能为1。\n- 创建分片实例,指分片的数量。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
1250
+ "document": "- 创建副本集实例,指副本集数量,该参数只能为1。\n- 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。",
1251
1251
  "example": "1",
1252
1252
  "member": "uint64",
1253
1253
  "name": "ReplicateSetNum",
@@ -1256,7 +1256,7 @@
1256
1256
  },
1257
1257
  {
1258
1258
  "disabled": false,
1259
- "document": "项目ID。若不设置该参数,则为默认项目。",
1259
+ "document": "项目ID。\n- 若不设置该参数,则为默认项目。\n- 在 [MongoDB 控制台项目管理](https://console.cloud.tencent.com/project)页面,可获取项目ID。",
1260
1260
  "example": "0",
1261
1261
  "member": "int64",
1262
1262
  "name": "ProjectId",
@@ -1301,7 +1301,7 @@
1301
1301
  },
1302
1302
  {
1303
1303
  "disabled": false,
1304
- "document": "自动续费标记。\n- 0:不自动续费。默认为不自动续费。\n- 1:自动续费。",
1304
+ "document": "自动续费标记。\n- 0:不自动续费。\n- 1:自动续费。",
1305
1305
  "example": "1",
1306
1306
  "member": "uint64",
1307
1307
  "name": "AutoRenewFlag",
@@ -1319,7 +1319,7 @@
1319
1319
  },
1320
1320
  {
1321
1321
  "disabled": false,
1322
- "document": "实例类型。\n- 1:正式实例。\n- 3:只读实例。\n- 4:灾备实例。",
1322
+ "document": "实例类型。- 1:正式实例。- 3:只读实例。- 4:灾备实例。-5:整实例克隆,注意:克隆实例时,RestoreTime为必填项。",
1323
1323
  "example": "1",
1324
1324
  "member": "int64",
1325
1325
  "name": "Clone",
@@ -1337,7 +1337,7 @@
1337
1337
  },
1338
1338
  {
1339
1339
  "disabled": false,
1340
- "document": "安全组。",
1340
+ "document": "安全组 ID。 ",
1341
1341
  "example": "无",
1342
1342
  "member": "string",
1343
1343
  "name": "SecurityGroup",
@@ -1346,7 +1346,7 @@
1346
1346
  },
1347
1347
  {
1348
1348
  "disabled": false,
1349
- "document": "克隆实例回档时间。\n- 若为克隆实例,则必须配置该参数。输入格式示例:2021-08-13 16:30:00。\n- 回档时间范围:仅能回档7天内时间点的数据。",
1349
+ "document": "克隆实例回档时间,当Clone取值为5或6时为必填。- 若为克隆实例,则必须配置该参数。输入格式示例:2021-08-13 16:30:00。- 回档时间范围:仅能回档7天内时间点的数据。",
1350
1350
  "example": "无",
1351
1351
  "member": "string",
1352
1352
  "name": "RestoreTime",
@@ -1373,7 +1373,7 @@
1373
1373
  },
1374
1374
  {
1375
1375
  "disabled": false,
1376
- "document": "Mongos CPU 核数,购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
1376
+ "document": "Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。",
1377
1377
  "example": "无",
1378
1378
  "member": "uint64",
1379
1379
  "name": "MongosCpu",
@@ -1382,7 +1382,7 @@
1382
1382
  },
1383
1383
  {
1384
1384
  "disabled": false,
1385
- "document": "Mongos 内存大小。购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。",
1385
+ "document": "Mongos 内存大小。\n- 购买分片集群时,必须填写。\n- 单位:GB,支持1核2GB、2核4GB、4核8GB、8核16GB、16核32GB。",
1386
1386
  "example": "无",
1387
1387
  "member": "uint64",
1388
1388
  "name": "MongosMemory",
@@ -1391,7 +1391,7 @@
1391
1391
  },
1392
1392
  {
1393
1393
  "disabled": false,
1394
- "document": "Mongos 数量。购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。为了保障高可用,取值范围为[3,32]。",
1394
+ "document": "Mongos 数量。购买分片集群时,必须填写。\n- 单可用区部署实例,其数量范围为[3,32]。\n- 多可用区部署实例,其数量范围为[6,32]。",
1395
1395
  "example": "无",
1396
1396
  "member": "uint64",
1397
1397
  "name": "MongosNodeNum",
@@ -1409,7 +1409,7 @@
1409
1409
  },
1410
1410
  {
1411
1411
  "disabled": false,
1412
- "document": "指只读节点所属可用区。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。",
1412
+ "document": "指只读节点所属可用区数组。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。",
1413
1413
  "example": "无",
1414
1414
  "member": "string",
1415
1415
  "name": "ReadonlyNodeAvailabilityZoneList",
@@ -4597,7 +4597,7 @@
4597
4597
  },
4598
4598
  {
4599
4599
  "disabled": false,
4600
- "document": "实例配置变更后的内存大小。\n- 单位:GB。\n- 内存和磁盘必须同时升配或同时降配,即 Memory 与 Volume 需同时配置变更。",
4600
+ "document": "实例配置变更后的内存大小。- 单位:GB。- 内存和磁盘必须同时升配或同时降配,即 Memory 与 Volume 需同时配置变更。<br>注意:节点变更时,输入实例当前的内存配置。",
4601
4601
  "example": "4",
4602
4602
  "member": "uint64",
4603
4603
  "name": "Memory",
@@ -4606,7 +4606,7 @@
4606
4606
  },
4607
4607
  {
4608
4608
  "disabled": false,
4609
- "document": "实例配置变更后的硬盘大小,单位:GB。<ul><li>内存和磁盘必须同时升配或同时降配,即 Memory 与 Volume 需同时配置变更。</li><li>降配时,变更后的磁盘容量必须大于已用磁盘容量的1.2倍。</li></ul>",
4609
+ "document": "实例配置变更后的硬盘大小,单位:GB。<ul><li>内存和磁盘必须同时升配或同时降配,即 Memory 与 Volume 需同时配置变更。</li><li>降配时,变更后的磁盘容量必须大于已用磁盘容量的1.2倍。</li></ul> 注意:节点变更时,输入实例当前的硬盘配置。",
4610
4610
  "example": "250",
4611
4611
  "member": "uint64",
4612
4612
  "name": "Volume",
@@ -4624,7 +4624,7 @@
4624
4624
  },
4625
4625
  {
4626
4626
  "disabled": false,
4627
- "document": "实例变更后的节点数(mongod节点或mongos节点或readonly节点调整后的节点数,具体类型取决于AddNodeListRemoveNodeList参数的节点类型)。\n<ul><li>副本集:取值范围请通过云数据库的售卖规格(DescribeSpecInfo)接口返回的参数 MinNodeNum MaxNodeNum 获取。</li><li>分片集群:取值范围请通过云数据库的售卖规格(DescribeSpecInfo)接口返回的参数 MinReplicateSetNodeNumMaxReplicateSetNodeNum 获取。</li></ul>",
4627
+ "document": "实例变更后的节点数。- 变更节点类型包含:mongod节点 或 readonly 节点,mongos节点变更无需填写。变更节点类型,请查询参数**AddNodeList**或**RemoveNodeList**指定的类型。- 副本集节点数:取值范围请通过云数据库的售卖规格 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 接口返回的参数**MinNodeNum**与 **MaxNodeNum**获取。- 分片集群每个分片节点数:取值范围请通过云数据库的售卖规格 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 接口返回的参数**MinReplicateSetNodeNum**与**MaxReplicateSetNodeNum**获取。",
4628
4628
  "example": "3",
4629
4629
  "member": "uint64",
4630
4630
  "name": "NodeNum",
@@ -4633,7 +4633,7 @@
4633
4633
  },
4634
4634
  {
4635
4635
  "disabled": false,
4636
- "document": "实例变更后的分片数。<ul><li>取值范围请通过云数据库的售卖规格(DescribeSpecInfo)接口返回的参数MinReplicateSetNumMaxReplicateSetNum获取。</li><li>该参数只能增加不能减少。</li></ul>",
4636
+ "document": "实例变更后的分片数。<ul><li>取值范围请通过云数据库的售卖规格 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 接口返回的参数**MinReplicateSetNum**与**MaxReplicateSetNum**获取。</li><li>该参数只能增加不能减少。</li></ul>",
4637
4637
  "example": "3",
4638
4638
  "member": "uint64",
4639
4639
  "name": "ReplicateSetNum",
@@ -4642,7 +4642,7 @@
4642
4642
  },
4643
4643
  {
4644
4644
  "disabled": false,
4645
- "document": "实例配置变更的切换时间。<ul><li>0:调整完成时,立即执行变配任务。默认为0。</li><li>1:在维护时间窗内,执行变配任务。\n<b>说明</b>:调整节点数和分片数不支持在<b>维护时间窗内</b>变更。</li></ul>",
4645
+ "document": "实例配置变更的切换时间。\n- 0:调整完成时,立即执行变配任务。默认为0。\n- 1:在维护时间窗内,执行变配任务。\n**说明**:调整节点数和分片数不支持在<b>维护时间窗内</b>变更。",
4646
4646
  "example": "0",
4647
4647
  "member": "uint64",
4648
4648
  "name": "InMaintenance",
@@ -4651,7 +4651,16 @@
4651
4651
  },
4652
4652
  {
4653
4653
  "disabled": false,
4654
- "document": "新增节点属性列表。",
4654
+ "document": "分片实例配置变更后的mongos内存大小。- 单位:GB。",
4655
+ "example": "2",
4656
+ "member": "string",
4657
+ "name": "MongosMemory",
4658
+ "required": false,
4659
+ "type": "string"
4660
+ },
4661
+ {
4662
+ "disabled": false,
4663
+ "document": "新增节点列表,节点类型及可用区信息。",
4655
4664
  "example": "无",
4656
4665
  "member": "AddNodeList",
4657
4666
  "name": "AddNodeList",
@@ -4660,7 +4669,7 @@
4660
4669
  },
4661
4670
  {
4662
4671
  "disabled": false,
4663
- "document": "删除节点属性列表。",
4672
+ "document": "删除节点列表,注意:基于分片实例各片节点的一致性原则,删除分片实例节点时,只需指定0分片对应的节点即可,如:cmgo-9nl1czif_0-node-readonly0 将删除每个分片的第1个只读节点。",
4664
4673
  "example": "无",
4665
4674
  "member": "RemoveNodeList",
4666
4675
  "name": "RemoveNodeList",
@@ -5027,7 +5036,7 @@
5027
5036
  "members": [
5028
5037
  {
5029
5038
  "disabled": false,
5030
- "document": "需要删除的节点角色。\n- SECONDARY:Mongod 节点。\n- READONLY:只读节点。\n- MONGOS:Mongos 节点。",
5039
+ "document": "需要删除的节点角色。\n- SECONDARY:Mongod 从节点。\n- READONLY:只读节点。\n- MONGOS:Mongos 节点。",
5031
5040
  "example": "SECONDARY",
5032
5041
  "member": "string",
5033
5042
  "name": "Role",
@@ -4552,7 +4552,7 @@
4552
4552
  },
4553
4553
  {
4554
4554
  "disabled": false,
4555
- "document": "数据存储时间(单位天),限制值为153045之一",
4555
+ "document": "数据存储时间(单位天),限制值为15, 30, 45, 90, 180, 365, 730之一",
4556
4556
  "example": "30",
4557
4557
  "member": "int64",
4558
4558
  "name": "DataRetentionTime",