tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1285.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/acp/v20220105/api.json +23 -23
- tccli/services/acp/v20220105/examples.json +2 -8
- tccli/services/advisor/v20200721/api.json +4 -2
- tccli/services/apm/v20210622/api.json +1 -1
- tccli/services/autoscaling/v20180419/api.json +88 -86
- tccli/services/bh/bh_client.py +53 -0
- tccli/services/bh/v20230418/api.json +199 -0
- tccli/services/bh/v20230418/examples.json +8 -0
- tccli/services/cdn/v20180606/api.json +4 -2
- tccli/services/cdwch/v20200915/api.json +19 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfg/v20210820/api.json +48 -24
- tccli/services/cfg/v20210820/examples.json +8 -2
- tccli/services/clb/v20180317/api.json +21 -3
- tccli/services/cmq/v20190304/api.json +92 -92
- tccli/services/cynosdb/v20190107/api.json +389 -379
- tccli/services/dbbrain/v20191016/api.json +17 -17
- tccli/services/dbbrain/v20210527/api.json +22 -22
- tccli/services/dcdb/v20180411/api.json +14 -4
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +130 -58
- tccli/services/dlc/v20210125/examples.json +5 -5
- tccli/services/domain/v20180808/api.json +160 -160
- tccli/services/dsgc/v20190723/api.json +2 -2
- tccli/services/dts/v20180330/api.json +19 -19
- tccli/services/dts/v20211206/api.json +829 -818
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +247 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/v20180416/api.json +13 -3
- tccli/services/es/v20180416/examples.json +2 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +122 -1
- tccli/services/ess/v20201111/examples.json +26 -0
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +163 -0
- tccli/services/essbasic/v20210526/examples.json +26 -0
- tccli/services/fmu/fmu_client.py +8 -167
- tccli/services/fmu/v20191213/api.json +0 -292
- tccli/services/fmu/v20191213/examples.json +0 -24
- tccli/services/goosefs/v20220519/api.json +26 -24
- tccli/services/goosefs/v20220519/examples.json +2 -2
- tccli/services/iotcloud/v20210408/api.json +27 -27
- tccli/services/iotcloud/v20210408/examples.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +0 -106
- tccli/services/iotexplorer/v20190423/api.json +0 -274
- tccli/services/iotexplorer/v20190423/examples.json +0 -16
- tccli/services/iss/v20230517/api.json +547 -537
- tccli/services/iss/v20230517/examples.json +2 -2
- tccli/services/kms/v20190118/api.json +20 -0
- tccli/services/lcic/lcic_client.py +114 -8
- tccli/services/lcic/v20220817/api.json +108 -0
- tccli/services/lcic/v20220817/examples.json +16 -0
- tccli/services/lke/v20231130/api.json +8 -8
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lowcode/v20210108/api.json +165 -165
- tccli/services/lowcode/v20210108/examples.json +5 -5
- tccli/services/mariadb/v20170312/api.json +12 -2
- tccli/services/mariadb/v20170312/examples.json +4 -4
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +63 -0
- tccli/services/mongodb/v20190725/examples.json +14 -0
- tccli/services/monitor/v20180724/api.json +36 -36
- tccli/services/monitor/v20180724/examples.json +10 -10
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +61 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +11 -2
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +40 -0
- tccli/services/svp/svp_client.py +57 -4
- tccli/services/svp/v20240125/api.json +319 -0
- tccli/services/svp/v20240125/examples.json +8 -0
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +118 -212
- tccli/services/tdmq/v20200217/examples.json +0 -8
- tccli/services/tds/v20220801/api.json +2 -2
- tccli/services/tione/v20211111/api.json +41 -1
- tccli/services/trtc/v20190722/api.json +16 -5
- tccli/services/tse/v20201207/api.json +207 -104
- tccli/services/tsf/tsf_client.py +53 -0
- tccli/services/tsf/v20180326/api.json +48 -4
- tccli/services/tsf/v20180326/examples.json +8 -0
- tccli/services/vclm/v20240523/api.json +20 -2
- tccli/services/vdb/v20230616/api.json +62 -62
- tccli/services/vdb/v20230616/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +54 -0
- tccli/services/vpc/v20170312/examples.json +8 -0
- tccli/services/vpc/vpc_client.py +53 -0
- tccli/services/waf/v20180125/api.json +143 -0
- tccli/services/waf/v20180125/examples.json +16 -0
- tccli/services/waf/waf_client.py +106 -0
- tccli/services/wedata/v20210820/api.json +1220 -5
- tccli/services/wedata/v20210820/examples.json +32 -8
- tccli/services/wedata/wedata_client.py +159 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +104 -104
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/tsf/tsf_client.py
CHANGED
@@ -7817,6 +7817,58 @@ def doEnableTask(args, parsed_globals):
|
|
7817
7817
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7818
7818
|
|
7819
7819
|
|
7820
|
+
def doDescribeMicroservicesByGroupIds(args, parsed_globals):
|
7821
|
+
g_param = parse_global_arg(parsed_globals)
|
7822
|
+
|
7823
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
7824
|
+
cred = credential.CVMRoleCredential()
|
7825
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
7826
|
+
cred = credential.STSAssumeRoleCredential(
|
7827
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
7828
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
7829
|
+
)
|
7830
|
+
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):
|
7831
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
7832
|
+
else:
|
7833
|
+
cred = credential.Credential(
|
7834
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
7835
|
+
)
|
7836
|
+
http_profile = HttpProfile(
|
7837
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
7838
|
+
reqMethod="POST",
|
7839
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
7840
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
7841
|
+
)
|
7842
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
7843
|
+
if g_param[OptionsDefine.Language]:
|
7844
|
+
profile.language = g_param[OptionsDefine.Language]
|
7845
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
7846
|
+
client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile)
|
7847
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
7848
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7849
|
+
model = models.DescribeMicroservicesByGroupIdsRequest()
|
7850
|
+
model.from_json_string(json.dumps(args))
|
7851
|
+
start_time = time.time()
|
7852
|
+
while True:
|
7853
|
+
rsp = client.DescribeMicroservicesByGroupIds(model)
|
7854
|
+
result = rsp.to_json_string()
|
7855
|
+
try:
|
7856
|
+
json_obj = json.loads(result)
|
7857
|
+
except TypeError as e:
|
7858
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
7859
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
7860
|
+
break
|
7861
|
+
cur_time = time.time()
|
7862
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
7863
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
7864
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
7865
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
7866
|
+
else:
|
7867
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
7868
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
7869
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7870
|
+
|
7871
|
+
|
7820
7872
|
def doCreateMicroserviceWithDetailResp(args, parsed_globals):
|
7821
7873
|
g_param = parse_global_arg(parsed_globals)
|
7822
7874
|
|
@@ -11722,6 +11774,7 @@ ACTION_MAP = {
|
|
11722
11774
|
"ChangeApiUsableStatus": doChangeApiUsableStatus,
|
11723
11775
|
"ModifyLane": doModifyLane,
|
11724
11776
|
"EnableTask": doEnableTask,
|
11777
|
+
"DescribeMicroservicesByGroupIds": doDescribeMicroservicesByGroupIds,
|
11725
11778
|
"CreateMicroserviceWithDetailResp": doCreateMicroserviceWithDetailResp,
|
11726
11779
|
"ModifyMicroservice": doModifyMicroservice,
|
11727
11780
|
"EnableTaskFlow": doEnableTaskFlow,
|
@@ -868,6 +868,13 @@
|
|
868
868
|
"output": "DescribeMicroservicesResponse",
|
869
869
|
"status": "online"
|
870
870
|
},
|
871
|
+
"DescribeMicroservicesByGroupIds": {
|
872
|
+
"document": "通过部署组ID获取微服务",
|
873
|
+
"input": "DescribeMicroservicesByGroupIdsRequest",
|
874
|
+
"name": "通过部署组ID获取微服务",
|
875
|
+
"output": "DescribeMicroservicesByGroupIdsResponse",
|
876
|
+
"status": "online"
|
877
|
+
},
|
871
878
|
"DescribeMsApiList": {
|
872
879
|
"document": "查询服务API列表",
|
873
880
|
"input": "DescribeMsApiListRequest",
|
@@ -7159,8 +7166,8 @@
|
|
7159
7166
|
},
|
7160
7167
|
{
|
7161
7168
|
"disabled": false,
|
7162
|
-
"document": "
|
7163
|
-
"example": "
|
7169
|
+
"document": "编程语言: Java;C/C++;Python;Go;Other",
|
7170
|
+
"example": "Java",
|
7164
7171
|
"member": "string",
|
7165
7172
|
"name": "ProgramLanguage",
|
7166
7173
|
"required": false,
|
@@ -15474,6 +15481,43 @@
|
|
15474
15481
|
],
|
15475
15482
|
"type": "object"
|
15476
15483
|
},
|
15484
|
+
"DescribeMicroservicesByGroupIdsRequest": {
|
15485
|
+
"document": "DescribeMicroservicesByGroupIds请求参数结构体",
|
15486
|
+
"members": [
|
15487
|
+
{
|
15488
|
+
"disabled": false,
|
15489
|
+
"document": "部署组ID列表",
|
15490
|
+
"example": "[\"group-6a7eb39y\",\"group-nalb5dwv\"]",
|
15491
|
+
"member": "string",
|
15492
|
+
"name": "GroupIds",
|
15493
|
+
"required": true,
|
15494
|
+
"type": "list"
|
15495
|
+
}
|
15496
|
+
],
|
15497
|
+
"type": "object"
|
15498
|
+
},
|
15499
|
+
"DescribeMicroservicesByGroupIdsResponse": {
|
15500
|
+
"document": "DescribeMicroservicesByGroupIds返回参数结构体",
|
15501
|
+
"members": [
|
15502
|
+
{
|
15503
|
+
"disabled": false,
|
15504
|
+
"document": "微服务信息分页列表",
|
15505
|
+
"example": "{\"Content\":[{\"GroupIds\":[\"group-nalb5dwv\"],\"MicroserviceId\":\"ms-id\",\"MicroserviceName\":\"ms-name\",\"NamespaceId\":\"namespace-id\",\"NamespaceName\":\"ns_default\",\"RunInstanceCount\":1}],\"TotalCount\":1}",
|
15506
|
+
"member": "TsfPageMicroservice",
|
15507
|
+
"name": "Result",
|
15508
|
+
"output_required": true,
|
15509
|
+
"type": "object",
|
15510
|
+
"value_allowed_null": false
|
15511
|
+
},
|
15512
|
+
{
|
15513
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
15514
|
+
"member": "string",
|
15515
|
+
"name": "RequestId",
|
15516
|
+
"type": "string"
|
15517
|
+
}
|
15518
|
+
],
|
15519
|
+
"type": "object"
|
15520
|
+
},
|
15477
15521
|
"DescribeMicroservicesRequest": {
|
15478
15522
|
"document": "DescribeMicroservices请求参数结构体",
|
15479
15523
|
"members": [
|
@@ -26929,8 +26973,8 @@
|
|
26929
26973
|
},
|
26930
26974
|
{
|
26931
26975
|
"disabled": false,
|
26932
|
-
"document": "
|
26933
|
-
"example": "
|
26976
|
+
"document": "服务治理类型(枚举:SHARE、EXCLUSIVE)",
|
26977
|
+
"example": "SHARE",
|
26934
26978
|
"member": "string",
|
26935
26979
|
"name": "GovernanceType",
|
26936
26980
|
"output_required": false,
|
@@ -992,6 +992,14 @@
|
|
992
992
|
"title": "获取微服务列表"
|
993
993
|
}
|
994
994
|
],
|
995
|
+
"DescribeMicroservicesByGroupIds": [
|
996
|
+
{
|
997
|
+
"document": "",
|
998
|
+
"input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMicroservicesByGroupIds\n<公共请求参数>\n\n{\n \"GroupIds\": [\n \"group-6a7eb39y\",\n \"group-nalb5dwv\"\n ]\n}",
|
999
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3b3b8c47-e7fa-4938-b9a3-cd2c962de722\",\n \"Result\": {\n \"Content\": [\n {\n \"CreateTime\": null,\n \"CriticalInstanceCount\": null,\n \"MicroserviceDesc\": null,\n \"MicroserviceId\": \"ms-yrkd4dla\",\n \"MicroserviceName\": \"consumer-demo\",\n \"NamespaceId\": \"namespace-9yn23x4y\",\n \"RunInstanceCount\": 1,\n \"UpdateTime\": null\n },\n {\n \"CreateTime\": null,\n \"CriticalInstanceCount\": null,\n \"MicroserviceDesc\": null,\n \"MicroserviceId\": \"ms-ymbjjl3v\",\n \"MicroserviceName\": \"provider-demo\",\n \"NamespaceId\": \"namespace-4y4g8pyk\",\n \"RunInstanceCount\": 1,\n \"UpdateTime\": null\n }\n ],\n \"TotalCount\": 2\n }\n }\n}",
|
1000
|
+
"title": "通过部署组ID获取微服务"
|
1001
|
+
}
|
1002
|
+
],
|
995
1003
|
"DescribeMsApiList": [
|
996
1004
|
{
|
997
1005
|
"document": "查询微服务API列表",
|
@@ -89,12 +89,21 @@
|
|
89
89
|
},
|
90
90
|
{
|
91
91
|
"disabled": false,
|
92
|
-
"document": "
|
92
|
+
"document": "是否对输入图采用加强检测方案。\n\n默认不加强检测(false),仅对输入图做必要的基础检测。\n\n开启加强检测(true)有助于提升效果稳定性,将根据选择的动作模板提取建议的人体关键点,并判断输入图中是否包含这些人体关键点。加强检测仅对人像输入图生效,对非人输入图不生效。",
|
93
93
|
"example": "false",
|
94
94
|
"member": "bool",
|
95
95
|
"name": "EnableBodyJoins",
|
96
96
|
"required": false,
|
97
97
|
"type": "bool"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"disabled": false,
|
101
|
+
"document": "是否开启人脸检测。\n\n默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。",
|
102
|
+
"example": "false",
|
103
|
+
"member": "bool",
|
104
|
+
"name": "EnableFace",
|
105
|
+
"required": false,
|
106
|
+
"type": "bool"
|
98
107
|
}
|
99
108
|
],
|
100
109
|
"type": "object"
|
@@ -482,7 +491,7 @@
|
|
482
491
|
},
|
483
492
|
{
|
484
493
|
"disabled": false,
|
485
|
-
"document": "
|
494
|
+
"document": "是否对输入图采用加强检测方案。\n\n默认不加强检测(false),仅对输入图做必要的基础检测。\n\n开启加强检测(true)有助于提升效果稳定性,将根据选择的动作模板提取建议的人体关键点,并判断输入图中是否包含这些人体关键点。加强检测仅对人像输入图生效,对非人输入图不生效。",
|
486
495
|
"example": "true",
|
487
496
|
"member": "bool",
|
488
497
|
"name": "EnableBodyJoins",
|
@@ -515,6 +524,15 @@
|
|
515
524
|
"name": "LogoParam",
|
516
525
|
"required": false,
|
517
526
|
"type": "object"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"disabled": false,
|
530
|
+
"document": "是否开启人脸检测。\n\n默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。",
|
531
|
+
"example": "false",
|
532
|
+
"member": "bool",
|
533
|
+
"name": "EnableFace",
|
534
|
+
"required": false,
|
535
|
+
"type": "bool"
|
518
536
|
}
|
519
537
|
],
|
520
538
|
"type": "object"
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"DescribeInstanceNodes": {
|
18
18
|
"document": "实例节点列表",
|
19
19
|
"input": "DescribeInstanceNodesRequest",
|
20
|
-
"name": "实例pod
|
20
|
+
"name": "实例pod列表(返回 pod 名称、状态)",
|
21
21
|
"output": "DescribeInstanceNodesResponse",
|
22
22
|
"status": "online"
|
23
23
|
},
|
@@ -170,13 +170,13 @@
|
|
170
170
|
"members": [
|
171
171
|
{
|
172
172
|
"disabled": false,
|
173
|
-
"document": "实例pod
|
174
|
-
"example": "[\"
|
173
|
+
"document": "实例pod列表。",
|
174
|
+
"example": "[{\"Name\":\"master-0\",\"Status\":\"Running\"},{\"Name\":\"search-0\",\"Status\":\"Running\"},{\"Name\":\"worker-0\",\"Status\":\"Running\"},{\"Name\":\"worker-1\",\"Status\":\"Pending\"}]",
|
175
175
|
"member": "NodeInfo",
|
176
176
|
"name": "Items",
|
177
177
|
"output_required": false,
|
178
178
|
"type": "list",
|
179
|
-
"value_allowed_null":
|
179
|
+
"value_allowed_null": false
|
180
180
|
},
|
181
181
|
{
|
182
182
|
"disabled": false,
|
@@ -237,7 +237,7 @@
|
|
237
237
|
"type": "list"
|
238
238
|
},
|
239
239
|
{
|
240
|
-
"disabled":
|
240
|
+
"disabled": true,
|
241
241
|
"document": "按照引擎筛选实例。",
|
242
242
|
"example": "5.0",
|
243
243
|
"member": "string",
|
@@ -273,7 +273,7 @@
|
|
273
273
|
"type": "string"
|
274
274
|
},
|
275
275
|
{
|
276
|
-
"disabled":
|
276
|
+
"disabled": true,
|
277
277
|
"document": "按照可用区筛选实例。",
|
278
278
|
"example": "160002",
|
279
279
|
"member": "string",
|
@@ -334,13 +334,13 @@
|
|
334
334
|
"members": [
|
335
335
|
{
|
336
336
|
"disabled": false,
|
337
|
-
"document": "
|
337
|
+
"document": "实例列表。",
|
338
338
|
"example": "无",
|
339
339
|
"member": "InstanceInfo",
|
340
340
|
"name": "Items",
|
341
341
|
"output_required": false,
|
342
342
|
"type": "list",
|
343
|
-
"value_allowed_null":
|
343
|
+
"value_allowed_null": false
|
344
344
|
},
|
345
345
|
{
|
346
346
|
"disabled": false,
|
@@ -488,123 +488,123 @@
|
|
488
488
|
"members": [
|
489
489
|
{
|
490
490
|
"disabled": false,
|
491
|
-
"document": "实例ID
|
491
|
+
"document": "实例ID。",
|
492
492
|
"example": "vdb-77qt0r46",
|
493
493
|
"member": "string",
|
494
494
|
"name": "InstanceId",
|
495
495
|
"output_required": false,
|
496
496
|
"type": "string",
|
497
|
-
"value_allowed_null":
|
497
|
+
"value_allowed_null": false
|
498
498
|
},
|
499
499
|
{
|
500
500
|
"disabled": false,
|
501
|
-
"document": "
|
501
|
+
"document": "实例自定义名称。",
|
502
502
|
"example": "vdb_test",
|
503
503
|
"member": "string",
|
504
504
|
"name": "Name",
|
505
505
|
"output_required": false,
|
506
506
|
"type": "string",
|
507
|
-
"value_allowed_null":
|
507
|
+
"value_allowed_null": false
|
508
508
|
},
|
509
509
|
{
|
510
510
|
"disabled": false,
|
511
|
-
"document": "用户APPID
|
511
|
+
"document": "用户APPID。",
|
512
512
|
"example": "251223614",
|
513
513
|
"member": "uint64",
|
514
514
|
"name": "AppId",
|
515
515
|
"output_required": false,
|
516
516
|
"type": "int",
|
517
|
-
"value_allowed_null":
|
517
|
+
"value_allowed_null": false
|
518
518
|
},
|
519
519
|
{
|
520
520
|
"disabled": false,
|
521
|
-
"document": "
|
521
|
+
"document": "地域。",
|
522
522
|
"example": "ap-guangzhou",
|
523
523
|
"member": "string",
|
524
524
|
"name": "Region",
|
525
525
|
"output_required": false,
|
526
526
|
"type": "string",
|
527
|
-
"value_allowed_null":
|
527
|
+
"value_allowed_null": false
|
528
528
|
},
|
529
529
|
{
|
530
530
|
"disabled": false,
|
531
|
-
"document": "
|
531
|
+
"document": "可用区。",
|
532
532
|
"example": "160002",
|
533
533
|
"member": "string",
|
534
534
|
"name": "Zone",
|
535
535
|
"output_required": false,
|
536
536
|
"type": "string",
|
537
|
-
"value_allowed_null":
|
537
|
+
"value_allowed_null": false
|
538
538
|
},
|
539
539
|
{
|
540
540
|
"disabled": false,
|
541
|
-
"document": "
|
541
|
+
"document": "产品。",
|
542
542
|
"example": "vdb",
|
543
543
|
"member": "string",
|
544
544
|
"name": "Product",
|
545
545
|
"output_required": false,
|
546
546
|
"type": "string",
|
547
|
-
"value_allowed_null":
|
547
|
+
"value_allowed_null": false
|
548
548
|
},
|
549
549
|
{
|
550
550
|
"disabled": false,
|
551
|
-
"document": "
|
551
|
+
"document": "网络信息。",
|
552
552
|
"example": "[ { \"Port\": 8100, \"SubnetId\": \"subnet-02bwnv4i\", \"Vip\": \"10.0.7.132\", \"VpcId\": \"vpc-kddx224l\" } ]",
|
553
553
|
"member": "Network",
|
554
554
|
"name": "Networks",
|
555
555
|
"output_required": false,
|
556
556
|
"type": "list",
|
557
|
-
"value_allowed_null":
|
557
|
+
"value_allowed_null": false
|
558
558
|
},
|
559
559
|
{
|
560
560
|
"disabled": false,
|
561
|
-
"document": "
|
561
|
+
"document": "分片信息。",
|
562
562
|
"example": "1",
|
563
563
|
"member": "uint64",
|
564
564
|
"name": "ShardNum",
|
565
565
|
"output_required": false,
|
566
566
|
"type": "int",
|
567
|
-
"value_allowed_null":
|
567
|
+
"value_allowed_null": false
|
568
568
|
},
|
569
569
|
{
|
570
570
|
"disabled": false,
|
571
|
-
"document": "
|
571
|
+
"document": "副本数。",
|
572
572
|
"example": "1",
|
573
573
|
"member": "uint64",
|
574
574
|
"name": "ReplicaNum",
|
575
575
|
"output_required": false,
|
576
576
|
"type": "int",
|
577
|
-
"value_allowed_null":
|
577
|
+
"value_allowed_null": false
|
578
578
|
},
|
579
579
|
{
|
580
580
|
"disabled": false,
|
581
|
-
"document": "CPU
|
581
|
+
"document": "CPU.",
|
582
582
|
"example": "1",
|
583
583
|
"member": "float",
|
584
584
|
"name": "Cpu",
|
585
585
|
"output_required": false,
|
586
586
|
"type": "float",
|
587
|
-
"value_allowed_null":
|
587
|
+
"value_allowed_null": false
|
588
588
|
},
|
589
589
|
{
|
590
590
|
"disabled": false,
|
591
|
-
"document": "
|
591
|
+
"document": "内存。",
|
592
592
|
"example": "8",
|
593
593
|
"member": "float",
|
594
594
|
"name": "Memory",
|
595
595
|
"output_required": false,
|
596
596
|
"type": "float",
|
597
|
-
"value_allowed_null":
|
597
|
+
"value_allowed_null": false
|
598
598
|
},
|
599
599
|
{
|
600
600
|
"disabled": false,
|
601
|
-
"document": "
|
601
|
+
"document": "磁盘。",
|
602
602
|
"example": "20",
|
603
603
|
"member": "uint64",
|
604
604
|
"name": "Disk",
|
605
605
|
"output_required": false,
|
606
606
|
"type": "int",
|
607
|
-
"value_allowed_null":
|
607
|
+
"value_allowed_null": false
|
608
608
|
},
|
609
609
|
{
|
610
610
|
"disabled": true,
|
@@ -638,133 +638,133 @@
|
|
638
638
|
},
|
639
639
|
{
|
640
640
|
"disabled": false,
|
641
|
-
"document": "
|
641
|
+
"document": "所属标签。",
|
642
642
|
"example": "[{\"TagKey\":\"key\",\"TagValue\":\"value\"}]",
|
643
643
|
"member": "Tag",
|
644
644
|
"name": "ResourceTags",
|
645
645
|
"output_required": false,
|
646
646
|
"type": "list",
|
647
|
-
"value_allowed_null":
|
647
|
+
"value_allowed_null": false
|
648
648
|
},
|
649
649
|
{
|
650
650
|
"disabled": false,
|
651
|
-
"document": "
|
651
|
+
"document": "创建时间。",
|
652
652
|
"example": "2023-07-06",
|
653
653
|
"member": "string",
|
654
654
|
"name": "CreatedAt",
|
655
655
|
"output_required": false,
|
656
656
|
"type": "string",
|
657
|
-
"value_allowed_null":
|
657
|
+
"value_allowed_null": false
|
658
658
|
},
|
659
659
|
{
|
660
660
|
"disabled": false,
|
661
|
-
"document": "
|
661
|
+
"document": "资源状态。",
|
662
662
|
"example": "online",
|
663
663
|
"member": "string",
|
664
664
|
"name": "Status",
|
665
665
|
"output_required": false,
|
666
666
|
"type": "string",
|
667
|
-
"value_allowed_null":
|
667
|
+
"value_allowed_null": false
|
668
668
|
},
|
669
669
|
{
|
670
670
|
"disabled": false,
|
671
|
-
"document": "
|
671
|
+
"document": "引擎名称。",
|
672
672
|
"example": "5.0",
|
673
673
|
"member": "string",
|
674
674
|
"name": "EngineName",
|
675
675
|
"output_required": false,
|
676
676
|
"type": "string",
|
677
|
-
"value_allowed_null":
|
677
|
+
"value_allowed_null": false
|
678
678
|
},
|
679
679
|
{
|
680
680
|
"disabled": false,
|
681
|
-
"document": "
|
681
|
+
"document": "引擎版本。",
|
682
682
|
"example": "v1.6.0",
|
683
683
|
"member": "string",
|
684
684
|
"name": "EngineVersion",
|
685
685
|
"output_required": false,
|
686
686
|
"type": "string",
|
687
|
-
"value_allowed_null":
|
687
|
+
"value_allowed_null": false
|
688
688
|
},
|
689
689
|
{
|
690
690
|
"disabled": false,
|
691
|
-
"document": "api
|
691
|
+
"document": "api版本",
|
692
692
|
"example": "v2.0",
|
693
693
|
"member": "string",
|
694
694
|
"name": "ApiVersion",
|
695
695
|
"output_required": false,
|
696
696
|
"type": "string",
|
697
|
-
"value_allowed_null":
|
697
|
+
"value_allowed_null": false
|
698
698
|
},
|
699
699
|
{
|
700
700
|
"disabled": false,
|
701
|
-
"document": "
|
701
|
+
"document": "计费模式。",
|
702
702
|
"example": "2",
|
703
703
|
"member": "int64",
|
704
704
|
"name": "PayMode",
|
705
705
|
"output_required": false,
|
706
706
|
"type": "int",
|
707
|
-
"value_allowed_null":
|
707
|
+
"value_allowed_null": false
|
708
708
|
},
|
709
709
|
{
|
710
710
|
"disabled": false,
|
711
|
-
"document": "差异化扩展信息, json
|
712
|
-
"example": "\"{\\\"Port\\\": \\\"
|
711
|
+
"document": "差异化扩展信息, json格式。",
|
712
|
+
"example": "\"{\\\"Port\\\": \\\"80\\\"}\"",
|
713
713
|
"member": "string",
|
714
714
|
"name": "Extend",
|
715
715
|
"output_required": false,
|
716
716
|
"type": "string",
|
717
|
-
"value_allowed_null":
|
717
|
+
"value_allowed_null": false
|
718
718
|
},
|
719
719
|
{
|
720
720
|
"disabled": false,
|
721
|
-
"document": "
|
721
|
+
"document": "过期时间。",
|
722
722
|
"example": "2023-08-07",
|
723
723
|
"member": "string",
|
724
724
|
"name": "ExpiredAt",
|
725
725
|
"output_required": false,
|
726
726
|
"type": "string",
|
727
|
-
"value_allowed_null":
|
727
|
+
"value_allowed_null": false
|
728
728
|
},
|
729
729
|
{
|
730
730
|
"disabled": false,
|
731
|
-
"document": "是否不过期(永久)
|
731
|
+
"document": "是否不过期(永久)。",
|
732
732
|
"example": "false",
|
733
733
|
"member": "bool",
|
734
734
|
"name": "IsNoExpired",
|
735
735
|
"output_required": false,
|
736
736
|
"type": "bool",
|
737
|
-
"value_allowed_null":
|
737
|
+
"value_allowed_null": false
|
738
738
|
},
|
739
739
|
{
|
740
740
|
"disabled": false,
|
741
|
-
"document": "
|
741
|
+
"document": "外网地址。",
|
742
742
|
"example": "lb-5mk****-wid8362zluyvekp4.clb.ap-guangzhou.testclb.com:8100",
|
743
743
|
"member": "string",
|
744
744
|
"name": "WanAddress",
|
745
745
|
"output_required": false,
|
746
746
|
"type": "string",
|
747
|
-
"value_allowed_null":
|
747
|
+
"value_allowed_null": false
|
748
748
|
},
|
749
749
|
{
|
750
750
|
"disabled": false,
|
751
|
-
"document": "
|
751
|
+
"document": "隔离时间",
|
752
752
|
"example": "2024-09-12",
|
753
753
|
"member": "string",
|
754
754
|
"name": "IsolateAt",
|
755
755
|
"output_required": false,
|
756
756
|
"type": "string",
|
757
|
-
"value_allowed_null":
|
757
|
+
"value_allowed_null": false
|
758
758
|
},
|
759
759
|
{
|
760
760
|
"disabled": false,
|
761
|
-
"document": "是否自动续费。0: 不自动续费(可以支持特权不停服);1:自动续费;2
|
761
|
+
"document": "是否自动续费。0: 不自动续费(可以支持特权不停服);1:自动续费;2:到期不续费.",
|
762
762
|
"example": "1",
|
763
763
|
"member": "int64",
|
764
764
|
"name": "AutoRenew",
|
765
765
|
"output_required": false,
|
766
766
|
"type": "int",
|
767
|
-
"value_allowed_null":
|
767
|
+
"value_allowed_null": false
|
768
768
|
}
|
769
769
|
],
|
770
770
|
"usage": "out"
|
@@ -872,17 +872,17 @@
|
|
872
872
|
"usage": "out"
|
873
873
|
},
|
874
874
|
"NodeInfo": {
|
875
|
-
"document": "实例pod
|
875
|
+
"document": "实例pod信息, pod 名称",
|
876
876
|
"members": [
|
877
877
|
{
|
878
878
|
"disabled": false,
|
879
|
-
"document": "Pod
|
879
|
+
"document": "Pod名称。",
|
880
880
|
"example": "worker-0",
|
881
881
|
"member": "string",
|
882
882
|
"name": "Name",
|
883
883
|
"output_required": false,
|
884
884
|
"type": "string",
|
885
|
-
"value_allowed_null":
|
885
|
+
"value_allowed_null": false
|
886
886
|
}
|
887
887
|
],
|
888
888
|
"usage": "out"
|
@@ -32,10 +32,10 @@
|
|
32
32
|
],
|
33
33
|
"DescribeInstances": [
|
34
34
|
{
|
35
|
-
"document": "
|
35
|
+
"document": "",
|
36
36
|
"input": "POST / HTTP/1.1\nHost: vdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 50\n}",
|
37
37
|
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"AppId\": 251223614,\n \"Cpu\": 1,\n \"CreatedAt\": \"2023-07-07\",\n \"Disk\": 20,\n \"EngineName\": \"\",\n \"EngineVersion\": \"\",\n \"ExpiredAt\": \"2023-08-07\",\n \"Extend\": \"{\\\"Port\\\": \\\"8100\\\", \\\"DiskType\\\": \\\"CLOUD_SSD\\\", \\\"NodeType\\\": \\\"Store\\\", \\\"Platform\\\": \\\"vdb-cd\\\", \\\"NodeSpecs\\\": \\\"{\\\\\\\"Cpu\\\\\\\":1,\\\\\\\"Memory\\\\\\\":8}\\\", \\\"NodeNumber\\\": \\\"3\\\", \\\"DiskCapacity\\\": \\\"20\\\", \\\"DiskTypeValue\\\": \\\"云硬盘\\\", \\\"EngineVersion\\\": \\\"v1.0.0\\\", \\\"NodeTypeValue\\\": \\\"存储型\\\", \\\"NodeSpecsValue\\\": \\\"S.2SMALL\\\", \\\"NodeNumberValue\\\": \\\"\\\", \\\"DiskCapacityValue\\\": \\\"\\\"}\",\n \"InstanceId\": \"vdb-77qt0r46\",\n \"IsNoExpired\": false,\n \"Memory\": 8,\n \"Name\": \"vector_search\",\n \"Networks\": [\n {\n \"Port\": 8100,\n \"SubnetId\": \"subnet-02bwnv4i\",\n \"Vip\": \"10.0.7.132\",\n \"VpcId\": \"vpc-kddx224l\"\n }\n ],\n \"PayMode\": 1,\n \"Product\": \"vdb\",\n \"Project\": \"\",\n \"Region\": \"ap-guangzhou\",\n \"ReplicaNum\": 3,\n \"ResourceTags\": [],\n \"ShardNum\": 1,\n \"Status\": \"online\",\n \"Zone\": \"\"\n },\n {\n \"AppId\": 251223614,\n \"Cpu\": 1,\n \"CreatedAt\": \"2023-07-06\",\n \"Disk\": 20,\n \"EngineName\": \"\",\n \"EngineVersion\": \"\",\n \"ExpiredAt\": \"2023-08-06\",\n \"Extend\": \"{\\\"Port\\\": \\\"8100\\\", \\\"DiskType\\\": \\\"CLOUD_SSD\\\", \\\"NodeType\\\": \\\"Store\\\", \\\"Platform\\\": \\\"vdb-cd\\\", \\\"NodeSpecs\\\": \\\"{\\\\\\\"Cpu\\\\\\\":1,\\\\\\\"Memory\\\\\\\":8}\\\", \\\"NodeNumber\\\": \\\"3\\\", \\\"DiskCapacity\\\": \\\"20\\\", \\\"DiskTypeValue\\\": \\\"云硬盘\\\", \\\"EngineVersion\\\": \\\"v1.0.0\\\", \\\"NodeTypeValue\\\": \\\"存储型\\\", \\\"NodeSpecsValue\\\": \\\"S.2SMALL\\\", \\\"NodeNumberValue\\\": \\\"\\\", \\\"DiskCapacityValue\\\": \\\"\\\"}\",\n \"InstanceId\": \"vdb-o2ovx6ko\",\n \"IsNoExpired\": false,\n \"Memory\": 8,\n \"Name\": \"embedding_search\",\n \"Networks\": [\n {\n \"Port\": 8100,\n \"SubnetId\": \"subnet-02bwnv4i\",\n \"Vip\": \"10.0.7.115\",\n \"VpcId\": \"vpc-kddx224l\"\n }\n ],\n \"PayMode\": 1,\n \"Product\": \"vdb\",\n \"Project\": \"\",\n \"Region\": \"ap-guangzhou\",\n \"ReplicaNum\": 3,\n \"ResourceTags\": [],\n \"ShardNum\": 1,\n \"Status\": \"online\",\n \"Zone\": \"\"\n }\n ],\n \"RequestId\": \"2757e3ad-427f-45dc-9119-8c9cfb4ae614\",\n \"TotalCount\": 2\n }\n}",
|
38
|
-
"title": "
|
38
|
+
"title": "成功示例"
|
39
39
|
}
|
40
40
|
],
|
41
41
|
"DisassociateSecurityGroups": [
|