tccli 3.0.1284.1__py2.py3-none-any.whl → 3.0.1285.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/autoscaling/v20180419/api.json +88 -86
- tccli/services/bh/bh_client.py +53 -0
- tccli/services/bh/v20230418/api.json +199 -0
- tccli/services/bh/v20230418/examples.json +8 -0
- tccli/services/cdwch/v20200915/api.json +19 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +43 -19
- tccli/services/cfg/v20210820/examples.json +8 -2
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/cmq/v20190304/api.json +92 -92
- tccli/services/cynosdb/v20190107/api.json +379 -379
- tccli/services/dlc/v20210125/api.json +2 -2
- tccli/services/dlc/v20210125/examples.json +2 -2
- tccli/services/domain/v20180808/api.json +157 -157
- tccli/services/dsgc/v20190723/api.json +2 -2
- tccli/services/dts/v20180330/api.json +3 -3
- tccli/services/dts/v20211206/api.json +336 -330
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +247 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/v20180416/api.json +10 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/fmu/fmu_client.py +8 -167
- tccli/services/fmu/v20191213/api.json +0 -292
- tccli/services/fmu/v20191213/examples.json +0 -24
- tccli/services/iotcloud/v20210408/api.json +27 -27
- tccli/services/iotcloud/v20210408/examples.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +0 -106
- tccli/services/iotexplorer/v20190423/api.json +0 -274
- tccli/services/iotexplorer/v20190423/examples.json +0 -16
- tccli/services/iss/v20230517/api.json +547 -537
- tccli/services/iss/v20230517/examples.json +2 -2
- tccli/services/kms/v20190118/api.json +20 -0
- tccli/services/lcic/lcic_client.py +114 -8
- tccli/services/lcic/v20220817/api.json +108 -0
- tccli/services/lcic/v20220817/examples.json +16 -0
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +63 -0
- tccli/services/mongodb/v20190725/examples.json +14 -0
- tccli/services/monitor/v20180724/api.json +29 -29
- tccli/services/monitor/v20180724/examples.json +8 -8
- tccli/services/rum/v20210622/api.json +2 -2
- tccli/services/svp/svp_client.py +57 -4
- tccli/services/svp/v20240125/api.json +319 -0
- tccli/services/svp/v20240125/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +16 -5
- tccli/services/tsf/tsf_client.py +53 -0
- tccli/services/tsf/v20180326/api.json +48 -4
- tccli/services/tsf/v20180326/examples.json +8 -0
- tccli/services/vpc/v20170312/api.json +54 -0
- tccli/services/vpc/v20170312/examples.json +8 -0
- tccli/services/vpc/vpc_client.py +53 -0
- tccli/services/wedata/v20210820/api.json +383 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +61 -61
- {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1284.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/emr/emr_client.py
CHANGED
@@ -3917,6 +3917,58 @@ def doModifyInstanceBasic(args, parsed_globals):
|
|
3917
3917
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3918
3918
|
|
3919
3919
|
|
3920
|
+
def doModifyInspectionSettings(args, parsed_globals):
|
3921
|
+
g_param = parse_global_arg(parsed_globals)
|
3922
|
+
|
3923
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3924
|
+
cred = credential.CVMRoleCredential()
|
3925
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3926
|
+
cred = credential.STSAssumeRoleCredential(
|
3927
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3928
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3929
|
+
)
|
3930
|
+
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):
|
3931
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3932
|
+
else:
|
3933
|
+
cred = credential.Credential(
|
3934
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3935
|
+
)
|
3936
|
+
http_profile = HttpProfile(
|
3937
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3938
|
+
reqMethod="POST",
|
3939
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3940
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3941
|
+
)
|
3942
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3943
|
+
if g_param[OptionsDefine.Language]:
|
3944
|
+
profile.language = g_param[OptionsDefine.Language]
|
3945
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3946
|
+
client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile)
|
3947
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3948
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3949
|
+
model = models.ModifyInspectionSettingsRequest()
|
3950
|
+
model.from_json_string(json.dumps(args))
|
3951
|
+
start_time = time.time()
|
3952
|
+
while True:
|
3953
|
+
rsp = client.ModifyInspectionSettings(model)
|
3954
|
+
result = rsp.to_json_string()
|
3955
|
+
try:
|
3956
|
+
json_obj = json.loads(result)
|
3957
|
+
except TypeError as e:
|
3958
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3959
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3960
|
+
break
|
3961
|
+
cur_time = time.time()
|
3962
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3963
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3964
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3965
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3966
|
+
else:
|
3967
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3968
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3969
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3970
|
+
|
3971
|
+
|
3920
3972
|
def doModifyPodNum(args, parsed_globals):
|
3921
3973
|
g_param = parse_global_arg(parsed_globals)
|
3922
3974
|
|
@@ -4159,6 +4211,7 @@ ACTION_MAP = {
|
|
4159
4211
|
"DescribeInsightList": doDescribeInsightList,
|
4160
4212
|
"DescribeEmrOverviewMetrics": doDescribeEmrOverviewMetrics,
|
4161
4213
|
"ModifyInstanceBasic": doModifyInstanceBasic,
|
4214
|
+
"ModifyInspectionSettings": doModifyInspectionSettings,
|
4162
4215
|
"ModifyPodNum": doModifyPodNum,
|
4163
4216
|
"ScaleOutCluster": doScaleOutCluster,
|
4164
4217
|
"RunJobFlow": doRunJobFlow,
|
@@ -378,6 +378,13 @@
|
|
378
378
|
"output": "ModifyGlobalConfigResponse",
|
379
379
|
"status": "online"
|
380
380
|
},
|
381
|
+
"ModifyInspectionSettings": {
|
382
|
+
"document": "设置巡检任务配置",
|
383
|
+
"input": "ModifyInspectionSettingsRequest",
|
384
|
+
"name": "设置巡检任务配置",
|
385
|
+
"output": "ModifyInspectionSettingsResponse",
|
386
|
+
"status": "online"
|
387
|
+
},
|
381
388
|
"ModifyInstanceBasic": {
|
382
389
|
"document": "修改集群名称",
|
383
390
|
"input": "ModifyInstanceBasicRequest",
|
@@ -10165,6 +10172,72 @@
|
|
10165
10172
|
],
|
10166
10173
|
"usage": "both"
|
10167
10174
|
},
|
10175
|
+
"InspectionTaskSettings": {
|
10176
|
+
"document": "设置巡检任务配置",
|
10177
|
+
"members": [
|
10178
|
+
{
|
10179
|
+
"disabled": false,
|
10180
|
+
"document": "巡检任务的唯一标记",
|
10181
|
+
"example": "",
|
10182
|
+
"member": "string",
|
10183
|
+
"name": "TaskType",
|
10184
|
+
"required": true,
|
10185
|
+
"type": "string",
|
10186
|
+
"value_allowed_null": false
|
10187
|
+
},
|
10188
|
+
{
|
10189
|
+
"disabled": false,
|
10190
|
+
"document": "巡检任务组名称",
|
10191
|
+
"example": "",
|
10192
|
+
"member": "string",
|
10193
|
+
"name": "Group",
|
10194
|
+
"required": false,
|
10195
|
+
"type": "string",
|
10196
|
+
"value_allowed_null": false
|
10197
|
+
},
|
10198
|
+
{
|
10199
|
+
"disabled": false,
|
10200
|
+
"document": "巡检任务名称",
|
10201
|
+
"example": "",
|
10202
|
+
"member": "string",
|
10203
|
+
"name": "Name",
|
10204
|
+
"required": false,
|
10205
|
+
"type": "string",
|
10206
|
+
"value_allowed_null": false
|
10207
|
+
},
|
10208
|
+
{
|
10209
|
+
"disabled": false,
|
10210
|
+
"document": "巡检任务参数设置",
|
10211
|
+
"example": "",
|
10212
|
+
"member": "TaskSettings",
|
10213
|
+
"name": "TaskSettings",
|
10214
|
+
"required": false,
|
10215
|
+
"type": "list",
|
10216
|
+
"value_allowed_null": false
|
10217
|
+
},
|
10218
|
+
{
|
10219
|
+
"disabled": false,
|
10220
|
+
"document": "是否选中,”true“ ”false“",
|
10221
|
+
"example": "",
|
10222
|
+
"member": "string",
|
10223
|
+
"name": "Selected",
|
10224
|
+
"required": false,
|
10225
|
+
"type": "string",
|
10226
|
+
"value_allowed_null": false
|
10227
|
+
},
|
10228
|
+
{
|
10229
|
+
"disabled": false,
|
10230
|
+
"document": "是否开启监控",
|
10231
|
+
"example": "",
|
10232
|
+
"member": "string",
|
10233
|
+
"name": "Enable",
|
10234
|
+
"required": false,
|
10235
|
+
"type": "string",
|
10236
|
+
"value_allowed_null": false
|
10237
|
+
}
|
10238
|
+
],
|
10239
|
+
"usage": "in"
|
10240
|
+
},
|
10168
10241
|
"InstanceChargePrepaid": {
|
10169
10242
|
"document": "实例预付费参数,只有在付费类型为PREPAID时生效。",
|
10170
10243
|
"members": [
|
@@ -11158,6 +11231,134 @@
|
|
11158
11231
|
],
|
11159
11232
|
"type": "object"
|
11160
11233
|
},
|
11234
|
+
"ModifyInspectionSettingsRequest": {
|
11235
|
+
"document": "ModifyInspectionSettings请求参数结构体",
|
11236
|
+
"members": [
|
11237
|
+
{
|
11238
|
+
"disabled": false,
|
11239
|
+
"document": "实例ID",
|
11240
|
+
"example": "emr-mwyixwxp",
|
11241
|
+
"member": "string",
|
11242
|
+
"name": "InstanceId",
|
11243
|
+
"required": true,
|
11244
|
+
"type": "string"
|
11245
|
+
},
|
11246
|
+
{
|
11247
|
+
"disabled": false,
|
11248
|
+
"document": "巡检类型,FixedTime/RealTime",
|
11249
|
+
"example": "RealTime",
|
11250
|
+
"member": "string",
|
11251
|
+
"name": "Type",
|
11252
|
+
"required": true,
|
11253
|
+
"type": "string"
|
11254
|
+
},
|
11255
|
+
{
|
11256
|
+
"disabled": false,
|
11257
|
+
"document": "任务配置",
|
11258
|
+
"example": "[{ \"Name\": \"元数据库异常\", \"Group\": \"节点\", \"TaskType\": \"MetaDBPingFail\", \"Selected\": \"true\", \"TaskSettings\": [] }]",
|
11259
|
+
"member": "InspectionTaskSettings",
|
11260
|
+
"name": "Settings",
|
11261
|
+
"required": true,
|
11262
|
+
"type": "list"
|
11263
|
+
},
|
11264
|
+
{
|
11265
|
+
"disabled": false,
|
11266
|
+
"document": "开始时间戳",
|
11267
|
+
"example": "1741795200",
|
11268
|
+
"member": "int64",
|
11269
|
+
"name": "StartTime",
|
11270
|
+
"required": false,
|
11271
|
+
"type": "int"
|
11272
|
+
},
|
11273
|
+
{
|
11274
|
+
"disabled": false,
|
11275
|
+
"document": "结束时间戳",
|
11276
|
+
"example": "1741837980",
|
11277
|
+
"member": "int64",
|
11278
|
+
"name": "EndTime",
|
11279
|
+
"required": false,
|
11280
|
+
"type": "int"
|
11281
|
+
},
|
11282
|
+
{
|
11283
|
+
"disabled": false,
|
11284
|
+
"document": "巡检周期,eg EveryDay EveryWeek EveryMonth",
|
11285
|
+
"example": "None",
|
11286
|
+
"member": "string",
|
11287
|
+
"name": "Strategy",
|
11288
|
+
"required": false,
|
11289
|
+
"type": "string"
|
11290
|
+
},
|
11291
|
+
{
|
11292
|
+
"disabled": false,
|
11293
|
+
"document": "每天的开始的时间",
|
11294
|
+
"example": "15:04:05",
|
11295
|
+
"member": "string",
|
11296
|
+
"name": "Clock",
|
11297
|
+
"required": false,
|
11298
|
+
"type": "string"
|
11299
|
+
},
|
11300
|
+
{
|
11301
|
+
"disabled": false,
|
11302
|
+
"document": "每周的周几",
|
11303
|
+
"example": "1",
|
11304
|
+
"member": "string",
|
11305
|
+
"name": "DayOfWeek",
|
11306
|
+
"required": false,
|
11307
|
+
"type": "string"
|
11308
|
+
},
|
11309
|
+
{
|
11310
|
+
"disabled": false,
|
11311
|
+
"document": "每月的第几号",
|
11312
|
+
"example": "2",
|
11313
|
+
"member": "string",
|
11314
|
+
"name": "DayOfMonth",
|
11315
|
+
"required": false,
|
11316
|
+
"type": "string"
|
11317
|
+
},
|
11318
|
+
{
|
11319
|
+
"disabled": false,
|
11320
|
+
"document": "巡检作业Id",
|
11321
|
+
"example": "500",
|
11322
|
+
"member": "string",
|
11323
|
+
"name": "JobId",
|
11324
|
+
"required": false,
|
11325
|
+
"type": "string"
|
11326
|
+
}
|
11327
|
+
],
|
11328
|
+
"type": "object"
|
11329
|
+
},
|
11330
|
+
"ModifyInspectionSettingsResponse": {
|
11331
|
+
"document": "ModifyInspectionSettings返回参数结构体",
|
11332
|
+
"members": [
|
11333
|
+
{
|
11334
|
+
"disabled": false,
|
11335
|
+
"document": "返回值描述",
|
11336
|
+
"example": "OK",
|
11337
|
+
"member": "string",
|
11338
|
+
"name": "Info",
|
11339
|
+
"output_required": true,
|
11340
|
+
"type": "string",
|
11341
|
+
"value_allowed_null": false
|
11342
|
+
},
|
11343
|
+
{
|
11344
|
+
"disabled": false,
|
11345
|
+
"document": "返回成功修改的巡检任务Id",
|
11346
|
+
"example": "123",
|
11347
|
+
"member": "string",
|
11348
|
+
"name": "JobId",
|
11349
|
+
"output_required": true,
|
11350
|
+
"type": "string",
|
11351
|
+
"value_allowed_null": false
|
11352
|
+
},
|
11353
|
+
{
|
11354
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11355
|
+
"member": "string",
|
11356
|
+
"name": "RequestId",
|
11357
|
+
"type": "string"
|
11358
|
+
}
|
11359
|
+
],
|
11360
|
+
"type": "object"
|
11361
|
+
},
|
11161
11362
|
"ModifyInstanceBasicRequest": {
|
11162
11363
|
"document": "ModifyInstanceBasic请求参数结构体",
|
11163
11364
|
"members": [
|
@@ -17630,6 +17831,52 @@
|
|
17630
17831
|
],
|
17631
17832
|
"usage": "both"
|
17632
17833
|
},
|
17834
|
+
"TaskSettings": {
|
17835
|
+
"document": "巡检任务参数",
|
17836
|
+
"members": [
|
17837
|
+
{
|
17838
|
+
"disabled": false,
|
17839
|
+
"document": "参数名称",
|
17840
|
+
"example": "",
|
17841
|
+
"member": "string",
|
17842
|
+
"name": "Name",
|
17843
|
+
"required": false,
|
17844
|
+
"type": "string",
|
17845
|
+
"value_allowed_null": false
|
17846
|
+
},
|
17847
|
+
{
|
17848
|
+
"disabled": false,
|
17849
|
+
"document": "参数值",
|
17850
|
+
"example": "",
|
17851
|
+
"member": "string",
|
17852
|
+
"name": "Value",
|
17853
|
+
"required": false,
|
17854
|
+
"type": "string",
|
17855
|
+
"value_allowed_null": false
|
17856
|
+
},
|
17857
|
+
{
|
17858
|
+
"disabled": false,
|
17859
|
+
"document": "参数唯一标记",
|
17860
|
+
"example": "",
|
17861
|
+
"member": "string",
|
17862
|
+
"name": "Key",
|
17863
|
+
"required": false,
|
17864
|
+
"type": "string",
|
17865
|
+
"value_allowed_null": false
|
17866
|
+
},
|
17867
|
+
{
|
17868
|
+
"disabled": false,
|
17869
|
+
"document": "是否可编辑,”true\" \"false\"",
|
17870
|
+
"example": "",
|
17871
|
+
"member": "string",
|
17872
|
+
"name": "Editable",
|
17873
|
+
"required": false,
|
17874
|
+
"type": "string",
|
17875
|
+
"value_allowed_null": false
|
17876
|
+
}
|
17877
|
+
],
|
17878
|
+
"usage": "in"
|
17879
|
+
},
|
17633
17880
|
"TerminateClusterNodesRequest": {
|
17634
17881
|
"document": "TerminateClusterNodes请求参数结构体",
|
17635
17882
|
"members": [
|
@@ -432,6 +432,14 @@
|
|
432
432
|
"title": "修改YARN资源调度的全局配置"
|
433
433
|
}
|
434
434
|
],
|
435
|
+
"ModifyInspectionSettings": [
|
436
|
+
{
|
437
|
+
"document": "",
|
438
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInspectionSettings\n\n{\n \"StartTime\": 1741795200,\n \"EndTime\": 1741837980,\n \"InstanceId\": \"emr-mwyixwxp\",\n \"Type\": \"RealTime\",\n \"Settings\": [\n {\n \"Name\": \"CPU利用率连续高于阈值\",\n \"Group\": \"节点\",\n \"TaskType\": \"CpuUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"CPU IOwait平均值高于阈值\",\n \"Group\": \"节点\",\n \"TaskType\": \"CpuIOWaitAvgMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"60\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"内存使用率持续高于阈值\",\n \"Group\": \"节点\",\n \"TaskType\": \"MemoryFreeException\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"系统进程总数连续高于阈值\",\n \"Group\": \"节点\",\n \"TaskType\": \"ProcessCntMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"10000\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"元数据库异常\",\n \"Group\": \"节点\",\n \"TaskType\": \"MetaDBPingFail\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HDFS存储空间使用率持续高于阈值\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HDFSCapacityUsedRateMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"NameNode 发生主备切换\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HDFSNameNodeSwitch\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"NameNode 发生full GC\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"NameNodeFullGC\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"NameNode JVM内存使用率持续高于阈值\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"NameNodeJvmMemoryUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"ResourceManager 发生主备切换\",\n \"Group\": \"YARN\",\n \"TaskType\": \"YarnRMSwitch\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"ResourceManager 发生full GC\",\n \"Group\": \"YARN\",\n \"TaskType\": \"YarnRmFullGCMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"ResourceManager JVM内存使用率持续高于阈值\",\n \"Group\": \"YARN\",\n \"TaskType\": \"YarnRmJvmMemoryUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"RM JVM内存使用率\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"集群处于RIT Region个数持续高于阈值\",\n \"Group\": \"HBASE\",\n \"TaskType\": \"HbaseRitRegionNumMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Rit Region个数\",\n \"Value\": \"1\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"60\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HMaster JVM内存使用率持续高于阈值\",\n \"Group\": \"HBASE\",\n \"TaskType\": \"HbaseHmJvmMemoryUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"HMaster JVM内存使用率\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HiveServer2 发生full GC\",\n \"Group\": \"HIVE\",\n \"TaskType\": \"HiveServer2FullGC\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HiveServer2 JVM内存使用率持续高于阈值\",\n \"Group\": \"HIVE\",\n \"TaskType\": \"HiveServer2JvmMemoryUsageMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"HiveServer2 JVM内存使用率\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Impala Beeswax API客户端连接数高于阈值\",\n \"Group\": \"IMPALA\",\n \"TaskType\": \"ImpalaThriftServerBeeswaxFrontendConnMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Impala Beeswax API客户端连接数\",\n \"Value\": \"64\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Impala HS2客户端连接数高于阈值\",\n \"Group\": \"IMPALA\",\n \"TaskType\": \"ImpalaThriftServerHS2ConnMoreThanThrshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"Impala HS2客户端连接数\",\n \"Value\": \"64\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"JVM OLD区异常\",\n \"Group\": \"集群\",\n \"TaskType\": \"JVMOldException\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"单盘INODES使用率持续高于阈值\",\n \"Group\": \"节点\",\n \"TaskType\": \"SingleDiskInMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"单盘IO设备利用率持续高于阈值\",\n \"Group\": \"节点\",\n \"TaskType\": \"SingleDiskUtilMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"单盘空间使用率持续高于阈值\",\n \"Group\": \"节点\",\n \"TaskType\": \"SingleDiskSpaceMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"85\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HBASE 两个HMaster服务状态均为Standby\",\n \"Group\": \"HBASE\",\n \"TaskType\": \"HmStandbyStatusMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"两个HMaster节点同时处于StandBy状态持续90秒以上,指标区间(秒)\",\n \"Value\": \"300\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HDFS 两个NameNode服务状态均为Standby\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"NNStandbyStatusMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"两个NameNode节点同时处于StandBy状态持续90秒以上,指标区间(秒)\",\n \"Value\": \"300\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"子机UTC时间和NTP时间差值高于阈值\",\n \"Group\": \"节点\",\n \"TaskType\": \"NodeUTCNTPTimeOffsetMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"30000\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"HDFS NameNode进入安全模式\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HDFSNameNodeEnterSafeMode\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HDFS MissingBlocks数量持续高于阈值\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HDFSMissingBlocksNumMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"阈值\",\n \"Value\": \"1\",\n \"Editable\": \"true\"\n },\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"1800\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"节点故障\",\n \"Group\": \"节点\",\n \"TaskType\": \"NodeFailure\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"节点磁盘IO异常\",\n \"Group\": \"节点\",\n \"TaskType\": \"DiskIOError\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"服务角色健康状态异常\",\n \"Group\": \"集群\",\n \"TaskType\": \"ProcessDetectionAbnormal\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"持续时间(秒)\",\n \"Value\": \"300\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"自动伸缩策略执行失败\",\n \"Group\": \"集群\",\n \"TaskType\": \"AutoScaleStrategyFailure\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"自动伸缩策略执行超时\",\n \"Group\": \"集群\",\n \"TaskType\": \"AutoScaleStrategyTimeOut\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HMaster 发生主备切换\",\n \"Group\": \"HBASE\",\n \"TaskType\": \"HMasterSwitch\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"Zookeeper 发生Leader切换\",\n \"Group\": \"ZOOKEEPER\",\n \"TaskType\": \"ZKLeaderSwitch\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"YARN ResourceManager无active状态\",\n \"Group\": \"YARN\",\n \"TaskType\": \"YarnRmNoActiveStatusMoreThanThreshold\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"WindowSize\",\n \"Name\": \"Yarn无active状态的ResourceManager服务,持续时间(秒)\",\n \"Value\": \"90\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"进程被OOMKiller kill\",\n \"Group\": \"集群\",\n \"TaskType\": \"ProcessOutOfMemory\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"实例硬盘异常待授权\",\n \"Group\": \"节点\",\n \"TaskType\": \"InstanceDiskErrorInquiring\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"实例运行异常待授权\",\n \"Group\": \"节点\",\n \"TaskType\": \"InstanceRunningAbnormallyInquiring\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"子机nvme设备error\",\n \"Group\": \"节点\",\n \"TaskType\": \"NvmeError\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"机器重启\",\n \"Group\": \"节点\",\n \"TaskType\": \"GuestReboot\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"内存OOM\",\n \"Group\": \"节点\",\n \"TaskType\": \"GuestOom\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"内核故障\",\n \"Group\": \"节点\",\n \"TaskType\": \"GuestCoreError\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"磁盘只读\",\n \"Group\": \"节点\",\n \"TaskType\": \"CvmDiskReadonly\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"ping不可达\",\n \"Group\": \"节点\",\n \"TaskType\": \"PingUnreachable\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"开启外网环境下安全组端口存在风险\",\n \"Group\": \"集群\",\n \"TaskType\": \"NetworkSecurityHighRiskPortDetection\",\n \"Selected\": \"true\",\n \"TaskSettings\": []\n },\n {\n \"Name\": \"HDFS目录满\",\n \"Group\": \"HDFS\",\n \"TaskType\": \"HdfsDirFull\",\n \"Selected\": \"true\",\n \"TaskSettings\": [\n {\n \"Key\": \"Threshold\",\n \"Name\": \"百分比阈值\",\n \"Value\": \"95\",\n \"Editable\": \"true\"\n }\n ]\n },\n {\n \"Name\": \"Trino全表扫描分区表\",\n \"Group\": \"TRINO\",\n \"TaskType\": \"TrinoFullScanPartTable\",\n \"Selected\": \"false\",\n \"TaskSettings\": []\n }\n ]\n}",
|
439
|
+
"output": "{\n \"Response\": {\n \"Info\": \"OK\",\n \"JobId\": \"499\",\n \"RequestId\": \"c1ff0d96-48a7-47ef-bdde-ab6bf1fc5f15\"\n }\n}",
|
440
|
+
"title": "设置巡检任务配置"
|
441
|
+
}
|
442
|
+
],
|
435
443
|
"ModifyInstanceBasic": [
|
436
444
|
{
|
437
445
|
"document": "",
|
@@ -9163,6 +9163,16 @@
|
|
9163
9163
|
"type": "string",
|
9164
9164
|
"value_allowed_null": true
|
9165
9165
|
},
|
9166
|
+
{
|
9167
|
+
"disabled": false,
|
9168
|
+
"document": "索引元数据JSON\n注意:此字段可能返回 null,表示取不到有效值。",
|
9169
|
+
"example": "{\\\"mappings\\\":{\\\"properties\\\":{\\\"filed1\\\":{\\\"analyzer\\\":\\\"custom_analyzer\\\",\\\"type\\\":\\\"text\\\"}}}}",
|
9170
|
+
"member": "string",
|
9171
|
+
"name": "IndexMetaJson",
|
9172
|
+
"output_required": true,
|
9173
|
+
"type": "string",
|
9174
|
+
"value_allowed_null": true
|
9175
|
+
},
|
9166
9176
|
{
|
9167
9177
|
"disabled": false,
|
9168
9178
|
"document": "索引文档数\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -220,7 +220,7 @@
|
|
220
220
|
{
|
221
221
|
"document": "Serverless获取索引列表",
|
222
222
|
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServerlessInstances\n<公共请求参数>\n\n{\n \"IndexNames\": [\n \"test\"\n ],\n \"InstanceIds\": [\n \"index-abcdefgh\"\n ],\n \"Limit\": 0,\n \"Offset\": 10\n}",
|
223
|
-
"output": "{\n \"Response\": {\n \"IndexMetaFields\": [\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-2v3kt0yr\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"curl-datalink-mdo5a8bf\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:34:55\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-2v3kt0yr.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-2v3kt0yr.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-2s8pkoa7\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"beats-tke-datalink-mdo5a8bf\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:34:20\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-2s8pkoa7.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-2s8pkoa7.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-7th48x7l\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"beats-cvm-datalink-mdo5a8bf\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:33:48\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-7th48x7l.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-7th48x7l.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-brjddwvb\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"tke-data-link-mdo5a8bf\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:30:26\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-brjddwvb.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-brjddwvb.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-k75a66tp\",\n \"SpaceId\": \"space-0gyg87rx\",\n \"SpaceName\": \"price-test\",\n \"IndexName\": \"ychenjiang-test2-0gyg87rx\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:29:47\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-ld5dkwwx\",\n \"SubnetUid\": \"subnet-267c2gvq\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-k75a66tp.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-k75a66tp.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-o8otig09\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"cvm-datalink-mdo5a8bf\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:23:02\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-o8otig09.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-o8otig09.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-gh5rrdhr\",\n \"SpaceId\": \"space-0gyg87rx\",\n \"SpaceName\": \"price-test\",\n \"IndexName\": \"faegagag-0gyg87rx\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 12:04:48\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-gh5rrdhr.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-gh5rrdhr.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-65q7dsff\",\n \"SpaceId\": \"space-0gyg87rx\",\n \"SpaceName\": \"price-test\",\n \"IndexName\": \"haoa-test3334-0gyg87rx\",\n \"IndexStorage\": 6422689,\n \"IndexCreateTime\": \"2023-11-23 11:53:04\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-ld5dkwwx\",\n \"SubnetUid\": \"subnet-267c2gvq\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-65q7dsff.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-65q7dsff.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-irah4s23\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"cvm-source-mdo5a8bf\",\n \"IndexStorage\": 204964,\n \"IndexCreateTime\": \"2023-11-23 11:39:28\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-irah4s23.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-irah4s23.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-8s7iinrd\",\n \"SpaceId\": \"space-0gyg87rx\",\n \"SpaceName\": \"price-test\",\n \"IndexName\": \"haoa-test44-0gyg87rx\",\n \"IndexStorage\": 6072662,\n \"IndexCreateTime\": \"2023-11-23 11:15:47\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-ld5dkwwx\",\n \"SubnetUid\": \"subnet-267c2gvq\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-8s7iinrd.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-8s7iinrd.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n }\n ],\n \"TotalCount\": 20,\n \"RequestId\": \"a75f987c-5f03-4fec-bbb8-be132b57666b\"\n }\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"IndexMetaFields\": [\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-2v3kt0yr\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"curl-datalink-mdo5a8bf\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:34:55\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-2v3kt0yr.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-2v3kt0yr.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-2s8pkoa7\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"beats-tke-datalink-mdo5a8bf\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:34:20\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-2s8pkoa7.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-2s8pkoa7.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-7th48x7l\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"beats-cvm-datalink-mdo5a8bf\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:33:48\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-7th48x7l.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-7th48x7l.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-brjddwvb\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"tke-data-link-mdo5a8bf\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:30:26\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-brjddwvb.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-brjddwvb.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-k75a66tp\",\n \"SpaceId\": \"space-0gyg87rx\",\n \"SpaceName\": \"price-test\",\n \"IndexName\": \"ychenjiang-test2-0gyg87rx\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:29:47\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-ld5dkwwx\",\n \"SubnetUid\": \"subnet-267c2gvq\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-k75a66tp.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-k75a66tp.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-o8otig09\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"cvm-datalink-mdo5a8bf\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 14:23:02\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-o8otig09.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-o8otig09.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-gh5rrdhr\",\n \"SpaceId\": \"space-0gyg87rx\",\n \"SpaceName\": \"price-test\",\n \"IndexName\": \"faegagag-0gyg87rx\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 0,\n \"IndexCreateTime\": \"2023-11-23 12:04:48\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-gh5rrdhr.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-gh5rrdhr.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-65q7dsff\",\n \"SpaceId\": \"space-0gyg87rx\",\n \"SpaceName\": \"price-test\",\n \"IndexName\": \"haoa-test3334-0gyg87rx\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 6422689,\n \"IndexCreateTime\": \"2023-11-23 11:53:04\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-ld5dkwwx\",\n \"SubnetUid\": \"subnet-267c2gvq\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-65q7dsff.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-65q7dsff.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-irah4s23\",\n \"SpaceId\": \"space-mdo5a8bf\",\n \"SpaceName\": \"tom-test\",\n \"IndexName\": \"cvm-source-mdo5a8bf\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 204964,\n \"IndexCreateTime\": \"2023-11-23 11:39:28\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-444yjczv\",\n \"SubnetUid\": \"subnet-mrezecu2\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-irah4s23.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-irah4s23.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n },\n {\n \"AppId\": 1257780094,\n \"InstanceId\": \"index-8s7iinrd\",\n \"SpaceId\": \"space-0gyg87rx\",\n \"SpaceName\": \"price-test\",\n \"IndexName\": \"haoa-test44-0gyg87rx\",\n \"IndexMetaJson\": \"\",\n \"IndexStorage\": 6072662,\n \"IndexCreateTime\": \"2023-11-23 11:15:47\",\n \"IndexDocs\": 0,\n \"Status\": 1,\n \"IndexSettingsField\": {\n \"NumberOfShards\": \"\",\n \"RefreshInterval\": \"30s\"\n },\n \"IndexOptionsField\": {\n \"ExpireMaxAge\": \"30d\",\n \"TimestampField\": \"@timestamp\"\n },\n \"IndexNetworkField\": {\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-7\",\n \"VpcUid\": \"vpc-ld5dkwwx\",\n \"SubnetUid\": \"subnet-267c2gvq\",\n \"Username\": \"\",\n \"Password\": \"\"\n },\n \"KibanaUrl\": \"https://index-8s7iinrd.kibana.myserverlessindex.com:5601\",\n \"KibanaPrivateUrl\": \"\",\n \"IndexAccessUrl\": \"index-8s7iinrd.ap-guangzhou.myserverlessindex.com\",\n \"StorageType\": 0,\n \"TagList\": []\n }\n ],\n \"TotalCount\": 20,\n \"RequestId\": \"a75f987c-5f03-4fec-bbb8-be132b57666b\"\n }\n}",
|
224
224
|
"title": "Serverless获取索引列表"
|
225
225
|
}
|
226
226
|
],
|