tccli 3.0.1328.1__py2.py3-none-any.whl → 3.0.1331.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 +3 -3
- tccli/services/autoscaling/v20180419/examples.json +1 -1
- tccli/services/btoe/v20210514/api.json +26 -26
- tccli/services/cbs/v20170312/api.json +13 -13
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +105 -0
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdn/v20180606/api.json +3 -3
- tccli/services/cdn/v20180606/examples.json +4 -4
- tccli/services/cdwch/v20200915/api.json +3 -3
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/ckafka/v20190819/api.json +9 -0
- tccli/services/clb/v20180317/api.json +18 -0
- tccli/services/dbbrain/v20210527/api.json +1 -0
- tccli/services/dnspod/dnspod_client.py +106 -0
- tccli/services/dnspod/v20210323/api.json +509 -2
- tccli/services/dnspod/v20210323/examples.json +17 -1
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/ess/v20201111/api.json +13 -4
- tccli/services/essbasic/v20210526/api.json +15 -6
- tccli/services/essbasic/v20210526/examples.json +3 -3
- tccli/services/faceid/v20180301/api.json +49 -4
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +62 -9
- tccli/services/gs/v20191118/examples.json +8 -0
- tccli/services/hai/hai_client.py +110 -4
- tccli/services/hai/v20230812/api.json +105 -0
- tccli/services/hai/v20230812/examples.json +16 -0
- tccli/services/ioa/ioa_client.py +106 -0
- tccli/services/ioa/v20220601/api.json +428 -0
- tccli/services/ioa/v20220601/examples.json +22 -0
- tccli/services/iotexplorer/v20190423/api.json +61 -10
- tccli/services/iotexplorer/v20190423/examples.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/lke_client.py +383 -12
- tccli/services/lke/v20231130/api.json +950 -24
- tccli/services/lke/v20231130/examples.json +60 -4
- tccli/services/lowcode/v20210108/api.json +41 -1
- tccli/services/lowcode/v20210108/examples.json +2 -2
- tccli/services/mps/v20190612/api.json +11 -0
- tccli/services/ocr/ocr_client.py +532 -320
- tccli/services/ocr/v20181119/api.json +651 -74
- tccli/services/ocr/v20181119/examples.json +32 -0
- tccli/services/postgres/v20170312/api.json +1 -1
- tccli/services/sms/v20190711/api.json +4 -4
- tccli/services/sms/v20210111/api.json +4 -4
- tccli/services/sqlserver/v20180328/api.json +29 -2
- tccli/services/ssl/v20191205/api.json +79 -0
- tccli/services/ssl/v20191205/examples.json +6 -6
- tccli/services/tcss/tcss_client.py +57 -4
- tccli/services/tcss/v20201101/api.json +79 -0
- tccli/services/tcss/v20201101/examples.json +8 -0
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20180525/api.json +59 -1
- tccli/services/tke/v20180525/examples.json +4 -4
- tccli/services/tke/v20220501/api.json +61 -0
- tccli/services/tke/v20220501/examples.json +8 -0
- tccli/services/trtc/trtc_client.py +216 -4
- tccli/services/trtc/v20190722/api.json +430 -1
- tccli/services/trtc/v20190722/examples.json +32 -0
- tccli/services/vm/v20210922/api.json +16 -20
- tccli/services/vod/v20180717/api.json +25 -13
- tccli/services/vod/v20180717/examples.json +2 -2
- tccli/services/wedata/v20210820/api.json +4144 -447
- tccli/services/wedata/v20210820/examples.json +52 -10
- tccli/services/wedata/wedata_client.py +403 -85
- {tccli-3.0.1328.1.dist-info → tccli-3.0.1331.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1328.1.dist-info → tccli-3.0.1331.1.dist-info}/RECORD +73 -73
- {tccli-3.0.1328.1.dist-info → tccli-3.0.1331.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1328.1.dist-info → tccli-3.0.1331.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1328.1.dist-info → tccli-3.0.1331.1.dist-info}/license_files/LICENSE +0 -0
@@ -3033,6 +3033,58 @@ def doDescribeNetworkFirewallPolicyYamlDetail(args, parsed_globals):
|
|
3033
3033
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3034
3034
|
|
3035
3035
|
|
3036
|
+
def doDescribeUserCluster(args, parsed_globals):
|
3037
|
+
g_param = parse_global_arg(parsed_globals)
|
3038
|
+
|
3039
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3040
|
+
cred = credential.CVMRoleCredential()
|
3041
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3042
|
+
cred = credential.STSAssumeRoleCredential(
|
3043
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3044
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3045
|
+
)
|
3046
|
+
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):
|
3047
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3048
|
+
else:
|
3049
|
+
cred = credential.Credential(
|
3050
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3051
|
+
)
|
3052
|
+
http_profile = HttpProfile(
|
3053
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3054
|
+
reqMethod="POST",
|
3055
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3056
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3057
|
+
)
|
3058
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3059
|
+
if g_param[OptionsDefine.Language]:
|
3060
|
+
profile.language = g_param[OptionsDefine.Language]
|
3061
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3062
|
+
client = mod.TcssClient(cred, g_param[OptionsDefine.Region], profile)
|
3063
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3064
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3065
|
+
model = models.DescribeUserClusterRequest()
|
3066
|
+
model.from_json_string(json.dumps(args))
|
3067
|
+
start_time = time.time()
|
3068
|
+
while True:
|
3069
|
+
rsp = client.DescribeUserCluster(model)
|
3070
|
+
result = rsp.to_json_string()
|
3071
|
+
try:
|
3072
|
+
json_obj = json.loads(result)
|
3073
|
+
except TypeError as e:
|
3074
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3075
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3076
|
+
break
|
3077
|
+
cur_time = time.time()
|
3078
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3079
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3080
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3081
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3082
|
+
else:
|
3083
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3084
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3085
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3086
|
+
|
3087
|
+
|
3036
3088
|
def doCheckNetworkFirewallPolicyYaml(args, parsed_globals):
|
3037
3089
|
g_param = parse_global_arg(parsed_globals)
|
3038
3090
|
|
@@ -13953,7 +14005,7 @@ def doModifyReverseShellStatus(args, parsed_globals):
|
|
13953
14005
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
13954
14006
|
|
13955
14007
|
|
13956
|
-
def
|
14008
|
+
def doModifyRiskDnsEventStatus(args, parsed_globals):
|
13957
14009
|
g_param = parse_global_arg(parsed_globals)
|
13958
14010
|
|
13959
14011
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -13982,11 +14034,11 @@ def doDescribeUserCluster(args, parsed_globals):
|
|
13982
14034
|
client = mod.TcssClient(cred, g_param[OptionsDefine.Region], profile)
|
13983
14035
|
client._sdkVersion += ("_CLI_" + __version__)
|
13984
14036
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
13985
|
-
model = models.
|
14037
|
+
model = models.ModifyRiskDnsEventStatusRequest()
|
13986
14038
|
model.from_json_string(json.dumps(args))
|
13987
14039
|
start_time = time.time()
|
13988
14040
|
while True:
|
13989
|
-
rsp = client.
|
14041
|
+
rsp = client.ModifyRiskDnsEventStatus(model)
|
13990
14042
|
result = rsp.to_json_string()
|
13991
14043
|
try:
|
13992
14044
|
json_obj = json.loads(result)
|
@@ -17610,6 +17662,7 @@ ACTION_MAP = {
|
|
17610
17662
|
"CreateAssetImageRegistryScanTaskOneKey": doCreateAssetImageRegistryScanTaskOneKey,
|
17611
17663
|
"ModifyAssetImageScanStop": doModifyAssetImageScanStop,
|
17612
17664
|
"DescribeNetworkFirewallPolicyYamlDetail": doDescribeNetworkFirewallPolicyYamlDetail,
|
17665
|
+
"DescribeUserCluster": doDescribeUserCluster,
|
17613
17666
|
"CheckNetworkFirewallPolicyYaml": doCheckNetworkFirewallPolicyYaml,
|
17614
17667
|
"DescribeComplianceAssetPolicyItemList": doDescribeComplianceAssetPolicyItemList,
|
17615
17668
|
"DescribeAssetImageScanSetting": doDescribeAssetImageScanSetting,
|
@@ -17820,7 +17873,7 @@ ACTION_MAP = {
|
|
17820
17873
|
"DescribeVirusScanTaskStatus": doDescribeVirusScanTaskStatus,
|
17821
17874
|
"DescribeAssetImageRiskListExport": doDescribeAssetImageRiskListExport,
|
17822
17875
|
"ModifyReverseShellStatus": doModifyReverseShellStatus,
|
17823
|
-
"
|
17876
|
+
"ModifyRiskDnsEventStatus": doModifyRiskDnsEventStatus,
|
17824
17877
|
"DescribeSecLogJoinTypeList": doDescribeSecLogJoinTypeList,
|
17825
17878
|
"DescribeVulIgnoreLocalImageList": doDescribeVulIgnoreLocalImageList,
|
17826
17879
|
"DescribeVulRegistryImageList": doDescribeVulRegistryImageList,
|
@@ -2121,6 +2121,13 @@
|
|
2121
2121
|
"output": "ModifyReverseShellStatusResponse",
|
2122
2122
|
"status": "online"
|
2123
2123
|
},
|
2124
|
+
"ModifyRiskDnsEventStatus": {
|
2125
|
+
"document": "编辑恶意请求事件状态",
|
2126
|
+
"input": "ModifyRiskDnsEventStatusRequest",
|
2127
|
+
"name": "编辑恶意请求事件状态",
|
2128
|
+
"output": "ModifyRiskDnsEventStatusResponse",
|
2129
|
+
"status": "online"
|
2130
|
+
},
|
2124
2131
|
"ModifyRiskSyscallStatus": {
|
2125
2132
|
"document": "修改高危系统调用事件的状态信息",
|
2126
2133
|
"input": "ModifyRiskSyscallStatusRequest",
|
@@ -36436,6 +36443,78 @@
|
|
36436
36443
|
],
|
36437
36444
|
"type": "object"
|
36438
36445
|
},
|
36446
|
+
"ModifyRiskDnsEventStatusRequest": {
|
36447
|
+
"document": "ModifyRiskDnsEventStatus请求参数结构体",
|
36448
|
+
"members": [
|
36449
|
+
{
|
36450
|
+
"disabled": false,
|
36451
|
+
"document": "恶意请求事件ID数组。加白时必需,否则Filters和EventIDSet二者选其一。",
|
36452
|
+
"example": "无",
|
36453
|
+
"member": "uint64",
|
36454
|
+
"name": "EventIDSet",
|
36455
|
+
"required": true,
|
36456
|
+
"type": "list"
|
36457
|
+
},
|
36458
|
+
{
|
36459
|
+
"disabled": false,
|
36460
|
+
"document": "标记事件的状态:\nEVENT_UNDEAL:未处理(取消忽略),\nEVENT_DEALED:已处理,\nEVENT_IGNORE:忽略,\nEVENT_DELETE:已删除\nEVENT_ADD_WHITE:加白\nEVENT_ISOLATE_CONTAINER:隔离容器\nEVENT_RESOTRE_CONTAINER:恢复容器",
|
36461
|
+
"example": "无",
|
36462
|
+
"member": "string",
|
36463
|
+
"name": "EventStatus",
|
36464
|
+
"required": true,
|
36465
|
+
"type": "string"
|
36466
|
+
},
|
36467
|
+
{
|
36468
|
+
"disabled": false,
|
36469
|
+
"document": "白名单域名/IP",
|
36470
|
+
"example": "无",
|
36471
|
+
"member": "string",
|
36472
|
+
"name": "Address",
|
36473
|
+
"required": false,
|
36474
|
+
"type": "string"
|
36475
|
+
},
|
36476
|
+
{
|
36477
|
+
"disabled": false,
|
36478
|
+
"document": "备注",
|
36479
|
+
"example": "无",
|
36480
|
+
"member": "string",
|
36481
|
+
"name": "Remark",
|
36482
|
+
"required": false,
|
36483
|
+
"type": "string"
|
36484
|
+
},
|
36485
|
+
{
|
36486
|
+
"disabled": false,
|
36487
|
+
"document": "相同的请求域名/IP事件加白处理",
|
36488
|
+
"example": "false",
|
36489
|
+
"member": "bool",
|
36490
|
+
"name": "AllSameEventAddWhite",
|
36491
|
+
"required": false,
|
36492
|
+
"type": "bool"
|
36493
|
+
},
|
36494
|
+
{
|
36495
|
+
"disabled": false,
|
36496
|
+
"document": "加白的事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP",
|
36497
|
+
"example": "无",
|
36498
|
+
"member": "string",
|
36499
|
+
"name": "AddWhiteEventType",
|
36500
|
+
"required": false,
|
36501
|
+
"type": "string"
|
36502
|
+
}
|
36503
|
+
],
|
36504
|
+
"type": "object"
|
36505
|
+
},
|
36506
|
+
"ModifyRiskDnsEventStatusResponse": {
|
36507
|
+
"document": "ModifyRiskDnsEventStatus返回参数结构体",
|
36508
|
+
"members": [
|
36509
|
+
{
|
36510
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
36511
|
+
"member": "string",
|
36512
|
+
"name": "RequestId",
|
36513
|
+
"type": "string"
|
36514
|
+
}
|
36515
|
+
],
|
36516
|
+
"type": "object"
|
36517
|
+
},
|
36439
36518
|
"ModifyRiskSyscallStatusRequest": {
|
36440
36519
|
"document": "ModifyRiskSyscallStatus请求参数结构体",
|
36441
36520
|
"members": [
|
@@ -2514,6 +2514,14 @@
|
|
2514
2514
|
"title": "修改反弹shell事件状态"
|
2515
2515
|
}
|
2516
2516
|
],
|
2517
|
+
"ModifyRiskDnsEventStatus": [
|
2518
|
+
{
|
2519
|
+
"document": "",
|
2520
|
+
"input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRiskDnsEventStatus\n<公共请求参数>\n\n{\n \"EventIDSet\": [\n 1\n ],\n \"EventStatus\": \"EVENT_DEALED\",\n \"Remark\": \"xx\"\n}",
|
2521
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
2522
|
+
"title": "编辑恶意请求事件状态"
|
2523
|
+
}
|
2524
|
+
],
|
2517
2525
|
"ModifyRiskSyscallStatus": [
|
2518
2526
|
{
|
2519
2527
|
"document": "",
|
@@ -15376,7 +15376,7 @@
|
|
15376
15376
|
},
|
15377
15377
|
{
|
15378
15378
|
"disabled": false,
|
15379
|
-
"document": "
|
15379
|
+
"document": "该负载均衡实例绑的四层代理实例的列表。",
|
15380
15380
|
"example": "[\"sid-asdfsd1asdf\", \"sid-8asdfjasdfl\"]",
|
15381
15381
|
"member": "string",
|
15382
15382
|
"name": "L4UsedList",
|
tccli/services/tke/tke_client.py
CHANGED
@@ -4335,6 +4335,58 @@ def doCreateReservedInstances(args, parsed_globals):
|
|
4335
4335
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4336
4336
|
|
4337
4337
|
|
4338
|
+
def doDeleteClusterMachines(args, parsed_globals):
|
4339
|
+
g_param = parse_global_arg(parsed_globals)
|
4340
|
+
|
4341
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4342
|
+
cred = credential.CVMRoleCredential()
|
4343
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4344
|
+
cred = credential.STSAssumeRoleCredential(
|
4345
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4346
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4347
|
+
)
|
4348
|
+
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):
|
4349
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4350
|
+
else:
|
4351
|
+
cred = credential.Credential(
|
4352
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4353
|
+
)
|
4354
|
+
http_profile = HttpProfile(
|
4355
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4356
|
+
reqMethod="POST",
|
4357
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4358
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4359
|
+
)
|
4360
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4361
|
+
if g_param[OptionsDefine.Language]:
|
4362
|
+
profile.language = g_param[OptionsDefine.Language]
|
4363
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4364
|
+
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
4365
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4366
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4367
|
+
model = models.DeleteClusterMachinesRequest()
|
4368
|
+
model.from_json_string(json.dumps(args))
|
4369
|
+
start_time = time.time()
|
4370
|
+
while True:
|
4371
|
+
rsp = client.DeleteClusterMachines(model)
|
4372
|
+
result = rsp.to_json_string()
|
4373
|
+
try:
|
4374
|
+
json_obj = json.loads(result)
|
4375
|
+
except TypeError as e:
|
4376
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4377
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4378
|
+
break
|
4379
|
+
cur_time = time.time()
|
4380
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4381
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4382
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4383
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4384
|
+
else:
|
4385
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4386
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4387
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4388
|
+
|
4389
|
+
|
4338
4390
|
def doRebootMachines(args, parsed_globals):
|
4339
4391
|
g_param = parse_global_arg(parsed_globals)
|
4340
4392
|
|
@@ -12647,6 +12699,7 @@ ACTION_MAP = {
|
|
12647
12699
|
"ModifyClusterTags": doModifyClusterTags,
|
12648
12700
|
"DescribeClusterEndpointStatus": doDescribeClusterEndpointStatus,
|
12649
12701
|
"CreateReservedInstances": doCreateReservedInstances,
|
12702
|
+
"DeleteClusterMachines": doDeleteClusterMachines,
|
12650
12703
|
"RebootMachines": doRebootMachines,
|
12651
12704
|
"ForwardTKEEdgeApplicationRequestV3": doForwardTKEEdgeApplicationRequestV3,
|
12652
12705
|
"DescribeBatchModifyTagsStatus": doDescribeBatchModifyTagsStatus,
|
@@ -4674,6 +4674,15 @@
|
|
4674
4674
|
"name": "ExtensiveParameters",
|
4675
4675
|
"required": false,
|
4676
4676
|
"type": "string"
|
4677
|
+
},
|
4678
|
+
{
|
4679
|
+
"disabled": false,
|
4680
|
+
"document": "使用已有clb开启内网或外网访问",
|
4681
|
+
"example": "lb-n18gb6t3",
|
4682
|
+
"member": "string",
|
4683
|
+
"name": "ExistedLoadBalancerId",
|
4684
|
+
"required": false,
|
4685
|
+
"type": "string"
|
4677
4686
|
}
|
4678
4687
|
],
|
4679
4688
|
"type": "object"
|
@@ -25010,6 +25019,7 @@
|
|
25010
25019
|
"member": "string",
|
25011
25020
|
"name": "NodeName",
|
25012
25021
|
"output_required": false,
|
25022
|
+
"required": false,
|
25013
25023
|
"type": "string",
|
25014
25024
|
"value_allowed_null": false
|
25015
25025
|
},
|
@@ -25020,6 +25030,7 @@
|
|
25020
25030
|
"member": "uint64",
|
25021
25031
|
"name": "Num",
|
25022
25032
|
"output_required": false,
|
25033
|
+
"required": false,
|
25023
25034
|
"type": "int",
|
25024
25035
|
"value_allowed_null": false
|
25025
25036
|
},
|
@@ -25030,6 +25041,7 @@
|
|
25030
25041
|
"member": "float",
|
25031
25042
|
"name": "Cpu",
|
25032
25043
|
"output_required": false,
|
25044
|
+
"required": false,
|
25033
25045
|
"type": "float",
|
25034
25046
|
"value_allowed_null": false
|
25035
25047
|
},
|
@@ -25040,6 +25052,7 @@
|
|
25040
25052
|
"member": "float",
|
25041
25053
|
"name": "Memory",
|
25042
25054
|
"output_required": false,
|
25055
|
+
"required": false,
|
25043
25056
|
"type": "float",
|
25044
25057
|
"value_allowed_null": false
|
25045
25058
|
},
|
@@ -25050,11 +25063,56 @@
|
|
25050
25063
|
"member": "float",
|
25051
25064
|
"name": "Gpu",
|
25052
25065
|
"output_required": false,
|
25066
|
+
"required": false,
|
25053
25067
|
"type": "float",
|
25054
25068
|
"value_allowed_null": false
|
25069
|
+
},
|
25070
|
+
{
|
25071
|
+
"disabled": false,
|
25072
|
+
"document": "节点资源的配额类型,exact表示精确配额,fuzzy 表示模糊配额。",
|
25073
|
+
"example": "exact",
|
25074
|
+
"member": "string",
|
25075
|
+
"name": "QuotaType",
|
25076
|
+
"output_required": false,
|
25077
|
+
"required": false,
|
25078
|
+
"type": "string",
|
25079
|
+
"value_allowed_null": false
|
25080
|
+
},
|
25081
|
+
{
|
25082
|
+
"disabled": false,
|
25083
|
+
"document": "配额的计费类型,PREPAID表示包月,POSTPAID_BY_HOUR表示按量。",
|
25084
|
+
"example": "PREPAID",
|
25085
|
+
"member": "string",
|
25086
|
+
"name": "ChargeType",
|
25087
|
+
"output_required": false,
|
25088
|
+
"required": false,
|
25089
|
+
"type": "string",
|
25090
|
+
"value_allowed_null": false
|
25091
|
+
},
|
25092
|
+
{
|
25093
|
+
"disabled": false,
|
25094
|
+
"document": "QuotaType为 exact 时,此字段有效,表示精确配额的资源类型。",
|
25095
|
+
"example": "intel",
|
25096
|
+
"member": "string",
|
25097
|
+
"name": "ResourceType",
|
25098
|
+
"output_required": false,
|
25099
|
+
"required": false,
|
25100
|
+
"type": "string",
|
25101
|
+
"value_allowed_null": false
|
25102
|
+
},
|
25103
|
+
{
|
25104
|
+
"disabled": false,
|
25105
|
+
"document": "置放群组 ID",
|
25106
|
+
"example": "ps-12345678",
|
25107
|
+
"member": "string",
|
25108
|
+
"name": "DisasterRecoverGroupId",
|
25109
|
+
"output_required": false,
|
25110
|
+
"required": false,
|
25111
|
+
"type": "string",
|
25112
|
+
"value_allowed_null": false
|
25055
25113
|
}
|
25056
25114
|
],
|
25057
|
-
"usage": "
|
25115
|
+
"usage": "both"
|
25058
25116
|
},
|
25059
25117
|
"Switch": {
|
25060
25118
|
"document": "集群日志开关集合",
|
@@ -1073,7 +1073,7 @@
|
|
1073
1073
|
"DescribePodsBySpec": [
|
1074
1074
|
{
|
1075
1075
|
"document": "Filter Name只支持文档中的示例值",
|
1076
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePodsBySpec\n<公共请求参数>\n\n{\n \"Cpu\": 1,\n \"Memory\": 2,\n \"Filters\": [\n {\n \"Name\": \"not-support-filter-name\"\n }\n ]\n}",
|
1076
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePodsBySpec\n<公共请求参数>\n\n{\n \"Cpu\": 1,\n \"Memory\": 2,\n \"Filters\": [\n {\n \"Name\": \"not-support-filter-name\",\n \"Values\": [\n \"intel\"\n ]\n }\n ]\n}",
|
1077
1077
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InternalError.Param\",\n \"Message\": \"Filter Name:not-support-filter-name not supported\"\n },\n \"RequestId\": \"3323e599-cc1f-481b-95a7-dec3f145d158\"\n }\n}",
|
1078
1078
|
"title": "Filter Name值不支持"
|
1079
1079
|
},
|
@@ -1265,7 +1265,7 @@
|
|
1265
1265
|
"DescribeRIUtilizationDetail": [
|
1266
1266
|
{
|
1267
1267
|
"document": "Filter Name只支持文档中的示例值",
|
1268
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRIUtilizationDetail\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"not-support-filter-name\"\n }\n ]\n}",
|
1268
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRIUtilizationDetail\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"not-support-filter-name\",\n \"Values\": [\n \"2023-08-09 00:00:00\"\n ]\n }\n ]\n}",
|
1269
1269
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InternalError.Param\",\n \"Message\": \"Filter Name:not-support-filter-name not supported\"\n },\n \"RequestId\": \"e6a4cb0c-defc-4829-8c12-784f300cea6a\"\n }\n}",
|
1270
1270
|
"title": "Filter Name值不支持"
|
1271
1271
|
},
|
@@ -1301,7 +1301,7 @@
|
|
1301
1301
|
"DescribeReservedInstances": [
|
1302
1302
|
{
|
1303
1303
|
"document": "Filter Name只支持文档中的示例值",
|
1304
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstances\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"not-support-filter-name\",\n \"Values\": [\n \"
|
1304
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstances\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"not-support-filter-name\",\n \"Values\": [\n \"Active\"\n ]\n }\n ]\n}",
|
1305
1305
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InternalError.Param\",\n \"Message\": \"Filter Name:not-support-filter-name not supported\"\n },\n \"RequestId\": \"b31166bd-80d6-4868-b13a-952bc1cdc74c\"\n }\n}",
|
1306
1306
|
"title": "Filter Name值不支持"
|
1307
1307
|
},
|
@@ -1313,7 +1313,7 @@
|
|
1313
1313
|
},
|
1314
1314
|
{
|
1315
1315
|
"document": "支持的 Filter Name示例",
|
1316
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstances\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"status\",\n \"Values\": [\n \"Active\"\n ]\n },\n {\n \"Name\": \"scope\",\n \"Values\": [\n \"ap-guangzhou-2\"\n ]\n },\n {\n \"Name\": \"cluster-id\",\n \"Values\": [\n \"cls-3dkzu9z2\"\n ]\n },\n {\n \"Name\": \"node-name\",\n \"Values\": [\n \"eklet-subnet-9hxmgam6-790879\"\n ]\n },\n {\n \"Name\": \"cpu\",\n \"Values\": [\n \"2\"\n ]\n },\n {\n \"Name\": \"memory\",\n \"Values\": [\n \"4\"\n ]\n },\n {\n \"Name\": \"resource-type\",\n \"Values\": [\n \"common\"\n ]\n },\n {\n \"Name\": \"gpu\",\n \"Values\": [\n \"\"\n ]\n },\n {\n \"Name\": \"reserved-instance-id\",\n \"Values\": [\n \"eksri-f9rwc82i\"\n ]\n },\n {\n \"Name\": \"reserved-instance-name\",\n \"Values\": [\n \"c\"\n ]\n },\n {\n \"Name\": \"reserved-instance-not-deduct\"\n }\n ],\n \"OrderField\": \"ExpireAt\",\n \"OrderDirection\": \"ASC\"\n}",
|
1316
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstances\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"status\",\n \"Values\": [\n \"Active\"\n ]\n },\n {\n \"Name\": \"scope\",\n \"Values\": [\n \"ap-guangzhou-2\"\n ]\n },\n {\n \"Name\": \"cluster-id\",\n \"Values\": [\n \"cls-3dkzu9z2\"\n ]\n },\n {\n \"Name\": \"node-name\",\n \"Values\": [\n \"eklet-subnet-9hxmgam6-790879\"\n ]\n },\n {\n \"Name\": \"cpu\",\n \"Values\": [\n \"2\"\n ]\n },\n {\n \"Name\": \"memory\",\n \"Values\": [\n \"4\"\n ]\n },\n {\n \"Name\": \"resource-type\",\n \"Values\": [\n \"common\"\n ]\n },\n {\n \"Name\": \"gpu\",\n \"Values\": [\n \"t4\"\n ]\n },\n {\n \"Name\": \"reserved-instance-id\",\n \"Values\": [\n \"eksri-f9rwc82i\"\n ]\n },\n {\n \"Name\": \"reserved-instance-name\",\n \"Values\": [\n \"c\"\n ]\n },\n {\n \"Name\": \"reserved-instance-not-deduct\",\n \"Values\": [\n \"c\"\n ]\n }\n ],\n \"OrderField\": \"ExpireAt\",\n \"OrderDirection\": \"ASC\"\n}",
|
1317
1317
|
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"ReservedInstanceSet\": [],\n \"RequestId\": \"a1be36f0-1aa4-4af2-a289-da021bcef89f\"\n }\n}",
|
1318
1318
|
"title": "支持的 Filter Name示例"
|
1319
1319
|
},
|
@@ -14,6 +14,13 @@
|
|
14
14
|
"output": "CreateNodePoolResponse",
|
15
15
|
"status": "online"
|
16
16
|
},
|
17
|
+
"DeleteClusterMachines": {
|
18
|
+
"document": "删除原生节点池节点",
|
19
|
+
"input": "DeleteClusterMachinesRequest",
|
20
|
+
"name": "删除原生节点池节点",
|
21
|
+
"output": "DeleteClusterMachinesResponse",
|
22
|
+
"status": "online"
|
23
|
+
},
|
17
24
|
"DeleteHealthCheckPolicy": {
|
18
25
|
"document": "删除健康检测策略",
|
19
26
|
"input": "DeleteHealthCheckPolicyRequest",
|
@@ -694,6 +701,60 @@
|
|
694
701
|
],
|
695
702
|
"usage": "both"
|
696
703
|
},
|
704
|
+
"DeleteClusterMachinesRequest": {
|
705
|
+
"document": "DeleteClusterMachines请求参数结构体",
|
706
|
+
"members": [
|
707
|
+
{
|
708
|
+
"disabled": false,
|
709
|
+
"document": "集群 ID",
|
710
|
+
"example": "cls-xxxxxxxx",
|
711
|
+
"member": "string",
|
712
|
+
"name": "ClusterId",
|
713
|
+
"required": true,
|
714
|
+
"type": "string"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"disabled": false,
|
718
|
+
"document": "节点名列表",
|
719
|
+
"example": "[np-xxxxxxxx-7j9rt]",
|
720
|
+
"member": "string",
|
721
|
+
"name": "MachineNames",
|
722
|
+
"required": true,
|
723
|
+
"type": "list"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"disabled": false,
|
727
|
+
"document": "删除节点时是否缩容节点池,true为缩容",
|
728
|
+
"example": "true",
|
729
|
+
"member": "bool",
|
730
|
+
"name": "EnableScaleDown",
|
731
|
+
"required": false,
|
732
|
+
"type": "bool"
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"disabled": false,
|
736
|
+
"document": "集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例)retain(仅移除,保留实例)",
|
737
|
+
"example": "terminate",
|
738
|
+
"member": "string",
|
739
|
+
"name": "InstanceDeleteMode",
|
740
|
+
"required": false,
|
741
|
+
"type": "string"
|
742
|
+
}
|
743
|
+
],
|
744
|
+
"type": "object"
|
745
|
+
},
|
746
|
+
"DeleteClusterMachinesResponse": {
|
747
|
+
"document": "DeleteClusterMachines返回参数结构体",
|
748
|
+
"members": [
|
749
|
+
{
|
750
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
751
|
+
"member": "string",
|
752
|
+
"name": "RequestId",
|
753
|
+
"type": "string"
|
754
|
+
}
|
755
|
+
],
|
756
|
+
"type": "object"
|
757
|
+
},
|
697
758
|
"DeleteHealthCheckPolicyRequest": {
|
698
759
|
"document": "DeleteHealthCheckPolicy请求参数结构体",
|
699
760
|
"members": [
|
@@ -16,6 +16,14 @@
|
|
16
16
|
"title": "创建 TKE 节点池"
|
17
17
|
}
|
18
18
|
],
|
19
|
+
"DeleteClusterMachines": [
|
20
|
+
{
|
21
|
+
"document": "",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteClusterMachines\n<公共请求参数>\n\n{\n \"MachineNames\": [\n \"np-5tx2l4dc-hbbv6\"\n ],\n \"ClusterId\": \"cls-l9l1o3y0\",\n \"EnableScaleDown\": false\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"71e54a99-9be0-4983-82ff-54dce2191c4a\"\n }\n}",
|
24
|
+
"title": "删除原生节点池节点"
|
25
|
+
}
|
26
|
+
],
|
19
27
|
"DeleteHealthCheckPolicy": [
|
20
28
|
{
|
21
29
|
"document": "",
|