tccli 3.0.1206.1__py2.py3-none-any.whl → 3.0.1208.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/advisor/v20200721/api.json +1 -1
- tccli/services/cbs/v20170312/api.json +5 -5
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cdwch/v20200915/api.json +20 -0
- tccli/services/clb/v20180317/api.json +6 -6
- tccli/services/cls/v20201016/api.json +50 -0
- tccli/services/cls/v20201016/examples.json +7 -7
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +84 -2
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +273 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dsgc/v20190723/api.json +150 -22
- tccli/services/dsgc/v20190723/examples.json +4 -4
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/ess/v20201111/api.json +84 -26
- tccli/services/ess/v20201111/examples.json +2 -2
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +95 -2
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/ioa/v20220601/api.json +18 -1
- tccli/services/iotexplorer/iotexplorer_client.py +106 -0
- tccli/services/iotexplorer/v20190423/api.json +198 -0
- tccli/services/iotexplorer/v20190423/examples.json +22 -0
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/mongodb/v20190725/api.json +1 -1
- tccli/services/mps/mps_client.py +220 -8
- tccli/services/mps/v20190612/api.json +627 -11
- tccli/services/mps/v20190612/examples.json +40 -2
- tccli/services/oceanus/oceanus_client.py +53 -0
- tccli/services/oceanus/v20190422/api.json +88 -0
- tccli/services/oceanus/v20190422/examples.json +8 -0
- tccli/services/redis/redis_client.py +53 -0
- tccli/services/redis/v20180412/api.json +75 -8
- tccli/services/redis/v20180412/examples.json +8 -0
- tccli/services/tcss/v20201101/api.json +10 -10
- tccli/services/tke/tke_client.py +4 -57
- tccli/services/tke/v20180525/api.json +0 -72
- tccli/services/tke/v20180525/examples.json +0 -8
- tccli/services/tms/v20201229/api.json +17 -17
- tccli/services/trtc/v20190722/api.json +24 -6
- tccli/services/vod/v20180717/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +23 -14
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +655 -1
- tccli/services/waf/v20180125/examples.json +22 -0
- tccli/services/waf/waf_client.py +114 -8
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/RECORD +55 -55
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1206.1.dist-info → tccli-3.0.1208.1.dist-info}/license_files/LICENSE +0 -0
@@ -554,7 +554,7 @@
|
|
554
554
|
"status": "online"
|
555
555
|
},
|
556
556
|
"ModifyDBInstanceSecurityGroups": {
|
557
|
-
"document": "
|
557
|
+
"document": "本接口(ModifyDBInstanceSecurityGroups)用于对实例原有的安全组列表进行修改。",
|
558
558
|
"input": "ModifyDBInstanceSecurityGroupsRequest",
|
559
559
|
"name": "修改云数据库安全组",
|
560
560
|
"output": "ModifyDBInstanceSecurityGroupsResponse",
|
@@ -602,6 +602,13 @@
|
|
602
602
|
"output": "ModifyInstanceParamsResponse",
|
603
603
|
"status": "online"
|
604
604
|
},
|
605
|
+
"ModifyInstancePassword": {
|
606
|
+
"document": "本接口(ModifyInstancePassword)用于修改实例访问密码。",
|
607
|
+
"input": "ModifyInstancePasswordRequest",
|
608
|
+
"name": "修改Redis密码",
|
609
|
+
"output": "ModifyInstancePasswordResponse",
|
610
|
+
"status": "online"
|
611
|
+
},
|
605
612
|
"ModifyInstanceReadOnly": {
|
606
613
|
"document": "设置实例输入模式",
|
607
614
|
"input": "ModifyInstanceReadOnlyRequest",
|
@@ -6154,7 +6161,7 @@
|
|
6154
6161
|
"example": "106980",
|
6155
6162
|
"member": "int64",
|
6156
6163
|
"name": "TotalCount",
|
6157
|
-
"
|
6164
|
+
"output_required": true,
|
6158
6165
|
"type": "int",
|
6159
6166
|
"value_allowed_null": false
|
6160
6167
|
},
|
@@ -6164,7 +6171,7 @@
|
|
6164
6171
|
"example": "无",
|
6165
6172
|
"member": "TendisSlowLogDetail",
|
6166
6173
|
"name": "TendisSlowLogDetail",
|
6167
|
-
"
|
6174
|
+
"output_required": true,
|
6168
6175
|
"type": "list",
|
6169
6176
|
"value_allowed_null": false
|
6170
6177
|
},
|
@@ -6201,7 +6208,7 @@
|
|
6201
6208
|
"example": "6954227",
|
6202
6209
|
"member": "int64",
|
6203
6210
|
"name": "TaskId",
|
6204
|
-
"
|
6211
|
+
"output_required": true,
|
6205
6212
|
"type": "int",
|
6206
6213
|
"value_allowed_null": false
|
6207
6214
|
},
|
@@ -8986,7 +8993,7 @@
|
|
8986
8993
|
},
|
8987
8994
|
{
|
8988
8995
|
"disabled": false,
|
8989
|
-
"document": "
|
8996
|
+
"document": "更换为新的安全组 ID 列表,即一个或者多个安全组 ID 组成的数组。若实例第一次配置安全组,请使用接口[AssociateSecurityGroups](https://cloud.tencent.com/document/product/239/41260)先绑定安全组。",
|
8990
8997
|
"example": "[\"sg-ajr1jzgj\\n\"]",
|
8991
8998
|
"member": "string",
|
8992
8999
|
"name": "SecurityGroupIds",
|
@@ -9409,6 +9416,61 @@
|
|
9409
9416
|
],
|
9410
9417
|
"type": "object"
|
9411
9418
|
},
|
9419
|
+
"ModifyInstancePasswordRequest": {
|
9420
|
+
"document": "ModifyInstancePassword请求参数结构体",
|
9421
|
+
"members": [
|
9422
|
+
{
|
9423
|
+
"disabled": false,
|
9424
|
+
"document": "指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。",
|
9425
|
+
"example": "crs-5a4py64p",
|
9426
|
+
"member": "string",
|
9427
|
+
"name": "InstanceId",
|
9428
|
+
"required": true,
|
9429
|
+
"type": "string"
|
9430
|
+
},
|
9431
|
+
{
|
9432
|
+
"disabled": false,
|
9433
|
+
"document": "实例旧密码。",
|
9434
|
+
"example": "zy456987",
|
9435
|
+
"member": "string",
|
9436
|
+
"name": "OldPassword",
|
9437
|
+
"required": true,
|
9438
|
+
"type": "string"
|
9439
|
+
},
|
9440
|
+
{
|
9441
|
+
"disabled": false,
|
9442
|
+
"document": "实例新密码。密码复杂度要求如下:\n- 长度8 - 30位, 推荐使用12位以上的密码。\n- 不能以\"/\"开头。\n- 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。",
|
9443
|
+
"example": "456987zy",
|
9444
|
+
"member": "string",
|
9445
|
+
"name": "Password",
|
9446
|
+
"required": true,
|
9447
|
+
"type": "string"
|
9448
|
+
}
|
9449
|
+
],
|
9450
|
+
"type": "object"
|
9451
|
+
},
|
9452
|
+
"ModifyInstancePasswordResponse": {
|
9453
|
+
"document": "ModifyInstancePassword返回参数结构体",
|
9454
|
+
"members": [
|
9455
|
+
{
|
9456
|
+
"disabled": false,
|
9457
|
+
"document": "任务 ID。",
|
9458
|
+
"example": "16661",
|
9459
|
+
"member": "int64",
|
9460
|
+
"name": "TaskId",
|
9461
|
+
"output_required": true,
|
9462
|
+
"type": "int",
|
9463
|
+
"value_allowed_null": false
|
9464
|
+
},
|
9465
|
+
{
|
9466
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9467
|
+
"member": "string",
|
9468
|
+
"name": "RequestId",
|
9469
|
+
"type": "string"
|
9470
|
+
}
|
9471
|
+
],
|
9472
|
+
"type": "object"
|
9473
|
+
},
|
9412
9474
|
"ModifyInstanceReadOnlyRequest": {
|
9413
9475
|
"document": "ModifyInstanceReadOnly请求参数结构体",
|
9414
9476
|
"members": [
|
@@ -9678,6 +9740,7 @@
|
|
9678
9740
|
"example": "true",
|
9679
9741
|
"member": "bool",
|
9680
9742
|
"name": "Status",
|
9743
|
+
"output_required": true,
|
9681
9744
|
"type": "bool",
|
9682
9745
|
"value_allowed_null": false
|
9683
9746
|
},
|
@@ -9687,6 +9750,7 @@
|
|
9687
9750
|
"example": "subnet-6mt7lir6",
|
9688
9751
|
"member": "string",
|
9689
9752
|
"name": "SubnetId",
|
9753
|
+
"output_required": true,
|
9690
9754
|
"type": "string",
|
9691
9755
|
"value_allowed_null": false
|
9692
9756
|
},
|
@@ -9696,6 +9760,7 @@
|
|
9696
9760
|
"example": "vpc-hu6khgap",
|
9697
9761
|
"member": "string",
|
9698
9762
|
"name": "VpcId",
|
9763
|
+
"output_required": true,
|
9699
9764
|
"type": "string",
|
9700
9765
|
"value_allowed_null": false
|
9701
9766
|
},
|
@@ -9705,6 +9770,7 @@
|
|
9705
9770
|
"example": "10.2.3.8",
|
9706
9771
|
"member": "string",
|
9707
9772
|
"name": "Vip",
|
9773
|
+
"output_required": true,
|
9708
9774
|
"type": "string",
|
9709
9775
|
"value_allowed_null": false
|
9710
9776
|
},
|
@@ -9714,6 +9780,7 @@
|
|
9714
9780
|
"example": "1",
|
9715
9781
|
"member": "int64",
|
9716
9782
|
"name": "TaskId",
|
9783
|
+
"output_required": true,
|
9717
9784
|
"type": "int",
|
9718
9785
|
"value_allowed_null": false
|
9719
9786
|
},
|
@@ -12213,7 +12280,7 @@
|
|
12213
12280
|
"example": "486489",
|
12214
12281
|
"member": "int64",
|
12215
12282
|
"name": "FlowId",
|
12216
|
-
"
|
12283
|
+
"output_required": true,
|
12217
12284
|
"type": "int",
|
12218
12285
|
"value_allowed_null": false
|
12219
12286
|
},
|
@@ -12277,7 +12344,7 @@
|
|
12277
12344
|
"example": "486489",
|
12278
12345
|
"member": "int64",
|
12279
12346
|
"name": "FlowId",
|
12280
|
-
"
|
12347
|
+
"output_required": true,
|
12281
12348
|
"type": "int",
|
12282
12349
|
"value_allowed_null": false
|
12283
12350
|
},
|
@@ -12323,7 +12390,7 @@
|
|
12323
12390
|
"example": "140171780",
|
12324
12391
|
"member": "int64",
|
12325
12392
|
"name": "FlowId",
|
12326
|
-
"
|
12393
|
+
"output_required": true,
|
12327
12394
|
"type": "int",
|
12328
12395
|
"value_allowed_null": false
|
12329
12396
|
},
|
@@ -694,6 +694,14 @@
|
|
694
694
|
"title": "修改实例参数"
|
695
695
|
}
|
696
696
|
],
|
697
|
+
"ModifyInstancePassword": [
|
698
|
+
{
|
699
|
+
"document": "重置实例的访问密码",
|
700
|
+
"input": "https://redis.tencentcloudapi.com/?Action=ModifiyInstancePassword\n&InstanceId=crs-5a4p****\n&OldPassword=zy45****\n&Password=4569****\n&<公共请求参数>",
|
701
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cca16225-a169-4f11-b1cf-13398200f604\",\n \"TaskId\": 16661\n }\n}",
|
702
|
+
"title": "变更密码"
|
703
|
+
}
|
704
|
+
],
|
697
705
|
"ModifyInstanceReadOnly": [
|
698
706
|
{
|
699
707
|
"document": "",
|
@@ -547,11 +547,11 @@
|
|
547
547
|
"status": "online"
|
548
548
|
},
|
549
549
|
"DescribeAbnormalProcessEventsExport": {
|
550
|
-
"document": "查询运行时异常进程事件列表信息导出",
|
550
|
+
"document": "接口已废弃\n\n查询运行时异常进程事件列表信息导出",
|
551
551
|
"input": "DescribeAbnormalProcessEventsExportRequest",
|
552
552
|
"name": "运行时异常进程列表导出",
|
553
553
|
"output": "DescribeAbnormalProcessEventsExportResponse",
|
554
|
-
"status": "
|
554
|
+
"status": "deprecated"
|
555
555
|
},
|
556
556
|
"DescribeAbnormalProcessLevelSummary": {
|
557
557
|
"document": "统计异常进程各威胁等级待处理事件数",
|
@@ -575,11 +575,11 @@
|
|
575
575
|
"status": "online"
|
576
576
|
},
|
577
577
|
"DescribeAbnormalProcessRulesExport": {
|
578
|
-
"document": "查询运行时异常进程策略列表信息导出",
|
578
|
+
"document": "接口已废弃\n\n查询运行时异常进程策略列表信息导出",
|
579
579
|
"input": "DescribeAbnormalProcessRulesExportRequest",
|
580
580
|
"name": "运行时异常进程策略列表导出",
|
581
581
|
"output": "DescribeAbnormalProcessRulesExportResponse",
|
582
|
-
"status": "
|
582
|
+
"status": "deprecated"
|
583
583
|
},
|
584
584
|
"DescribeAccessControlDetail": {
|
585
585
|
"document": "查询运行时访问控制事件的详细信息",
|
@@ -617,11 +617,11 @@
|
|
617
617
|
"status": "online"
|
618
618
|
},
|
619
619
|
"DescribeAccessControlRulesExport": {
|
620
|
-
"document": "查询运行时访问控制策略列表导出",
|
620
|
+
"document": "接口已废弃\n\n查询运行时访问控制策略列表导出",
|
621
621
|
"input": "DescribeAccessControlRulesExportRequest",
|
622
622
|
"name": "运行时访问控制策略列表导出",
|
623
623
|
"output": "DescribeAccessControlRulesExportResponse",
|
624
|
-
"status": "
|
624
|
+
"status": "deprecated"
|
625
625
|
},
|
626
626
|
"DescribeAffectedClusterCount": {
|
627
627
|
"document": "获取受影响的集群数量,返回数量",
|
@@ -743,11 +743,11 @@
|
|
743
743
|
"status": "online"
|
744
744
|
},
|
745
745
|
"DescribeAssetImageListExport": {
|
746
|
-
"document": "容器安全搜索查询镜像列表导出",
|
746
|
+
"document": "接口已废弃\n\n容器安全搜索查询镜像列表导出",
|
747
747
|
"input": "DescribeAssetImageListExportRequest",
|
748
748
|
"name": "查询镜像列表导出",
|
749
749
|
"output": "DescribeAssetImageListExportResponse",
|
750
|
-
"status": "
|
750
|
+
"status": "deprecated"
|
751
751
|
},
|
752
752
|
"DescribeAssetImageRegistryAssetStatus": {
|
753
753
|
"document": "查看镜像仓库资产更新进度状态",
|
@@ -1128,11 +1128,11 @@
|
|
1128
1128
|
"status": "online"
|
1129
1129
|
},
|
1130
1130
|
"DescribeEscapeEventsExport": {
|
1131
|
-
"document": "
|
1131
|
+
"document": "接口已废弃\n\nDescribeEscapeEventsExport 查询容器逃逸事件列表导出",
|
1132
1132
|
"input": "DescribeEscapeEventsExportRequest",
|
1133
1133
|
"name": "查询容器逃逸事件列表导出",
|
1134
1134
|
"output": "DescribeEscapeEventsExportResponse",
|
1135
|
-
"status": "
|
1135
|
+
"status": "deprecated"
|
1136
1136
|
},
|
1137
1137
|
"DescribeEscapeRuleInfo": {
|
1138
1138
|
"document": "DescribeEscapeRuleInfo 查询容器逃逸扫描规则信息",
|
tccli/services/tke/tke_client.py
CHANGED
@@ -4283,58 +4283,6 @@ def doCreateReservedInstances(args, parsed_globals):
|
|
4283
4283
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4284
4284
|
|
4285
4285
|
|
4286
|
-
def doDeleteReservedInstances(args, parsed_globals):
|
4287
|
-
g_param = parse_global_arg(parsed_globals)
|
4288
|
-
|
4289
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4290
|
-
cred = credential.CVMRoleCredential()
|
4291
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4292
|
-
cred = credential.STSAssumeRoleCredential(
|
4293
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4294
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4295
|
-
)
|
4296
|
-
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):
|
4297
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4298
|
-
else:
|
4299
|
-
cred = credential.Credential(
|
4300
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4301
|
-
)
|
4302
|
-
http_profile = HttpProfile(
|
4303
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4304
|
-
reqMethod="POST",
|
4305
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
4306
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4307
|
-
)
|
4308
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4309
|
-
if g_param[OptionsDefine.Language]:
|
4310
|
-
profile.language = g_param[OptionsDefine.Language]
|
4311
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4312
|
-
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
4313
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
4314
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4315
|
-
model = models.DeleteReservedInstancesRequest()
|
4316
|
-
model.from_json_string(json.dumps(args))
|
4317
|
-
start_time = time.time()
|
4318
|
-
while True:
|
4319
|
-
rsp = client.DeleteReservedInstances(model)
|
4320
|
-
result = rsp.to_json_string()
|
4321
|
-
try:
|
4322
|
-
json_obj = json.loads(result)
|
4323
|
-
except TypeError as e:
|
4324
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4325
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4326
|
-
break
|
4327
|
-
cur_time = time.time()
|
4328
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4329
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4330
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4331
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4332
|
-
else:
|
4333
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4334
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4335
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4336
|
-
|
4337
|
-
|
4338
4286
|
def doDeletePrometheusTemplate(args, parsed_globals):
|
4339
4287
|
g_param = parse_global_arg(parsed_globals)
|
4340
4288
|
|
@@ -6831,7 +6779,7 @@ def doDescribeClusterInstances(args, parsed_globals):
|
|
6831
6779
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6832
6780
|
|
6833
6781
|
|
6834
|
-
def
|
6782
|
+
def doDeleteReservedInstances(args, parsed_globals):
|
6835
6783
|
g_param = parse_global_arg(parsed_globals)
|
6836
6784
|
|
6837
6785
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -6860,11 +6808,11 @@ def doDescribeExternalClusterSpec(args, parsed_globals):
|
|
6860
6808
|
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
6861
6809
|
client._sdkVersion += ("_CLI_" + __version__)
|
6862
6810
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6863
|
-
model = models.
|
6811
|
+
model = models.DeleteReservedInstancesRequest()
|
6864
6812
|
model.from_json_string(json.dumps(args))
|
6865
6813
|
start_time = time.time()
|
6866
6814
|
while True:
|
6867
|
-
rsp = client.
|
6815
|
+
rsp = client.DeleteReservedInstances(model)
|
6868
6816
|
result = rsp.to_json_string()
|
6869
6817
|
try:
|
6870
6818
|
json_obj = json.loads(result)
|
@@ -12386,7 +12334,6 @@ ACTION_MAP = {
|
|
12386
12334
|
"DescribeClusters": doDescribeClusters,
|
12387
12335
|
"DescribeClusterEndpointStatus": doDescribeClusterEndpointStatus,
|
12388
12336
|
"CreateReservedInstances": doCreateReservedInstances,
|
12389
|
-
"DeleteReservedInstances": doDeleteReservedInstances,
|
12390
12337
|
"DeletePrometheusTemplate": doDeletePrometheusTemplate,
|
12391
12338
|
"DescribeRegions": doDescribeRegions,
|
12392
12339
|
"DescribeReservedInstanceUtilizationRate": doDescribeReservedInstanceUtilizationRate,
|
@@ -12435,7 +12382,7 @@ ACTION_MAP = {
|
|
12435
12382
|
"DescribeLogSwitches": doDescribeLogSwitches,
|
12436
12383
|
"AcquireClusterAdminRole": doAcquireClusterAdminRole,
|
12437
12384
|
"DescribeClusterInstances": doDescribeClusterInstances,
|
12438
|
-
"
|
12385
|
+
"DeleteReservedInstances": doDeleteReservedInstances,
|
12439
12386
|
"DescribeClusterReleaseHistory": doDescribeClusterReleaseHistory,
|
12440
12387
|
"ModifyClusterNodePool": doModifyClusterNodePool,
|
12441
12388
|
"DescribeEncryptionStatus": doDescribeEncryptionStatus,
|
@@ -812,13 +812,6 @@
|
|
812
812
|
"output": "DescribeExistedInstancesResponse",
|
813
813
|
"status": "online"
|
814
814
|
},
|
815
|
-
"DescribeExternalClusterSpec": {
|
816
|
-
"document": "tdcc接口已迁移至tdcc产品下,tke下的接口下线\n\n获取导入第三方集群YAML定义",
|
817
|
-
"input": "DescribeExternalClusterSpecRequest",
|
818
|
-
"name": "获取导入第三方集群YAML定义",
|
819
|
-
"output": "DescribeExternalClusterSpecResponse",
|
820
|
-
"status": "deprecated"
|
821
|
-
},
|
822
815
|
"DescribeExternalNodeSupportConfig": {
|
823
816
|
"document": "查看开启第三方节点池配置信息",
|
824
817
|
"input": "DescribeExternalNodeSupportConfigRequest",
|
@@ -11253,71 +11246,6 @@
|
|
11253
11246
|
],
|
11254
11247
|
"type": "object"
|
11255
11248
|
},
|
11256
|
-
"DescribeExternalClusterSpecRequest": {
|
11257
|
-
"document": "DescribeExternalClusterSpec请求参数结构体",
|
11258
|
-
"members": [
|
11259
|
-
{
|
11260
|
-
"disabled": false,
|
11261
|
-
"document": "注册集群ID",
|
11262
|
-
"example": "cls-65r1c5nu",
|
11263
|
-
"member": "string",
|
11264
|
-
"name": "ClusterId",
|
11265
|
-
"required": true,
|
11266
|
-
"type": "string"
|
11267
|
-
},
|
11268
|
-
{
|
11269
|
-
"disabled": false,
|
11270
|
-
"document": "默认false 获取内网,是否获取外网版注册命令",
|
11271
|
-
"example": "false",
|
11272
|
-
"member": "bool",
|
11273
|
-
"name": "IsExtranet",
|
11274
|
-
"required": false,
|
11275
|
-
"type": "bool"
|
11276
|
-
},
|
11277
|
-
{
|
11278
|
-
"disabled": false,
|
11279
|
-
"document": "默认false 不刷新有效时间 ,true刷新有效时间",
|
11280
|
-
"example": "false",
|
11281
|
-
"member": "bool",
|
11282
|
-
"name": "IsRefreshExpirationTime",
|
11283
|
-
"required": false,
|
11284
|
-
"type": "bool"
|
11285
|
-
}
|
11286
|
-
],
|
11287
|
-
"type": "object"
|
11288
|
-
},
|
11289
|
-
"DescribeExternalClusterSpecResponse": {
|
11290
|
-
"document": "DescribeExternalClusterSpec返回参数结构体",
|
11291
|
-
"members": [
|
11292
|
-
{
|
11293
|
-
"disabled": false,
|
11294
|
-
"document": "导入第三方集群YAML定义",
|
11295
|
-
"example": "xxx",
|
11296
|
-
"member": "string",
|
11297
|
-
"name": "Spec",
|
11298
|
-
"required": true,
|
11299
|
-
"type": "string",
|
11300
|
-
"value_allowed_null": false
|
11301
|
-
},
|
11302
|
-
{
|
11303
|
-
"disabled": false,
|
11304
|
-
"document": "agent.yaml文件过期时间字符串,时区UTC",
|
11305
|
-
"example": "2021-09-08T07:04:51Z",
|
11306
|
-
"member": "string",
|
11307
|
-
"name": "Expiration",
|
11308
|
-
"required": true,
|
11309
|
-
"type": "string",
|
11310
|
-
"value_allowed_null": false
|
11311
|
-
},
|
11312
|
-
{
|
11313
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11314
|
-
"member": "string",
|
11315
|
-
"name": "RequestId",
|
11316
|
-
"type": "string"
|
11317
|
-
}
|
11318
|
-
],
|
11319
|
-
"type": "object"
|
11320
|
-
},
|
11321
11249
|
"DescribeExternalNodeSupportConfigRequest": {
|
11322
11250
|
"document": "DescribeExternalNodeSupportConfig请求参数结构体",
|
11323
11251
|
"members": [
|
@@ -964,14 +964,6 @@
|
|
964
964
|
"title": "查询已经存在的节点"
|
965
965
|
}
|
966
966
|
],
|
967
|
-
"DescribeExternalClusterSpec": [
|
968
|
-
{
|
969
|
-
"document": "",
|
970
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeExternalClusterSpec\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-xxx\",\n \"IsExtranet\": false,\n \"IsRefreshExpirationTime\": false\n}",
|
971
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Spec\": \"xxxx\",\n \"Expiration\": \"2021-09-08T07:04:51Z\"\n }\n}",
|
972
|
-
"title": "获取导入第三方集群YAML定义"
|
973
|
-
}
|
974
|
-
],
|
975
967
|
"DescribeExternalNodeSupportConfig": [
|
976
968
|
{
|
977
969
|
"document": "",
|
@@ -773,7 +773,7 @@
|
|
773
773
|
{
|
774
774
|
"disabled": false,
|
775
775
|
"document": "该字段表示待检测对象的文本内容,文本需要按utf-8格式编码,长度不能超过10000个字符(按unicode编码计算),并进行 Base64加密",
|
776
|
-
"example": "
|
776
|
+
"example": "5L2g5aW9",
|
777
777
|
"member": "string",
|
778
778
|
"name": "Content",
|
779
779
|
"required": true,
|
@@ -782,7 +782,7 @@
|
|
782
782
|
{
|
783
783
|
"disabled": false,
|
784
784
|
"document": "该字段表示策略的具体编号,用于接口调度,在内容安全控制台中可配置。若不传入Biztype参数(留空),则代表采用默认的识别策略;传入则会在审核时根据业务场景采取不同的审核策略。<br>备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype",
|
785
|
-
"example": "
|
785
|
+
"example": "182600012300002017",
|
786
786
|
"member": "string",
|
787
787
|
"name": "BizType",
|
788
788
|
"required": false,
|
@@ -791,7 +791,7 @@
|
|
791
791
|
{
|
792
792
|
"disabled": false,
|
793
793
|
"document": "该字段表示您为待检测对象分配的数据ID,传入后可方便您对文件进行标识和管理。<br>取值:由英文字母(大小写均可)、数字及四个特殊符号(_,-,@,#)组成,**长度不超过64个字符**",
|
794
|
-
"example": "
|
794
|
+
"example": "a61237dd-c2a0-43e7-a3da-d27022d39ba7",
|
795
795
|
"member": "string",
|
796
796
|
"name": "DataId",
|
797
797
|
"required": false,
|
@@ -800,7 +800,7 @@
|
|
800
800
|
{
|
801
801
|
"disabled": false,
|
802
802
|
"document": "该字段表示待检测对象对应的用户相关信息,传入后可便于甄别相应违规风险用户",
|
803
|
-
"example": "
|
803
|
+
"example": "无",
|
804
804
|
"member": "User",
|
805
805
|
"name": "User",
|
806
806
|
"required": false,
|
@@ -809,7 +809,7 @@
|
|
809
809
|
{
|
810
810
|
"disabled": false,
|
811
811
|
"document": "该字段表示待检测对象对应的设备相关信息,传入后可便于甄别相应违规风险设备",
|
812
|
-
"example": "
|
812
|
+
"example": "无",
|
813
813
|
"member": "Device",
|
814
814
|
"name": "Device",
|
815
815
|
"required": false,
|
@@ -824,7 +824,7 @@
|
|
824
824
|
{
|
825
825
|
"disabled": false,
|
826
826
|
"document": "该字段用于返回请求参数中的BizType参数",
|
827
|
-
"example": "
|
827
|
+
"example": "182600012300002017",
|
828
828
|
"member": "string",
|
829
829
|
"name": "BizType",
|
830
830
|
"output_required": true,
|
@@ -833,8 +833,8 @@
|
|
833
833
|
},
|
834
834
|
{
|
835
835
|
"disabled": false,
|
836
|
-
"document": "该字段用于返回检测结果(DetailResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
837
|
-
"example": "
|
836
|
+
"document": "该字段用于返回检测结果(DetailResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型",
|
837
|
+
"example": "Ad",
|
838
838
|
"member": "string",
|
839
839
|
"name": "Label",
|
840
840
|
"output_required": true,
|
@@ -844,7 +844,7 @@
|
|
844
844
|
{
|
845
845
|
"disabled": false,
|
846
846
|
"document": "该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过",
|
847
|
-
"example": "
|
847
|
+
"example": "Block",
|
848
848
|
"member": "string",
|
849
849
|
"name": "Suggestion",
|
850
850
|
"output_required": true,
|
@@ -854,7 +854,7 @@
|
|
854
854
|
{
|
855
855
|
"disabled": false,
|
856
856
|
"document": "该字段用于返回当前标签(Label)下被检测文本命中的关键词信息,用于标注文本违规的具体原因(如:*加我微信*)。该参数可能会有多个返回值,代表命中的多个关键词;如返回值为空且Score不为空,则代表识别结果所对应的恶意标签(Label)是来自于语义模型判断的返回值\n注意:此字段可能返回 null,表示取不到有效值。",
|
857
|
-
"example": "
|
857
|
+
"example": "无",
|
858
858
|
"member": "string",
|
859
859
|
"name": "Keywords",
|
860
860
|
"output_required": true,
|
@@ -864,7 +864,7 @@
|
|
864
864
|
{
|
865
865
|
"disabled": false,
|
866
866
|
"document": "该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容",
|
867
|
-
"example": "
|
867
|
+
"example": "99",
|
868
868
|
"member": "int64",
|
869
869
|
"name": "Score",
|
870
870
|
"output_required": true,
|
@@ -874,7 +874,7 @@
|
|
874
874
|
{
|
875
875
|
"disabled": false,
|
876
876
|
"document": "该字段用于返回基于文本风险库审核的详细结果,返回值信息可参阅对应数据结构(DetailResults)的详细描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
877
|
-
"example": "
|
877
|
+
"example": "无",
|
878
878
|
"member": "DetailResults",
|
879
879
|
"name": "DetailResults",
|
880
880
|
"output_required": true,
|
@@ -884,7 +884,7 @@
|
|
884
884
|
{
|
885
885
|
"disabled": false,
|
886
886
|
"document": "该字段用于返回文本检测中存在违规风险的账号检测结果,主要包括违规风险类别和风险等级信息,具体内容可参阅对应数据结构(RiskDetails)的详细描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
887
|
-
"example": "
|
887
|
+
"example": "无",
|
888
888
|
"member": "RiskDetails",
|
889
889
|
"name": "RiskDetails",
|
890
890
|
"output_required": true,
|
@@ -894,7 +894,7 @@
|
|
894
894
|
{
|
895
895
|
"disabled": false,
|
896
896
|
"document": "该字段用于返回根据您的需求配置的额外附加信息(Extra),如未配置则默认返回值为空。<br>备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理\n注意:此字段可能返回 null,表示取不到有效值。",
|
897
|
-
"example": "
|
897
|
+
"example": "无",
|
898
898
|
"member": "string",
|
899
899
|
"name": "Extra",
|
900
900
|
"output_required": true,
|
@@ -904,7 +904,7 @@
|
|
904
904
|
{
|
905
905
|
"disabled": false,
|
906
906
|
"document": "该字段用于返回检测对象对应请求参数中的DataId,与输入的DataId字段中的内容对应\n注意:此字段可能返回 null,表示取不到有效值。",
|
907
|
-
"example": "
|
907
|
+
"example": "a61237dd-c2a0-43e7-a3da-d27022d39ba7",
|
908
908
|
"member": "string",
|
909
909
|
"name": "DataId",
|
910
910
|
"output_required": true,
|
@@ -914,7 +914,7 @@
|
|
914
914
|
{
|
915
915
|
"disabled": false,
|
916
916
|
"document": "该字段用于返回当前标签(Label)下的二级标签。\n注意:此字段可能返回 null,表示取不到有效值。",
|
917
|
-
"example": "
|
917
|
+
"example": "Contact",
|
918
918
|
"member": "string",
|
919
919
|
"name": "SubLabel",
|
920
920
|
"output_required": true,
|
@@ -924,7 +924,7 @@
|
|
924
924
|
{
|
925
925
|
"disabled": false,
|
926
926
|
"document": "该字段用于返回上下文关联文本\n注意:此字段可能返回 null,表示取不到有效值。",
|
927
|
-
"example": "
|
927
|
+
"example": "无",
|
928
928
|
"member": "string",
|
929
929
|
"name": "ContextText",
|
930
930
|
"output_required": true,
|