tccli 3.0.1350.1__py2.py3-none-any.whl → 3.0.1351.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/apm/v20210622/api.json +7 -9
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cdwch/v20200915/api.json +7 -7
- tccli/services/cdwch/v20200915/examples.json +2 -2
- tccli/services/ctem/ctem_client.py +159 -0
- tccli/services/ctem/v20231128/api.json +684 -120
- tccli/services/ctem/v20231128/examples.json +24 -0
- tccli/services/gme/v20180711/api.json +40 -0
- tccli/services/kms/v20190118/api.json +188 -0
- tccli/services/lke/lke_client.py +12 -436
- tccli/services/lke/v20231130/api.json +25 -1065
- tccli/services/lke/v20231130/examples.json +0 -64
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/examples.json +2 -2
- tccli/services/monitor/v20230616/api.json +58 -195
- tccli/services/monitor/v20230616/examples.json +4 -10
- tccli/services/mps/v20190612/api.json +6 -6
- tccli/services/redis/v20180412/api.json +24 -5
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +3 -0
- tccli/services/ssl/v20191205/api.json +31 -1
- tccli/services/tke/v20180525/api.json +2 -2
- tccli/services/tse/tse_client.py +80 -27
- tccli/services/tse/v20201207/api.json +193 -0
- tccli/services/tse/v20201207/examples.json +8 -0
- {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/RECORD +31 -31
- {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/tse/tse_client.py
CHANGED
@@ -953,7 +953,7 @@ def doCreateCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
|
|
953
953
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
954
|
|
955
955
|
|
956
|
-
def
|
956
|
+
def doDeleteNativeGatewayServiceSource(args, parsed_globals):
|
957
957
|
g_param = parse_global_arg(parsed_globals)
|
958
958
|
|
959
959
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -982,11 +982,11 @@ def doDescribeWafDomains(args, parsed_globals):
|
|
982
982
|
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
983
983
|
client._sdkVersion += ("_CLI_" + __version__)
|
984
984
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
985
|
-
model = models.
|
985
|
+
model = models.DeleteNativeGatewayServiceSourceRequest()
|
986
986
|
model.from_json_string(json.dumps(args))
|
987
987
|
start_time = time.time()
|
988
988
|
while True:
|
989
|
-
rsp = client.
|
989
|
+
rsp = client.DeleteNativeGatewayServiceSource(model)
|
990
990
|
result = rsp.to_json_string()
|
991
991
|
try:
|
992
992
|
json_obj = json.loads(result)
|
@@ -1369,7 +1369,7 @@ def doUpdateCloudNativeAPIGatewayCertificateInfo(args, parsed_globals):
|
|
1369
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
1370
|
|
1371
1371
|
|
1372
|
-
def
|
1372
|
+
def doDescribeAllConfigFileTemplates(args, parsed_globals):
|
1373
1373
|
g_param = parse_global_arg(parsed_globals)
|
1374
1374
|
|
1375
1375
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1398,11 +1398,11 @@ def doDeleteNativeGatewayServiceSource(args, parsed_globals):
|
|
1398
1398
|
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
1399
|
client._sdkVersion += ("_CLI_" + __version__)
|
1400
1400
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
-
model = models.
|
1401
|
+
model = models.DescribeAllConfigFileTemplatesRequest()
|
1402
1402
|
model.from_json_string(json.dumps(args))
|
1403
1403
|
start_time = time.time()
|
1404
1404
|
while True:
|
1405
|
-
rsp = client.
|
1405
|
+
rsp = client.DescribeAllConfigFileTemplates(model)
|
1406
1406
|
result = rsp.to_json_string()
|
1407
1407
|
try:
|
1408
1408
|
json_obj = json.loads(result)
|
@@ -1421,7 +1421,7 @@ def doDeleteNativeGatewayServiceSource(args, parsed_globals):
|
|
1421
1421
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1422
1422
|
|
1423
1423
|
|
1424
|
-
def
|
1424
|
+
def doCreateNativeGatewayServerGroup(args, parsed_globals):
|
1425
1425
|
g_param = parse_global_arg(parsed_globals)
|
1426
1426
|
|
1427
1427
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1450,11 +1450,11 @@ def doDescribeAllConfigFileTemplates(args, parsed_globals):
|
|
1450
1450
|
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
1451
1451
|
client._sdkVersion += ("_CLI_" + __version__)
|
1452
1452
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1453
|
-
model = models.
|
1453
|
+
model = models.CreateNativeGatewayServerGroupRequest()
|
1454
1454
|
model.from_json_string(json.dumps(args))
|
1455
1455
|
start_time = time.time()
|
1456
1456
|
while True:
|
1457
|
-
rsp = client.
|
1457
|
+
rsp = client.CreateNativeGatewayServerGroup(model)
|
1458
1458
|
result = rsp.to_json_string()
|
1459
1459
|
try:
|
1460
1460
|
json_obj = json.loads(result)
|
@@ -1473,7 +1473,7 @@ def doDescribeAllConfigFileTemplates(args, parsed_globals):
|
|
1473
1473
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1474
1474
|
|
1475
1475
|
|
1476
|
-
def
|
1476
|
+
def doDescribeConfigFilesByGroup(args, parsed_globals):
|
1477
1477
|
g_param = parse_global_arg(parsed_globals)
|
1478
1478
|
|
1479
1479
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1502,11 +1502,11 @@ def doCreateNativeGatewayServerGroup(args, parsed_globals):
|
|
1502
1502
|
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
1503
1503
|
client._sdkVersion += ("_CLI_" + __version__)
|
1504
1504
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1505
|
-
model = models.
|
1505
|
+
model = models.DescribeConfigFilesByGroupRequest()
|
1506
1506
|
model.from_json_string(json.dumps(args))
|
1507
1507
|
start_time = time.time()
|
1508
1508
|
while True:
|
1509
|
-
rsp = client.
|
1509
|
+
rsp = client.DescribeConfigFilesByGroup(model)
|
1510
1510
|
result = rsp.to_json_string()
|
1511
1511
|
try:
|
1512
1512
|
json_obj = json.loads(result)
|
@@ -1525,7 +1525,7 @@ def doCreateNativeGatewayServerGroup(args, parsed_globals):
|
|
1525
1525
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1526
1526
|
|
1527
1527
|
|
1528
|
-
def
|
1528
|
+
def doDescribeZookeeperServerInterfaces(args, parsed_globals):
|
1529
1529
|
g_param = parse_global_arg(parsed_globals)
|
1530
1530
|
|
1531
1531
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1554,11 +1554,11 @@ def doDescribeConfigFilesByGroup(args, parsed_globals):
|
|
1554
1554
|
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
1555
1555
|
client._sdkVersion += ("_CLI_" + __version__)
|
1556
1556
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1557
|
-
model = models.
|
1557
|
+
model = models.DescribeZookeeperServerInterfacesRequest()
|
1558
1558
|
model.from_json_string(json.dumps(args))
|
1559
1559
|
start_time = time.time()
|
1560
1560
|
while True:
|
1561
|
-
rsp = client.
|
1561
|
+
rsp = client.DescribeZookeeperServerInterfaces(model)
|
1562
1562
|
result = rsp.to_json_string()
|
1563
1563
|
try:
|
1564
1564
|
json_obj = json.loads(result)
|
@@ -1577,7 +1577,7 @@ def doDescribeConfigFilesByGroup(args, parsed_globals):
|
|
1577
1577
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1578
1578
|
|
1579
1579
|
|
1580
|
-
def
|
1580
|
+
def doDeleteConfigFiles(args, parsed_globals):
|
1581
1581
|
g_param = parse_global_arg(parsed_globals)
|
1582
1582
|
|
1583
1583
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1606,11 +1606,11 @@ def doDescribeZookeeperServerInterfaces(args, parsed_globals):
|
|
1606
1606
|
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
1607
1607
|
client._sdkVersion += ("_CLI_" + __version__)
|
1608
1608
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1609
|
-
model = models.
|
1609
|
+
model = models.DeleteConfigFilesRequest()
|
1610
1610
|
model.from_json_string(json.dumps(args))
|
1611
1611
|
start_time = time.time()
|
1612
1612
|
while True:
|
1613
|
-
rsp = client.
|
1613
|
+
rsp = client.DeleteConfigFiles(model)
|
1614
1614
|
result = rsp.to_json_string()
|
1615
1615
|
try:
|
1616
1616
|
json_obj = json.loads(result)
|
@@ -1629,7 +1629,7 @@ def doDescribeZookeeperServerInterfaces(args, parsed_globals):
|
|
1629
1629
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1630
1630
|
|
1631
1631
|
|
1632
|
-
def
|
1632
|
+
def doDeleteGovernanceInstancesByHost(args, parsed_globals):
|
1633
1633
|
g_param = parse_global_arg(parsed_globals)
|
1634
1634
|
|
1635
1635
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1658,11 +1658,11 @@ def doDeleteConfigFiles(args, parsed_globals):
|
|
1658
1658
|
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
1659
1659
|
client._sdkVersion += ("_CLI_" + __version__)
|
1660
1660
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1661
|
-
model = models.
|
1661
|
+
model = models.DeleteGovernanceInstancesByHostRequest()
|
1662
1662
|
model.from_json_string(json.dumps(args))
|
1663
1663
|
start_time = time.time()
|
1664
1664
|
while True:
|
1665
|
-
rsp = client.
|
1665
|
+
rsp = client.DeleteGovernanceInstancesByHost(model)
|
1666
1666
|
result = rsp.to_json_string()
|
1667
1667
|
try:
|
1668
1668
|
json_obj = json.loads(result)
|
@@ -3709,6 +3709,58 @@ def doDeleteCloudNativeAPIGatewayCanaryRule(args, parsed_globals):
|
|
3709
3709
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3710
3710
|
|
3711
3711
|
|
3712
|
+
def doDescribeCloudNativeAPIGatewayServicesLight(args, parsed_globals):
|
3713
|
+
g_param = parse_global_arg(parsed_globals)
|
3714
|
+
|
3715
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3716
|
+
cred = credential.CVMRoleCredential()
|
3717
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3718
|
+
cred = credential.STSAssumeRoleCredential(
|
3719
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3720
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3721
|
+
)
|
3722
|
+
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):
|
3723
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3724
|
+
else:
|
3725
|
+
cred = credential.Credential(
|
3726
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3727
|
+
)
|
3728
|
+
http_profile = HttpProfile(
|
3729
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3730
|
+
reqMethod="POST",
|
3731
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3732
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3733
|
+
)
|
3734
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3735
|
+
if g_param[OptionsDefine.Language]:
|
3736
|
+
profile.language = g_param[OptionsDefine.Language]
|
3737
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3738
|
+
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
3739
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3740
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3741
|
+
model = models.DescribeCloudNativeAPIGatewayServicesLightRequest()
|
3742
|
+
model.from_json_string(json.dumps(args))
|
3743
|
+
start_time = time.time()
|
3744
|
+
while True:
|
3745
|
+
rsp = client.DescribeCloudNativeAPIGatewayServicesLight(model)
|
3746
|
+
result = rsp.to_json_string()
|
3747
|
+
try:
|
3748
|
+
json_obj = json.loads(result)
|
3749
|
+
except TypeError as e:
|
3750
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3751
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3752
|
+
break
|
3753
|
+
cur_time = time.time()
|
3754
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3755
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3756
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3757
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3758
|
+
else:
|
3759
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3760
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3761
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3762
|
+
|
3763
|
+
|
3712
3764
|
def doDescribeConfigFileReleaseVersions(args, parsed_globals):
|
3713
3765
|
g_param = parse_global_arg(parsed_globals)
|
3714
3766
|
|
@@ -5997,7 +6049,7 @@ def doCreateCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
|
|
5997
6049
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5998
6050
|
|
5999
6051
|
|
6000
|
-
def
|
6052
|
+
def doDescribeWafDomains(args, parsed_globals):
|
6001
6053
|
g_param = parse_global_arg(parsed_globals)
|
6002
6054
|
|
6003
6055
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -6026,11 +6078,11 @@ def doDeleteGovernanceInstancesByHost(args, parsed_globals):
|
|
6026
6078
|
client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
|
6027
6079
|
client._sdkVersion += ("_CLI_" + __version__)
|
6028
6080
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6029
|
-
model = models.
|
6081
|
+
model = models.DescribeWafDomainsRequest()
|
6030
6082
|
model.from_json_string(json.dumps(args))
|
6031
6083
|
start_time = time.time()
|
6032
6084
|
while True:
|
6033
|
-
rsp = client.
|
6085
|
+
rsp = client.DescribeWafDomains(model)
|
6034
6086
|
result = rsp.to_json_string()
|
6035
6087
|
try:
|
6036
6088
|
json_obj = json.loads(result)
|
@@ -6234,7 +6286,7 @@ ACTION_MAP = {
|
|
6234
6286
|
"DescribeZookeeperReplicas": doDescribeZookeeperReplicas,
|
6235
6287
|
"DeleteGovernanceInstances": doDeleteGovernanceInstances,
|
6236
6288
|
"CreateCloudNativeAPIGatewayCanaryRule": doCreateCloudNativeAPIGatewayCanaryRule,
|
6237
|
-
"
|
6289
|
+
"DeleteNativeGatewayServiceSource": doDeleteNativeGatewayServiceSource,
|
6238
6290
|
"DescribeCloudNativeAPIGatewayCertificateDetails": doDescribeCloudNativeAPIGatewayCertificateDetails,
|
6239
6291
|
"DescribeAutoScalerResourceStrategies": doDescribeAutoScalerResourceStrategies,
|
6240
6292
|
"ModifyNativeGatewayServiceSource": doModifyNativeGatewayServiceSource,
|
@@ -6242,12 +6294,12 @@ ACTION_MAP = {
|
|
6242
6294
|
"DeleteCloudNativeAPIGatewayCertificate": doDeleteCloudNativeAPIGatewayCertificate,
|
6243
6295
|
"DescribeGovernanceServiceContracts": doDescribeGovernanceServiceContracts,
|
6244
6296
|
"UpdateCloudNativeAPIGatewayCertificateInfo": doUpdateCloudNativeAPIGatewayCertificateInfo,
|
6245
|
-
"DeleteNativeGatewayServiceSource": doDeleteNativeGatewayServiceSource,
|
6246
6297
|
"DescribeAllConfigFileTemplates": doDescribeAllConfigFileTemplates,
|
6247
6298
|
"CreateNativeGatewayServerGroup": doCreateNativeGatewayServerGroup,
|
6248
6299
|
"DescribeConfigFilesByGroup": doDescribeConfigFilesByGroup,
|
6249
6300
|
"DescribeZookeeperServerInterfaces": doDescribeZookeeperServerInterfaces,
|
6250
6301
|
"DeleteConfigFiles": doDeleteConfigFiles,
|
6302
|
+
"DeleteGovernanceInstancesByHost": doDeleteGovernanceInstancesByHost,
|
6251
6303
|
"ModifyAutoScalerResourceStrategy": doModifyAutoScalerResourceStrategy,
|
6252
6304
|
"DescribeInstanceTagInfos": doDescribeInstanceTagInfos,
|
6253
6305
|
"PublishConfigFiles": doPublishConfigFiles,
|
@@ -6287,6 +6339,7 @@ ACTION_MAP = {
|
|
6287
6339
|
"DescribeGovernanceInstances": doDescribeGovernanceInstances,
|
6288
6340
|
"DescribeGovernanceServices": doDescribeGovernanceServices,
|
6289
6341
|
"DeleteCloudNativeAPIGatewayCanaryRule": doDeleteCloudNativeAPIGatewayCanaryRule,
|
6342
|
+
"DescribeCloudNativeAPIGatewayServicesLight": doDescribeCloudNativeAPIGatewayServicesLight,
|
6290
6343
|
"DescribeConfigFileReleaseVersions": doDescribeConfigFileReleaseVersions,
|
6291
6344
|
"CreateOrUpdateConfigFileAndRelease": doCreateOrUpdateConfigFileAndRelease,
|
6292
6345
|
"DescribeSREInstances": doDescribeSREInstances,
|
@@ -6331,7 +6384,7 @@ ACTION_MAP = {
|
|
6331
6384
|
"CreateGovernanceNamespaces": doCreateGovernanceNamespaces,
|
6332
6385
|
"ModifyCloudNativeAPIGateway": doModifyCloudNativeAPIGateway,
|
6333
6386
|
"CreateCloudNativeAPIGatewayServiceRateLimit": doCreateCloudNativeAPIGatewayServiceRateLimit,
|
6334
|
-
"
|
6387
|
+
"DescribeWafDomains": doDescribeWafDomains,
|
6335
6388
|
"DescribeConfigFileReleaseHistories": doDescribeConfigFileReleaseHistories,
|
6336
6389
|
"DescribeNativeGatewayServerGroups": doDescribeNativeGatewayServerGroups,
|
6337
6390
|
"UpdateUpstreamHealthCheckConfig": doUpdateUpstreamHealthCheckConfig,
|
@@ -406,6 +406,13 @@
|
|
406
406
|
"output": "DescribeCloudNativeAPIGatewayServicesResponse",
|
407
407
|
"status": "online"
|
408
408
|
},
|
409
|
+
"DescribeCloudNativeAPIGatewayServicesLight": {
|
410
|
+
"document": "轻量查询云原生网关服务列表",
|
411
|
+
"input": "DescribeCloudNativeAPIGatewayServicesLightRequest",
|
412
|
+
"name": "轻量查询云原生网关服务列表",
|
413
|
+
"output": "DescribeCloudNativeAPIGatewayServicesLightResponse",
|
414
|
+
"status": "online"
|
415
|
+
},
|
409
416
|
"DescribeCloudNativeAPIGatewayUpstream": {
|
410
417
|
"document": "获取云原生网关服务详情下的Upstream列表",
|
411
418
|
"input": "DescribeCloudNativeAPIGatewayUpstreamRequest",
|
@@ -7573,6 +7580,70 @@
|
|
7573
7580
|
],
|
7574
7581
|
"type": "object"
|
7575
7582
|
},
|
7583
|
+
"DescribeCloudNativeAPIGatewayServicesLightRequest": {
|
7584
|
+
"document": "DescribeCloudNativeAPIGatewayServicesLight请求参数结构体",
|
7585
|
+
"members": [
|
7586
|
+
{
|
7587
|
+
"disabled": false,
|
7588
|
+
"document": "网关ID",
|
7589
|
+
"example": "gateway-962b7d7c",
|
7590
|
+
"member": "string",
|
7591
|
+
"name": "GatewayId",
|
7592
|
+
"required": true,
|
7593
|
+
"type": "string"
|
7594
|
+
},
|
7595
|
+
{
|
7596
|
+
"disabled": false,
|
7597
|
+
"document": "列表数量",
|
7598
|
+
"example": "100",
|
7599
|
+
"member": "int64",
|
7600
|
+
"name": "Limit",
|
7601
|
+
"required": false,
|
7602
|
+
"type": "int"
|
7603
|
+
},
|
7604
|
+
{
|
7605
|
+
"disabled": false,
|
7606
|
+
"document": "列表 offset",
|
7607
|
+
"example": "10",
|
7608
|
+
"member": "int64",
|
7609
|
+
"name": "Offset",
|
7610
|
+
"required": false,
|
7611
|
+
"type": "int"
|
7612
|
+
},
|
7613
|
+
{
|
7614
|
+
"disabled": false,
|
7615
|
+
"document": "过滤条件,多个过滤条件之间是与的关系,支持 id、name、upstreamType",
|
7616
|
+
"example": "无",
|
7617
|
+
"member": "ListFilter",
|
7618
|
+
"name": "Filters",
|
7619
|
+
"required": false,
|
7620
|
+
"type": "list"
|
7621
|
+
}
|
7622
|
+
],
|
7623
|
+
"type": "object"
|
7624
|
+
},
|
7625
|
+
"DescribeCloudNativeAPIGatewayServicesLightResponse": {
|
7626
|
+
"document": "DescribeCloudNativeAPIGatewayServicesLight返回参数结构体",
|
7627
|
+
"members": [
|
7628
|
+
{
|
7629
|
+
"disabled": false,
|
7630
|
+
"document": "无",
|
7631
|
+
"example": "无",
|
7632
|
+
"member": "GatewayServices",
|
7633
|
+
"name": "Result",
|
7634
|
+
"output_required": true,
|
7635
|
+
"type": "object",
|
7636
|
+
"value_allowed_null": false
|
7637
|
+
},
|
7638
|
+
{
|
7639
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7640
|
+
"member": "string",
|
7641
|
+
"name": "RequestId",
|
7642
|
+
"type": "string"
|
7643
|
+
}
|
7644
|
+
],
|
7645
|
+
"type": "object"
|
7646
|
+
},
|
7576
7647
|
"DescribeCloudNativeAPIGatewayServicesRequest": {
|
7577
7648
|
"document": "DescribeCloudNativeAPIGatewayServices请求参数结构体",
|
7578
7649
|
"members": [
|
@@ -10879,6 +10950,32 @@
|
|
10879
10950
|
],
|
10880
10951
|
"usage": "out"
|
10881
10952
|
},
|
10953
|
+
"GatewayServices": {
|
10954
|
+
"document": "轻量查询网关服务列表出参",
|
10955
|
+
"members": [
|
10956
|
+
{
|
10957
|
+
"disabled": false,
|
10958
|
+
"document": "服务列表",
|
10959
|
+
"example": "无",
|
10960
|
+
"member": "KongServiceLightPreview",
|
10961
|
+
"name": "ServiceList",
|
10962
|
+
"output_required": true,
|
10963
|
+
"type": "list",
|
10964
|
+
"value_allowed_null": false
|
10965
|
+
},
|
10966
|
+
{
|
10967
|
+
"disabled": false,
|
10968
|
+
"document": "结果总数",
|
10969
|
+
"example": "10",
|
10970
|
+
"member": "uint64",
|
10971
|
+
"name": "TotalCount",
|
10972
|
+
"output_required": true,
|
10973
|
+
"type": "int",
|
10974
|
+
"value_allowed_null": false
|
10975
|
+
}
|
10976
|
+
],
|
10977
|
+
"usage": "out"
|
10978
|
+
},
|
10882
10979
|
"GovernanceAlias": {
|
10883
10980
|
"document": "服务别名结构信息",
|
10884
10981
|
"members": [
|
@@ -13053,6 +13150,102 @@
|
|
13053
13150
|
],
|
13054
13151
|
"usage": "both"
|
13055
13152
|
},
|
13153
|
+
"KongServiceLightPreview": {
|
13154
|
+
"document": "云原生网关服务简洁预览信息",
|
13155
|
+
"members": [
|
13156
|
+
{
|
13157
|
+
"disabled": false,
|
13158
|
+
"document": "服务ID",
|
13159
|
+
"example": "916462a4-8ce4-4605-a7b7-66cd51c38201",
|
13160
|
+
"member": "string",
|
13161
|
+
"name": "ID",
|
13162
|
+
"output_required": true,
|
13163
|
+
"type": "string",
|
13164
|
+
"value_allowed_null": false
|
13165
|
+
},
|
13166
|
+
{
|
13167
|
+
"disabled": false,
|
13168
|
+
"document": "服务名字",
|
13169
|
+
"example": "test-service",
|
13170
|
+
"member": "string",
|
13171
|
+
"name": "Name",
|
13172
|
+
"output_required": true,
|
13173
|
+
"type": "string",
|
13174
|
+
"value_allowed_null": false
|
13175
|
+
},
|
13176
|
+
{
|
13177
|
+
"disabled": false,
|
13178
|
+
"document": "后端配置",
|
13179
|
+
"example": "无",
|
13180
|
+
"member": "KongUpstreamInfo",
|
13181
|
+
"name": "UpstreamInfo",
|
13182
|
+
"output_required": false,
|
13183
|
+
"type": "object",
|
13184
|
+
"value_allowed_null": false
|
13185
|
+
},
|
13186
|
+
{
|
13187
|
+
"disabled": false,
|
13188
|
+
"document": "后端类型",
|
13189
|
+
"example": "HostIP",
|
13190
|
+
"member": "string",
|
13191
|
+
"name": "UpstreamType",
|
13192
|
+
"output_required": false,
|
13193
|
+
"type": "string",
|
13194
|
+
"value_allowed_null": false
|
13195
|
+
},
|
13196
|
+
{
|
13197
|
+
"disabled": false,
|
13198
|
+
"document": "创建时间",
|
13199
|
+
"example": "2024-11-25 10:49:23",
|
13200
|
+
"member": "string",
|
13201
|
+
"name": "CreatedTime",
|
13202
|
+
"output_required": false,
|
13203
|
+
"type": "string",
|
13204
|
+
"value_allowed_null": false
|
13205
|
+
},
|
13206
|
+
{
|
13207
|
+
"disabled": false,
|
13208
|
+
"document": "请求路径\n注意:此字段可能返回 null,表示取不到有效值。",
|
13209
|
+
"example": "/open",
|
13210
|
+
"member": "string",
|
13211
|
+
"name": "Path",
|
13212
|
+
"output_required": false,
|
13213
|
+
"type": "string",
|
13214
|
+
"value_allowed_null": true
|
13215
|
+
},
|
13216
|
+
{
|
13217
|
+
"disabled": false,
|
13218
|
+
"document": "后端协议",
|
13219
|
+
"example": "http",
|
13220
|
+
"member": "string",
|
13221
|
+
"name": "Protocol",
|
13222
|
+
"output_required": false,
|
13223
|
+
"type": "string",
|
13224
|
+
"value_allowed_null": false
|
13225
|
+
},
|
13226
|
+
{
|
13227
|
+
"disabled": false,
|
13228
|
+
"document": "重试次数",
|
13229
|
+
"example": "1",
|
13230
|
+
"member": "uint64",
|
13231
|
+
"name": "Retries",
|
13232
|
+
"output_required": false,
|
13233
|
+
"type": "int",
|
13234
|
+
"value_allowed_null": false
|
13235
|
+
},
|
13236
|
+
{
|
13237
|
+
"disabled": false,
|
13238
|
+
"document": "后端延时,单位ms",
|
13239
|
+
"example": "5000",
|
13240
|
+
"member": "uint64",
|
13241
|
+
"name": "Timeout",
|
13242
|
+
"output_required": false,
|
13243
|
+
"type": "int",
|
13244
|
+
"value_allowed_null": false
|
13245
|
+
}
|
13246
|
+
],
|
13247
|
+
"usage": "out"
|
13248
|
+
},
|
13056
13249
|
"KongServicePreview": {
|
13057
13250
|
"document": "云原生网关服务预览信息",
|
13058
13251
|
"members": [
|
@@ -464,6 +464,14 @@
|
|
464
464
|
"title": "查询云原生网关服务列表"
|
465
465
|
}
|
466
466
|
],
|
467
|
+
"DescribeCloudNativeAPIGatewayServicesLight": [
|
468
|
+
{
|
469
|
+
"document": "轻量查询云原生网关服务列表\n",
|
470
|
+
"input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudNativeAPIGatewayServicesLight\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-dde03767\",\n \"Limit\": 20,\n \"Offset\": 0,\n \"Filters\": [\n {\n \"Key\": \"id\",\n \"Value\": \"d9eb7e29-7800-4327-b37a-67e250dfc147\"\n }\n ]\n}",
|
471
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d9eb7e29-7800-4327-b37a-67e250dfc147\",\n \"Result\": {\n \"ServiceList\": [\n {\n \"Name\": \"service1\",\n \"ID\": \"67695fc9-6d40-4450-83b5-ea57babbad6d\",\n \"UpstreamInfo\": {\n \"Host\": \"default-67695fc9-6d40-4450-83b5-ea57babbad6d\",\n \"Targets\": [\n {\n \"Host\": \"10.0.0.121\",\n \"Port\": 18080,\n \"Weight\": 1000,\n \"CreatedTime\": \"2024-11-25 10:51:28\"\n }\n ]\n },\n \"UpstreamType\": \"IPList\",\n \"CreatedTime\": \"2024-10-22 16:38:26\",\n \"Path\": \"\"\n }\n ],\n \"TotalCount\": 1\n }\n }\n}",
|
472
|
+
"title": "轻量查询云原生网关服务列表"
|
473
|
+
}
|
474
|
+
],
|
467
475
|
"DescribeCloudNativeAPIGatewayUpstream": [
|
468
476
|
{
|
469
477
|
"document": "获取云原生网关服务详情下的Upstream列表",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1351.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1351
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|