tccli 3.0.1138.1__py2.py3-none-any.whl → 3.0.1140.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 (49) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/aiart/aiart_client.py +53 -0
  4. tccli/services/aiart/v20221229/api.json +98 -0
  5. tccli/services/aiart/v20221229/examples.json +8 -0
  6. tccli/services/cbs/v20170312/api.json +5 -8
  7. tccli/services/cls/v20201016/api.json +20 -0
  8. tccli/services/cwp/cwp_client.py +61 -114
  9. tccli/services/cwp/v20180228/api.json +0 -70
  10. tccli/services/cwp/v20180228/examples.json +0 -8
  11. tccli/services/emr/v20190103/api.json +543 -15
  12. tccli/services/emr/v20190103/examples.json +4 -4
  13. tccli/services/ess/v20201111/api.json +13 -13
  14. tccli/services/ess/v20201111/examples.json +2 -2
  15. tccli/services/essbasic/v20210526/api.json +14 -14
  16. tccli/services/essbasic/v20210526/examples.json +2 -2
  17. tccli/services/ims/v20201229/api.json +2 -2
  18. tccli/services/ioa/v20220601/api.json +132 -92
  19. tccli/services/iotexplorer/v20190423/api.json +49 -0
  20. tccli/services/iss/iss_client.py +114 -8
  21. tccli/services/iss/v20230517/api.json +221 -0
  22. tccli/services/iss/v20230517/examples.json +16 -0
  23. tccli/services/mps/v20190612/api.json +163 -115
  24. tccli/services/mps/v20190612/examples.json +11 -11
  25. tccli/services/ocr/v20181119/api.json +19 -0
  26. tccli/services/rum/v20210622/api.json +1 -0
  27. tccli/services/scf/v20180416/examples.json +1 -1
  28. tccli/services/ses/ses_client.py +228 -16
  29. tccli/services/ses/v20201002/api.json +266 -0
  30. tccli/services/ses/v20201002/examples.json +32 -0
  31. tccli/services/ssl/ssl_client.py +53 -0
  32. tccli/services/ssl/v20191205/api.json +93 -3
  33. tccli/services/ssl/v20191205/examples.json +9 -1
  34. tccli/services/tcr/v20190924/api.json +5 -1
  35. tccli/services/tcr/v20190924/examples.json +1 -1
  36. tccli/services/tdmq/v20200217/api.json +166 -19
  37. tccli/services/tdmq/v20200217/examples.json +6 -6
  38. tccli/services/vclm/__init__.py +4 -0
  39. tccli/services/vclm/v20240523/api.json +695 -0
  40. tccli/services/vclm/v20240523/examples.json +73 -0
  41. tccli/services/vclm/vclm_client.py +513 -0
  42. tccli/services/vdb/v20230616/api.json +20 -0
  43. tccli/services/vpc/v20170312/api.json +5 -5
  44. tccli/services/vpc/v20170312/examples.json +1 -1
  45. {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/METADATA +2 -2
  46. {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/RECORD +49 -45
  47. {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/WHEEL +0 -0
  48. {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/entry_points.txt +0 -0
  49. {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/license_files/LICENSE +0 -0
@@ -8,6 +8,14 @@
8
8
  "title": "新增批量发送任务"
9
9
  }
10
10
  ],
11
+ "CreateCustomBlacklist": [
12
+ {
13
+ "document": "",
14
+ "input": "POST / HTTP/1.1\nHost: ses.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomBlacklist\n<公共请求参数>\n\n{\n \"ExpireDate\": \"2024-06-19\",\n \"Emails\": [\n \"b@gmail.com\",\n \"a@gmail.com\"\n ]\n}",
15
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}",
16
+ "title": "添加邮箱地址到黑名单"
17
+ }
18
+ ],
11
19
  "CreateEmailAddress": [
12
20
  {
13
21
  "document": "",
@@ -70,6 +78,14 @@
70
78
  "title": "删除收件人黑名单"
71
79
  }
72
80
  ],
81
+ "DeleteCustomBlackList": [
82
+ {
83
+ "document": "",
84
+ "input": "POST / HTTP/1.1\nHost: ses.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCustomBlackList\n<公共请求参数>\n\n{\n \"Emails\": [\n \"b@gmail.com\",\n \"a@gmail.com\"\n ]\n}",
85
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}",
86
+ "title": "删除自定义黑名单邮箱地址"
87
+ }
88
+ ],
73
89
  "DeleteEmailAddress": [
74
90
  {
75
91
  "document": "",
@@ -148,6 +164,14 @@
148
164
  "title": "获取黑名单邮箱地址"
149
165
  }
150
166
  ],
167
+ "ListCustomBlacklist": [
168
+ {
169
+ "document": "",
170
+ "input": "POST / HTTP/1.1\nHost: ses.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListCustomBlacklist\n<公共请求参数>\n\n{\n \"Offset\": 1,\n \"Limit\": 1,\n \"Status\": 1,\n \"Email\": \"abc@mail.com\"\n}",
171
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"CreateTime\": \"2024-06-26 10:04:43\",\n \"Email\": \"abc@foxmail.com\",\n \"ExpireDate\": \"2024-06-27\",\n \"Id\": 304323,\n \"Status\": 1\n },\n {\n \"CreateTime\": \"2024-06-25 14:27:38\",\n \"Email\": \"abc@abc.com\",\n \"ExpireDate\": \"2024-06-26\",\n \"Id\": 304320,\n \"Status\": 0\n }\n ],\n \"RequestId\": \"3df4264a-a5c9-4a4d-abfe-770c730ca683\",\n \"TotalCount\": 293023\n }\n}",
172
+ "title": "获取自定义黑名单列表"
173
+ }
174
+ ],
151
175
  "ListEmailAddress": [
152
176
  {
153
177
  "document": "",
@@ -216,6 +240,14 @@
216
240
  "title": "发送纯文本邮件"
217
241
  }
218
242
  ],
243
+ "UpdateCustomBlackList": [
244
+ {
245
+ "document": "",
246
+ "input": "POST / HTTP/1.1\nHost: ses.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCustomBlackList\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"ExpireDate\": \"2024-06-19\",\n \"Email\": \"b@gmail.com\"\n}",
247
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}",
248
+ "title": "更新自定义黑名单"
249
+ }
250
+ ],
219
251
  "UpdateEmailIdentity": [
220
252
  {
221
253
  "document": "",
@@ -641,6 +641,58 @@ def doSubmitCertificateInformation(args, parsed_globals):
641
641
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
642
642
 
643
643
 
644
+ def doDeleteCertificates(args, parsed_globals):
645
+ g_param = parse_global_arg(parsed_globals)
646
+
647
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
648
+ cred = credential.CVMRoleCredential()
649
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
650
+ cred = credential.STSAssumeRoleCredential(
651
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
652
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
653
+ )
654
+ 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):
655
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
656
+ else:
657
+ cred = credential.Credential(
658
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
659
+ )
660
+ http_profile = HttpProfile(
661
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
662
+ reqMethod="POST",
663
+ endpoint=g_param[OptionsDefine.Endpoint],
664
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
665
+ )
666
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
667
+ if g_param[OptionsDefine.Language]:
668
+ profile.language = g_param[OptionsDefine.Language]
669
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
670
+ client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
671
+ client._sdkVersion += ("_CLI_" + __version__)
672
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
673
+ model = models.DeleteCertificatesRequest()
674
+ model.from_json_string(json.dumps(args))
675
+ start_time = time.time()
676
+ while True:
677
+ rsp = client.DeleteCertificates(model)
678
+ result = rsp.to_json_string()
679
+ try:
680
+ json_obj = json.loads(result)
681
+ except TypeError as e:
682
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
683
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
684
+ break
685
+ cur_time = time.time()
686
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
687
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
688
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
689
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
690
+ else:
691
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
692
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
693
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
694
+
695
+
644
696
  def doDescribeHostDdosInstanceList(args, parsed_globals):
645
697
  g_param = parse_global_arg(parsed_globals)
646
698
 
@@ -3056,6 +3108,7 @@ ACTION_MAP = {
3056
3108
  "DescribePackages": doDescribePackages,
3057
3109
  "DescribeDeployedResources": doDescribeDeployedResources,
3058
3110
  "SubmitCertificateInformation": doSubmitCertificateInformation,
3111
+ "DeleteCertificates": doDeleteCertificates,
3059
3112
  "DescribeHostDdosInstanceList": doDescribeHostDdosInstanceList,
3060
3113
  "VerifyManager": doVerifyManager,
3061
3114
  "DescribeHostClbInstanceList": doDescribeHostClbInstanceList,
@@ -50,7 +50,7 @@
50
50
  "status": "online"
51
51
  },
52
52
  "CreateCertificateBindResourceSyncTask": {
53
- "document": "创建证书绑定关联云资源异步任务, 该接口用于查询证书关联云资源。 若证书ID已存在查询云资源任务,则结果返回该任务ID。关联云资源类型,支持以下云资源:clb、cdn、waf、live、vod、ddos、tke、apigateway、tcb、teo(edgeOne)。查询关联云资源结果使用DescribeCertificateBindResourceTaskResult接口",
53
+ "document": "创建证书绑定关联云资源异步任务, 该接口用于查询证书关联云资源。 若证书ID已存在查询云资源任务,则结果返回该任务ID。关联云资源类型,支持以下云资源:clb、cdn、waf、live、vod、ddos、tke、apigateway、tcb、teo(edgeOne)、cos。查询关联云资源结果使用DescribeCertificateBindResourceTaskResult接口",
54
54
  "input": "CreateCertificateBindResourceSyncTaskRequest",
55
55
  "name": "创建证书关联云资源异步任务",
56
56
  "output": "CreateCertificateBindResourceSyncTaskResponse",
@@ -70,6 +70,13 @@
70
70
  "output": "DeleteCertificateResponse",
71
71
  "status": "online"
72
72
  },
73
+ "DeleteCertificates": {
74
+ "document": "批量删除证书,删除证书前支持查询证书是否关联了腾讯云云资源 (需自定义配置参数,参数名称:IsSync)",
75
+ "input": "DeleteCertificatesRequest",
76
+ "name": "批量删除证书",
77
+ "output": "DeleteCertificatesResponse",
78
+ "status": "online"
79
+ },
73
80
  "DeleteManager": {
74
81
  "document": "删除管理人",
75
82
  "input": "DeleteManagerRequest",
@@ -113,7 +120,7 @@
113
120
  "status": "online"
114
121
  },
115
122
  "DescribeCertificateBindResourceTaskResult": {
116
- "document": "查询CreateCertificateBindResourceSyncTask任务结果, 返回证书关联云资源异步任务结果, 支持以下云资源:clb、cdn、waf、live、vod、ddos、tke、apigateway、tcb、teo(edgeOne",
123
+ "document": "查询CreateCertificateBindResourceSyncTask任务结果, 返回证书关联云资源异步任务结果, 支持以下云资源:clb、cdn、waf、live、vod、ddos、tke、apigateway、tcb、teo(edgeOne)、cos",
117
124
  "input": "DescribeCertificateBindResourceTaskResultRequest",
118
125
  "name": "查询证书关联云资源任务结果 - 仅返回总数",
119
126
  "output": "DescribeCertificateBindResourceTaskResultResponse",
@@ -679,6 +686,32 @@
679
686
  ],
680
687
  "type": "object"
681
688
  },
689
+ "BatchDeleteFail": {
690
+ "document": "批量删除失败的项",
691
+ "members": [
692
+ {
693
+ "disabled": false,
694
+ "document": "失败的证书ID\n注意:此字段可能返回 null,表示取不到有效值。",
695
+ "example": "23y5RzQp",
696
+ "member": "string",
697
+ "name": "CertId",
698
+ "required": false,
699
+ "type": "string",
700
+ "value_allowed_null": true
701
+ },
702
+ {
703
+ "disabled": false,
704
+ "document": "失败的原因\n注意:此字段可能返回 null,表示取不到有效值。",
705
+ "example": "当前证书未过期,不能被删除",
706
+ "member": "string",
707
+ "name": "Msg",
708
+ "required": false,
709
+ "type": "string",
710
+ "value_allowed_null": true
711
+ }
712
+ ],
713
+ "usage": "out"
714
+ },
682
715
  "BindResourceRegionResult": {
683
716
  "document": "绑定资源地域结果",
684
717
  "members": [
@@ -701,6 +734,16 @@
701
734
  "output_required": true,
702
735
  "type": "int",
703
736
  "value_allowed_null": false
737
+ },
738
+ {
739
+ "disabled": false,
740
+ "document": "是否查询异常\n注意:此字段可能返回 null,表示取不到有效值。",
741
+ "example": "无",
742
+ "member": "string",
743
+ "name": "Error",
744
+ "output_required": true,
745
+ "type": "string",
746
+ "value_allowed_null": true
704
747
  }
705
748
  ],
706
749
  "usage": "out"
@@ -2579,6 +2622,53 @@
2579
2622
  ],
2580
2623
  "type": "object"
2581
2624
  },
2625
+ "DeleteCertificatesRequest": {
2626
+ "document": "DeleteCertificates请求参数结构体",
2627
+ "members": [],
2628
+ "type": "object"
2629
+ },
2630
+ "DeleteCertificatesResponse": {
2631
+ "document": "DeleteCertificates返回参数结构体",
2632
+ "members": [
2633
+ {
2634
+ "disabled": false,
2635
+ "document": "成功的ID",
2636
+ "example": "无",
2637
+ "member": "string",
2638
+ "name": "Success",
2639
+ "output_required": true,
2640
+ "type": "list",
2641
+ "value_allowed_null": false
2642
+ },
2643
+ {
2644
+ "disabled": false,
2645
+ "document": "失败的ID和原因",
2646
+ "example": "无",
2647
+ "member": "BatchDeleteFail",
2648
+ "name": "Fail",
2649
+ "output_required": true,
2650
+ "type": "list",
2651
+ "value_allowed_null": false
2652
+ },
2653
+ {
2654
+ "disabled": false,
2655
+ "document": "证书ID和异步任务的ID",
2656
+ "example": "无",
2657
+ "member": "CertTaskId",
2658
+ "name": "CertTaskIds",
2659
+ "output_required": true,
2660
+ "type": "list",
2661
+ "value_allowed_null": false
2662
+ },
2663
+ {
2664
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2665
+ "member": "string",
2666
+ "name": "RequestId",
2667
+ "type": "string"
2668
+ }
2669
+ ],
2670
+ "type": "object"
2671
+ },
2582
2672
  "DeleteManagerRequest": {
2583
2673
  "document": "DeleteManager请求参数结构体",
2584
2674
  "members": [
@@ -9392,7 +9482,7 @@
9392
9482
  },
9393
9483
  {
9394
9484
  "disabled": false,
9395
- "document": "需要部署的资源类型,参数值可选(小写):clb、cdn、waf、live、ddos、teo、apigateway、vod、tke、tcb、tse",
9485
+ "document": "需要部署的资源类型,参数值可选(小写):clb、cdn、waf、live、ddos、teo、apigateway、vod、tke、tcb、tse、cos",
9396
9486
  "example": "无",
9397
9487
  "member": "string",
9398
9488
  "name": "ResourceTypes",
@@ -86,6 +86,14 @@
86
86
  "title": "异步删除"
87
87
  }
88
88
  ],
89
+ "DeleteCertificates": [
90
+ {
91
+ "document": "批量删除",
92
+ "input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCertificates\n<公共请求参数>\n\n{}",
93
+ "output": "{\n \"Response\": {\n \"CertTaskIds\": [\n {\n \"CertId\": \"1ODjBeH8\",\n \"TaskId\": \"1\"\n },\n {\n \"CertId\": \"25EMBPYQ\",\n \"TaskId\": \"2\"\n },\n {\n \"CertId\": \"txV0pewo\",\n \"TaskId\": \"3\"\n },\n {\n \"CertId\": \"rcGiGyTx\",\n \"TaskId\": \"4\"\n },\n {\n \"CertId\": \"4FVmnb1u\",\n \"TaskId\": \"5\"\n }\n ],\n \"Success\": [],\n \"Fail\": [],\n \"RequestId\": \"687f27b0-c256-40ea-adf6-efb715001f2e\"\n }\n}",
94
+ "title": "批量删除"
95
+ }
96
+ ],
89
97
  "DeleteManager": [
90
98
  {
91
99
  "document": "",
@@ -144,7 +152,7 @@
144
152
  {
145
153
  "document": "仅返回总数",
146
154
  "input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCertificateBindResourceTaskResult\n<公共请求参数>\n\n{\n \"TaskIds\": [\n \"abc\"\n ]\n}",
147
- "output": "{\n \"Response\": {\n \"SyncTaskBindResourceResult\": [\n {\n \"TaskId\": \"abc\",\n \"BindResourceResult\": [\n {\n \"ResourceType\": \"abc\",\n \"BindResourceRegionResult\": [\n {\n \"Region\": \"abc\",\n \"TotalCount\": 1\n }\n ]\n }\n ],\n \"Status\": 1,\n \"Error\": {\n \"Code\": \"abc\",\n \"Message\": \"abc\"\n },\n \"CacheTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
155
+ "output": "{\n \"Response\": {\n \"SyncTaskBindResourceResult\": [\n {\n \"TaskId\": \"abc\",\n \"BindResourceResult\": [\n {\n \"ResourceType\": \"abc\",\n \"BindResourceRegionResult\": [\n {\n \"Region\": \"abc\",\n \"TotalCount\": 1,\n \"Error\": \"abc\"\n }\n ]\n }\n ],\n \"Status\": 1,\n \"Error\": {\n \"Code\": \"abc\",\n \"Message\": \"abc\"\n },\n \"CacheTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
148
156
  "title": "查询证书关联云资源结果 "
149
157
  }
150
158
  ],
@@ -4735,7 +4735,7 @@
4735
4735
  },
4736
4736
  {
4737
4737
  "disabled": false,
4738
- "document": "过滤条件",
4738
+ "document": "过滤条件\n- 按照【标签】过滤\n Name: Tags\n Value: tagKey:tagVal\n",
4739
4739
  "example": "无",
4740
4740
  "member": "Filter",
4741
4741
  "name": "Filters",
@@ -4763,6 +4763,7 @@
4763
4763
  "example": "无",
4764
4764
  "member": "TcrNamespaceInfo",
4765
4765
  "name": "NamespaceList",
4766
+ "output_required": true,
4766
4767
  "type": "list",
4767
4768
  "value_allowed_null": false
4768
4769
  },
@@ -4772,6 +4773,7 @@
4772
4773
  "example": "2",
4773
4774
  "member": "int64",
4774
4775
  "name": "TotalCount",
4776
+ "output_required": true,
4775
4777
  "type": "int",
4776
4778
  "value_allowed_null": false
4777
4779
  },
@@ -5113,6 +5115,7 @@
5113
5115
  "example": "[ { \"BriefDescription\": \"\", \"CreationTime\": \"2022-08-02 03:52:06.915755 +0000 UTC\", \"Description\": \"\", \"Name\": \"library/busybox\", \"Namespace\": \"library\", \"Public\": false, \"UpdateTime\": \"2022-08-02 03:52:06.915755 +0000 UTC\" } ],",
5114
5116
  "member": "TcrRepositoryInfo",
5115
5117
  "name": "RepositoryList",
5118
+ "output_required": true,
5116
5119
  "type": "list",
5117
5120
  "value_allowed_null": false
5118
5121
  },
@@ -5122,6 +5125,7 @@
5122
5125
  "example": "1",
5123
5126
  "member": "int64",
5124
5127
  "name": "TotalCount",
5128
+ "output_required": true,
5125
5129
  "type": "int",
5126
5130
  "value_allowed_null": false
5127
5131
  },
@@ -567,7 +567,7 @@
567
567
  "DescribeNamespaces": [
568
568
  {
569
569
  "document": "查询实例内所有的命名空间信息",
570
- "input": "POST / HTTP/1.1\nHost: tcr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNamespaces\n<公共请求参数>\n\n{\n \"Limit\": \"20\",\n \"RegistryId\": \"tcr-f7g1ir99\",\n \"Offset\": \"0\"\n}",
570
+ "input": "POST / HTTP/1.1\nHost: tcr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNamespaces\n<公共请求参数>\n\n{\n \"Limit\": 20,\n \"RegistryId\": \"tcr-f7g1ir99\",\n \"Offset\": 0\n}",
571
571
  "output": "{\n \"Response\": {\n \"NamespaceList\": [\n {\n \"Public\": true,\n \"Name\": \"ns1\",\n \"CreationTime\": \"2020-09-22T00:00:00+00:00\",\n \"NamespaceId\": 1,\n \"TagSpecification\": {\n \"ResourceType\": \"namespace\",\n \"Tags\": [\n {\n \"Value\": \"tag-value\",\n \"Key\": \"tag-key\"\n }\n ]\n },\n \"Metadata\": [\n {\n \"Key\": \"prevent_vul\",\n \"Value\": \"false\"\n }\n ],\n \"CVEWhitelistItems\": [\n {\n \"CVEID\": \"1\"\n }\n ],\n \"AutoScan\": true,\n \"PreventVUL\": true,\n \"Severity\": \"low\"\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"866bda78-ed75-4b10-8876-e82de555f69b\"\n }\n}",
572
572
  "title": "查询命名空间信息"
573
573
  }