tccli 3.0.1198.1__py2.py3-none-any.whl → 3.0.1199.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 (40) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/ccc/ccc_client.py +57 -4
  3. tccli/services/ccc/v20200210/api.json +188 -0
  4. tccli/services/ccc/v20200210/examples.json +8 -0
  5. tccli/services/clb/v20180317/api.json +19 -1
  6. tccli/services/cme/v20191029/api.json +18 -8
  7. tccli/services/cynosdb/cynosdb_client.py +0 -53
  8. tccli/services/cynosdb/v20190107/api.json +0 -92
  9. tccli/services/cynosdb/v20190107/examples.json +0 -8
  10. tccli/services/emr/v20190103/api.json +4 -4
  11. tccli/services/faceid/v20180301/api.json +9 -0
  12. tccli/services/iecp/iecp_client.py +298 -1358
  13. tccli/services/iecp/v20210914/api.json +216 -2256
  14. tccli/services/iecp/v20210914/examples.json +0 -166
  15. tccli/services/ims/v20201229/api.json +9 -9
  16. tccli/services/ims/v20201229/examples.json +2 -2
  17. tccli/services/monitor/monitor_client.py +8 -114
  18. tccli/services/monitor/v20180724/api.json +0 -85
  19. tccli/services/monitor/v20180724/examples.json +0 -16
  20. tccli/services/ocr/v20181119/api.json +3 -3
  21. tccli/services/postgres/postgres_client.py +53 -0
  22. tccli/services/postgres/v20170312/api.json +191 -0
  23. tccli/services/postgres/v20170312/examples.json +16 -2
  24. tccli/services/rce/v20201103/api.json +17 -8
  25. tccli/services/tcss/v20201101/api.json +199 -3
  26. tccli/services/tcss/v20201101/examples.json +5 -5
  27. tccli/services/teo/v20220901/api.json +50 -0
  28. tccli/services/tke/v20180525/api.json +9 -9
  29. tccli/services/tke/v20220501/api.json +5 -5
  30. tccli/services/tse/v20201207/api.json +22 -0
  31. tccli/services/tsf/tsf_client.py +4 -57
  32. tccli/services/tsf/v20180326/api.json +0 -34
  33. tccli/services/tsf/v20180326/examples.json +0 -8
  34. tccli/services/vpc/v20170312/examples.json +6 -0
  35. tccli/services/wedata/v20210820/api.json +11 -0
  36. {tccli-3.0.1198.1.dist-info → tccli-3.0.1199.1.dist-info}/METADATA +2 -2
  37. {tccli-3.0.1198.1.dist-info → tccli-3.0.1199.1.dist-info}/RECORD +40 -40
  38. {tccli-3.0.1198.1.dist-info → tccli-3.0.1199.1.dist-info}/WHEEL +0 -0
  39. {tccli-3.0.1198.1.dist-info → tccli-3.0.1199.1.dist-info}/entry_points.txt +0 -0
  40. {tccli-3.0.1198.1.dist-info → tccli-3.0.1199.1.dist-info}/license_files/LICENSE +0 -0
@@ -21,13 +21,6 @@
21
21
  "output": "BindingPolicyTagResponse",
22
22
  "status": "online"
23
23
  },
24
- "CheckIsPrometheusNewUser": {
25
- "document": "接口功能是检查是否为prometheus新用户,已有其他功能更加全面的接口替代\n\n判断用户是否为云原生监控新用户,即在任何地域下均未创建过监控实例的用户",
26
- "input": "CheckIsPrometheusNewUserRequest",
27
- "name": "判断用户是否为云原生监控新用户",
28
- "output": "CheckIsPrometheusNewUserResponse",
29
- "status": "deprecated"
30
- },
31
24
  "CleanGrafanaInstance": {
32
25
  "document": "强制销毁 Grafana 实例",
33
26
  "input": "CleanGrafanaInstanceRequest",
@@ -658,13 +651,6 @@
658
651
  "output": "DescribePrometheusInstancesOverviewResponse",
659
652
  "status": "online"
660
653
  },
661
- "DescribePrometheusRecordRuleYaml": {
662
- "document": "DescribePrometheusRecordRules 接口可完全代替该接口。近30天仅有3次调用,且都是报错请求\n\n拉取Prometheus聚合规则yaml列表",
663
- "input": "DescribePrometheusRecordRuleYamlRequest",
664
- "name": "拉取Prometheus聚合规则yaml列表",
665
- "output": "DescribePrometheusRecordRuleYamlResponse",
666
- "status": "deprecated"
667
- },
668
654
  "DescribePrometheusRecordRules": {
669
655
  "document": "获取聚合规则列表,包含关联集群内crd资源创建的record rule",
670
656
  "input": "DescribePrometheusRecordRulesRequest",
@@ -2838,23 +2824,6 @@
2838
2824
  ],
2839
2825
  "usage": "both"
2840
2826
  },
2841
- "CheckIsPrometheusNewUserRequest": {
2842
- "document": "CheckIsPrometheusNewUser请求参数结构体",
2843
- "members": [],
2844
- "type": "object"
2845
- },
2846
- "CheckIsPrometheusNewUserResponse": {
2847
- "document": "CheckIsPrometheusNewUser返回参数结构体",
2848
- "members": [
2849
- {
2850
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2851
- "member": "string",
2852
- "name": "RequestId",
2853
- "type": "string"
2854
- }
2855
- ],
2856
- "type": "object"
2857
- },
2858
2827
  "CleanGrafanaInstanceRequest": {
2859
2828
  "document": "CleanGrafanaInstance请求参数结构体",
2860
2829
  "members": [
@@ -12237,60 +12206,6 @@
12237
12206
  ],
12238
12207
  "type": "object"
12239
12208
  },
12240
- "DescribePrometheusRecordRuleYamlRequest": {
12241
- "document": "DescribePrometheusRecordRuleYaml请求参数结构体",
12242
- "members": [
12243
- {
12244
- "disabled": false,
12245
- "document": "实例id",
12246
- "example": "xxx",
12247
- "member": "string",
12248
- "name": "InstanceId",
12249
- "required": true,
12250
- "type": "string"
12251
- },
12252
- {
12253
- "disabled": false,
12254
- "document": "分页",
12255
- "example": "1",
12256
- "member": "uint64",
12257
- "name": "Offset",
12258
- "required": false,
12259
- "type": "int"
12260
- },
12261
- {
12262
- "disabled": false,
12263
- "document": "分页",
12264
- "example": "10",
12265
- "member": "uint64",
12266
- "name": "Limit",
12267
- "required": false,
12268
- "type": "int"
12269
- },
12270
- {
12271
- "disabled": false,
12272
- "document": "过滤,当前支持\nName = Name\nValues = 目标名称列表",
12273
- "example": "xxx",
12274
- "member": "Filter",
12275
- "name": "Filters",
12276
- "required": false,
12277
- "type": "list"
12278
- }
12279
- ],
12280
- "type": "object"
12281
- },
12282
- "DescribePrometheusRecordRuleYamlResponse": {
12283
- "document": "DescribePrometheusRecordRuleYaml返回参数结构体",
12284
- "members": [
12285
- {
12286
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
12287
- "member": "string",
12288
- "name": "RequestId",
12289
- "type": "string"
12290
- }
12291
- ],
12292
- "type": "object"
12293
- },
12294
12209
  "DescribePrometheusRecordRulesRequest": {
12295
12210
  "document": "DescribePrometheusRecordRules请求参数结构体",
12296
12211
  "members": [
@@ -24,14 +24,6 @@
24
24
  "title": "策略绑定标签"
25
25
  }
26
26
  ],
27
- "CheckIsPrometheusNewUser": [
28
- {
29
- "document": "判断用户是否为新用户",
30
- "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckIsPrometheusNewUser\n<公共请求参数>\n\n{}",
31
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
32
- "title": "判断用户是否为新用户"
33
- }
34
- ],
35
27
  "CleanGrafanaInstance": [
36
28
  {
37
29
  "document": "强制销毁 Grafana 实例",
@@ -914,14 +906,6 @@
914
906
  "title": "获取实例列表"
915
907
  }
916
908
  ],
917
- "DescribePrometheusRecordRuleYaml": [
918
- {
919
- "document": "拉取聚合规则列表",
920
- "input": "https://monitor.tencentcloudapi.com/?Action=DescribePrometheusRecordRuleYaml\n&InstanceId=prom-xxx\n&<公共请求参数>",
921
- "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
922
- "title": "拉取聚合规则列表"
923
- }
924
- ],
925
909
  "DescribePrometheusRecordRules": [
926
910
  {
927
911
  "document": "拉取聚合规则",
@@ -365,7 +365,7 @@
365
365
  "status": "online"
366
366
  },
367
367
  "RecognizeIndonesiaIDCardOCR": {
368
- "document": "印尼身份证识别\n\n默认接口请求频率限制:20次/秒。",
368
+ "document": "印尼身份证识别\n\n默认接口请求频率限制:5次/秒。",
369
369
  "input": "RecognizeIndonesiaIDCardOCRRequest",
370
370
  "name": "印尼身份证识别",
371
371
  "output": "RecognizeIndonesiaIDCardOCRResponse",
@@ -2536,7 +2536,7 @@
2536
2536
  },
2537
2537
  {
2538
2538
  "disabled": false,
2539
- "document": "可以指定要识别的票证类型,指定后不出现在此列表的票证将不返回类型。不指定时默认返回所有支持类别票证的识别信息。\n\n以下是当前支持的类型:\nIDCardFront: 身份证正面识别\nIDCardBack: 身份证背面识别\nPassport: 护照\nBusinessCard: 名片识别\nBankCard: 银行卡识别\nVehicleLicenseFront: 行驶证主页识别\nVehicleLicenseBack: 行驶证副页识别\nDriverLicenseFront: 驾驶证主页识别\nDriverLicenseBack: 驾驶证副页识别\nPermitFront: 港澳台通行证正面\nResidenceBooklet: 户口本资料页\nMainlandPermitFront: 港澳台来往内地通行证正面\nHmtResidentPermitFront: 港澳台居住证正面\nHmtResidentPermitBack: 港澳台居住证背面\nEstateCert: 不动产证\nBizLicense: 营业执照",
2539
+ "document": "可以指定要识别的票证类型,指定后不出现在此列表的票证将不返回类型。不指定时默认返回所有支持类别票证的识别信息。\n\n以下是当前支持的类型:\nIDCardFront: 身份证正面识别\nIDCardBack: 身份证背面识别\nPassport: 护照\nBusinessCard: 名片识别\nBankCard: 银行卡识别\nVehicleLicenseFront: 行驶证主页识别\nVehicleLicenseBack: 行驶证副页识别\nDriverLicenseFront: 驾驶证主页识别\nDriverLicenseBack: 驾驶证副页识别\nPermitFront: 港澳台通行证正面\nResidenceBooklet: 户口本资料页\nMainlandPermitFront: 港澳台来往内地通行证正面\nHmtResidentPermitFront: 港澳台居住证正面\nHmtResidentPermitBack: 港澳台居住证背面\nEstateCert: 不动产证\nBizLicense: 营业执照\nForeignPermanentResidentFront: 外国人永居证正面识别\nForeignPermanentResidentBack: 外国人永居证背面识别",
2540
2540
  "example": "\"\"",
2541
2541
  "member": "string",
2542
2542
  "name": "DiscernType",
@@ -2555,7 +2555,7 @@
2555
2555
  "example": "\"\"",
2556
2556
  "member": "ClassifyDetectInfo",
2557
2557
  "name": "ClassifyDetectInfos",
2558
- "required": true,
2558
+ "output_required": true,
2559
2559
  "type": "list",
2560
2560
  "value_allowed_null": false
2561
2561
  },
@@ -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 doDescribeDedicatedClusters(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.DescribeDedicatedClustersRequest()
466
+ model.from_json_string(json.dumps(args))
467
+ start_time = time.time()
468
+ while True:
469
+ rsp = client.DescribeDedicatedClusters(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 doDeleteParameterTemplate(args, parsed_globals):
437
489
  g_param = parse_global_arg(parsed_globals)
438
490
 
@@ -5236,6 +5288,7 @@ ACTION_MAP = {
5236
5288
  "ModifyAccountRemark": doModifyAccountRemark,
5237
5289
  "SetAutoRenewFlag": doSetAutoRenewFlag,
5238
5290
  "ModifyDBInstanceName": doModifyDBInstanceName,
5291
+ "DescribeDedicatedClusters": doDescribeDedicatedClusters,
5239
5292
  "DeleteParameterTemplate": doDeleteParameterTemplate,
5240
5293
  "DescribeDBInstanceParameters": doDescribeDBInstanceParameters,
5241
5294
  "DeleteServerlessDBInstance": doDeleteServerlessDBInstance,
@@ -322,6 +322,13 @@
322
322
  "output": "DescribeDatabasesResponse",
323
323
  "status": "online"
324
324
  },
325
+ "DescribeDedicatedClusters": {
326
+ "document": "查询专属集群",
327
+ "input": "DescribeDedicatedClustersRequest",
328
+ "name": "查询专属集群",
329
+ "output": "DescribeDedicatedClustersResponse",
330
+ "status": "online"
331
+ },
325
332
  "DescribeDefaultParameters": {
326
333
  "document": "本接口(DescribeDefaultParameters)主要用于查询某个数据库版本和引擎支持的所有参数。",
327
334
  "input": "DescribeDefaultParametersRequest",
@@ -2668,6 +2675,15 @@
2668
2675
  "name": "DBVersion",
2669
2676
  "required": false,
2670
2677
  "type": "string"
2678
+ },
2679
+ {
2680
+ "disabled": false,
2681
+ "document": "专属集群ID",
2682
+ "example": "dedicatedCluster-gz",
2683
+ "member": "string",
2684
+ "name": "DedicatedClusterId",
2685
+ "required": false,
2686
+ "type": "string"
2671
2687
  }
2672
2688
  ],
2673
2689
  "type": "object"
@@ -3656,6 +3672,17 @@
3656
3672
  "required": true,
3657
3673
  "type": "string",
3658
3674
  "value_allowed_null": false
3675
+ },
3676
+ {
3677
+ "disabled": false,
3678
+ "document": "专属集群ID\n注意:此字段可能返回 null,表示取不到有效值。",
3679
+ "example": "cluster-d8htgb6k",
3680
+ "member": "string",
3681
+ "name": "DedicatedClusterId",
3682
+ "output_required": false,
3683
+ "required": false,
3684
+ "type": "string",
3685
+ "value_allowed_null": true
3659
3686
  }
3660
3687
  ],
3661
3688
  "usage": "both"
@@ -3835,6 +3862,133 @@
3835
3862
  ],
3836
3863
  "usage": "both"
3837
3864
  },
3865
+ "DedicatedCluster": {
3866
+ "document": "专属集群相关信息,用于查询用户的专属集群列表",
3867
+ "members": [
3868
+ {
3869
+ "disabled": false,
3870
+ "document": "专属集群ID\n注意:此字段可能返回 null,表示取不到有效值。",
3871
+ "example": "dedicatedCluster-gz",
3872
+ "member": "string",
3873
+ "name": "DedicatedClusterId",
3874
+ "output_required": true,
3875
+ "required": false,
3876
+ "type": "string",
3877
+ "value_allowed_null": true
3878
+ },
3879
+ {
3880
+ "disabled": false,
3881
+ "document": "专属集群名称\n注意:此字段可能返回 null,表示取不到有效值。",
3882
+ "example": "TestDedicatedClusterName",
3883
+ "member": "string",
3884
+ "name": "Name",
3885
+ "output_required": true,
3886
+ "required": false,
3887
+ "type": "string",
3888
+ "value_allowed_null": true
3889
+ },
3890
+ {
3891
+ "disabled": false,
3892
+ "document": "专属集群所在可用区\n注意:此字段可能返回 null,表示取不到有效值。",
3893
+ "example": "ap-guangzhou",
3894
+ "member": "string",
3895
+ "name": "Zone",
3896
+ "output_required": true,
3897
+ "required": false,
3898
+ "type": "string",
3899
+ "value_allowed_null": true
3900
+ },
3901
+ {
3902
+ "disabled": false,
3903
+ "document": "灾备集群\n注意:此字段可能返回 null,表示取不到有效值。",
3904
+ "example": "dedicatedCluster-sh",
3905
+ "member": "string",
3906
+ "name": "StandbyDedicatedClusterSet",
3907
+ "output_required": true,
3908
+ "required": false,
3909
+ "type": "list",
3910
+ "value_allowed_null": true
3911
+ },
3912
+ {
3913
+ "disabled": false,
3914
+ "document": "实例数量\n注意:此字段可能返回 null,表示取不到有效值。",
3915
+ "example": "1",
3916
+ "member": "int64",
3917
+ "name": "InstanceCount",
3918
+ "output_required": true,
3919
+ "required": false,
3920
+ "type": "int",
3921
+ "value_allowed_null": true
3922
+ },
3923
+ {
3924
+ "disabled": false,
3925
+ "document": "Cpu总量\n注意:此字段可能返回 null,表示取不到有效值。",
3926
+ "example": "10",
3927
+ "member": "int64",
3928
+ "name": "CpuTotal",
3929
+ "output_required": true,
3930
+ "required": false,
3931
+ "type": "int",
3932
+ "value_allowed_null": true
3933
+ },
3934
+ {
3935
+ "disabled": false,
3936
+ "document": "Cpu可用数量\n注意:此字段可能返回 null,表示取不到有效值。",
3937
+ "example": "10",
3938
+ "member": "int64",
3939
+ "name": "CpuAvailable",
3940
+ "output_required": true,
3941
+ "required": false,
3942
+ "type": "int",
3943
+ "value_allowed_null": true
3944
+ },
3945
+ {
3946
+ "disabled": false,
3947
+ "document": "内存总量\n注意:此字段可能返回 null,表示取不到有效值。",
3948
+ "example": "10",
3949
+ "member": "int64",
3950
+ "name": "MemTotal",
3951
+ "output_required": true,
3952
+ "required": false,
3953
+ "type": "int",
3954
+ "value_allowed_null": true
3955
+ },
3956
+ {
3957
+ "disabled": false,
3958
+ "document": "内存可用量\n注意:此字段可能返回 null,表示取不到有效值。",
3959
+ "example": "10",
3960
+ "member": "int64",
3961
+ "name": "MemAvailable",
3962
+ "output_required": true,
3963
+ "required": false,
3964
+ "type": "int",
3965
+ "value_allowed_null": true
3966
+ },
3967
+ {
3968
+ "disabled": false,
3969
+ "document": "磁盘总量\n注意:此字段可能返回 null,表示取不到有效值。",
3970
+ "example": "10",
3971
+ "member": "int64",
3972
+ "name": "DiskTotal",
3973
+ "output_required": true,
3974
+ "required": false,
3975
+ "type": "int",
3976
+ "value_allowed_null": true
3977
+ },
3978
+ {
3979
+ "disabled": false,
3980
+ "document": "磁盘可用量\n注意:此字段可能返回 null,表示取不到有效值。",
3981
+ "example": "10",
3982
+ "member": "int64",
3983
+ "name": "DiskAvailable",
3984
+ "output_required": true,
3985
+ "required": false,
3986
+ "type": "int",
3987
+ "value_allowed_null": true
3988
+ }
3989
+ ],
3990
+ "usage": "both"
3991
+ },
3838
3992
  "DeleteAccountRequest": {
3839
3993
  "document": "DeleteAccount请求参数结构体",
3840
3994
  "members": [
@@ -5841,6 +5995,43 @@
5841
5995
  ],
5842
5996
  "type": "object"
5843
5997
  },
5998
+ "DescribeDedicatedClustersRequest": {
5999
+ "document": "DescribeDedicatedClusters请求参数结构体",
6000
+ "members": [
6001
+ {
6002
+ "disabled": false,
6003
+ "document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndedicated-cluster-id: 按照专属集群ID筛选,类型为string",
6004
+ "example": "[{\"Values\": [\"dedicatedCluster-gz\" ], \"Name\": \"dedicated-cluster-id\" } ]",
6005
+ "member": "Filter",
6006
+ "name": "Filters",
6007
+ "required": false,
6008
+ "type": "list"
6009
+ }
6010
+ ],
6011
+ "type": "object"
6012
+ },
6013
+ "DescribeDedicatedClustersResponse": {
6014
+ "document": "DescribeDedicatedClusters返回参数结构体",
6015
+ "members": [
6016
+ {
6017
+ "disabled": false,
6018
+ "document": "专属集群信息",
6019
+ "example": "[{\"DedicatedClusterId\":\"dedicatedCluster-gz\",\"name\":\"TestDedicatedClusterName\",\"Zone\":\"ap-guangzhou\",\"StandbyDedicatedClusterSet\":[\"dedicatedCluster-sh\"],InstanceCount:1,CpuTotal:10,CpuAvailable:10,MemTotal:10,MemAvailable:10,DiskTotal:10,DiskAvailable:10}]",
6020
+ "member": "DedicatedCluster",
6021
+ "name": "DedicatedClusterSet",
6022
+ "output_required": false,
6023
+ "type": "list",
6024
+ "value_allowed_null": false
6025
+ },
6026
+ {
6027
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6028
+ "member": "string",
6029
+ "name": "RequestId",
6030
+ "type": "string"
6031
+ }
6032
+ ],
6033
+ "type": "object"
6034
+ },
5844
6035
  "DescribeDefaultParametersRequest": {
5845
6036
  "document": "DescribeDefaultParameters请求参数结构体",
5846
6037
  "members": [
@@ -390,13 +390,13 @@
390
390
  {
391
391
  "document": "按指定分页查询实例列表",
392
392
  "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
393
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}",
393
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}",
394
394
  "title": "查询所有实例列表"
395
395
  },
396
396
  {
397
397
  "document": "例如:查询实例ID为postgres-xxxxx的实例信息",
398
398
  "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Filters\": [\n {\n \"Values\": [\n \"postgres-xxxxx\"\n ],\n \"Name\": \"db-instance-id\"\n }\n ],\n \"Offset\": \"0\"\n}",
399
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}",
399
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}",
400
400
  "title": "根据实例ID查询实例信息"
401
401
  }
402
402
  ],
@@ -458,6 +458,20 @@
458
458
  "title": "获取实例部分数据库"
459
459
  }
460
460
  ],
461
+ "DescribeDedicatedClusters": [
462
+ {
463
+ "document": "查询所有专属集群",
464
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDedicatedClusters\n<公共请求参数>\n\n{}",
465
+ "output": "{\n \"Response\": {\n \"DedicatedClusterSet\": [\n {\n \"CpuAvailable\": 192,\n \"CpuTotal\": 192,\n \"DedicatedClusterId\": \"cluster-0jend45y\",\n \"DiskAvailable\": 1000,\n \"DiskTotal\": 1000,\n \"InstanceCount\": 0,\n \"MemAvailable\": 512,\n \"MemTotal\": 512,\n \"Name\": \"\",\n \"StandbyDedicatedClusterSet\": [\n \"[\\\"cluster-0jend45y\\\"\",\n \"\\\"cluster-d8htgb6k\\\"]\"\n ],\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"CpuAvailable\": 192,\n \"CpuTotal\": 192,\n \"DedicatedClusterId\": \"cluster-d8htgb6k\",\n \"DiskAvailable\": 1000,\n \"DiskTotal\": 1000,\n \"InstanceCount\": 0,\n \"MemAvailable\": 512,\n \"MemTotal\": 512,\n \"Name\": \"\",\n \"StandbyDedicatedClusterSet\": [\n \"[\\\"cluster-0jend45y\\\"\",\n \"\\\"cluster-d8htgb6k\\\"]\"\n ],\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"187a6206-4811-447d-b223-87a8dd470c8c\"\n }\n}",
466
+ "title": "查询所有专属集群"
467
+ },
468
+ {
469
+ "document": "查询专属集群cluster-0jend45y",
470
+ "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDedicatedClusters\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"dedicated-cluster-id\",\n \"Values\": [\n \"cluster-0jend45y\"\n ]\n }\n ]\n}",
471
+ "output": "{\n \"Response\": {\n \"DedicatedClusterSet\": [\n {\n \"CpuAvailable\": 192,\n \"CpuTotal\": 192,\n \"DedicatedClusterId\": \"cluster-0jend45y\",\n \"DiskAvailable\": 1000,\n \"DiskTotal\": 1000,\n \"InstanceCount\": 0,\n \"MemAvailable\": 512,\n \"MemTotal\": 512,\n \"Name\": \"\",\n \"StandbyDedicatedClusterSet\": [\n \"[\\\"cluster-0jend45y\\\"\",\n \"\\\"cluster-d8htgb6k\\\"]\"\n ],\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"04fcd633-8e56-4c2f-9783-7c49e00647f6\"\n }\n}",
472
+ "title": "查询特定专属集群"
473
+ }
474
+ ],
461
475
  "DescribeDefaultParameters": [
462
476
  {
463
477
  "document": "无",
@@ -162,7 +162,7 @@
162
162
  "members": [
163
163
  {
164
164
  "disabled": false,
165
- "document": "客户主体名称。\n\n示例值:某某有限公司。",
165
+ "document": "数据委托方、需求方:客户主体名称。\n\n示例值:某某有限公司。",
166
166
  "example": "无",
167
167
  "member": "string",
168
168
  "name": "DataProviderName",
@@ -171,7 +171,7 @@
171
171
  },
172
172
  {
173
173
  "disabled": false,
174
- "document": "接收方主体名称。\n\n固定填:腾讯云计算(北京)有限责任公司\n\n示例值:腾讯云计算(北京)有限责任公司",
174
+ "document": "数据受托方、提供方:腾讯云主体名称。\n\n固定填:腾讯云计算(北京)有限责任公司\n\n示例值:腾讯云计算(北京)有限责任公司",
175
175
  "example": "无",
176
176
  "member": "string",
177
177
  "name": "DataRecipientName",
@@ -180,7 +180,7 @@
180
180
  },
181
181
  {
182
182
  "disabled": false,
183
- "document": "客户请求RCE所涉及的用户敏感数据类型,支持多选。实际以接口请求传参为准。\n\n1-手机号;\n\n2-微信开放账号;\n\n3-QQ开放账号;\n\n4-IP地址;\n\n5-设备指纹;\n\n999-其它;\n\n示例值:[1, 4]",
183
+ "document": "客户请求RCE所提供的用户数据类型,支持多选。实际以接口请求传参为准。\n\n1-手机号;\n\n2-微信开放账号;\n\n3-QQ开放账号;\n\n4-IP地址;\n\n999-其它;\n\n示例值:[1, 4]",
184
184
  "example": "无",
185
185
  "member": "uint64",
186
186
  "name": "UserDataType",
@@ -189,7 +189,7 @@
189
189
  },
190
190
  {
191
191
  "disabled": false,
192
- "document": "客户是否已经获取用户授权。\n\n1-已授权;其它值为未授权。\n\n示例值:1",
192
+ "document": "客户是否已按[合规指南](https://rule.tencent.com/rule/202409130001)要求获取用户授权,同意客户委托腾讯云处理入参信息\n1-已授权;其它值为未授权。\n示例值:1",
193
193
  "example": "无",
194
194
  "member": "uint64",
195
195
  "name": "IsAuthorize",
@@ -198,11 +198,11 @@
198
198
  },
199
199
  {
200
200
  "disabled": false,
201
- "document": "是否是用户个人敏感数据。\n\n固定填:1。\n\n示例值:1",
201
+ "document": "客户是否已按[合规指南](https://rule.tencent.com/rule/202409130001)要求获取用户授权,同意腾讯云结合客户提供的信息,对已合法收集的用户数据进行必要处理得出服务结果,并返回给客户。\n1-已授权;其它值为未授权。\n示例值:1",
202
202
  "example": "无",
203
203
  "member": "uint64",
204
- "name": "IsPersonalData",
205
- "required": true,
204
+ "name": "IsOrderHandling",
205
+ "required": false,
206
206
  "type": "int"
207
207
  },
208
208
  {
@@ -216,12 +216,21 @@
216
216
  },
217
217
  {
218
218
  "disabled": false,
219
- "document": "客户获得用户授权所依赖的协议地址。\n\n示例值:https://www.*****.com/*****",
219
+ "document": "\t\n客户获得用户授权所依赖的协议地址。\n\n示例值:https://www.*****.com/*",
220
220
  "example": "无",
221
221
  "member": "string",
222
222
  "name": "PrivacyPolicyLink",
223
223
  "required": false,
224
224
  "type": "string"
225
+ },
226
+ {
227
+ "disabled": false,
228
+ "document": "是否是用户个人敏感数据。\n\n固定填:1。\n\n示例值:1",
229
+ "example": "无",
230
+ "member": "uint64",
231
+ "name": "IsPersonalData",
232
+ "required": false,
233
+ "type": "int"
225
234
  }
226
235
  ],
227
236
  "usage": "in"