tccli 3.0.1287.1__py2.py3-none-any.whl → 3.0.1289.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/plugins/sso/__init__.py +11 -1
- tccli/plugins/sso/login.py +3 -3
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/asr/v20190614/examples.json +4 -4
- tccli/services/bi/v20220105/api.json +43 -0
- tccli/services/billing/v20180709/api.json +564 -504
- tccli/services/captcha/v20190722/api.json +79 -77
- tccli/services/cdc/v20201214/api.json +16 -16
- tccli/services/cdwpg/v20201230/api.json +5 -5
- tccli/services/cdwpg/v20201230/examples.json +6 -6
- tccli/services/cdz/v20221123/api.json +4 -4
- tccli/services/cfg/v20210820/api.json +197 -197
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +1 -1
- tccli/services/clb/v20180317/api.json +2 -2
- tccli/services/cvm/cvm_client.py +53 -0
- tccli/services/cvm/v20170312/api.json +110 -5
- tccli/services/cvm/v20170312/examples.json +8 -0
- tccli/services/cwp/v20180228/api.json +102 -24
- tccli/services/dbbrain/dbbrain_client.py +383 -12
- tccli/services/dbbrain/v20210527/api.json +884 -101
- tccli/services/dbbrain/v20210527/examples.json +56 -0
- tccli/services/domain/v20180808/api.json +52 -32
- tccli/services/dts/v20180330/api.json +34 -34
- tccli/services/dts/v20180330/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +225 -223
- tccli/services/dts/v20211206/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +53 -2
- tccli/services/essbasic/v20210526/api.json +54 -3
- tccli/services/hunyuan/v20230901/api.json +45 -12
- tccli/services/iotexplorer/iotexplorer_client.py +159 -0
- tccli/services/iotexplorer/v20190423/api.json +561 -0
- tccli/services/iotexplorer/v20190423/examples.json +24 -0
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20211125/api.json +105 -0
- tccli/services/iotvideo/v20211125/examples.json +16 -0
- tccli/services/lighthouse/v20200324/api.json +46 -46
- tccli/services/lighthouse/v20200324/examples.json +2 -2
- tccli/services/lke/v20231130/api.json +6 -6
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +2 -2
- tccli/services/mariadb/v20170312/api.json +30 -30
- tccli/services/mongodb/v20190725/api.json +3 -3
- tccli/services/mps/v20190612/api.json +88 -6
- tccli/services/mqtt/v20240516/api.json +3 -3
- tccli/services/mqtt/v20240516/examples.json +5 -11
- tccli/services/organization/v20210331/api.json +113 -113
- tccli/services/redis/v20180412/api.json +4 -4
- tccli/services/ses/v20201002/api.json +1 -1
- tccli/services/svp/v20240125/api.json +1 -1
- tccli/services/tat/v20201028/api.json +7 -7
- tccli/services/tcb/v20180608/api.json +236 -235
- tccli/services/tcb/v20180608/examples.json +1 -7
- tccli/services/tdmq/v20200217/api.json +231 -221
- tccli/services/teo/v20220901/api.json +670 -12
- tccli/services/teo/v20220901/examples.json +21 -3
- tccli/services/tione/v20211111/api.json +64 -6
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +61 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trro/trro_client.py +53 -0
- tccli/services/trro/v20220325/api.json +70 -0
- tccli/services/trro/v20220325/examples.json +8 -0
- tccli/services/vdb/v20230616/api.json +31 -2
- tccli/services/vdb/v20230616/examples.json +8 -2
- tccli/services/vrs/v20200824/api.json +14 -2
- tccli/services/vrs/v20200824/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +225 -0
- tccli/services/waf/v20180125/examples.json +24 -0
- tccli/services/waf/waf_client.py +159 -0
- tccli/services/wedata/v20210820/api.json +48 -0
- {tccli-3.0.1287.1.dist-info → tccli-3.0.1289.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1287.1.dist-info → tccli-3.0.1289.1.dist-info}/RECORD +77 -77
- {tccli-3.0.1287.1.dist-info → tccli-3.0.1289.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1287.1.dist-info → tccli-3.0.1289.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1287.1.dist-info → tccli-3.0.1289.1.dist-info}/license_files/LICENSE +0 -0
@@ -36,7 +36,7 @@
|
|
36
36
|
{
|
37
37
|
"document": "",
|
38
38
|
"input": "POST / HTTP/1.1\nHost: cfg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeActionFieldConfigList\n<公共请求参数>\n\n{\n \"ObjectTypeId\": \"1\",\n \"ActionIds\": [\n \"1\"\n ]\n}",
|
39
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"f3433a9a-e8fd-40b9-88e7-dd8b3f1a181f\",\n \"Common\": [\n {\n \"ActionId\": 1,\n \"ActionName\": \"关机\",\n \"ConfigDetail\": [\n {\n \"Type\": \"
|
39
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f3433a9a-e8fd-40b9-88e7-dd8b3f1a181f\",\n \"Common\": [\n {\n \"ActionId\": 1,\n \"ActionName\": \"关机\",\n \"ConfigDetail\": [\n {\n \"Type\": \"number\",\n \"Lable\": \"动作超时时间(s)\",\n \"Field\": \"ActionTimeout\",\n \"DefaultValue\": \"1800\",\n \"Config\": \"{\\\"max\\\": 86400, \\\"min\\\": 0, \\\"tooltip\\\": \\\"动作的超时时间\\\"}\",\n \"Required\": 1,\n \"Validate\": \"{\\\"op\\\": \\\"==\\\", \\\"value\\\": \\\"指定个数重启\\\", \\\"relatedField\\\": \\\"reboot_mod\\\"}\",\n \"Visible\": \"{\\\"op\\\": \\\"<\\\", \\\"type\\\": \\\"need_insert\\\", \\\"value\\\": 0, \\\"relatedField\\\": \\\"ActionTimeout\\\"}\"\n }\n ]\n }\n ],\n \"Results\": []\n }\n}",
|
40
40
|
"title": "示例"
|
41
41
|
}
|
42
42
|
],
|
@@ -169,7 +169,7 @@
|
|
169
169
|
"status": "online"
|
170
170
|
},
|
171
171
|
"DeregisterFunctionTargets": {
|
172
|
-
"document": "DeregisterFunctionTargets 接口用来将一个云函数从负载均衡的转发规则上解绑,对于七层监听器,还需通过 LocationId 或 Domain+Url 指定转发规则。\n本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。\n<br/>限制说明:\n\n-
|
172
|
+
"document": "DeregisterFunctionTargets 接口用来将一个云函数从负载均衡的转发规则上解绑,对于七层监听器,还需通过 LocationId 或 Domain+Url 指定转发规则。\n本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。\n<br/>限制说明:\n\n- 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、东京、硅谷地域支持绑定 SCF。\n- 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。\n- 传统型负载均衡不支持绑定 SCF。\n- 基础网络类型不支持绑定 SCF。\n- CLB 默认支持绑定同地域下的所有 SCF,可支持跨 VPC 绑定 SCF,不支持跨地域绑定。\n- 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。\n- 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。\n- CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。",
|
173
173
|
"input": "DeregisterFunctionTargetsRequest",
|
174
174
|
"name": "将云函数从转发规则上解绑",
|
175
175
|
"output": "DeregisterFunctionTargetsResponse",
|
@@ -568,7 +568,7 @@
|
|
568
568
|
"status": "online"
|
569
569
|
},
|
570
570
|
"RegisterFunctionTargets": {
|
571
|
-
"document": "RegisterFunctionTargets 接口用来将一个云函数绑定到负载均衡的7层转发规则,在此之前您需要先行创建相关的7层监听器(HTTP、HTTPS)和转发规则。\n本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。<br/>\n限制说明:\n-
|
571
|
+
"document": "RegisterFunctionTargets 接口用来将一个云函数绑定到负载均衡的7层转发规则,在此之前您需要先行创建相关的7层监听器(HTTP、HTTPS)和转发规则。\n本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。<br/>\n限制说明:\n- 仅广州、深圳金融、上海、上海金融、北京、成都、中国香港、新加坡、东京、硅谷地域支持绑定 SCF。\n- 仅标准账户类型支持绑定 SCF,传统账户类型不支持。建议升级为标准账户类型,详情可参见 [账户类型升级说明](https://cloud.tencent.com/document/product/1199/49090)。 \n- 传统型负载均衡不支持绑定 SCF。\n- 基础网络类型不支持绑定 SCF。\n- CLB 默认支持绑定同地域下的所有 SCF,可支持跨 VPC 绑定 SCF,不支持跨地域绑定。\n- 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。\n- 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。\n- CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。",
|
572
572
|
"input": "RegisterFunctionTargetsRequest",
|
573
573
|
"name": "绑定云函数到转发规则上",
|
574
574
|
"output": "RegisterFunctionTargetsResponse",
|
tccli/services/cvm/cvm_client.py
CHANGED
@@ -1317,6 +1317,58 @@ def doDescribeImageSharePermission(args, parsed_globals):
|
|
1317
1317
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1318
1318
|
|
1319
1319
|
|
1320
|
+
def doDescribeInstancesAttributes(args, parsed_globals):
|
1321
|
+
g_param = parse_global_arg(parsed_globals)
|
1322
|
+
|
1323
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1324
|
+
cred = credential.CVMRoleCredential()
|
1325
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1326
|
+
cred = credential.STSAssumeRoleCredential(
|
1327
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1328
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1329
|
+
)
|
1330
|
+
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):
|
1331
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1332
|
+
else:
|
1333
|
+
cred = credential.Credential(
|
1334
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1335
|
+
)
|
1336
|
+
http_profile = HttpProfile(
|
1337
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1338
|
+
reqMethod="POST",
|
1339
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1340
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1341
|
+
)
|
1342
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1343
|
+
if g_param[OptionsDefine.Language]:
|
1344
|
+
profile.language = g_param[OptionsDefine.Language]
|
1345
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1346
|
+
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
1347
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1348
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1349
|
+
model = models.DescribeInstancesAttributesRequest()
|
1350
|
+
model.from_json_string(json.dumps(args))
|
1351
|
+
start_time = time.time()
|
1352
|
+
while True:
|
1353
|
+
rsp = client.DescribeInstancesAttributes(model)
|
1354
|
+
result = rsp.to_json_string()
|
1355
|
+
try:
|
1356
|
+
json_obj = json.loads(result)
|
1357
|
+
except TypeError as e:
|
1358
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1359
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1360
|
+
break
|
1361
|
+
cur_time = time.time()
|
1362
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1363
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1364
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1365
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1366
|
+
else:
|
1367
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1368
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1369
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
|
+
|
1371
|
+
|
1320
1372
|
def doDescribeRegions(args, parsed_globals):
|
1321
1373
|
g_param = parse_global_arg(parsed_globals)
|
1322
1374
|
|
@@ -5305,6 +5357,7 @@ ACTION_MAP = {
|
|
5305
5357
|
"DisassociateSecurityGroups": doDisassociateSecurityGroups,
|
5306
5358
|
"RemoveChcDeployVpc": doRemoveChcDeployVpc,
|
5307
5359
|
"DescribeImageSharePermission": doDescribeImageSharePermission,
|
5360
|
+
"DescribeInstancesAttributes": doDescribeInstancesAttributes,
|
5308
5361
|
"DescribeRegions": doDescribeRegions,
|
5309
5362
|
"DescribeInstancesModification": doDescribeInstancesModification,
|
5310
5363
|
"CreateKeyPair": doCreateKeyPair,
|
@@ -259,6 +259,13 @@
|
|
259
259
|
"output": "DescribeInstancesActionTimerResponse",
|
260
260
|
"status": "online"
|
261
261
|
},
|
262
|
+
"DescribeInstancesAttributes": {
|
263
|
+
"document": "获取指定实例的属性,目前支持查询实例自定义数据User-Data。",
|
264
|
+
"input": "DescribeInstancesAttributesRequest",
|
265
|
+
"name": "批量获取指定实例属性",
|
266
|
+
"output": "DescribeInstancesAttributesResponse",
|
267
|
+
"status": "online"
|
268
|
+
},
|
262
269
|
"DescribeInstancesModification": {
|
263
270
|
"document": "本接口 (DescribeInstancesModification) 用于查询指定实例支持调整的机型配置。",
|
264
271
|
"input": "DescribeInstancesModificationRequest",
|
@@ -1041,6 +1048,23 @@
|
|
1041
1048
|
],
|
1042
1049
|
"type": "object"
|
1043
1050
|
},
|
1051
|
+
"Attribute": {
|
1052
|
+
"document": "属性信息",
|
1053
|
+
"members": [
|
1054
|
+
{
|
1055
|
+
"disabled": false,
|
1056
|
+
"document": "实例的自定义数据。",
|
1057
|
+
"example": "TXlVc2VyRGF0YQo=\t",
|
1058
|
+
"member": "string",
|
1059
|
+
"name": "UserData",
|
1060
|
+
"output_required": false,
|
1061
|
+
"required": false,
|
1062
|
+
"type": "string",
|
1063
|
+
"value_allowed_null": false
|
1064
|
+
}
|
1065
|
+
],
|
1066
|
+
"usage": "both"
|
1067
|
+
},
|
1044
1068
|
"ChargePrepaid": {
|
1045
1069
|
"document": "描述预付费模式,即包年包月相关参数。包括购买时长和自动续费逻辑等。",
|
1046
1070
|
"members": [
|
@@ -3974,6 +3998,52 @@
|
|
3974
3998
|
],
|
3975
3999
|
"type": "object"
|
3976
4000
|
},
|
4001
|
+
"DescribeInstancesAttributesRequest": {
|
4002
|
+
"document": "DescribeInstancesAttributes请求参数结构体",
|
4003
|
+
"members": [
|
4004
|
+
{
|
4005
|
+
"disabled": false,
|
4006
|
+
"document": "需要获取的实例属性。可选值:\nUserData: 实例自定义数据",
|
4007
|
+
"example": "[\"UserData\"]",
|
4008
|
+
"member": "string",
|
4009
|
+
"name": "Attributes",
|
4010
|
+
"required": true,
|
4011
|
+
"type": "list"
|
4012
|
+
},
|
4013
|
+
{
|
4014
|
+
"disabled": false,
|
4015
|
+
"document": "实例ID列表",
|
4016
|
+
"example": "[\"ins-lyxxskp2\"]",
|
4017
|
+
"member": "string",
|
4018
|
+
"name": "InstanceIds",
|
4019
|
+
"required": true,
|
4020
|
+
"type": "list"
|
4021
|
+
}
|
4022
|
+
],
|
4023
|
+
"type": "object"
|
4024
|
+
},
|
4025
|
+
"DescribeInstancesAttributesResponse": {
|
4026
|
+
"document": "DescribeInstancesAttributes返回参数结构体",
|
4027
|
+
"members": [
|
4028
|
+
{
|
4029
|
+
"disabled": false,
|
4030
|
+
"document": "指定的实例属性列表",
|
4031
|
+
"example": "无",
|
4032
|
+
"member": "InstanceAttribute",
|
4033
|
+
"name": "InstanceSet",
|
4034
|
+
"output_required": true,
|
4035
|
+
"type": "list",
|
4036
|
+
"value_allowed_null": false
|
4037
|
+
},
|
4038
|
+
{
|
4039
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4040
|
+
"member": "string",
|
4041
|
+
"name": "RequestId",
|
4042
|
+
"type": "string"
|
4043
|
+
}
|
4044
|
+
],
|
4045
|
+
"type": "object"
|
4046
|
+
},
|
3977
4047
|
"DescribeInstancesModificationRequest": {
|
3978
4048
|
"document": "DescribeInstancesModification请求参数结构体",
|
3979
4049
|
"members": [
|
@@ -4785,13 +4855,13 @@
|
|
4785
4855
|
},
|
4786
4856
|
{
|
4787
4857
|
"disabled": false,
|
4788
|
-
"document": "
|
4789
|
-
"example": "
|
4858
|
+
"document": "查询返回的维修任务列表。",
|
4859
|
+
"example": "无",
|
4790
4860
|
"member": "RepairTaskInfo",
|
4791
4861
|
"name": "RepairTaskInfoSet",
|
4792
4862
|
"output_required": true,
|
4793
4863
|
"type": "list",
|
4794
|
-
"value_allowed_null":
|
4864
|
+
"value_allowed_null": false
|
4795
4865
|
},
|
4796
4866
|
{
|
4797
4867
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -5169,13 +5239,22 @@
|
|
5169
5239
|
"type": "string"
|
5170
5240
|
},
|
5171
5241
|
{
|
5172
|
-
"disabled":
|
5173
|
-
"document": "
|
5242
|
+
"disabled": true,
|
5243
|
+
"document": "是否强制关机。本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。",
|
5174
5244
|
"example": "False",
|
5175
5245
|
"member": "bool",
|
5176
5246
|
"name": "ForceStop",
|
5177
5247
|
"required": false,
|
5178
5248
|
"type": "bool"
|
5249
|
+
},
|
5250
|
+
{
|
5251
|
+
"disabled": false,
|
5252
|
+
"document": "实例的关闭模式。取值范围:<br><li>SOFT_FIRST:表示在正常关闭失败后进行强制关闭</li><br><li>HARD:直接强制关闭</li><br><li>SOFT:仅软关机</li><br>默认取值:SOFT。",
|
5253
|
+
"example": "HARD",
|
5254
|
+
"member": "string",
|
5255
|
+
"name": "StopType",
|
5256
|
+
"required": false,
|
5257
|
+
"type": "string"
|
5179
5258
|
}
|
5180
5259
|
],
|
5181
5260
|
"type": "object"
|
@@ -7495,6 +7574,32 @@
|
|
7495
7574
|
],
|
7496
7575
|
"usage": "out"
|
7497
7576
|
},
|
7577
|
+
"InstanceAttribute": {
|
7578
|
+
"document": "实例属性",
|
7579
|
+
"members": [
|
7580
|
+
{
|
7581
|
+
"disabled": false,
|
7582
|
+
"document": "实例 ID。",
|
7583
|
+
"example": "ins-lyxxskp2",
|
7584
|
+
"member": "string",
|
7585
|
+
"name": "InstanceId",
|
7586
|
+
"output_required": false,
|
7587
|
+
"type": "string",
|
7588
|
+
"value_allowed_null": false
|
7589
|
+
},
|
7590
|
+
{
|
7591
|
+
"disabled": false,
|
7592
|
+
"document": "实例属性信息。",
|
7593
|
+
"example": "无",
|
7594
|
+
"member": "Attribute",
|
7595
|
+
"name": "Attributes",
|
7596
|
+
"output_required": false,
|
7597
|
+
"type": "object",
|
7598
|
+
"value_allowed_null": false
|
7599
|
+
}
|
7600
|
+
],
|
7601
|
+
"usage": "out"
|
7602
|
+
},
|
7498
7603
|
"InstanceChargePrepaid": {
|
7499
7604
|
"document": "描述了实例的计费模式",
|
7500
7605
|
"members": [
|
@@ -320,6 +320,14 @@
|
|
320
320
|
"title": "查询定时任务"
|
321
321
|
}
|
322
322
|
],
|
323
|
+
"DescribeInstancesAttributes": [
|
324
|
+
{
|
325
|
+
"document": "",
|
326
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesAttributes\n<公共请求参数>\n\n{\n \"Attributes\": [\n \"UserData\"\n ],\n \"InstanceIds\": [\n \"ins-pgklxcq0\"\n ]\n}",
|
327
|
+
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"Attributes\": {\n \"UserData\": \"TXlVc2VyRGF0YQo=\"\n },\n \"InstanceId\": \"ins-pgklxcq0\"\n }\n ],\n \"RequestId\": \"bd249418-331b-43c7-b872-3ae94fe84af9\"\n }\n}",
|
328
|
+
"title": "查询指定实例列表的实例属性"
|
329
|
+
}
|
330
|
+
],
|
323
331
|
"DescribeInstancesModification": [
|
324
332
|
{
|
325
333
|
"document": "查询指定实例支持调整的机型配置",
|
@@ -5983,7 +5983,7 @@
|
|
5983
5983
|
},
|
5984
5984
|
{
|
5985
5985
|
"disabled": false,
|
5986
|
-
"document": "防护级别:0基础版,1专业版,2旗舰版,3
|
5986
|
+
"document": "防护级别:0基础版,1专业版,2旗舰版,3轻量版",
|
5987
5987
|
"example": "1",
|
5988
5988
|
"member": "uint64",
|
5989
5989
|
"name": "ProtectLevel",
|
@@ -14584,7 +14584,7 @@
|
|
14584
14584
|
},
|
14585
14585
|
{
|
14586
14586
|
"disabled": false,
|
14587
|
-
"document": "备份模式: 0按周,1
|
14587
|
+
"document": "备份模式: 0按周,1按天,2不备份",
|
14588
14588
|
"example": "1",
|
14589
14589
|
"member": "uint64",
|
14590
14590
|
"name": "BackupType",
|
@@ -25085,7 +25085,7 @@
|
|
25085
25085
|
},
|
25086
25086
|
{
|
25087
25087
|
"disabled": false,
|
25088
|
-
"document": "
|
25088
|
+
"document": "过滤条件:<li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship:旗舰版 | ProtectedMachines:专业版+旗舰版) | BASIC_PROPOST_GENERAL_DISCOUNT:轻量版+专业版按量计费+基础版主机 | UnFlagship:专业版预付费+专业版后付费+基础版+轻量版</li>",
|
25089
25089
|
"example": "[{\"Name\": \"Version\", \"Values\": [\"UnFlag****\"]}]",
|
25090
25090
|
"member": "Filters",
|
25091
25091
|
"name": "Filters",
|
@@ -25101,7 +25101,7 @@
|
|
25101
25101
|
{
|
25102
25102
|
"disabled": false,
|
25103
25103
|
"document": "有效的机器信息列表:机器名称、机器公网/内网ip、机器标签",
|
25104
|
-
"example": "
|
25104
|
+
"example": "无",
|
25105
25105
|
"member": "EffectiveMachineInfo",
|
25106
25106
|
"name": "EffectiveMachineInfoList",
|
25107
25107
|
"output_required": true,
|
@@ -25684,7 +25684,7 @@
|
|
25684
25684
|
},
|
25685
25685
|
{
|
25686
25686
|
"disabled": false,
|
25687
|
-
"document": "
|
25687
|
+
"document": "轻量版总授权数(有效订单的授权数)",
|
25688
25688
|
"example": "0",
|
25689
25689
|
"member": "uint64",
|
25690
25690
|
"name": "CwpVersionLicenseCnt",
|
@@ -25910,7 +25910,7 @@
|
|
25910
25910
|
},
|
25911
25911
|
{
|
25912
25912
|
"disabled": false,
|
25913
|
-
"document": "
|
25913
|
+
"document": "轻量版 配置信息",
|
25914
25914
|
"example": "1",
|
25915
25915
|
"member": "VersionWhiteConfig",
|
25916
25916
|
"name": "PrattWhitney",
|
@@ -27025,7 +27025,7 @@
|
|
27025
27025
|
},
|
27026
27026
|
{
|
27027
27027
|
"disabled": false,
|
27028
|
-
"document": "
|
27028
|
+
"document": "已防护轻量机器数(Lighthouse机器)",
|
27029
27029
|
"example": "0",
|
27030
27030
|
"member": "uint64",
|
27031
27031
|
"name": "LHGeneralDiscountCnt",
|
@@ -27291,7 +27291,7 @@
|
|
27291
27291
|
},
|
27292
27292
|
{
|
27293
27293
|
"disabled": false,
|
27294
|
-
"document": "防护版本:BASIC_VERSION 基础版,PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT
|
27294
|
+
"document": "防护版本:BASIC_VERSION 基础版,PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 轻量版",
|
27295
27295
|
"example": "BASIC_VERSION",
|
27296
27296
|
"member": "string",
|
27297
27297
|
"name": "ProtectType",
|
@@ -29823,6 +29823,24 @@
|
|
29823
29823
|
"name": "By",
|
29824
29824
|
"required": false,
|
29825
29825
|
"type": "string"
|
29826
|
+
},
|
29827
|
+
{
|
29828
|
+
"disabled": false,
|
29829
|
+
"document": "事件创建起始时间",
|
29830
|
+
"example": "2025-02-10 16:00:01",
|
29831
|
+
"member": "string",
|
29832
|
+
"name": "CreateBeginTime",
|
29833
|
+
"required": false,
|
29834
|
+
"type": "string"
|
29835
|
+
},
|
29836
|
+
{
|
29837
|
+
"disabled": false,
|
29838
|
+
"document": "事件创建结束时间",
|
29839
|
+
"example": "2025-02-10 16:00:01",
|
29840
|
+
"member": "string",
|
29841
|
+
"name": "CreateEndTime",
|
29842
|
+
"required": false,
|
29843
|
+
"type": "string"
|
29826
29844
|
}
|
29827
29845
|
],
|
29828
29846
|
"type": "object"
|
@@ -29833,7 +29851,7 @@
|
|
29833
29851
|
{
|
29834
29852
|
"disabled": false,
|
29835
29853
|
"document": "事件列表",
|
29836
|
-
"example": "[ { \"Id\": 10001, \"CreateTime\": \"2024-05-14 11:01:02\"
|
29854
|
+
"example": "[ { \"Id\": 10001, \"CreateTime\": \"2024-05-14 11:01:02\" } ]",
|
29837
29855
|
"member": "RansomDefenseEvent",
|
29838
29856
|
"name": "List",
|
29839
29857
|
"output_required": true,
|
@@ -31835,7 +31853,7 @@
|
|
31835
31853
|
},
|
31836
31854
|
{
|
31837
31855
|
"disabled": false,
|
31838
|
-
"document": "
|
31856
|
+
"document": "为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机",
|
31839
31857
|
"example": "[\"d99a1b46-cc2d-4633-a11f-4a7663d25***\"]",
|
31840
31858
|
"member": "string",
|
31841
31859
|
"name": "Uuids",
|
@@ -33676,7 +33694,7 @@
|
|
33676
33694
|
},
|
33677
33695
|
{
|
33678
33696
|
"disabled": false,
|
33679
|
-
"document": "
|
33697
|
+
"document": "轻量版数量",
|
33680
33698
|
"example": "1",
|
33681
33699
|
"member": "uint64",
|
33682
33700
|
"name": "GeneralVersionNum",
|
@@ -42441,6 +42459,36 @@
|
|
42441
42459
|
"output_required": true,
|
42442
42460
|
"type": "string",
|
42443
42461
|
"value_allowed_null": false
|
42462
|
+
},
|
42463
|
+
{
|
42464
|
+
"disabled": false,
|
42465
|
+
"document": "主机类型",
|
42466
|
+
"example": "CVM",
|
42467
|
+
"member": "string",
|
42468
|
+
"name": "MachineType",
|
42469
|
+
"output_required": false,
|
42470
|
+
"type": "string",
|
42471
|
+
"value_allowed_null": false
|
42472
|
+
},
|
42473
|
+
{
|
42474
|
+
"disabled": false,
|
42475
|
+
"document": "可用区名称",
|
42476
|
+
"example": "ap-beijing",
|
42477
|
+
"member": "string",
|
42478
|
+
"name": "RegionName",
|
42479
|
+
"output_required": false,
|
42480
|
+
"type": "string",
|
42481
|
+
"value_allowed_null": false
|
42482
|
+
},
|
42483
|
+
{
|
42484
|
+
"disabled": false,
|
42485
|
+
"document": "可用区ID",
|
42486
|
+
"example": "17",
|
42487
|
+
"member": "uint64",
|
42488
|
+
"name": "RegionId",
|
42489
|
+
"output_required": false,
|
42490
|
+
"type": "int",
|
42491
|
+
"value_allowed_null": false
|
42444
42492
|
}
|
42445
42493
|
],
|
42446
42494
|
"usage": "out"
|
@@ -44368,7 +44416,7 @@
|
|
44368
44416
|
},
|
44369
44417
|
{
|
44370
44418
|
"disabled": false,
|
44371
|
-
"document": "防护版本:BASIC_VERSION 基础版, PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT
|
44419
|
+
"document": "防护版本:BASIC_VERSION 基础版, PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 轻量版",
|
44372
44420
|
"example": "BASIC_VERSION",
|
44373
44421
|
"member": "string",
|
44374
44422
|
"name": "ProtectType",
|
@@ -44888,7 +44936,7 @@
|
|
44888
44936
|
},
|
44889
44937
|
{
|
44890
44938
|
"disabled": false,
|
44891
|
-
"document": "防护版本 BASIC_VERSION 基础版, PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT
|
44939
|
+
"document": "防护版本 BASIC_VERSION 基础版, PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 轻量版.",
|
44892
44940
|
"example": "BASIC_VERSION",
|
44893
44941
|
"member": "string",
|
44894
44942
|
"name": "ProtectType",
|
@@ -49357,7 +49405,7 @@
|
|
49357
49405
|
},
|
49358
49406
|
{
|
49359
49407
|
"disabled": false,
|
49360
|
-
"document": "机器付费版本,0 基础版,1专业版,2旗舰版,3
|
49408
|
+
"document": "机器付费版本,0 基础版,1专业版,2旗舰版,3轻量版",
|
49361
49409
|
"example": "1",
|
49362
49410
|
"member": "uint64",
|
49363
49411
|
"name": "PayVersion",
|
@@ -49504,7 +49552,7 @@
|
|
49504
49552
|
{
|
49505
49553
|
"disabled": false,
|
49506
49554
|
"document": "攻击数据包",
|
49507
|
-
"example": "POST /wls-wsat/CoordinatorPortType HTTP/1.
|
49555
|
+
"example": "POST /wls-wsat/CoordinatorPortType HTTP/1.1X-Stgw-Time: 1730212752.801Host: h2.lghd111.comX-Client-Proto: httpsX-Forwarded-Proto: httpsX-Client-Proto-Ver: HTTP/1.1X-Real-IP: 180.184.132.93X-Forwarded-For: 223.160.168.205",
|
49508
49556
|
"member": "string",
|
49509
49557
|
"name": "NetPayload",
|
49510
49558
|
"output_required": true,
|
@@ -49573,7 +49621,7 @@
|
|
49573
49621
|
},
|
49574
49622
|
{
|
49575
49623
|
"disabled": false,
|
49576
|
-
"document": "机器付费版本,0 基础版,1专业版,2旗舰版,3
|
49624
|
+
"document": "机器付费版本,0 基础版,1专业版,2旗舰版,3轻量版",
|
49577
49625
|
"example": "1",
|
49578
49626
|
"member": "uint64",
|
49579
49627
|
"name": "PayVersion",
|
@@ -49624,7 +49672,7 @@
|
|
49624
49672
|
{
|
49625
49673
|
"disabled": false,
|
49626
49674
|
"document": "进程树,需要用base64 解码",
|
49627
|
-
"example": "
|
49675
|
+
"example": "YW*jZA==",
|
49628
49676
|
"member": "string",
|
49629
49677
|
"name": "HostOpProcessTree",
|
49630
49678
|
"output_required": false,
|
@@ -51328,7 +51376,7 @@
|
|
51328
51376
|
},
|
51329
51377
|
{
|
51330
51378
|
"disabled": false,
|
51331
|
-
"document": "备份状态:0备份中,1正常,2、3失败,4快照已过期,9快照已删除",
|
51379
|
+
"document": "备份状态:0备份中,1正常,2、3失败,4快照已过期,5快照数量超出限制,9快照已删除",
|
51332
51380
|
"example": "1",
|
51333
51381
|
"member": "uint64",
|
51334
51382
|
"name": "BackupStatus",
|
@@ -51782,6 +51830,16 @@
|
|
51782
51830
|
"output_required": true,
|
51783
51831
|
"type": "string",
|
51784
51832
|
"value_allowed_null": false
|
51833
|
+
},
|
51834
|
+
{
|
51835
|
+
"disabled": false,
|
51836
|
+
"document": "主机类型",
|
51837
|
+
"example": "CVM",
|
51838
|
+
"member": "string",
|
51839
|
+
"name": "MachineType",
|
51840
|
+
"output_required": false,
|
51841
|
+
"type": "string",
|
51842
|
+
"value_allowed_null": false
|
51785
51843
|
}
|
51786
51844
|
],
|
51787
51845
|
"usage": "out"
|
@@ -51871,7 +51929,7 @@
|
|
51871
51929
|
},
|
51872
51930
|
{
|
51873
51931
|
"disabled": false,
|
51874
|
-
"document": "备份模式: 0按周,1
|
51932
|
+
"document": "备份模式: 0按周,1按天,2不备份",
|
51875
51933
|
"example": "0",
|
51876
51934
|
"member": "uint64",
|
51877
51935
|
"name": "BackupType",
|
@@ -52313,13 +52371,23 @@
|
|
52313
52371
|
},
|
52314
52372
|
{
|
52315
52373
|
"disabled": false,
|
52316
|
-
"document": "版本信息:0-基础版 1-专业版 2-旗舰版 3
|
52374
|
+
"document": "版本信息:0-基础版 1-专业版 2-旗舰版 3-轻量版",
|
52317
52375
|
"example": "1",
|
52318
52376
|
"member": "uint64",
|
52319
52377
|
"name": "HostVersion",
|
52320
52378
|
"output_required": true,
|
52321
52379
|
"type": "int",
|
52322
52380
|
"value_allowed_null": false
|
52381
|
+
},
|
52382
|
+
{
|
52383
|
+
"disabled": false,
|
52384
|
+
"document": "机器所属专区类型 CVM 云服务器, BM 黑石, ECM 边缘计算, LH 轻量应用服务器 ,Other 混合云专区",
|
52385
|
+
"example": "CVM",
|
52386
|
+
"member": "string",
|
52387
|
+
"name": "MachineType",
|
52388
|
+
"output_required": false,
|
52389
|
+
"type": "string",
|
52390
|
+
"value_allowed_null": false
|
52323
52391
|
}
|
52324
52392
|
],
|
52325
52393
|
"usage": "out"
|
@@ -52449,7 +52517,7 @@
|
|
52449
52517
|
},
|
52450
52518
|
{
|
52451
52519
|
"disabled": false,
|
52452
|
-
"document": "版本信息:0-基础版 1-专业版 2-旗舰版 3
|
52520
|
+
"document": "版本信息:0-基础版 1-专业版 2-旗舰版 3-轻量版",
|
52453
52521
|
"example": "0",
|
52454
52522
|
"member": "uint64",
|
52455
52523
|
"name": "HostVersion",
|
@@ -52466,6 +52534,16 @@
|
|
52466
52534
|
"output_required": true,
|
52467
52535
|
"type": "string",
|
52468
52536
|
"value_allowed_null": false
|
52537
|
+
},
|
52538
|
+
{
|
52539
|
+
"disabled": false,
|
52540
|
+
"document": "机器所属专区类型 CVM 云服务器, BM 黑石, ECM 边缘计算, LH 轻量应用服务器 ,Other 混合云专区",
|
52541
|
+
"example": "CVM",
|
52542
|
+
"member": "string",
|
52543
|
+
"name": "MachineType",
|
52544
|
+
"output_required": false,
|
52545
|
+
"type": "string",
|
52546
|
+
"value_allowed_null": false
|
52469
52547
|
}
|
52470
52548
|
],
|
52471
52549
|
"usage": "out"
|
@@ -55066,7 +55144,7 @@
|
|
55066
55144
|
},
|
55067
55145
|
{
|
55068
55146
|
"disabled": false,
|
55069
|
-
"document": "
|
55147
|
+
"document": "为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机",
|
55070
55148
|
"example": "['']",
|
55071
55149
|
"member": "string",
|
55072
55150
|
"name": "Uuids",
|
@@ -58366,7 +58444,7 @@
|
|
58366
58444
|
},
|
58367
58445
|
{
|
58368
58446
|
"disabled": false,
|
58369
|
-
"document": "0 专业版,1 旗舰版,2 LH
|
58447
|
+
"document": "0 专业版,1 旗舰版,2 LH轻量版(仅限LH使用),3 CVM轻量版(仅限CVM使用)",
|
58370
58448
|
"example": "1",
|
58371
58449
|
"member": "int64",
|
58372
58450
|
"name": "UpgradeType",
|
@@ -59168,7 +59246,7 @@
|
|
59168
59246
|
},
|
59169
59247
|
{
|
59170
59248
|
"disabled": false,
|
59171
|
-
"document": "版本信息:0-基础版 1-专业版 2-旗舰版 3
|
59249
|
+
"document": "版本信息:0-基础版 1-专业版 2-旗舰版 3-轻量版",
|
59172
59250
|
"example": "1",
|
59173
59251
|
"member": "uint64",
|
59174
59252
|
"name": "HostVersion",
|