tccli 3.0.1391.1__py2.py3-none-any.whl → 3.0.1414.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.
Potentially problematic release.
This version of tccli might be problematic. Click here for more details.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +2 -1
- tccli/services/ai3d/v20250513/api.json +22 -4
- tccli/services/aiart/aiart_client.py +173 -67
- tccli/services/aiart/v20221229/api.json +193 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/apm/apm_client.py +53 -0
- tccli/services/apm/v20210622/api.json +354 -0
- tccli/services/apm/v20210622/examples.json +8 -0
- tccli/services/asr/v20190614/api.json +3 -3
- tccli/services/autoscaling/v20180419/api.json +24 -2
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bda/bda_client.py +15 -704
- tccli/services/bda/v20200324/api.json +107 -1819
- tccli/services/bda/v20200324/examples.json +0 -176
- tccli/services/billing/billing_client.py +326 -8
- tccli/services/billing/v20180709/api.json +2200 -255
- tccli/services/billing/v20180709/examples.json +48 -0
- tccli/services/cam/v20190116/api.json +4 -4
- tccli/services/captcha/v20190722/api.json +3 -3
- tccli/services/cat/v20180409/api.json +7 -7
- tccli/services/ccc/ccc_client.py +235 -76
- tccli/services/ccc/v20200210/api.json +502 -18
- tccli/services/ccc/v20200210/examples.json +24 -0
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +257 -44
- tccli/services/cdb/v20170320/examples.json +22 -6
- tccli/services/cdn/cdn_client.py +4 -163
- tccli/services/cdn/v20180606/api.json +61 -310
- tccli/services/cdn/v20180606/examples.json +1 -25
- tccli/services/cdwdoris/v20211228/api.json +51 -12
- tccli/services/cdwpg/v20201230/api.json +11 -1
- tccli/services/cdwpg/v20201230/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +11 -1
- tccli/services/cfs/cfs_client.py +41 -94
- tccli/services/cfs/v20190719/api.json +171 -55
- tccli/services/cfs/v20190719/examples.json +1 -9
- tccli/services/cfw/v20190904/api.json +122 -10
- tccli/services/ckafka/ckafka_client.py +188 -29
- tccli/services/ckafka/v20190819/api.json +277 -4
- tccli/services/ckafka/v20190819/examples.json +25 -1
- tccli/services/clb/clb_client.py +0 -265
- tccli/services/clb/v20180317/api.json +130 -296
- tccli/services/clb/v20180317/examples.json +12 -40
- tccli/services/cloudapp/v20220530/api.json +55 -0
- tccli/services/cloudaudit/v20190319/api.json +11 -0
- tccli/services/cloudhsm/v20191112/api.json +10 -10
- tccli/services/cls/v20201016/api.json +63 -45
- tccli/services/cls/v20201016/examples.json +10 -4
- tccli/services/csip/v20221121/api.json +53 -3
- tccli/services/ctem/v20231128/api.json +320 -0
- tccli/services/ctem/v20231128/examples.json +3 -3
- tccli/services/cvm/cvm_client.py +0 -212
- tccli/services/cvm/v20170312/api.json +91 -843
- tccli/services/cvm/v20170312/examples.json +32 -58
- tccli/services/cynosdb/cynosdb_client.py +167 -8
- tccli/services/cynosdb/v20190107/api.json +1126 -148
- tccli/services/cynosdb/v20190107/examples.json +31 -7
- tccli/services/dbbrain/dbbrain_client.py +246 -87
- tccli/services/dbbrain/v20191016/api.json +74 -62
- tccli/services/dbbrain/v20191016/examples.json +1 -1
- tccli/services/dbbrain/v20210527/api.json +601 -177
- tccli/services/dbbrain/v20210527/examples.json +28 -4
- tccli/services/dc/v20180410/api.json +101 -3
- tccli/services/dcdb/v20180411/api.json +1 -1
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +237 -24
- tccli/services/dlc/v20210125/examples.json +12 -4
- tccli/services/dnspod/dnspod_client.py +106 -0
- tccli/services/dnspod/v20210323/api.json +126 -20
- tccli/services/dnspod/v20210323/examples.json +17 -7
- tccli/services/dsgc/v20190723/api.json +73 -15
- tccli/services/dts/v20180330/api.json +4 -4
- tccli/services/dts/v20211206/api.json +408 -127
- tccli/services/dts/v20211206/examples.json +15 -9
- tccli/services/eb/v20210416/api.json +41 -1
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +56 -9
- tccli/services/emr/v20190103/examples.json +5 -5
- tccli/services/es/es_client.py +273 -8
- tccli/services/es/v20180416/api.json +845 -33
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/es/v20250101/api.json +135 -2
- tccli/services/es/v20250101/examples.json +8 -0
- tccli/services/ess/ess_client.py +509 -32
- tccli/services/ess/v20201111/api.json +1366 -113
- tccli/services/ess/v20201111/examples.json +94 -10
- tccli/services/essbasic/v20210526/api.json +265 -27
- tccli/services/essbasic/v20210526/examples.json +12 -12
- tccli/services/facefusion/v20220927/api.json +1 -1
- tccli/services/gaap/v20180529/api.json +18 -8
- tccli/services/gme/gme_client.py +53 -0
- tccli/services/gme/v20180711/api.json +241 -1
- tccli/services/gme/v20180711/examples.json +8 -0
- tccli/services/gs/gs_client.py +216 -4
- tccli/services/gs/v20191118/api.json +202 -1
- tccli/services/gs/v20191118/examples.json +32 -0
- tccli/services/gwlb/gwlb_client.py +53 -0
- tccli/services/gwlb/v20240906/api.json +150 -0
- tccli/services/gwlb/v20240906/examples.json +8 -0
- tccli/services/hai/v20230812/api.json +5 -5
- tccli/services/hunyuan/v20230901/api.json +3 -3
- tccli/services/hunyuan/v20230901/examples.json +1 -1
- tccli/services/iai/v20180301/api.json +227 -207
- tccli/services/iai/v20180301/examples.json +26 -26
- tccli/services/iai/v20200303/api.json +4 -4
- tccli/services/iai/v20200303/examples.json +1 -1
- tccli/services/ioa/ioa_client.py +265 -0
- tccli/services/ioa/v20220601/api.json +781 -85
- tccli/services/ioa/v20220601/examples.json +46 -0
- tccli/services/iotexplorer/iotexplorer_client.py +387 -16
- tccli/services/iotexplorer/v20190423/api.json +1183 -63
- tccli/services/iotexplorer/v20190423/examples.json +92 -0
- tccli/services/keewidb/v20220308/api.json +69 -17
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +61 -15
- tccli/services/lighthouse/v20200324/api.json +193 -24
- tccli/services/lighthouse/v20200324/examples.json +9 -3
- tccli/services/live/v20180801/api.json +6 -6
- tccli/services/live/v20180801/examples.json +7 -1
- tccli/services/lke/lke_client.py +40 -93
- tccli/services/lke/v20231130/api.json +943 -390
- tccli/services/lke/v20231130/examples.json +38 -46
- tccli/services/lkeap/v20240522/api.json +39 -12
- tccli/services/lkeap/v20240522/examples.json +12 -0
- tccli/services/mariadb/v20170312/api.json +1 -1
- tccli/services/mna/v20210119/api.json +11 -2
- tccli/services/mna/v20210119/examples.json +1 -1
- tccli/services/mongodb/mongodb_client.py +334 -16
- tccli/services/mongodb/v20190725/api.json +1092 -383
- tccli/services/mongodb/v20190725/examples.json +69 -21
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +383 -12
- tccli/services/monitor/v20180724/examples.json +24 -2
- tccli/services/mps/mps_client.py +220 -8
- tccli/services/mps/v20190612/api.json +1999 -179
- tccli/services/mps/v20190612/examples.json +56 -6
- tccli/services/mqtt/v20240516/api.json +10 -0
- tccli/services/mqtt/v20240516/examples.json +3 -9
- tccli/services/nlp/v20190408/api.json +6 -6
- tccli/services/oceanus/oceanus_client.py +318 -0
- tccli/services/oceanus/v20190422/api.json +461 -26
- tccli/services/oceanus/v20190422/examples.json +50 -2
- tccli/services/ocr/ocr_client.py +41 -253
- tccli/services/ocr/v20181119/api.json +153 -659
- tccli/services/ocr/v20181119/examples.json +8 -40
- tccli/services/omics/v20221128/api.json +90 -7
- tccli/services/organization/v20210331/api.json +46 -7
- tccli/services/postgres/v20170312/api.json +333 -77
- tccli/services/postgres/v20170312/examples.json +37 -31
- tccli/services/privatedns/privatedns_client.py +641 -58
- tccli/services/privatedns/v20201028/api.json +930 -19
- tccli/services/privatedns/v20201028/examples.json +91 -3
- tccli/services/pts/v20210728/api.json +2 -2
- tccli/services/redis/v20180412/api.json +303 -109
- tccli/services/redis/v20180412/examples.json +12 -12
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +22 -4
- tccli/services/rum/v20210622/examples.json +2 -2
- tccli/services/sms/v20190711/api.json +12 -12
- tccli/services/sms/v20190711/examples.json +9 -3
- tccli/services/sms/v20210111/api.json +13 -13
- tccli/services/sms/v20210111/examples.json +8 -2
- tccli/services/sqlserver/v20180328/api.json +46 -7
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +28 -0
- tccli/services/svp/v20240125/api.json +14 -4
- tccli/services/tag/v20180813/api.json +3 -3
- tccli/services/tat/v20201028/api.json +22 -3
- tccli/services/tcb/v20180608/api.json +1 -1
- tccli/services/tcss/tcss_client.py +228 -69
- tccli/services/tcss/v20201101/api.json +273 -25
- tccli/services/tcss/v20201101/examples.json +26 -2
- tccli/services/teo/teo_client.py +317 -52
- tccli/services/teo/v20220901/api.json +1824 -242
- tccli/services/teo/v20220901/examples.json +109 -21
- tccli/services/thpc/thpc_client.py +57 -4
- tccli/services/thpc/v20230321/api.json +163 -21
- tccli/services/thpc/v20230321/examples.json +13 -5
- tccli/services/tione/tione_client.py +163 -4
- tccli/services/tione/v20211111/api.json +285 -21
- tccli/services/tione/v20211111/examples.json +27 -3
- tccli/services/tke/tke_client.py +8 -8
- tccli/services/tke/v20180525/api.json +168 -130
- tccli/services/tke/v20180525/examples.json +20 -20
- tccli/services/tke/v20220501/api.json +215 -3
- tccli/services/tke/v20220501/examples.json +8 -0
- tccli/services/tms/tms_client.py +106 -0
- tccli/services/tms/v20201229/api.json +249 -3
- tccli/services/tms/v20201229/examples.json +16 -0
- tccli/services/tmt/v20180321/api.json +78 -1
- tccli/services/trabbit/v20230418/api.json +271 -4
- tccli/services/trabbit/v20230418/examples.json +9 -3
- tccli/services/trocket/v20230308/api.json +4 -4
- tccli/services/trro/trro_client.py +106 -0
- tccli/services/trro/v20220325/api.json +456 -0
- tccli/services/trro/v20220325/examples.json +16 -0
- tccli/services/trtc/v20190722/api.json +197 -49
- tccli/services/trtc/v20190722/examples.json +4 -4
- tccli/services/tse/v20201207/api.json +69 -2
- tccli/services/tse/v20201207/examples.json +3 -3
- tccli/services/tsf/v20180326/api.json +70 -7
- tccli/services/tsf/v20180326/examples.json +2 -2
- tccli/services/vclm/v20240523/api.json +145 -0
- tccli/services/vclm/v20240523/examples.json +16 -0
- tccli/services/vclm/vclm_client.py +106 -0
- tccli/services/vcube/v20220410/api.json +1 -1
- tccli/services/vod/v20180717/api.json +7 -7
- tccli/services/vpc/v20170312/api.json +1216 -70
- tccli/services/vpc/v20170312/examples.json +139 -3
- tccli/services/vpc/vpc_client.py +1023 -122
- tccli/services/vrs/v20200824/api.json +11 -11
- tccli/services/vrs/v20200824/examples.json +1 -1
- tccli/services/vtc/v20240223/api.json +14 -14
- tccli/services/waf/v20180125/api.json +812 -143
- tccli/services/waf/v20180125/examples.json +2 -2
- tccli/services/wedata/v20210820/api.json +1281 -601
- tccli/services/wedata/v20210820/examples.json +127 -157
- tccli/services/wedata/v20250806/api.json +19335 -0
- tccli/services/wedata/v20250806/examples.json +999 -0
- tccli/services/wedata/wedata_client.py +7072 -1131
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/METADATA +9 -7
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/RECORD +226 -224
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/WHEEL +1 -1
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1391.1.dist-info/license_files → tccli-3.0.1414.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -589,6 +589,58 @@ def doAssociateTargetGroups(args, parsed_globals):
|
|
|
589
589
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
590
590
|
|
|
591
591
|
|
|
592
|
+
def doDescribeGatewayLoadBalancersResources(args, parsed_globals):
|
|
593
|
+
g_param = parse_global_arg(parsed_globals)
|
|
594
|
+
|
|
595
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
596
|
+
cred = credential.CVMRoleCredential()
|
|
597
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
598
|
+
cred = credential.STSAssumeRoleCredential(
|
|
599
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
600
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
601
|
+
)
|
|
602
|
+
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):
|
|
603
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
604
|
+
else:
|
|
605
|
+
cred = credential.Credential(
|
|
606
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
607
|
+
)
|
|
608
|
+
http_profile = HttpProfile(
|
|
609
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
610
|
+
reqMethod="POST",
|
|
611
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
612
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
613
|
+
)
|
|
614
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
615
|
+
if g_param[OptionsDefine.Language]:
|
|
616
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
617
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
618
|
+
client = mod.GwlbClient(cred, g_param[OptionsDefine.Region], profile)
|
|
619
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
620
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
621
|
+
model = models.DescribeGatewayLoadBalancersResourcesRequest()
|
|
622
|
+
model.from_json_string(json.dumps(args))
|
|
623
|
+
start_time = time.time()
|
|
624
|
+
while True:
|
|
625
|
+
rsp = client.DescribeGatewayLoadBalancersResources(model)
|
|
626
|
+
result = rsp.to_json_string()
|
|
627
|
+
try:
|
|
628
|
+
json_obj = json.loads(result)
|
|
629
|
+
except TypeError as e:
|
|
630
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
631
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
632
|
+
break
|
|
633
|
+
cur_time = time.time()
|
|
634
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
635
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
636
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
637
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
638
|
+
else:
|
|
639
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
640
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
641
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
642
|
+
|
|
643
|
+
|
|
592
644
|
def doDescribeGatewayLoadBalancers(args, parsed_globals):
|
|
593
645
|
g_param = parse_global_arg(parsed_globals)
|
|
594
646
|
|
|
@@ -975,6 +1027,7 @@ ACTION_MAP = {
|
|
|
975
1027
|
"DisassociateTargetGroups": doDisassociateTargetGroups,
|
|
976
1028
|
"RegisterTargetGroupInstances": doRegisterTargetGroupInstances,
|
|
977
1029
|
"AssociateTargetGroups": doAssociateTargetGroups,
|
|
1030
|
+
"DescribeGatewayLoadBalancersResources": doDescribeGatewayLoadBalancersResources,
|
|
978
1031
|
"DescribeGatewayLoadBalancers": doDescribeGatewayLoadBalancers,
|
|
979
1032
|
"ModifyGatewayLoadBalancerAttribute": doModifyGatewayLoadBalancerAttribute,
|
|
980
1033
|
"ModifyTargetGroupInstancesWeight": doModifyTargetGroupInstancesWeight,
|
|
@@ -49,6 +49,13 @@
|
|
|
49
49
|
"output": "DescribeGatewayLoadBalancersResponse",
|
|
50
50
|
"status": "online"
|
|
51
51
|
},
|
|
52
|
+
"DescribeGatewayLoadBalancersResources": {
|
|
53
|
+
"document": "查询用户在当前地域支持可用区列表",
|
|
54
|
+
"input": "DescribeGatewayLoadBalancersResourcesRequest",
|
|
55
|
+
"name": "查询用户在当前地域支持可用区列表",
|
|
56
|
+
"output": "DescribeGatewayLoadBalancersResourcesResponse",
|
|
57
|
+
"status": "online"
|
|
58
|
+
},
|
|
52
59
|
"DescribeTargetGroupInstanceStatus": {
|
|
53
60
|
"document": "查询目标组后端服务状态。目前仅支持网关负载均衡类型的目标组支持查询后端服务状态。",
|
|
54
61
|
"input": "DescribeTargetGroupInstanceStatusRequest",
|
|
@@ -592,6 +599,62 @@
|
|
|
592
599
|
],
|
|
593
600
|
"type": "object"
|
|
594
601
|
},
|
|
602
|
+
"DescribeGatewayLoadBalancersResourcesRequest": {
|
|
603
|
+
"document": "DescribeGatewayLoadBalancersResources请求参数结构体",
|
|
604
|
+
"members": [
|
|
605
|
+
{
|
|
606
|
+
"disabled": false,
|
|
607
|
+
"document": "返回可用区资源列表数目,默认20,最大值100。",
|
|
608
|
+
"example": "20",
|
|
609
|
+
"member": "uint64",
|
|
610
|
+
"name": "Limit",
|
|
611
|
+
"required": false,
|
|
612
|
+
"type": "int"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"disabled": false,
|
|
616
|
+
"document": "返回可用区资源列表起始偏移量,默认0。",
|
|
617
|
+
"example": "0",
|
|
618
|
+
"member": "uint64",
|
|
619
|
+
"name": "Offset",
|
|
620
|
+
"required": false,
|
|
621
|
+
"type": "int"
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"type": "object"
|
|
625
|
+
},
|
|
626
|
+
"DescribeGatewayLoadBalancersResourcesResponse": {
|
|
627
|
+
"document": "DescribeGatewayLoadBalancersResources返回参数结构体",
|
|
628
|
+
"members": [
|
|
629
|
+
{
|
|
630
|
+
"disabled": false,
|
|
631
|
+
"document": "可用区支持的资源列表。",
|
|
632
|
+
"example": "无",
|
|
633
|
+
"member": "ZoneResource",
|
|
634
|
+
"name": "ZoneResourceSet",
|
|
635
|
+
"output_required": false,
|
|
636
|
+
"type": "list",
|
|
637
|
+
"value_allowed_null": false
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"disabled": false,
|
|
641
|
+
"document": "可用区资源列表数目。",
|
|
642
|
+
"example": "3",
|
|
643
|
+
"member": "uint64",
|
|
644
|
+
"name": "TotalCount",
|
|
645
|
+
"output_required": false,
|
|
646
|
+
"type": "int",
|
|
647
|
+
"value_allowed_null": false
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
|
651
|
+
"member": "string",
|
|
652
|
+
"name": "RequestId",
|
|
653
|
+
"type": "string"
|
|
654
|
+
}
|
|
655
|
+
],
|
|
656
|
+
"type": "object"
|
|
657
|
+
},
|
|
595
658
|
"DescribeGatewayLoadBalancersResponse": {
|
|
596
659
|
"document": "DescribeGatewayLoadBalancers返回参数结构体",
|
|
597
660
|
"members": [
|
|
@@ -1894,6 +1957,76 @@
|
|
|
1894
1957
|
"output_required": false,
|
|
1895
1958
|
"type": "list",
|
|
1896
1959
|
"value_allowed_null": false
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"disabled": false,
|
|
1963
|
+
"document": "流量分发方式\n\n- STATELESS:无状态\n- STATEFUL: 有状态",
|
|
1964
|
+
"example": "STATEFUL",
|
|
1965
|
+
"member": "string",
|
|
1966
|
+
"name": "ForwardingMode",
|
|
1967
|
+
"output_required": false,
|
|
1968
|
+
"type": "string",
|
|
1969
|
+
"value_allowed_null": false
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"disabled": false,
|
|
1973
|
+
"document": "TCP协议连接空闲超时时间,可配置60s-6000s,默认350s。",
|
|
1974
|
+
"example": "100",
|
|
1975
|
+
"member": "int64",
|
|
1976
|
+
"name": "TcpIdleConnectTimeout",
|
|
1977
|
+
"output_required": false,
|
|
1978
|
+
"type": "int",
|
|
1979
|
+
"value_allowed_null": false
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"disabled": false,
|
|
1983
|
+
"document": "其他协议连接空闲超时时间,可配置5s-180s,默认120s",
|
|
1984
|
+
"example": "100",
|
|
1985
|
+
"member": "int64",
|
|
1986
|
+
"name": "OthersIdleConnectTimeout",
|
|
1987
|
+
"output_required": false,
|
|
1988
|
+
"type": "int",
|
|
1989
|
+
"value_allowed_null": false
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"disabled": false,
|
|
1993
|
+
"document": "重新调度功能内的解绑后端服务开关,开关打开后解绑后端服务会触发重新调度。",
|
|
1994
|
+
"example": "True",
|
|
1995
|
+
"member": "bool",
|
|
1996
|
+
"name": "RescheduleUnbindRs",
|
|
1997
|
+
"output_required": false,
|
|
1998
|
+
"type": "bool",
|
|
1999
|
+
"value_allowed_null": false
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
"disabled": false,
|
|
2003
|
+
"document": "解绑RS后开启重调度的时间,可配置0s-3600s,默认0s",
|
|
2004
|
+
"example": "100",
|
|
2005
|
+
"member": "int64",
|
|
2006
|
+
"name": "RescheduleUnbindRsStartTime",
|
|
2007
|
+
"output_required": false,
|
|
2008
|
+
"type": "int",
|
|
2009
|
+
"value_allowed_null": false
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"disabled": false,
|
|
2013
|
+
"document": "重新调度功能内的后端服务健康探测异常开关,开关打开后后端服务健康检查异常会触发重新调度。",
|
|
2014
|
+
"example": "True",
|
|
2015
|
+
"member": "bool",
|
|
2016
|
+
"name": "RescheduleUnhealthy",
|
|
2017
|
+
"output_required": false,
|
|
2018
|
+
"type": "bool",
|
|
2019
|
+
"value_allowed_null": false
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"disabled": false,
|
|
2023
|
+
"document": "后端服务健康探测异常后开启重调度的时间,可配置0s-3600s,默认0s",
|
|
2024
|
+
"example": "100",
|
|
2025
|
+
"member": "int64",
|
|
2026
|
+
"name": "RescheduleUnhealthyStartTime",
|
|
2027
|
+
"output_required": false,
|
|
2028
|
+
"type": "int",
|
|
2029
|
+
"value_allowed_null": false
|
|
1897
2030
|
}
|
|
1898
2031
|
],
|
|
1899
2032
|
"usage": "out"
|
|
@@ -1956,6 +2089,23 @@
|
|
|
1956
2089
|
}
|
|
1957
2090
|
],
|
|
1958
2091
|
"usage": "out"
|
|
2092
|
+
},
|
|
2093
|
+
"ZoneResource": {
|
|
2094
|
+
"document": "可用区资源列表",
|
|
2095
|
+
"members": [
|
|
2096
|
+
{
|
|
2097
|
+
"disabled": false,
|
|
2098
|
+
"document": "主可用区",
|
|
2099
|
+
"example": "ap-guangzhou-2",
|
|
2100
|
+
"member": "string",
|
|
2101
|
+
"name": "MasterZone",
|
|
2102
|
+
"output_required": false,
|
|
2103
|
+
"required": false,
|
|
2104
|
+
"type": "string",
|
|
2105
|
+
"value_allowed_null": false
|
|
2106
|
+
}
|
|
2107
|
+
],
|
|
2108
|
+
"usage": "both"
|
|
1959
2109
|
}
|
|
1960
2110
|
},
|
|
1961
2111
|
"version": "1.0"
|
|
@@ -62,6 +62,14 @@
|
|
|
62
62
|
"title": "指定标签查询网关负载均衡"
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
|
+
"DescribeGatewayLoadBalancersResources": [
|
|
66
|
+
{
|
|
67
|
+
"document": "查询部署了GWLB集群的可用区",
|
|
68
|
+
"input": "POST / HTTP/1.1\nHost: gwlb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGatewayLoadBalancersResources\n<公共请求参数>\n\n{}",
|
|
69
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"33a90f66-209e-4554-948a-c9652c08776e\",\n \"TotalCount\": 1,\n \"ZoneResourceSet\": [\n {\n \"MasterZone\": \"ap-guangzhou-2\"\n }\n ]\n }\n}",
|
|
70
|
+
"title": "查询部署了GWLB集群的可用区"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
65
73
|
"DescribeTargetGroupInstanceStatus": [
|
|
66
74
|
{
|
|
67
75
|
"document": "批量查询gwlb目标组后端服务状态",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
{
|
|
333
333
|
"disabled": false,
|
|
334
334
|
"document": "应用id列表。单次请求数量上限为100个。",
|
|
335
|
-
"example": "[\"app-
|
|
335
|
+
"example": "[\"app-q69qsc9v\"]",
|
|
336
336
|
"member": "string",
|
|
337
337
|
"name": "ApplicationIds",
|
|
338
338
|
"required": false,
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
{
|
|
342
342
|
"disabled": false,
|
|
343
343
|
"document": "过滤器,跟ApplicationIds不能共用,支持的filter主要有:application-id: 精确匹配;scene-id: 精确匹配,通过调用接口 [DescribeScenes](https://cloud.tencent.com/document/api/1721/101608)获取;application-name: 模糊匹配;application-type: 精确匹配,枚举类型如下:PUBLIC_APPLICATION(公共应用)/ PRIVATE_APPLICATION(自定义应用)/ COMMUNITY_APPLICATION(社区应用);",
|
|
344
|
-
"example": "
|
|
344
|
+
"example": "无",
|
|
345
345
|
"member": "Filter",
|
|
346
346
|
"name": "Filters",
|
|
347
347
|
"required": false,
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
{
|
|
403
403
|
"disabled": false,
|
|
404
404
|
"document": "分页返回的应用列表",
|
|
405
|
-
"example": "
|
|
405
|
+
"example": "无",
|
|
406
406
|
"member": "ApplicationInfo",
|
|
407
407
|
"name": "ApplicationSet",
|
|
408
408
|
"output_required": true,
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
{
|
|
481
481
|
"disabled": false,
|
|
482
482
|
"document": "描述键值对过滤器,用于条件过滤查询。目前支持的过滤器有: instance-id,实例id; instance-state,实例状态:RUNNING,PENDING,STOPPED,ARREARS,STOPPED_NO_CHARGE; charge-type,付费方式:PREPAID_BY_MONTH,POSTPAID_BY_HOUR; public-ip-address,公网IP过滤",
|
|
483
|
-
"example": "
|
|
483
|
+
"example": "无",
|
|
484
484
|
"member": "Filter",
|
|
485
485
|
"name": "Filters",
|
|
486
486
|
"required": false,
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
{
|
|
524
524
|
"disabled": false,
|
|
525
525
|
"document": "分页实例详情\n",
|
|
526
|
-
"example": "
|
|
526
|
+
"example": "无",
|
|
527
527
|
"member": "Instance",
|
|
528
528
|
"name": "InstanceSet",
|
|
529
529
|
"output_required": true,
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
},
|
|
151
151
|
"metadata": {
|
|
152
152
|
"apiVersion": "2023-09-01",
|
|
153
|
-
"api_brief": "## 概述\n腾讯混元大模型(Tencent Hunyuan)由腾讯公司全链路自研,在高质量内容创作、数理逻辑、代码生成和多轮对话上性能表现卓越,处于业界领先水平。混元 API 支持 AI 搜索联网插件,通过整合腾讯优质的内容生态,提供强大的时新、深度内容获取和 AI 问答能力。\n腾讯混元大模型支持的所有接口信息,请参见 [API 概览](https://cloud.tencent.com/document/product/1729/101848)
|
|
153
|
+
"api_brief": "## 概述\n腾讯混元大模型(Tencent Hunyuan)由腾讯公司全链路自研,在高质量内容创作、数理逻辑、代码生成和多轮对话上性能表现卓越,处于业界领先水平。混元 API 支持 AI 搜索联网插件,通过整合腾讯优质的内容生态,提供强大的时新、深度内容获取和 AI 问答能力。\n腾讯混元大模型支持的所有接口信息,请参见 [API 概览](https://cloud.tencent.com/document/product/1729/101848)。",
|
|
154
154
|
"serviceNameCN": "腾讯混元大模型",
|
|
155
155
|
"serviceShortName": "hunyuan"
|
|
156
156
|
},
|
|
@@ -628,7 +628,7 @@
|
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
630
|
"disabled": false,
|
|
631
|
-
"document": "源语言。\n支持语言列表:
|
|
631
|
+
"document": "源语言。\n支持语言列表: \n简体中文:zh,繁体中文:zh-TR,粤语:yue,英语:en,法语:fr,葡萄牙语:pt,西班牙语:es,日语:ja,土耳其语:tr,俄语:ru,阿拉伯语:ar,韩语:ko,泰语:th,意大利语:it,德语:de,越南语:vi,马来语:ms,印尼语:id\n以下语种仅 hunyuan-translation 模型支持:\n菲律宾语:fil,印地语:hi,波兰语:pl,捷克语:cs,荷兰语:nl,高棉语:km,缅甸语:my,波斯语:fa,古吉拉特语:gu,乌尔都语:ur,泰卢固语:te,马拉地语:mr,希伯来语:he,孟加拉语:bn,泰米尔语:ta,乌克兰语:uk,藏语:bo,哈萨克语:kk,蒙古语:mn,维吾尔语:ug",
|
|
632
632
|
"example": "en",
|
|
633
633
|
"member": "string",
|
|
634
634
|
"name": "Source",
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
639
|
"disabled": false,
|
|
640
|
-
"document": "目标语言。\n支持语言列表:
|
|
640
|
+
"document": "目标语言。\n支持语言列表: \n简体中文:zh,繁体中文:zh-TR,粤语:yue,英语:en,法语:fr,葡萄牙语:pt,西班牙语:es,日语:ja,土耳其语:tr,俄语:ru,阿拉伯语:ar,韩语:ko,泰语:th,意大利语:it,德语:de,越南语:vi,马来语:ms,印尼语:id\n以下语种仅 hunyuan-translation 模型支持:\n菲律宾语:fil,印地语:hi,波兰语:pl,捷克语:cs,荷兰语:nl,高棉语:km,缅甸语:my,波斯语:fa,古吉拉特语:gu,乌尔都语:ur,泰卢固语:te,马拉地语:mr,希伯来语:he,孟加拉语:bn,泰米尔语:ta,乌克兰语:uk,藏语:bo,哈萨克语:kk,蒙古语:mn,维吾尔语:ug",
|
|
641
641
|
"example": "zh",
|
|
642
642
|
"member": "string",
|
|
643
643
|
"name": "Target",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
],
|
|
113
113
|
"GetEmbedding": [
|
|
114
114
|
{
|
|
115
|
-
"document": "
|
|
115
|
+
"document": "",
|
|
116
116
|
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEmbedding\n<公共请求参数>\n\n{\n \"Input\": \"你好\"\n}",
|
|
117
117
|
"output": "{\n \"Response\": {\n \"RequestId\": \"658a95a1f824ac766d8261b0\",\n \"Data\": [\n {\n \"Embedding\": [\n 0.018218994140625,\n 0.024810791015625\n ],\n \"Index\": 0,\n \"Object\": \"embedding\"\n }\n ],\n \"Usage\": {\n \"PromptTokens\": 3,\n \"TotalTokens\": 3\n }\n }\n}",
|
|
118
118
|
"title": "请求成功示例"
|