tccli 3.0.1144.1__py2.py3-none-any.whl → 3.0.1145.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/asr/v20190614/api.json +2 -2
- tccli/services/cdb/cdb_client.py +167 -8
- tccli/services/cdb/v20170320/api.json +156 -0
- tccli/services/cdb/v20170320/examples.json +24 -0
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/ckafka/v20190819/examples.json +2 -2
- tccli/services/dbdc/v20201029/api.json +14 -12
- tccli/services/dbdc/v20201029/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +52 -2
- tccli/services/es/es_client.py +61 -8
- tccli/services/es/v20180416/api.json +83 -2
- tccli/services/es/v20180416/examples.json +11 -3
- tccli/services/iotexplorer/v20190423/api.json +11 -0
- tccli/services/iotvideo/v20211125/api.json +11 -0
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +474 -1
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/smpn/v20190822/api.json +10 -10
- tccli/services/trtc/v20190722/api.json +13 -4
- tccli/services/tsi/v20210325/api.json +2 -2
- tccli/services/tts/v20190823/api.json +1 -1
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1145.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1145.1.dist-info}/RECORD +27 -27
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1145.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1145.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1145.1.dist-info}/license_files/LICENSE +0 -0
@@ -1110,7 +1110,7 @@
|
|
1110
1110
|
{
|
1111
1111
|
"disabled": false,
|
1112
1112
|
"document": "集群类型: 0 一主一备, 1 一主两备...N-1 一主N备",
|
1113
|
-
"example": "",
|
1113
|
+
"example": "[0]",
|
1114
1114
|
"member": "int64",
|
1115
1115
|
"name": "InstanceTypes",
|
1116
1116
|
"required": false,
|
@@ -1119,7 +1119,7 @@
|
|
1119
1119
|
{
|
1120
1120
|
"disabled": false,
|
1121
1121
|
"document": "产品ID: 0 MYSQL,1 TDSQL",
|
1122
|
-
"example": "",
|
1122
|
+
"example": "[1]",
|
1123
1123
|
"member": "int64",
|
1124
1124
|
"name": "ProductIds",
|
1125
1125
|
"required": false,
|
@@ -1128,7 +1128,7 @@
|
|
1128
1128
|
{
|
1129
1129
|
"disabled": false,
|
1130
1130
|
"document": "集群uuid: 如 dbdc-q810131s",
|
1131
|
-
"example": "",
|
1131
|
+
"example": "[\"dbdc-qhdgwfs\"]",
|
1132
1132
|
"member": "string",
|
1133
1133
|
"name": "InstanceIds",
|
1134
1134
|
"required": false,
|
@@ -1137,7 +1137,7 @@
|
|
1137
1137
|
{
|
1138
1138
|
"disabled": false,
|
1139
1139
|
"document": "是否按金融围笼标志搜索",
|
1140
|
-
"example": "",
|
1140
|
+
"example": "false",
|
1141
1141
|
"member": "bool",
|
1142
1142
|
"name": "FenceFlag",
|
1143
1143
|
"required": false,
|
@@ -1146,7 +1146,7 @@
|
|
1146
1146
|
{
|
1147
1147
|
"disabled": false,
|
1148
1148
|
"document": "按实例名字模糊匹配",
|
1149
|
-
"example": "",
|
1149
|
+
"example": "exclust",
|
1150
1150
|
"member": "string",
|
1151
1151
|
"name": "InstanceName",
|
1152
1152
|
"required": false,
|
@@ -1155,7 +1155,7 @@
|
|
1155
1155
|
{
|
1156
1156
|
"disabled": false,
|
1157
1157
|
"document": "每页数目, 整型",
|
1158
|
-
"example": "",
|
1158
|
+
"example": "100",
|
1159
1159
|
"member": "int64",
|
1160
1160
|
"name": "PageSize",
|
1161
1161
|
"required": false,
|
@@ -1164,7 +1164,7 @@
|
|
1164
1164
|
{
|
1165
1165
|
"disabled": false,
|
1166
1166
|
"document": "页码, 整型",
|
1167
|
-
"example": "",
|
1167
|
+
"example": "1",
|
1168
1168
|
"member": "int64",
|
1169
1169
|
"name": "PageNumber",
|
1170
1170
|
"required": false,
|
@@ -1173,7 +1173,7 @@
|
|
1173
1173
|
{
|
1174
1174
|
"disabled": false,
|
1175
1175
|
"document": "排序字段,枚举:createtime,groupname",
|
1176
|
-
"example": "",
|
1176
|
+
"example": "createtime",
|
1177
1177
|
"member": "string",
|
1178
1178
|
"name": "OrderBy",
|
1179
1179
|
"required": false,
|
@@ -1182,7 +1182,7 @@
|
|
1182
1182
|
{
|
1183
1183
|
"disabled": false,
|
1184
1184
|
"document": "排序方式: asc升序, desc降序",
|
1185
|
-
"example": "",
|
1185
|
+
"example": "asc",
|
1186
1186
|
"member": "string",
|
1187
1187
|
"name": "OrderByType",
|
1188
1188
|
"required": false,
|
@@ -1191,7 +1191,7 @@
|
|
1191
1191
|
{
|
1192
1192
|
"disabled": false,
|
1193
1193
|
"document": "集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中",
|
1194
|
-
"example": "",
|
1194
|
+
"example": "1",
|
1195
1195
|
"member": "int64",
|
1196
1196
|
"name": "InstanceStatus",
|
1197
1197
|
"required": false,
|
@@ -1206,18 +1206,20 @@
|
|
1206
1206
|
{
|
1207
1207
|
"disabled": false,
|
1208
1208
|
"document": "集群数量",
|
1209
|
-
"example": "",
|
1209
|
+
"example": "1",
|
1210
1210
|
"member": "int64",
|
1211
1211
|
"name": "TotalCount",
|
1212
|
+
"output_required": true,
|
1212
1213
|
"type": "int",
|
1213
1214
|
"value_allowed_null": false
|
1214
1215
|
},
|
1215
1216
|
{
|
1216
1217
|
"disabled": false,
|
1217
1218
|
"document": "集群扩展信息",
|
1218
|
-
"example": "",
|
1219
|
+
"example": "[ { \"AppId\": 1252328453, \"AutoRenewFlag\": 0, \"CreateTime\": \"2021-02-25T16:08:47+08:00\", \"InstanceDetail\": { \"InstanceDeviceInfos\": [ { \"FreeDevice\": [], \"InstanceId\": \"szjr-3-7\", \"ReadOnlyDevice\": [], \"ReadWriteDevice\": [ { \"DevClass\": \"SH12\", \"DeviceId\": 191108504, \"DeviceNo\": \"\", \"InstanceNum\": 29, \"MaxDisk\": 28000, \"MaxMemory\": 576, \"RawDeviceNum\": 3, \"RestDisk\": 8800, \"RestMemory\": 248 } ] } ], \"ReadOnlyTotalDisk\": 0, \"ReadOnlyTotalLeaveDisk\": 0, \"ReadOnlyTotalLeaveMemory\": 0, \"ReadOnlyTotalMemory\": 0, \"ReadWriteTotalDisk\": 28000, \"ReadWriteTotalLeaveDisk\": 8800, \"ReadWriteTotalLeaveMemory\": 248, \"ReadWriteTotalMemory\": 576, \"Status\": 0 }, \"InstanceId\": \"dbdc-qhdgwfs\", \"InstanceName\": \"exclust\", \"InstanceStatus\": 1, \"InstanceType\": 1, \"Machine\": \"SH12\", \"PeriodEndTime\": \"2021-09-25T16:08:47+08:00\", \"Pid\": 10875, \"Region\": \"ap-shenzhen-fsi\", \"Zone\": \"ap-shenzhen-fsi-3\" } ]",
|
1219
1220
|
"member": "InstanceExpand",
|
1220
1221
|
"name": "Instances",
|
1222
|
+
"output_required": true,
|
1221
1223
|
"type": "list",
|
1222
1224
|
"value_allowed_null": false
|
1223
1225
|
},
|
@@ -36,7 +36,7 @@
|
|
36
36
|
{
|
37
37
|
"document": "",
|
38
38
|
"input": "POST / HTTP/1.1\nHost: dbdc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{}",
|
39
|
-
"output": "{\n \"Response\": {\n \"
|
39
|
+
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AppId\": 1252328453,\n \"AutoRenewFlag\": 0,\n \"CreateTime\": \"2021-02-25T16:08:47+08:00\",\n \"InstanceDetail\": {\n \"InstanceDeviceInfos\": [\n {\n \"FreeDevice\": [],\n \"InstanceId\": \"szjr-3-7\",\n \"ReadOnlyDevice\": [],\n \"ReadWriteDevice\": [\n {\n \"DevClass\": \"SH12\",\n \"DeviceId\": 191108504,\n \"DeviceNo\": \"\",\n \"InstanceNum\": 29,\n \"MaxDisk\": 28000,\n \"MaxMemory\": 576,\n \"RawDeviceNum\": 3,\n \"RestDisk\": 8800,\n \"RestMemory\": 248\n }\n ]\n }\n ],\n \"ReadOnlyTotalDisk\": 0,\n \"ReadOnlyTotalLeaveDisk\": 0,\n \"ReadOnlyTotalLeaveMemory\": 0,\n \"ReadOnlyTotalMemory\": 0,\n \"ReadWriteTotalDisk\": 28000,\n \"ReadWriteTotalLeaveDisk\": 8800,\n \"ReadWriteTotalLeaveMemory\": 248,\n \"ReadWriteTotalMemory\": 576,\n \"Status\": 0\n },\n \"InstanceId\": \"dbdc-qhdgwfs\",\n \"InstanceName\": \"exclust\",\n \"InstanceStatus\": 1,\n \"InstanceType\": 1,\n \"Machine\": \"SH12\",\n \"PeriodEndTime\": \"2021-09-25T16:08:47+08:00\",\n \"Pid\": 10875,\n \"Region\": \"ap-shenzhen-fsi\",\n \"Zone\": \"ap-shenzhen-fsi-3\"\n }\n ],\n \"RequestId\": \"d82b7fa2-090c-4cf6-aefe-376510cebd81\",\n \"TotalCount\": 1\n }\n}",
|
40
40
|
"title": "请求示例DEMO"
|
41
41
|
}
|
42
42
|
],
|
@@ -507,7 +507,7 @@
|
|
507
507
|
"DescribeNotebookSessionStatementSqlResult": {
|
508
508
|
"document": "本接口(DescribeNotebookSessionStatementSqlResult)用于获取statement运行结果。",
|
509
509
|
"input": "DescribeNotebookSessionStatementSqlResultRequest",
|
510
|
-
"name": "获取statement
|
510
|
+
"name": "获取statement运行结果(作用于:Spark交互式SQL任务、Notebook任务)。",
|
511
511
|
"output": "DescribeNotebookSessionStatementSqlResultResponse",
|
512
512
|
"status": "online"
|
513
513
|
},
|
@@ -633,7 +633,7 @@
|
|
633
633
|
"DescribeTaskResult": {
|
634
634
|
"document": "查询任务结果",
|
635
635
|
"input": "DescribeTaskResultRequest",
|
636
|
-
"name": "查询任务结果",
|
636
|
+
"name": "查询任务结果(用于: SparkSQL、PrestoSQL、Spark作业任务)",
|
637
637
|
"output": "DescribeTaskResultResponse",
|
638
638
|
"status": "online"
|
639
639
|
},
|
@@ -995,6 +995,34 @@
|
|
995
995
|
"serviceShortName": "dlc"
|
996
996
|
},
|
997
997
|
"objects": {
|
998
|
+
"AccessInfo": {
|
999
|
+
"document": "引擎的访问信息",
|
1000
|
+
"members": [
|
1001
|
+
{
|
1002
|
+
"disabled": false,
|
1003
|
+
"document": "访问引擎的方法\n注意:此字段可能返回 null,表示取不到有效值。",
|
1004
|
+
"example": "DLCJDBC",
|
1005
|
+
"member": "string",
|
1006
|
+
"name": "AccessType",
|
1007
|
+
"output_required": false,
|
1008
|
+
"required": false,
|
1009
|
+
"type": "string",
|
1010
|
+
"value_allowed_null": true
|
1011
|
+
},
|
1012
|
+
{
|
1013
|
+
"disabled": false,
|
1014
|
+
"document": "访问引擎的url,内部的部分参数需要根据实际情况替换\n注意:此字段可能返回 null,表示取不到有效值。",
|
1015
|
+
"example": "jdbc:dlc:xxxx-xxxx",
|
1016
|
+
"member": "string",
|
1017
|
+
"name": "AccessConnectionInfos",
|
1018
|
+
"output_required": false,
|
1019
|
+
"required": false,
|
1020
|
+
"type": "list",
|
1021
|
+
"value_allowed_null": true
|
1022
|
+
}
|
1023
|
+
],
|
1024
|
+
"usage": "both"
|
1025
|
+
},
|
998
1026
|
"AddDMSPartitionsRequest": {
|
999
1027
|
"document": "AddDMSPartitions请求参数结构体",
|
1000
1028
|
"members": [
|
@@ -6233,6 +6261,28 @@
|
|
6233
6261
|
"required": false,
|
6234
6262
|
"type": "int",
|
6235
6263
|
"value_allowed_null": true
|
6264
|
+
},
|
6265
|
+
{
|
6266
|
+
"disabled": false,
|
6267
|
+
"document": "引擎的访问信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
6268
|
+
"example": "无",
|
6269
|
+
"member": "AccessInfo",
|
6270
|
+
"name": "AccessInfos",
|
6271
|
+
"output_required": false,
|
6272
|
+
"required": false,
|
6273
|
+
"type": "list",
|
6274
|
+
"value_allowed_null": true
|
6275
|
+
},
|
6276
|
+
{
|
6277
|
+
"disabled": false,
|
6278
|
+
"document": "引擎所在网络名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
6279
|
+
"example": "default-network",
|
6280
|
+
"member": "string",
|
6281
|
+
"name": "EngineNetworkName",
|
6282
|
+
"output_required": false,
|
6283
|
+
"required": false,
|
6284
|
+
"type": "string",
|
6285
|
+
"value_allowed_null": true
|
6236
6286
|
}
|
6237
6287
|
],
|
6238
6288
|
"usage": "both"
|
tccli/services/es/es_client.py
CHANGED
@@ -537,7 +537,7 @@ def doCreateIndex(args, parsed_globals):
|
|
537
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
538
|
|
539
539
|
|
540
|
-
def
|
540
|
+
def doUpdateRequestTargetNodeTypes(args, parsed_globals):
|
541
541
|
g_param = parse_global_arg(parsed_globals)
|
542
542
|
|
543
543
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -566,11 +566,11 @@ def doStartLogstashPipelines(args, parsed_globals):
|
|
566
566
|
client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
|
567
567
|
client._sdkVersion += ("_CLI_" + __version__)
|
568
568
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
-
model = models.
|
569
|
+
model = models.UpdateRequestTargetNodeTypesRequest()
|
570
570
|
model.from_json_string(json.dumps(args))
|
571
571
|
start_time = time.time()
|
572
572
|
while True:
|
573
|
-
rsp = client.
|
573
|
+
rsp = client.UpdateRequestTargetNodeTypes(model)
|
574
574
|
result = rsp.to_json_string()
|
575
575
|
try:
|
576
576
|
json_obj = json.loads(result)
|
@@ -2045,7 +2045,7 @@ def doUpdateServerlessSpace(args, parsed_globals):
|
|
2045
2045
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2046
2046
|
|
2047
2047
|
|
2048
|
-
def
|
2048
|
+
def doStartLogstashPipelines(args, parsed_globals):
|
2049
2049
|
g_param = parse_global_arg(parsed_globals)
|
2050
2050
|
|
2051
2051
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2074,11 +2074,11 @@ def doUpdateRequestTargetNodeTypes(args, parsed_globals):
|
|
2074
2074
|
client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
|
2075
2075
|
client._sdkVersion += ("_CLI_" + __version__)
|
2076
2076
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2077
|
-
model = models.
|
2077
|
+
model = models.StartLogstashPipelinesRequest()
|
2078
2078
|
model.from_json_string(json.dumps(args))
|
2079
2079
|
start_time = time.time()
|
2080
2080
|
while True:
|
2081
|
-
rsp = client.
|
2081
|
+
rsp = client.StartLogstashPipelines(model)
|
2082
2082
|
result = rsp.to_json_string()
|
2083
2083
|
try:
|
2084
2084
|
json_obj = json.loads(result)
|
@@ -2253,6 +2253,58 @@ def doDescribeLogstashInstanceLogs(args, parsed_globals):
|
|
2253
2253
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2254
2254
|
|
2255
2255
|
|
2256
|
+
def doDescribeServerlessMetrics(args, parsed_globals):
|
2257
|
+
g_param = parse_global_arg(parsed_globals)
|
2258
|
+
|
2259
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2260
|
+
cred = credential.CVMRoleCredential()
|
2261
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2262
|
+
cred = credential.STSAssumeRoleCredential(
|
2263
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2264
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2265
|
+
)
|
2266
|
+
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):
|
2267
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2268
|
+
else:
|
2269
|
+
cred = credential.Credential(
|
2270
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2271
|
+
)
|
2272
|
+
http_profile = HttpProfile(
|
2273
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2274
|
+
reqMethod="POST",
|
2275
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2276
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2277
|
+
)
|
2278
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2279
|
+
if g_param[OptionsDefine.Language]:
|
2280
|
+
profile.language = g_param[OptionsDefine.Language]
|
2281
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2282
|
+
client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
|
2283
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2284
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2285
|
+
model = models.DescribeServerlessMetricsRequest()
|
2286
|
+
model.from_json_string(json.dumps(args))
|
2287
|
+
start_time = time.time()
|
2288
|
+
while True:
|
2289
|
+
rsp = client.DescribeServerlessMetrics(model)
|
2290
|
+
result = rsp.to_json_string()
|
2291
|
+
try:
|
2292
|
+
json_obj = json.loads(result)
|
2293
|
+
except TypeError as e:
|
2294
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2295
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2296
|
+
break
|
2297
|
+
cur_time = time.time()
|
2298
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2299
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2300
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2301
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2302
|
+
else:
|
2303
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2304
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2305
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2306
|
+
|
2307
|
+
|
2256
2308
|
def doRestartNodes(args, parsed_globals):
|
2257
2309
|
g_param = parse_global_arg(parsed_globals)
|
2258
2310
|
|
@@ -2846,7 +2898,7 @@ ACTION_MAP = {
|
|
2846
2898
|
"DeleteInstance": doDeleteInstance,
|
2847
2899
|
"GetDiagnoseSettings": doGetDiagnoseSettings,
|
2848
2900
|
"CreateIndex": doCreateIndex,
|
2849
|
-
"
|
2901
|
+
"UpdateRequestTargetNodeTypes": doUpdateRequestTargetNodeTypes,
|
2850
2902
|
"UpdateDiagnoseSettings": doUpdateDiagnoseSettings,
|
2851
2903
|
"CreateCosMigrateToServerlessInstance": doCreateCosMigrateToServerlessInstance,
|
2852
2904
|
"UpdatePlugins": doUpdatePlugins,
|
@@ -2875,10 +2927,11 @@ ACTION_MAP = {
|
|
2875
2927
|
"UpdateIndex": doUpdateIndex,
|
2876
2928
|
"DescribeInstances": doDescribeInstances,
|
2877
2929
|
"UpdateServerlessSpace": doUpdateServerlessSpace,
|
2878
|
-
"
|
2930
|
+
"StartLogstashPipelines": doStartLogstashPipelines,
|
2879
2931
|
"UpgradeInstance": doUpgradeInstance,
|
2880
2932
|
"DeleteServerlessSpaceUser": doDeleteServerlessSpaceUser,
|
2881
2933
|
"DescribeLogstashInstanceLogs": doDescribeLogstashInstanceLogs,
|
2934
|
+
"DescribeServerlessMetrics": doDescribeServerlessMetrics,
|
2882
2935
|
"RestartNodes": doRestartNodes,
|
2883
2936
|
"DescribeServerlessSpaceUser": doDescribeServerlessSpaceUser,
|
2884
2937
|
"DeleteIndex": doDeleteIndex,
|
@@ -175,6 +175,13 @@
|
|
175
175
|
"output": "DescribeServerlessInstancesResponse",
|
176
176
|
"status": "online"
|
177
177
|
},
|
178
|
+
"DescribeServerlessMetrics": {
|
179
|
+
"document": "获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid",
|
180
|
+
"input": "DescribeServerlessMetricsRequest",
|
181
|
+
"name": "获取实例对应的监控指标",
|
182
|
+
"output": "DescribeServerlessMetricsResponse",
|
183
|
+
"status": "online"
|
184
|
+
},
|
178
185
|
"DescribeServerlessSpaceUser": {
|
179
186
|
"document": "查看Serverless空间子用户",
|
180
187
|
"input": "DescribeServerlessSpaceUserRequest",
|
@@ -1389,6 +1396,15 @@
|
|
1389
1396
|
"name": "CdcId",
|
1390
1397
|
"required": false,
|
1391
1398
|
"type": "string"
|
1399
|
+
},
|
1400
|
+
{
|
1401
|
+
"disabled": false,
|
1402
|
+
"document": "置放群组亲和度,范围[0,10],0表示不开启",
|
1403
|
+
"example": "无",
|
1404
|
+
"member": "uint64",
|
1405
|
+
"name": "DisasterRecoverGroupAffinity",
|
1406
|
+
"required": false,
|
1407
|
+
"type": "int"
|
1392
1408
|
}
|
1393
1409
|
],
|
1394
1410
|
"type": "object"
|
@@ -2947,7 +2963,7 @@
|
|
2947
2963
|
"example": "10",
|
2948
2964
|
"member": "uint64",
|
2949
2965
|
"name": "TotalCount",
|
2950
|
-
"
|
2966
|
+
"output_required": true,
|
2951
2967
|
"type": "int",
|
2952
2968
|
"value_allowed_null": false
|
2953
2969
|
},
|
@@ -2957,7 +2973,7 @@
|
|
2957
2973
|
"example": "[]",
|
2958
2974
|
"member": "InstanceLog",
|
2959
2975
|
"name": "InstanceLogList",
|
2960
|
-
"
|
2976
|
+
"output_required": true,
|
2961
2977
|
"type": "list",
|
2962
2978
|
"value_allowed_null": false
|
2963
2979
|
},
|
@@ -3347,6 +3363,61 @@
|
|
3347
3363
|
],
|
3348
3364
|
"type": "object"
|
3349
3365
|
},
|
3366
|
+
"DescribeServerlessMetricsRequest": {
|
3367
|
+
"document": "DescribeServerlessMetrics请求参数结构体",
|
3368
|
+
"members": [
|
3369
|
+
{
|
3370
|
+
"disabled": false,
|
3371
|
+
"document": "space空间id",
|
3372
|
+
"example": "space-xxxxxx",
|
3373
|
+
"member": "string",
|
3374
|
+
"name": "SpaceId",
|
3375
|
+
"required": false,
|
3376
|
+
"type": "string"
|
3377
|
+
},
|
3378
|
+
{
|
3379
|
+
"disabled": false,
|
3380
|
+
"document": "index索引id",
|
3381
|
+
"example": "index-ex2ap8v0",
|
3382
|
+
"member": "string",
|
3383
|
+
"name": "IndexId",
|
3384
|
+
"required": false,
|
3385
|
+
"type": "string"
|
3386
|
+
},
|
3387
|
+
{
|
3388
|
+
"disabled": false,
|
3389
|
+
"document": "指标类型,暂时只支持Storage",
|
3390
|
+
"example": "[\"Storage\"]",
|
3391
|
+
"member": "string",
|
3392
|
+
"name": "MetricType",
|
3393
|
+
"required": false,
|
3394
|
+
"type": "list"
|
3395
|
+
}
|
3396
|
+
],
|
3397
|
+
"type": "object"
|
3398
|
+
},
|
3399
|
+
"DescribeServerlessMetricsResponse": {
|
3400
|
+
"document": "DescribeServerlessMetrics返回参数结构体",
|
3401
|
+
"members": [
|
3402
|
+
{
|
3403
|
+
"disabled": false,
|
3404
|
+
"document": "storage指标值,单位byte",
|
3405
|
+
"example": "2262158.88",
|
3406
|
+
"member": "float",
|
3407
|
+
"name": "Storage",
|
3408
|
+
"output_required": false,
|
3409
|
+
"type": "float",
|
3410
|
+
"value_allowed_null": false
|
3411
|
+
},
|
3412
|
+
{
|
3413
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3414
|
+
"member": "string",
|
3415
|
+
"name": "RequestId",
|
3416
|
+
"type": "string"
|
3417
|
+
}
|
3418
|
+
],
|
3419
|
+
"type": "object"
|
3420
|
+
},
|
3350
3421
|
"DescribeServerlessSpaceUserRequest": {
|
3351
3422
|
"document": "DescribeServerlessSpaceUser请求参数结构体",
|
3352
3423
|
"members": [
|
@@ -6006,6 +6077,16 @@
|
|
6006
6077
|
"output_required": false,
|
6007
6078
|
"type": "string",
|
6008
6079
|
"value_allowed_null": true
|
6080
|
+
},
|
6081
|
+
{
|
6082
|
+
"disabled": false,
|
6083
|
+
"document": "置放群组相关参数\n注意:此字段可能返回 null,表示取不到有效值。",
|
6084
|
+
"example": "0",
|
6085
|
+
"member": "uint64",
|
6086
|
+
"name": "DisasterRecoverGroupAffinity",
|
6087
|
+
"output_required": false,
|
6088
|
+
"type": "int",
|
6089
|
+
"value_allowed_null": true
|
6009
6090
|
}
|
6010
6091
|
],
|
6011
6092
|
"usage": "out"
|
@@ -132,7 +132,7 @@
|
|
132
132
|
{
|
133
133
|
"document": "查询实例最新的主日志",
|
134
134
|
"input": "https://es.tencentcloudapi.com/?Action=DescribeInstanceLogs\r\n&InstanceId=es-f5mwm28u\r\n&<公共请求参数>",
|
135
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 71633,\n \"InstanceLogList\": [\n {\n \"Time\": \"2019-01-22T10:45:36.220+08:00\",\n \"Ip\": \"10.0.128.65\",\n \"Level\": \"INFO\",\n \"Message\": \"[o.e.p.o.OPackActionFilter] [1547723102001286009] forbidden request: { ID:cdc62072721547678872c0448c1ecaf9, TYP:MainRequest, USR:null, BRS:false, ACT:cluster:monitor/main, OA:10.0.128.43, IDX:, MET:GET, PTH:/, CNT:<OMITTED, LENGTH=0>, HDR:content-length, EFF:0 } Reason: null\"\n },\n {\n \"Time\": \"2019-01-22T10:45:35.730+08:00\",\n \"Ip\": \"10.0.128.65\",\n \"Level\": \"INFO\",\n \"Message\": \"[o.e.p.o.OPackActionFilter] [1547723102001286009] forbidden request: { ID:1a8a5b7ea41a485ebdd769586c1dcdf6, TYP:MainRequest, USR:null, BRS:false, ACT:cluster:monitor/main, OA:10.0.128.73, IDX:, MET:GET, PTH:/, CNT:<OMITTED, LENGTH=0>, HDR:content-length, EFF:0 } Reason: null\"\n }\n ],\n \"RequestId\": \"783d9290-dc60-4862-9340-10b632605374\"\n }\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 71633,\n \"InstanceLogList\": [\n {\n \"Time\": \"2019-01-22T10:45:36.220+08:00\",\n \"Ip\": \"10.0.128.65\",\n \"NodeID\": \"2131414141414\",\n \"Level\": \"INFO\",\n \"Message\": \"[o.e.p.o.OPackActionFilter] [1547723102001286009] forbidden request: { ID:cdc62072721547678872c0448c1ecaf9, TYP:MainRequest, USR:null, BRS:false, ACT:cluster:monitor/main, OA:10.0.128.43, IDX:, MET:GET, PTH:/, CNT:<OMITTED, LENGTH=0>, HDR:content-length, EFF:0 } Reason: null\"\n },\n {\n \"Time\": \"2019-01-22T10:45:35.730+08:00\",\n \"Ip\": \"10.0.128.65\",\n \"NodeID\": \"2131414141414\",\n \"Level\": \"INFO\",\n \"Message\": \"[o.e.p.o.OPackActionFilter] [1547723102001286009] forbidden request: { ID:1a8a5b7ea41a485ebdd769586c1dcdf6, TYP:MainRequest, USR:null, BRS:false, ACT:cluster:monitor/main, OA:10.0.128.73, IDX:, MET:GET, PTH:/, CNT:<OMITTED, LENGTH=0>, HDR:content-length, EFF:0 } Reason: null\"\n }\n ],\n \"RequestId\": \"783d9290-dc60-4862-9340-10b632605374\"\n }\n}",
|
136
136
|
"title": "查询ES集群日志"
|
137
137
|
}
|
138
138
|
],
|
@@ -156,7 +156,7 @@
|
|
156
156
|
{
|
157
157
|
"document": "查询ES集群实例",
|
158
158
|
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{}",
|
159
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"InstanceList\": [\n {\n \"InstanceId\": \"es-7sy7efoi\",\n \"InstanceName\": \"_some_name_\",\n \"InstanceType\": 2,\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"AppId\": 130000000,\n \"Uin\": \"100000000\",\n \"VpcUid\": \"vpc-xxxxxx\",\n \"SubnetUid\": \"subnet-xxxxxx\",\n \"Status\": 1,\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"ChargePeriod\": 0,\n \"RenewFlag\": \"\",\n \"NodeInfoList\": [\n {\n \"Type\": \"hotData\",\n \"NodeNum\": 3,\n \"NodeType\": \"ES.SA2.MEDIUM4\",\n \"DiskType\": \"CLOUD_SSD\",\n \"DiskSize\": 20,\n \"DiskEncrypt\": 0,\n \"DiskCount\": 1,\n \"LocalDiskInfo\": null\n }\n ],\n \"NodeType\": \"ES.SA2.MEDIUM4\",\n \"NodeNum\": 3,\n \"CpuNum\": 2,\n \"MemSize\": 4,\n \"DiskType\": \"CLOUD_SSD\",\n \"AutoIndexEnabled\": true,\n \"DiskSize\": 20,\n \"EnableHotWarmMode\": false,\n \"WarmNodeType\": \"\",\n \"WarmNodeNum\": 0,\n \"WarmCpuNum\": 0,\n \"WarmMemSize\": 0,\n \"WarmDiskType\": \"\",\n \"WarmDiskSize\": 0,\n \"ColdNodeType\": \"\",\n \"ColdNodeNum\": 0,\n \"ColdCpuNum\": 0,\n \"ColdMemSize\": 0,\n \"ColdDiskType\": \"\",\n \"ColdDiskSize\": 0,\n \"FrozenNodeType\": \"\",\n \"FrozenNodeNum\": 0,\n \"FrozenCpuNum\": 0,\n \"FrozenMemSize\": 0,\n \"FrozenDiskType\": \"\",\n \"FrozenDiskSize\": 0,\n \"MasterNodeInfo\": {\n \"EnableDedicatedMaster\": false,\n \"MasterNodeType\": \"\",\n \"MasterNodeNum\": 0,\n \"MasterNodeCpuNum\": 0,\n \"MasterNodeMemSize\": 0,\n \"MasterNodeDiskType\": \"\",\n \"MasterNodeDiskSize\": 0\n },\n \"KibanaNodeInfo\": {\n \"KibanaNodeType\": \"ES.SA2.SMALL2\",\n \"KibanaNodeNum\": 1,\n \"KibanaNodeCpuNum\": 1,\n \"KibanaNodeMemSize\": 2,\n \"KibanaNodeDiskType\": \"CLOUD_PREMIUM\",\n \"KibanaNodeDiskSize\": 50\n },\n \"EsDomain\": \"es-7sy7efoi.myelasticsearch.com\",\n \"EsPrivateDomain\": \"es-7sy7efoi-esinternal.kibana.myelasticsearch.com\",\n \"EsVip\": \"{vip}\",\n \"EsPort\": 9200,\n \"KibanaUrl\": \"https://es-7sy7efoi.kibana.myelasticsearch.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"PublicAccess\": \"CLOSE\",\n \"KibanaPublicAccess\": \"OPEN\",\n \"KibanaPrivateAccess\": \"CLOSE\",\n \"KibanaAlteringPublicAccess\": \"CLOSE\",\n \"Protocol\": \"\",\n \"SecurityGroups\": [],\n \"EsPublicUrl\": \"\",\n \"EsPrivateUrl\": \"https://es-7sy7efoi-esinternal.kibana.myelasticsearch.com:9200\",\n \"EsVersion\": \"7.14.2\",\n \"EsConfig\": \"{}\",\n \"EsConfigSets\": [],\n \"KibanaConfig\": \"\",\n \"EsAcl\": {\n \"WhiteIpList\": [\n \"127.0.0.1\"\n ],\n \"BlackIpList\": []\n },\n \"EsPublicAcl\": {\n \"WhiteIpList\": [],\n \"BlackIpList\": []\n },\n \"IkConfig\": {\n \"UpdateType\": \"\",\n \"MainDict\": [],\n \"Stopwords\": [],\n \"Synonym\": [],\n \"QQDict\": []\n },\n \"AllowCosBackup\": true,\n \"CosBackup\": {\n \"IsAutoBackup\": false,\n \"BackupTime\": \"\"\n },\n \"DeployMode\": 0,\n \"MultiZoneInfo\": [\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"SubnetId\": \"subnet-q29llw8g\"\n }\n ],\n \"TagList\": [],\n \"HealthStatus\": 0,\n \"SecurityType\": 2,\n \"LicenseType\": \"platinum\",\n \"SceneType\": 1,\n \"Jdk\": \"kona\",\n \"WebNodeTypeInfo\": {\n \"NodeNum\": 1,\n \"NodeType\": \"ES.SA2.SMALL2\"\n },\n \"CreateTime\": \"2022-07-06 20:52:48\",\n \"UpdateTime\": \"2022-07-07 17:35:29\",\n \"Deadline\": \"2017-12-04 00:00:00\",\n \"OperationDuration\": null,\n \"OptionalWebServiceInfos\": [\n {\n \"Status\": 0,\n \"PrivateAccess\": \"abc\",\n \"PublicAccess\": \"abc\",\n \"PrivateUrl\": \"abc\",\n \"Version\": \"abc\",\n \"Type\": \"abc\",\n \"PublicUrl\": \"abc\"\n }\n ],\n \"ProcessPercent\": 0.5,\n \"EnableHybridStorage\": true,\n \"HasKernelUpgrade\": true\n }\n ],\n \"RequestId\": \"xxxx\"\n }\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"InstanceList\": [\n {\n \"InstanceId\": \"es-7sy7efoi\",\n \"InstanceName\": \"_some_name_\",\n \"InstanceType\": 2,\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"AppId\": 130000000,\n \"Uin\": \"100000000\",\n \"VpcUid\": \"vpc-xxxxxx\",\n \"SubnetUid\": \"subnet-xxxxxx\",\n \"CdcId\": \"cluster-xxxxxxxx\",\n \"Status\": 1,\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"ChargePeriod\": 0,\n \"RenewFlag\": \"\",\n \"NodeInfoList\": [\n {\n \"Type\": \"hotData\",\n \"NodeNum\": 3,\n \"NodeType\": \"ES.SA2.MEDIUM4\",\n \"CpuNum\": 0,\n \"MemSize\": 0,\n \"DiskType\": \"CLOUD_SSD\",\n \"DiskSize\": 20,\n \"DiskEnhance\": 0,\n \"DiskEncrypt\": 0,\n \"DiskCount\": 1,\n \"LocalDiskInfo\": null\n }\n ],\n \"NodeType\": \"ES.SA2.MEDIUM4\",\n \"NodeNum\": 3,\n \"CpuNum\": 2,\n \"MemSize\": 4,\n \"DiskType\": \"CLOUD_SSD\",\n \"AutoIndexEnabled\": true,\n \"DiskSize\": 20,\n \"EnableHotWarmMode\": false,\n \"WarmNodeType\": \"\",\n \"WarmNodeNum\": 0,\n \"WarmCpuNum\": 0,\n \"WarmMemSize\": 0,\n \"WarmDiskType\": \"\",\n \"WarmDiskSize\": 0,\n \"ColdNodeType\": \"\",\n \"ColdNodeNum\": 0,\n \"ColdCpuNum\": 0,\n \"ColdMemSize\": 0,\n \"ColdDiskType\": \"\",\n \"ColdDiskSize\": 0,\n \"FrozenNodeType\": \"\",\n \"FrozenNodeNum\": 0,\n \"FrozenCpuNum\": 0,\n \"FrozenMemSize\": 0,\n \"FrozenDiskType\": \"\",\n \"FrozenDiskSize\": 0,\n \"MasterNodeInfo\": {\n \"EnableDedicatedMaster\": false,\n \"MasterNodeType\": \"\",\n \"MasterNodeNum\": 0,\n \"MasterNodeCpuNum\": 0,\n \"MasterNodeMemSize\": 0,\n \"MasterNodeDiskType\": \"\",\n \"MasterNodeDiskSize\": 0\n },\n \"KibanaNodeInfo\": {\n \"KibanaNodeType\": \"ES.SA2.SMALL2\",\n \"KibanaNodeNum\": 1,\n \"KibanaNodeCpuNum\": 1,\n \"KibanaNodeMemSize\": 2,\n \"KibanaNodeDiskType\": \"CLOUD_PREMIUM\",\n \"KibanaNodeDiskSize\": 50\n },\n \"EsDomain\": \"es-7sy7efoi.myelasticsearch.com\",\n \"EsPrivateDomain\": \"es-7sy7efoi-esinternal.kibana.myelasticsearch.com\",\n \"EsVip\": \"{vip}\",\n \"EsPort\": 9200,\n \"KibanaUrl\": \"https://es-7sy7efoi.kibana.myelasticsearch.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"PublicAccess\": \"CLOSE\",\n \"KibanaPublicAccess\": \"OPEN\",\n \"KibanaPrivateAccess\": \"CLOSE\",\n \"KibanaAlteringPublicAccess\": \"CLOSE\",\n \"Protocol\": \"\",\n \"SecurityGroups\": [],\n \"EsPublicUrl\": \"\",\n \"EsPrivateUrl\": \"https://es-7sy7efoi-esinternal.kibana.myelasticsearch.com:9200\",\n \"EsVersion\": \"7.14.2\",\n \"EsConfig\": \"{}\",\n \"EsConfigSets\": [],\n \"KibanaConfig\": \"\",\n \"EsAcl\": {\n \"WhiteIpList\": [\n \"127.0.0.1\"\n ],\n \"BlackIpList\": []\n },\n \"EsPublicAcl\": {\n \"WhiteIpList\": [],\n \"BlackIpList\": []\n },\n \"IkConfig\": {\n \"UpdateType\": \"\",\n \"MainDict\": [],\n \"Stopwords\": [],\n \"Synonym\": [],\n \"QQDict\": []\n },\n \"AllowCosBackup\": true,\n \"CosBackup\": {\n \"IsAutoBackup\": false,\n \"BackupTime\": \"\"\n },\n \"DeployMode\": 0,\n \"MultiZoneInfo\": [\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"SubnetId\": \"subnet-q29llw8g\"\n }\n ],\n \"TagList\": [],\n \"HealthStatus\": 0,\n \"SecurityType\": 2,\n \"LicenseType\": \"platinum\",\n \"SceneType\": 1,\n \"Jdk\": \"kona\",\n \"WebNodeTypeInfo\": {\n \"NodeNum\": 1,\n \"NodeType\": \"ES.SA2.SMALL2\"\n },\n \"CreateTime\": \"2022-07-06 20:52:48\",\n \"UpdateTime\": \"2022-07-07 17:35:29\",\n \"Deadline\": \"2017-12-04 00:00:00\",\n \"OperationDuration\": null,\n \"OptionalWebServiceInfos\": [\n {\n \"Status\": 0,\n \"PrivateAccess\": \"abc\",\n \"PublicAccess\": \"abc\",\n \"PrivateUrl\": \"abc\",\n \"Version\": \"abc\",\n \"Type\": \"abc\",\n \"PublicUrl\": \"abc\"\n }\n ],\n \"ProcessPercent\": 0.5,\n \"EnableHybridStorage\": true,\n \"HasKernelUpgrade\": true\n }\n ],\n \"RequestId\": \"xxxx\"\n }\n}",
|
160
160
|
"title": "查询ES集群实例"
|
161
161
|
}
|
162
162
|
],
|
@@ -164,7 +164,7 @@
|
|
164
164
|
{
|
165
165
|
"document": "",
|
166
166
|
"input": "https://es.tencentcloudapi.com/?Action=DescribeLogstashInstanceLogs\n&InstanceId=ls-f5mwm28u\n&<公共请求参数>",
|
167
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 71633,\n \"InstanceLogList\": [\n {\n \"Time\": \"2019-01-22T10:45:36.220+08:00\",\n \"Ip\": \"10.0.128.65\",\n \"Level\": \"INFO\",\n \"Message\": \"[o.e.p.o.OPackActionFilter] [1547723102001286009] forbidden request: { ID:cdc62072721547678872c0448c1ecaf9, TYP:MainRequest, USR:null, BRS:false, ACT:cluster:monitor/main, OA:10.0.128.43, IDX:, MET:GET, PTH:/, CNT:<OMITTED, LENGTH=0>, HDR:content-length, EFF:0 } Reason: null\"\n },\n {\n \"Time\": \"2019-01-22T10:45:35.730+08:00\",\n \"Ip\": \"10.0.128.65\",\n \"Level\": \"INFO\",\n \"Message\": \"[o.e.p.o.OPackActionFilter] [1547723102001286009] forbidden request: { ID:1a8a5b7ea41a485ebdd769586c1dcdf6, TYP:MainRequest, USR:null, BRS:false, ACT:cluster:monitor/main, OA:10.0.128.73, IDX:, MET:GET, PTH:/, CNT:<OMITTED, LENGTH=0>, HDR:content-length, EFF:0 } Reason: null\"\n }\n ],\n \"RequestId\": \"783d9290-dc60-4862-9340-10b632605374\"\n }\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 71633,\n \"InstanceLogList\": [\n {\n \"Time\": \"2019-01-22T10:45:36.220+08:00\",\n \"Ip\": \"10.0.128.65\",\n \"NodeID\": \"12123141441\",\n \"Level\": \"INFO\",\n \"Message\": \"[o.e.p.o.OPackActionFilter] [1547723102001286009] forbidden request: { ID:cdc62072721547678872c0448c1ecaf9, TYP:MainRequest, USR:null, BRS:false, ACT:cluster:monitor/main, OA:10.0.128.43, IDX:, MET:GET, PTH:/, CNT:<OMITTED, LENGTH=0>, HDR:content-length, EFF:0 } Reason: null\"\n },\n {\n \"Time\": \"2019-01-22T10:45:35.730+08:00\",\n \"NodeID\": \"12123141442\",\n \"Ip\": \"10.0.128.65\",\n \"Level\": \"INFO\",\n \"Message\": \"[o.e.p.o.OPackActionFilter] [1547723102001286009] forbidden request: { ID:1a8a5b7ea41a485ebdd769586c1dcdf6, TYP:MainRequest, USR:null, BRS:false, ACT:cluster:monitor/main, OA:10.0.128.73, IDX:, MET:GET, PTH:/, CNT:<OMITTED, LENGTH=0>, HDR:content-length, EFF:0 } Reason: null\"\n }\n ],\n \"RequestId\": \"783d9290-dc60-4862-9340-10b632605374\"\n }\n}",
|
168
168
|
"title": "获取Logstash实例日志"
|
169
169
|
}
|
170
170
|
],
|
@@ -200,6 +200,14 @@
|
|
200
200
|
"title": "Serverless获取索引列表"
|
201
201
|
}
|
202
202
|
],
|
203
|
+
"DescribeServerlessMetrics": [
|
204
|
+
{
|
205
|
+
"document": "",
|
206
|
+
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServerlessMetrics\n<公共请求参数>\n\n{\n \"SpaceId\": \"space-18jf9xxx\",\n \"IndexId\": \"index-xxxxxx\",\n \"MetricType\": [\n \"Storage\"\n ]\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"30204658-3518-11ef-979c-52540xxxxx\",\n \"Storage\": 2262158.88\n }\n}",
|
208
|
+
"title": "获取serverless space维度过去5min钟新增存储指标值"
|
209
|
+
}
|
210
|
+
],
|
203
211
|
"DescribeServerlessSpaceUser": [
|
204
212
|
{
|
205
213
|
"document": "",
|
@@ -2010,6 +2010,17 @@
|
|
2010
2010
|
"required": false,
|
2011
2011
|
"type": "string",
|
2012
2012
|
"value_allowed_null": true
|
2013
|
+
},
|
2014
|
+
{
|
2015
|
+
"disabled": false,
|
2016
|
+
"document": "事件自定义数据\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
2017
|
+
"example": "name",
|
2018
|
+
"member": "string",
|
2019
|
+
"name": "Data",
|
2020
|
+
"output_required": false,
|
2021
|
+
"required": false,
|
2022
|
+
"type": "string",
|
2023
|
+
"value_allowed_null": true
|
2013
2024
|
}
|
2014
2025
|
],
|
2015
2026
|
"usage": "both"
|
@@ -1749,6 +1749,17 @@
|
|
1749
1749
|
"required": false,
|
1750
1750
|
"type": "string",
|
1751
1751
|
"value_allowed_null": true
|
1752
|
+
},
|
1753
|
+
{
|
1754
|
+
"disabled": false,
|
1755
|
+
"document": "事件自定义数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
1756
|
+
"example": "name",
|
1757
|
+
"member": "string",
|
1758
|
+
"name": "Data",
|
1759
|
+
"output_required": false,
|
1760
|
+
"required": false,
|
1761
|
+
"type": "string",
|
1762
|
+
"value_allowed_null": true
|
1752
1763
|
}
|
1753
1764
|
],
|
1754
1765
|
"usage": "both"
|