tccli 3.0.1311.1__py2.py3-none-any.whl → 3.0.1313.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.
- tccli/__init__.py +1 -1
- tccli/services/autoscaling/v20180419/api.json +164 -161
- tccli/services/autoscaling/v20180419/examples.json +13 -13
- tccli/services/batch/v20170312/api.json +119 -143
- tccli/services/batch/v20170312/examples.json +5 -5
- tccli/services/bh/v20230418/api.json +152 -1
- tccli/services/bi/v20220105/api.json +19 -0
- tccli/services/cbs/v20170312/api.json +19 -16
- tccli/services/cbs/v20170312/examples.json +1 -1
- tccli/services/cdb/v20170320/api.json +30 -9
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cfw/v20190904/api.json +5 -7
- tccli/services/clb/v20180317/api.json +36 -36
- tccli/services/clb/v20180317/examples.json +8 -8
- tccli/services/cynosdb/v20190107/api.json +14 -4
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dbbrain/dbbrain_client.py +147 -41
- tccli/services/dbbrain/v20210527/api.json +224 -0
- tccli/services/dbbrain/v20210527/examples.json +16 -0
- tccli/services/dnspod/dnspod_client.py +53 -0
- tccli/services/dnspod/v20210323/api.json +287 -0
- tccli/services/dnspod/v20210323/examples.json +8 -0
- tccli/services/domain/v20180808/api.json +21 -21
- tccli/services/domain/v20180808/examples.json +2 -2
- tccli/services/emr/v20190103/api.json +20 -0
- tccli/services/ess/v20201111/api.json +9 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/essbasic/v20210526/examples.json +6 -0
- tccli/services/goosefs/v20220519/api.json +5 -5
- tccli/services/ims/v20201229/api.json +93 -102
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/mps/v20190612/api.json +96 -1
- tccli/services/postgres/postgres_client.py +0 -53
- tccli/services/postgres/v20170312/api.json +12 -55
- tccli/services/postgres/v20170312/examples.json +0 -14
- tccli/services/tbaas/tbaas_client.py +0 -53
- tccli/services/tbaas/v20180416/api.json +0 -133
- tccli/services/tbaas/v20180416/examples.json +0 -8
- tccli/services/tcb/v20180608/api.json +5 -5
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +464 -100
- tccli/services/teo/v20220901/examples.json +8 -0
- tccli/services/thpc/thpc_client.py +53 -0
- tccli/services/thpc/v20211109/api.json +2 -2
- tccli/services/thpc/v20220401/api.json +3 -3
- tccli/services/thpc/v20230321/api.json +43 -0
- tccli/services/thpc/v20230321/examples.json +8 -0
- tccli/services/tke/v20180525/api.json +106 -82
- tccli/services/tms/v20201229/api.json +47 -59
- tccli/services/tmt/tmt_client.py +61 -8
- tccli/services/tmt/v20180321/api.json +234 -0
- tccli/services/tmt/v20180321/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +61 -61
- tccli/services/vpc/v20170312/examples.json +10 -10
- tccli/services/waf/v20180125/api.json +11 -0
- tccli/services/wedata/v20210820/api.json +907 -0
- tccli/services/wedata/v20210820/examples.json +40 -0
- tccli/services/wedata/wedata_client.py +277 -12
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/RECORD +64 -64
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1311.1.dist-info → tccli-3.0.1313.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"ChatCompletions": {
|
4
|
-
"document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为100。\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持
|
4
|
+
"document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为100。\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-Prover-V2(model 参数值为**deepseek-prover-v2**)\n - DeepSeek-Prover-V2 为671B 参数 MoE 模型,在数学定理证明和复杂计算任务中表现出色。\n - 支持64K上下文长度,最大输出16k。\n\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-Prover-V2 模型 | 暂不计费\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
|
5
5
|
"input": "ChatCompletionsRequest",
|
6
6
|
"name": "DeepSeek API 接口",
|
7
7
|
"output": "ChatCompletionsResponse",
|
@@ -17941,12 +17941,40 @@
|
|
17941
17941
|
],
|
17942
17942
|
"usage": "out"
|
17943
17943
|
},
|
17944
|
+
"ImageAreaBoxInfo": {
|
17945
|
+
"document": "图片框选区域信息",
|
17946
|
+
"members": [
|
17947
|
+
{
|
17948
|
+
"disabled": false,
|
17949
|
+
"document": "图片框选区域类型,可选值:\n<li>logo:图标;</li>\n<li>text:文字。</li>\n默认值:logo。\n注意:此字段可能返回 null,表示取不到有效值。",
|
17950
|
+
"example": "logo",
|
17951
|
+
"member": "string",
|
17952
|
+
"name": "Type",
|
17953
|
+
"output_required": false,
|
17954
|
+
"required": false,
|
17955
|
+
"type": "string",
|
17956
|
+
"value_allowed_null": true
|
17957
|
+
},
|
17958
|
+
{
|
17959
|
+
"disabled": false,
|
17960
|
+
"document": "图片框选区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。\n示例值:[101, 85, 111, 95]\n注意:此字段可能返回 null,表示取不到有效值。",
|
17961
|
+
"example": "[101, 85, 111, 95]",
|
17962
|
+
"member": "int64",
|
17963
|
+
"name": "AreaCoordSet",
|
17964
|
+
"output_required": false,
|
17965
|
+
"required": false,
|
17966
|
+
"type": "list",
|
17967
|
+
"value_allowed_null": true
|
17968
|
+
}
|
17969
|
+
],
|
17970
|
+
"usage": "both"
|
17971
|
+
},
|
17944
17972
|
"ImageEncodeConfig": {
|
17945
17973
|
"document": "图片编码格式参数",
|
17946
17974
|
"members": [
|
17947
17975
|
{
|
17948
17976
|
"disabled": false,
|
17949
|
-
"document": "图片格式,取值范围:
|
17977
|
+
"document": "图片格式,取值范围:JPEG、PNG、BMP、WebP,缺省为原图格式。不支持动画。\n注意:此字段可能返回 null,表示取不到有效值。",
|
17950
17978
|
"example": "JPEG",
|
17951
17979
|
"member": "string",
|
17952
17980
|
"name": "Format",
|
@@ -17983,6 +18011,17 @@
|
|
17983
18011
|
"type": "object",
|
17984
18012
|
"value_allowed_null": true
|
17985
18013
|
},
|
18014
|
+
{
|
18015
|
+
"disabled": false,
|
18016
|
+
"document": "综合增强配置。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18017
|
+
"example": "无",
|
18018
|
+
"member": "ImageQualityEnhanceConfig",
|
18019
|
+
"name": "ImageQualityEnhance",
|
18020
|
+
"output_required": false,
|
18021
|
+
"required": false,
|
18022
|
+
"type": "object",
|
18023
|
+
"value_allowed_null": true
|
18024
|
+
},
|
17986
18025
|
{
|
17987
18026
|
"disabled": false,
|
17988
18027
|
"document": "色彩增强配置。\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -18019,6 +18058,51 @@
|
|
18019
18058
|
],
|
18020
18059
|
"usage": "both"
|
18021
18060
|
},
|
18061
|
+
"ImageEraseConfig": {
|
18062
|
+
"document": "图片擦除参数",
|
18063
|
+
"members": [
|
18064
|
+
{
|
18065
|
+
"disabled": false,
|
18066
|
+
"document": "图标擦除配置。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18067
|
+
"example": "无",
|
18068
|
+
"member": "ImageEraseLogoConfig",
|
18069
|
+
"name": "ImageEraseLogo",
|
18070
|
+
"output_required": false,
|
18071
|
+
"required": false,
|
18072
|
+
"type": "object",
|
18073
|
+
"value_allowed_null": true
|
18074
|
+
}
|
18075
|
+
],
|
18076
|
+
"usage": "both"
|
18077
|
+
},
|
18078
|
+
"ImageEraseLogoConfig": {
|
18079
|
+
"document": "图标擦除配置",
|
18080
|
+
"members": [
|
18081
|
+
{
|
18082
|
+
"disabled": false,
|
18083
|
+
"document": "能力配置开关,可选值:\n<li>ON:开启;</li>\n<li>OFF:关闭。</li>\n默认值:ON。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18084
|
+
"example": "ON",
|
18085
|
+
"member": "string",
|
18086
|
+
"name": "Switch",
|
18087
|
+
"output_required": false,
|
18088
|
+
"required": false,
|
18089
|
+
"type": "string",
|
18090
|
+
"value_allowed_null": true
|
18091
|
+
},
|
18092
|
+
{
|
18093
|
+
"disabled": false,
|
18094
|
+
"document": "需要擦除的多个框选区域,最多开启16个区域。\n注意:此字段可能返回 null,表示取不到有效值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18095
|
+
"example": "无",
|
18096
|
+
"member": "ImageAreaBoxInfo",
|
18097
|
+
"name": "ImageAreaBoxes",
|
18098
|
+
"output_required": false,
|
18099
|
+
"required": false,
|
18100
|
+
"type": "list",
|
18101
|
+
"value_allowed_null": true
|
18102
|
+
}
|
18103
|
+
],
|
18104
|
+
"usage": "both"
|
18105
|
+
},
|
18022
18106
|
"ImageQualityEnhanceConfig": {
|
18023
18107
|
"document": "综合增强配置",
|
18024
18108
|
"members": [
|
@@ -18288,6 +18372,17 @@
|
|
18288
18372
|
"required": false,
|
18289
18373
|
"type": "object",
|
18290
18374
|
"value_allowed_null": true
|
18375
|
+
},
|
18376
|
+
{
|
18377
|
+
"disabled": false,
|
18378
|
+
"document": "图片擦除配置。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18379
|
+
"example": "无",
|
18380
|
+
"member": "ImageEraseConfig",
|
18381
|
+
"name": "EraseConfig",
|
18382
|
+
"output_required": false,
|
18383
|
+
"required": false,
|
18384
|
+
"type": "object",
|
18385
|
+
"value_allowed_null": true
|
18291
18386
|
}
|
18292
18387
|
],
|
18293
18388
|
"usage": "both"
|
@@ -2253,58 +2253,6 @@ def doDescribeRegions(args, parsed_globals):
|
|
2253
2253
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2254
2254
|
|
2255
2255
|
|
2256
|
-
def doOpenServerlessDBExtranetAccess(args, parsed_globals):
|
2257
|
-
g_param = parse_global_arg(parsed_globals)
|
2258
|
-
|
2259
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2260
|
-
cred = credential.CVMRoleCredential()
|
2261
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2262
|
-
cred = credential.STSAssumeRoleCredential(
|
2263
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2264
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2265
|
-
)
|
2266
|
-
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):
|
2267
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2268
|
-
else:
|
2269
|
-
cred = credential.Credential(
|
2270
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2271
|
-
)
|
2272
|
-
http_profile = HttpProfile(
|
2273
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2274
|
-
reqMethod="POST",
|
2275
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
2276
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2277
|
-
)
|
2278
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2279
|
-
if g_param[OptionsDefine.Language]:
|
2280
|
-
profile.language = g_param[OptionsDefine.Language]
|
2281
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2282
|
-
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
2283
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
2284
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2285
|
-
model = models.OpenServerlessDBExtranetAccessRequest()
|
2286
|
-
model.from_json_string(json.dumps(args))
|
2287
|
-
start_time = time.time()
|
2288
|
-
while True:
|
2289
|
-
rsp = client.OpenServerlessDBExtranetAccess(model)
|
2290
|
-
result = rsp.to_json_string()
|
2291
|
-
try:
|
2292
|
-
json_obj = json.loads(result)
|
2293
|
-
except TypeError as e:
|
2294
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2295
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2296
|
-
break
|
2297
|
-
cur_time = time.time()
|
2298
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2299
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2300
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2301
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2302
|
-
else:
|
2303
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2304
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2305
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2306
|
-
|
2307
|
-
|
2308
2256
|
def doModifyDBInstanceReadOnlyGroup(args, parsed_globals):
|
2309
2257
|
g_param = parse_global_arg(parsed_globals)
|
2310
2258
|
|
@@ -5739,7 +5687,6 @@ ACTION_MAP = {
|
|
5739
5687
|
"DescribeBaseBackups": doDescribeBaseBackups,
|
5740
5688
|
"DescribeAvailableRecoveryTime": doDescribeAvailableRecoveryTime,
|
5741
5689
|
"DescribeRegions": doDescribeRegions,
|
5742
|
-
"OpenServerlessDBExtranetAccess": doOpenServerlessDBExtranetAccess,
|
5743
5690
|
"ModifyDBInstanceReadOnlyGroup": doModifyDBInstanceReadOnlyGroup,
|
5744
5691
|
"CloneDBInstance": doCloneDBInstance,
|
5745
5692
|
"DisIsolateDBInstances": doDisIsolateDBInstances,
|
@@ -57,11 +57,11 @@
|
|
57
57
|
"status": "online"
|
58
58
|
},
|
59
59
|
"CreateDBInstances": {
|
60
|
-
"document": "本接口(CreateDBInstances)用于创建一个或者多个PostgreSQL实例,仅发货实例不会进行初始化。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。",
|
60
|
+
"document": "早期接口,不规范,已提供新接口 CreateInstances 替换\n\n本接口(CreateDBInstances)用于创建一个或者多个PostgreSQL实例,仅发货实例不会进行初始化。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。",
|
61
61
|
"input": "CreateDBInstancesRequest",
|
62
62
|
"name": "创建实例(废弃)",
|
63
63
|
"output": "CreateDBInstancesResponse",
|
64
|
-
"status": "
|
64
|
+
"status": "deprecated"
|
65
65
|
},
|
66
66
|
"CreateDatabase": {
|
67
67
|
"document": "此接口用于创建数据库,需指定数据库名及所有者。",
|
@@ -309,11 +309,11 @@
|
|
309
309
|
"status": "online"
|
310
310
|
},
|
311
311
|
"DescribeDBSlowlogs": {
|
312
|
-
"document": "本接口(DescribeDBSlowlogs)用于获取慢查询日志。本接口已于2021.09.01日废弃,后续此接口将不再返回任何数据,推荐使用接口[DescribeSlowQueryList](https://cloud.tencent.com/document/api/409/60540)替代。",
|
312
|
+
"document": "早期接口不规范,已提供新接口 DescribeSlowQueryList 替换\n\n本接口(DescribeDBSlowlogs)用于获取慢查询日志。本接口已于2021.09.01日废弃,后续此接口将不再返回任何数据,推荐使用接口[DescribeSlowQueryList](https://cloud.tencent.com/document/api/409/60540)替代。",
|
313
313
|
"input": "DescribeDBSlowlogsRequest",
|
314
314
|
"name": "获取慢查询日志 (废弃)",
|
315
315
|
"output": "DescribeDBSlowlogsResponse",
|
316
|
-
"status": "
|
316
|
+
"status": "deprecated"
|
317
317
|
},
|
318
318
|
"DescribeDBVersions": {
|
319
319
|
"document": "本接口(DescribeDBVersions)用于查询支持的数据库版本。",
|
@@ -477,11 +477,11 @@
|
|
477
477
|
"status": "online"
|
478
478
|
},
|
479
479
|
"InitDBInstances": {
|
480
|
-
"document": "本接口(InitDBInstances)用于初始化云数据库PostgreSQL实例。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。",
|
480
|
+
"document": "早期接口,不规范,已提供新接口 CreateInstances 替换\n\n本接口(InitDBInstances)用于初始化云数据库PostgreSQL实例。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。",
|
481
481
|
"input": "InitDBInstancesRequest",
|
482
482
|
"name": "初始化实例(废弃)",
|
483
483
|
"output": "InitDBInstancesResponse",
|
484
|
-
"status": "
|
484
|
+
"status": "deprecated"
|
485
485
|
},
|
486
486
|
"InquiryPriceCreateDBInstances": {
|
487
487
|
"document": "本接口 (InquiryPriceCreateDBInstances) 用于查询购买实例的价格信息。",
|
@@ -672,13 +672,6 @@
|
|
672
672
|
"output": "OpenDBExtranetAccessResponse",
|
673
673
|
"status": "online"
|
674
674
|
},
|
675
|
-
"OpenServerlessDBExtranetAccess": {
|
676
|
-
"document": "该产品形态需要下线,已完成客户实例全部下线、后端服务下线等\n\n【接口下线中,请勿使用】本接口(OpenServerlessDBExtranetAccess)用于开通serverlessDB实例公网地址。",
|
677
|
-
"input": "OpenServerlessDBExtranetAccessRequest",
|
678
|
-
"name": "【废弃】开通serverlessDB实例公网地址",
|
679
|
-
"output": "OpenServerlessDBExtranetAccessResponse",
|
680
|
-
"status": "deprecated"
|
681
|
-
},
|
682
675
|
"RebalanceReadOnlyGroup": {
|
683
676
|
"document": "本接口(RebalanceReadOnlyGroup)用于重新均衡 RO 组内实例的负载。注意,RO 组内 RO 实例会有一次数据库连接瞬断,请确保应用程序能重连数据库,谨慎操作。",
|
684
677
|
"input": "RebalanceReadOnlyGroupRequest",
|
@@ -743,11 +736,11 @@
|
|
743
736
|
"status": "online"
|
744
737
|
},
|
745
738
|
"UpgradeDBInstance": {
|
746
|
-
"document": "本接口(UpgradeDBInstance)用于升级实例配置。本接口已废弃,推荐使用接口[ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)替代。",
|
739
|
+
"document": "早期接口,不规范,已提供新接口 ModifyDBInstanceSpec 替换\n\n本接口(UpgradeDBInstance)用于升级实例配置。本接口已废弃,推荐使用接口[ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)替代。",
|
747
740
|
"input": "UpgradeDBInstanceRequest",
|
748
741
|
"name": "升级实例配置(废弃)",
|
749
742
|
"output": "UpgradeDBInstanceResponse",
|
750
|
-
"status": "
|
743
|
+
"status": "deprecated"
|
751
744
|
},
|
752
745
|
"UpgradeDBInstanceKernelVersion": {
|
753
746
|
"document": "本接口(UpgradeDBInstanceKernelVersion)用于升级实例的内核版本号。",
|
@@ -2895,8 +2888,8 @@
|
|
2895
2888
|
"type": "string"
|
2896
2889
|
},
|
2897
2890
|
{
|
2898
|
-
"disabled":
|
2899
|
-
"document": "
|
2891
|
+
"disabled": true,
|
2892
|
+
"document": "不再需要指定,内核版本号与主实例保持一致",
|
2900
2893
|
"example": "DBVersion",
|
2901
2894
|
"member": "string",
|
2902
2895
|
"name": "DBVersion",
|
@@ -8201,8 +8194,8 @@
|
|
8201
8194
|
"type": "string"
|
8202
8195
|
},
|
8203
8196
|
{
|
8204
|
-
"disabled":
|
8205
|
-
"document": "
|
8197
|
+
"disabled": true,
|
8198
|
+
"document": "实例计费类型。",
|
8206
8199
|
"example": "PREPAID",
|
8207
8200
|
"member": "string",
|
8208
8201
|
"name": "InstanceChargeType",
|
@@ -9988,42 +9981,6 @@
|
|
9988
9981
|
],
|
9989
9982
|
"type": "object"
|
9990
9983
|
},
|
9991
|
-
"OpenServerlessDBExtranetAccessRequest": {
|
9992
|
-
"document": "OpenServerlessDBExtranetAccess请求参数结构体",
|
9993
|
-
"members": [
|
9994
|
-
{
|
9995
|
-
"disabled": false,
|
9996
|
-
"document": "实例的唯一标识符",
|
9997
|
-
"example": "postgres-apzvwncr",
|
9998
|
-
"member": "string",
|
9999
|
-
"name": "DBInstanceId",
|
10000
|
-
"required": false,
|
10001
|
-
"type": "string"
|
10002
|
-
},
|
10003
|
-
{
|
10004
|
-
"disabled": false,
|
10005
|
-
"document": "实例名称",
|
10006
|
-
"example": "user-data-db",
|
10007
|
-
"member": "string",
|
10008
|
-
"name": "DBInstanceName",
|
10009
|
-
"required": false,
|
10010
|
-
"type": "string"
|
10011
|
-
}
|
10012
|
-
],
|
10013
|
-
"type": "object"
|
10014
|
-
},
|
10015
|
-
"OpenServerlessDBExtranetAccessResponse": {
|
10016
|
-
"document": "OpenServerlessDBExtranetAccess返回参数结构体",
|
10017
|
-
"members": [
|
10018
|
-
{
|
10019
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10020
|
-
"member": "string",
|
10021
|
-
"name": "RequestId",
|
10022
|
-
"type": "string"
|
10023
|
-
}
|
10024
|
-
],
|
10025
|
-
"type": "object"
|
10026
|
-
},
|
10027
9984
|
"ParamEntry": {
|
10028
9985
|
"document": "批量修改参数",
|
10029
9986
|
"members": [
|
@@ -924,20 +924,6 @@
|
|
924
924
|
"title": "开通实例外网"
|
925
925
|
}
|
926
926
|
],
|
927
|
-
"OpenServerlessDBExtranetAccess": [
|
928
|
-
{
|
929
|
-
"document": "根据实例ID开通serverless实例外网",
|
930
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenServerlessDBExtranetAccess\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-apzvwncr\"\n}",
|
931
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
932
|
-
"title": "根据实例ID开通serverless实例外网"
|
933
|
-
},
|
934
|
-
{
|
935
|
-
"document": "根据实例名开通serverless实例外网",
|
936
|
-
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenServerlessDBExtranetAccess\n<公共请求参数>\n\n{\n \"DBInstanceName\": \"db-test\"\n}",
|
937
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
|
938
|
-
"title": "根据实例名开通serverless实例外网"
|
939
|
-
}
|
940
|
-
],
|
941
927
|
"RebalanceReadOnlyGroup": [
|
942
928
|
{
|
943
929
|
"document": "",
|
@@ -537,58 +537,6 @@ def doDownloadUserCert(args, parsed_globals):
|
|
537
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
538
|
|
539
539
|
|
540
|
-
def doGetLatesdTransactionList(args, parsed_globals):
|
541
|
-
g_param = parse_global_arg(parsed_globals)
|
542
|
-
|
543
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
544
|
-
cred = credential.CVMRoleCredential()
|
545
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
546
|
-
cred = credential.STSAssumeRoleCredential(
|
547
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
548
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
549
|
-
)
|
550
|
-
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):
|
551
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
552
|
-
else:
|
553
|
-
cred = credential.Credential(
|
554
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
555
|
-
)
|
556
|
-
http_profile = HttpProfile(
|
557
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
558
|
-
reqMethod="POST",
|
559
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
560
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
561
|
-
)
|
562
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
563
|
-
if g_param[OptionsDefine.Language]:
|
564
|
-
profile.language = g_param[OptionsDefine.Language]
|
565
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
566
|
-
client = mod.TbaasClient(cred, g_param[OptionsDefine.Region], profile)
|
567
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
568
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
-
model = models.GetLatesdTransactionListRequest()
|
570
|
-
model.from_json_string(json.dumps(args))
|
571
|
-
start_time = time.time()
|
572
|
-
while True:
|
573
|
-
rsp = client.GetLatesdTransactionList(model)
|
574
|
-
result = rsp.to_json_string()
|
575
|
-
try:
|
576
|
-
json_obj = json.loads(result)
|
577
|
-
except TypeError as e:
|
578
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
579
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
580
|
-
break
|
581
|
-
cur_time = time.time()
|
582
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
583
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
584
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
585
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
586
|
-
else:
|
587
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
588
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
589
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
|
-
|
591
|
-
|
592
540
|
def doApplyUserCert(args, parsed_globals):
|
593
541
|
g_param = parse_global_arg(parsed_globals)
|
594
542
|
|
@@ -1338,7 +1286,6 @@ ACTION_MAP = {
|
|
1338
1286
|
"GetClusterSummary": doGetClusterSummary,
|
1339
1287
|
"GetLatestTransactionList": doGetLatestTransactionList,
|
1340
1288
|
"DownloadUserCert": doDownloadUserCert,
|
1341
|
-
"GetLatesdTransactionList": doGetLatesdTransactionList,
|
1342
1289
|
"ApplyUserCert": doApplyUserCert,
|
1343
1290
|
"InvokeChainMakerContract": doInvokeChainMakerContract,
|
1344
1291
|
"GetInvokeTx": doGetInvokeTx,
|
@@ -63,13 +63,6 @@
|
|
63
63
|
"output": "GetInvokeTxResponse",
|
64
64
|
"status": "online"
|
65
65
|
},
|
66
|
-
"GetLatesdTransactionList": {
|
67
|
-
"document": "获取最新交易列表(已废弃)",
|
68
|
-
"input": "GetLatesdTransactionListRequest",
|
69
|
-
"name": "获取最新交易列表(已废弃)",
|
70
|
-
"output": "GetLatesdTransactionListResponse",
|
71
|
-
"status": "online"
|
72
|
-
},
|
73
66
|
"GetLatestTransactionList": {
|
74
67
|
"document": "获取fabric最新交易列表",
|
75
68
|
"input": "GetLatestTransactionListRequest",
|
@@ -1496,132 +1489,6 @@
|
|
1496
1489
|
],
|
1497
1490
|
"type": "object"
|
1498
1491
|
},
|
1499
|
-
"GetLatesdTransactionListRequest": {
|
1500
|
-
"document": "GetLatesdTransactionList请求参数结构体",
|
1501
|
-
"members": [
|
1502
|
-
{
|
1503
|
-
"disabled": false,
|
1504
|
-
"document": "模块名称,固定字段:transaction",
|
1505
|
-
"example": "transaction",
|
1506
|
-
"member": "string",
|
1507
|
-
"name": "Module",
|
1508
|
-
"required": true,
|
1509
|
-
"type": "string"
|
1510
|
-
},
|
1511
|
-
{
|
1512
|
-
"disabled": false,
|
1513
|
-
"document": "操作名称,固定字段:latest_transaction_list",
|
1514
|
-
"example": "latest_transaction_list",
|
1515
|
-
"member": "string",
|
1516
|
-
"name": "Operation",
|
1517
|
-
"required": true,
|
1518
|
-
"type": "string"
|
1519
|
-
},
|
1520
|
-
{
|
1521
|
-
"disabled": false,
|
1522
|
-
"document": "组织ID,固定字段:0",
|
1523
|
-
"example": "0",
|
1524
|
-
"member": "uint64",
|
1525
|
-
"name": "GroupId",
|
1526
|
-
"required": true,
|
1527
|
-
"type": "int"
|
1528
|
-
},
|
1529
|
-
{
|
1530
|
-
"disabled": false,
|
1531
|
-
"document": "通道ID,固定字段:0",
|
1532
|
-
"example": "0",
|
1533
|
-
"member": "uint64",
|
1534
|
-
"name": "ChannelId",
|
1535
|
-
"required": true,
|
1536
|
-
"type": "int"
|
1537
|
-
},
|
1538
|
-
{
|
1539
|
-
"disabled": false,
|
1540
|
-
"document": "获取的最新交易的区块数量,取值范围1~5",
|
1541
|
-
"example": "5",
|
1542
|
-
"member": "uint64",
|
1543
|
-
"name": "LatestBlockNumber",
|
1544
|
-
"required": true,
|
1545
|
-
"type": "int"
|
1546
|
-
},
|
1547
|
-
{
|
1548
|
-
"disabled": false,
|
1549
|
-
"document": "调用接口的组织名称,可以在组织管理列表中获取当前组织的名称",
|
1550
|
-
"example": "liulanOrg",
|
1551
|
-
"member": "string",
|
1552
|
-
"name": "GroupName",
|
1553
|
-
"required": true,
|
1554
|
-
"type": "string"
|
1555
|
-
},
|
1556
|
-
{
|
1557
|
-
"disabled": false,
|
1558
|
-
"document": "需要查询的通道名称,可在通道详情或列表中获取",
|
1559
|
-
"example": "kylotst",
|
1560
|
-
"member": "string",
|
1561
|
-
"name": "ChannelName",
|
1562
|
-
"required": true,
|
1563
|
-
"type": "string"
|
1564
|
-
},
|
1565
|
-
{
|
1566
|
-
"disabled": false,
|
1567
|
-
"document": "区块链网络ID,可在区块链网络详情或列表中获取",
|
1568
|
-
"example": "251005746bc0f03q8u93j",
|
1569
|
-
"member": "string",
|
1570
|
-
"name": "ClusterId",
|
1571
|
-
"required": true,
|
1572
|
-
"type": "string"
|
1573
|
-
},
|
1574
|
-
{
|
1575
|
-
"disabled": false,
|
1576
|
-
"document": "需要获取的起始交易偏移",
|
1577
|
-
"example": "0",
|
1578
|
-
"member": "uint64",
|
1579
|
-
"name": "Offset",
|
1580
|
-
"required": false,
|
1581
|
-
"type": "int"
|
1582
|
-
},
|
1583
|
-
{
|
1584
|
-
"disabled": false,
|
1585
|
-
"document": "需要获取的交易数量",
|
1586
|
-
"example": "10",
|
1587
|
-
"member": "uint64",
|
1588
|
-
"name": "Limit",
|
1589
|
-
"required": false,
|
1590
|
-
"type": "int"
|
1591
|
-
}
|
1592
|
-
],
|
1593
|
-
"type": "object"
|
1594
|
-
},
|
1595
|
-
"GetLatesdTransactionListResponse": {
|
1596
|
-
"document": "GetLatesdTransactionList返回参数结构体",
|
1597
|
-
"members": [
|
1598
|
-
{
|
1599
|
-
"disabled": false,
|
1600
|
-
"document": "交易总数量",
|
1601
|
-
"example": "5",
|
1602
|
-
"member": "uint64",
|
1603
|
-
"name": "TotalCount",
|
1604
|
-
"type": "int",
|
1605
|
-
"value_allowed_null": false
|
1606
|
-
},
|
1607
|
-
{
|
1608
|
-
"disabled": false,
|
1609
|
-
"document": "交易列表",
|
1610
|
-
"example": "无",
|
1611
|
-
"member": "TransactionItem",
|
1612
|
-
"name": "TransactionList",
|
1613
|
-
"type": "list",
|
1614
|
-
"value_allowed_null": false
|
1615
|
-
},
|
1616
|
-
{
|
1617
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1618
|
-
"member": "string",
|
1619
|
-
"name": "RequestId",
|
1620
|
-
"type": "string"
|
1621
|
-
}
|
1622
|
-
],
|
1623
|
-
"type": "object"
|
1624
|
-
},
|
1625
1492
|
"GetLatestTransactionListRequest": {
|
1626
1493
|
"document": "GetLatestTransactionList请求参数结构体",
|
1627
1494
|
"members": [
|
@@ -72,14 +72,6 @@
|
|
72
72
|
"title": "查询异步模式下Invoke接口的调用结果"
|
73
73
|
}
|
74
74
|
],
|
75
|
-
"GetLatesdTransactionList": [
|
76
|
-
{
|
77
|
-
"document": "获取最新5个区块的交易列表",
|
78
|
-
"input": "https://tbaas.tencentcloudapi.com/?Action=GetLatesdTransactionList\n&Module=transaction\n&Operation=latest_transaction_list\n&GroupId=0\n&ChannelId=0\n&LatestBlockNumber=5\n&GroupName=liulanOrg\n&ChannelName=kylotst\n&ClusterId=251005746bc0f03q8u93j\n&Offset=0\n&Limit=10\n&<公共请求参数>",
|
79
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"68cd2009-6a2b-481e-850e-08522a546221\",\n \"TotalCount\": 5,\n \"TransactionList\": [\n {\n \"BlockHeight\": 6,\n \"BlockId\": 5,\n \"CreateOrgName\": \"liulanOrg\",\n \"CreateTime\": \"2019-04-24 11:39:52\",\n \"TransactionHash\": \"da6a44da08bda02fb94b2b3fb684350a7f636044f348dbed9804f1dc143d2a01\",\n \"TransactionId\": \"4ea1f77d1c2622f6672e37c611a0542dc9e21b15298b03de4127df454a17a457\",\n \"TransactionStatus\": \"VALID\",\n \"TransactionType\": \"ENDORSER_TRANSACTION\"\n },\n {\n \"BlockHeight\": 5,\n \"BlockId\": 4,\n \"CreateOrgName\": \"liulanOrg\",\n \"CreateTime\": \"2019-04-24 11:39:25\",\n \"TransactionHash\": \"6e8a88088e1c0b111f7ff0f74e7891a15c5c32cd1fa68d8e5f8d11637fd4ca04\",\n \"TransactionId\": \"9f2e40a4443d9928ed9b8266e893ac90ed00381227994281833ecd4393d40b15\",\n \"TransactionStatus\": \"VALID\",\n \"TransactionType\": \"ENDORSER_TRANSACTION\"\n },\n {\n \"BlockHeight\": 4,\n \"BlockId\": 3,\n \"CreateOrgName\": \"liulanOrg\",\n \"CreateTime\": \"2019-04-23 19:15:59\",\n \"TransactionHash\": \"421234c8ad48052f202a262f1fe739b963831c423b2d0028ba7496eca837cac9\",\n \"TransactionId\": \"bf2cdfd82a7b9a9a5ce135ef41687f3f04496c41575e2994fae99b58bec80754\",\n \"TransactionStatus\": \"VALID\",\n \"TransactionType\": \"ENDORSER_TRANSACTION\"\n },\n {\n \"BlockHeight\": 3,\n \"BlockId\": 2,\n \"CreateOrgName\": \"liulanOrg\",\n \"CreateTime\": \"2019-04-23 19:14:23\",\n \"TransactionHash\": \"57407887234a4645c7b339aea5e94d3cf5f017f5eb05037a2c12fecf9d4fd6ae\",\n \"TransactionId\": \"71594843087d3435c2aa74f69d9d995ed97fff4951778b86956c2c069691fb54\",\n \"TransactionStatus\": \"VALID\",\n \"TransactionType\": \"ENDORSER_TRANSACTION\"\n },\n {\n \"BlockHeight\": 2,\n \"BlockId\": 1,\n \"CreateOrgName\": \"liulanOrg\",\n \"CreateTime\": \"2019-04-23 14:34:29\",\n \"TransactionHash\": \"9d798fe9f0eeaf5193ec1f9dc21e930bf3232820ddc1db18625b9f02bd35f54a\",\n \"TransactionId\": \"4ee11735f87b34673ea88c162e71b20fb71f798e89231e45bc0fbc6b9f09d02c\",\n \"TransactionStatus\": \"VALID\",\n \"TransactionType\": \"ENDORSER_TRANSACTION\"\n }\n ]\n }\n}",
|
80
|
-
"title": "获取最新5个区块的交易列表"
|
81
|
-
}
|
82
|
-
],
|
83
75
|
"GetLatestTransactionList": [
|
84
76
|
{
|
85
77
|
"document": "获取fabric最新交易列表",
|