tccli 3.0.1094.1__py2.py3-none-any.whl → 3.0.1095.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/dasb/v20191018/ModifyCmdTemplate.md +2 -2
  3. tccli/examples/es/v20180416/DescribeServerlessInstances.md +346 -0
  4. tccli/examples/pts/v20210728/DescribeRegions.md +4 -2
  5. tccli/services/aiart/v20221229/api.json +1 -1
  6. tccli/services/antiddos/v20200309/api.json +19 -0
  7. tccli/services/cdb/v20170320/api.json +3 -3
  8. tccli/services/cfw/v20190904/api.json +177 -0
  9. tccli/services/dasb/v20191018/examples.json +2 -2
  10. tccli/services/dnspod/v20210323/api.json +1 -0
  11. tccli/services/dts/v20211206/api.json +2 -2
  12. tccli/services/es/es_client.py +53 -0
  13. tccli/services/es/v20180416/api.json +429 -0
  14. tccli/services/es/v20180416/examples.json +8 -0
  15. tccli/services/live/v20180801/api.json +49 -0
  16. tccli/services/monitor/v20180724/api.json +20 -2
  17. tccli/services/oceanus/v20190422/api.json +1 -1
  18. tccli/services/organization/v20210331/api.json +3 -3
  19. tccli/services/pts/v20210728/api.json +16 -3
  20. tccli/services/pts/v20210728/examples.json +2 -2
  21. tccli/services/redis/v20180412/api.json +11 -0
  22. tccli/services/vod/v20180717/api.json +1 -1
  23. tccli/services/wedata/v20210820/api.json +2 -817
  24. tccli/services/wedata/v20210820/examples.json +0 -24
  25. tccli/services/wedata/wedata_client.py +0 -159
  26. {tccli-3.0.1094.1.dist-info → tccli-3.0.1095.1.dist-info}/METADATA +2 -2
  27. {tccli-3.0.1094.1.dist-info → tccli-3.0.1095.1.dist-info}/RECORD +30 -29
  28. {tccli-3.0.1094.1.dist-info → tccli-3.0.1095.1.dist-info}/WHEEL +0 -0
  29. {tccli-3.0.1094.1.dist-info → tccli-3.0.1095.1.dist-info}/entry_points.txt +0 -0
  30. {tccli-3.0.1094.1.dist-info → tccli-3.0.1095.1.dist-info}/license_files/LICENSE +0 -0
@@ -1092,6 +1092,7 @@
1092
1092
  "example": "11",
1093
1093
  "member": "int64",
1094
1094
  "name": "DomainAliasId",
1095
+ "output_required": true,
1095
1096
  "type": "int",
1096
1097
  "value_allowed_null": false
1097
1098
  },
@@ -185,7 +185,7 @@
185
185
  "DescribeSubscribeCheckJob": {
186
186
  "document": "本接口(DescribeSubscribeCheckJob)用于查询订阅校验任务结果。",
187
187
  "input": "DescribeSubscribeCheckJobRequest",
188
- "name": "查看校验结果",
188
+ "name": "查询订阅校验结果",
189
189
  "output": "DescribeSubscribeCheckJobResponse",
190
190
  "status": "online"
191
191
  },
@@ -416,7 +416,7 @@
416
416
  "ResumeSubscribe": {
417
417
  "document": "本接口(ResumeSubscribe) 用于恢复报错的订阅任务。当订阅任务的状态为error时,可通过本接口尝试对任务进行恢复。",
418
418
  "input": "ResumeSubscribeRequest",
419
- "name": "恢复订阅任务",
419
+ "name": "重试订阅任务",
420
420
  "output": "ResumeSubscribeResponse",
421
421
  "status": "online"
422
422
  },
@@ -2617,6 +2617,58 @@ def doDescribeInstancePluginList(args, parsed_globals):
2617
2617
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2618
2618
 
2619
2619
 
2620
+ def doDescribeServerlessInstances(args, parsed_globals):
2621
+ g_param = parse_global_arg(parsed_globals)
2622
+
2623
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2624
+ cred = credential.CVMRoleCredential()
2625
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2626
+ cred = credential.STSAssumeRoleCredential(
2627
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2628
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2629
+ )
2630
+ 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):
2631
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2632
+ else:
2633
+ cred = credential.Credential(
2634
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2635
+ )
2636
+ http_profile = HttpProfile(
2637
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2638
+ reqMethod="POST",
2639
+ endpoint=g_param[OptionsDefine.Endpoint],
2640
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2641
+ )
2642
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2643
+ if g_param[OptionsDefine.Language]:
2644
+ profile.language = g_param[OptionsDefine.Language]
2645
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2646
+ client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
2647
+ client._sdkVersion += ("_CLI_" + __version__)
2648
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2649
+ model = models.DescribeServerlessInstancesRequest()
2650
+ model.from_json_string(json.dumps(args))
2651
+ start_time = time.time()
2652
+ while True:
2653
+ rsp = client.DescribeServerlessInstances(model)
2654
+ result = rsp.to_json_string()
2655
+ try:
2656
+ json_obj = json.loads(result)
2657
+ except TypeError as e:
2658
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2659
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2660
+ break
2661
+ cur_time = time.time()
2662
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2663
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2664
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2665
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2666
+ else:
2667
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2668
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2669
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
+
2671
+
2620
2672
  def doDescribeIndexMeta(args, parsed_globals):
2621
2673
  g_param = parse_global_arg(parsed_globals)
2622
2674
 
@@ -2834,6 +2886,7 @@ ACTION_MAP = {
2834
2886
  "UpdateDictionaries": doUpdateDictionaries,
2835
2887
  "UpgradeLicense": doUpgradeLicense,
2836
2888
  "DescribeInstancePluginList": doDescribeInstancePluginList,
2889
+ "DescribeServerlessInstances": doDescribeServerlessInstances,
2837
2890
  "DescribeIndexMeta": doDescribeIndexMeta,
2838
2891
  "CreateServerlessInstance": doCreateServerlessInstance,
2839
2892
  "InquirePriceRenewInstance": doInquirePriceRenewInstance,
@@ -168,6 +168,13 @@
168
168
  "output": "DescribeLogstashPipelinesResponse",
169
169
  "status": "online"
170
170
  },
171
+ "DescribeServerlessInstances": {
172
+ "document": "Serverless获取索引列表",
173
+ "input": "DescribeServerlessInstancesRequest",
174
+ "name": "Serverless获取索引列表",
175
+ "output": "DescribeServerlessInstancesResponse",
176
+ "status": "online"
177
+ },
171
178
  "DescribeServerlessSpaceUser": {
172
179
  "document": "查看Serverless空间子用户",
173
180
  "input": "DescribeServerlessSpaceUserRequest",
@@ -3212,6 +3219,134 @@
3212
3219
  ],
3213
3220
  "type": "object"
3214
3221
  },
3222
+ "DescribeServerlessInstancesRequest": {
3223
+ "document": "DescribeServerlessInstances请求参数结构体",
3224
+ "members": [
3225
+ {
3226
+ "disabled": false,
3227
+ "document": "索引集群ID",
3228
+ "example": "[\"index-abcdefgh\"]",
3229
+ "member": "string",
3230
+ "name": "InstanceIds",
3231
+ "required": false,
3232
+ "type": "list"
3233
+ },
3234
+ {
3235
+ "disabled": false,
3236
+ "document": "索引名",
3237
+ "example": "[\"test\"]",
3238
+ "member": "string",
3239
+ "name": "IndexNames",
3240
+ "required": false,
3241
+ "type": "list"
3242
+ },
3243
+ {
3244
+ "disabled": false,
3245
+ "document": "分页起始位置",
3246
+ "example": "10",
3247
+ "member": "int64",
3248
+ "name": "Offset",
3249
+ "required": false,
3250
+ "type": "int"
3251
+ },
3252
+ {
3253
+ "disabled": false,
3254
+ "document": "一页展示数量",
3255
+ "example": "20",
3256
+ "member": "int64",
3257
+ "name": "Limit",
3258
+ "required": false,
3259
+ "type": "int"
3260
+ },
3261
+ {
3262
+ "disabled": false,
3263
+ "document": "排序字段,支持索引名:IndexName、索引存储量:IndexStorage、索引创建时间:IndexCreateTime",
3264
+ "example": "storage",
3265
+ "member": "string",
3266
+ "name": "OrderBy",
3267
+ "required": false,
3268
+ "type": "string"
3269
+ },
3270
+ {
3271
+ "disabled": false,
3272
+ "document": "过滤索引状态",
3273
+ "example": "[\"GREEN\"]",
3274
+ "member": "string",
3275
+ "name": "IndexStatusList",
3276
+ "required": false,
3277
+ "type": "list"
3278
+ },
3279
+ {
3280
+ "disabled": false,
3281
+ "document": "排序顺序,支持asc、desc,默认为desc",
3282
+ "example": "asc",
3283
+ "member": "string",
3284
+ "name": "Order",
3285
+ "required": false,
3286
+ "type": "string"
3287
+ },
3288
+ {
3289
+ "disabled": false,
3290
+ "document": "索引空间ID列表",
3291
+ "example": "[space-12345]",
3292
+ "member": "string",
3293
+ "name": "SpaceIds",
3294
+ "required": false,
3295
+ "type": "list"
3296
+ },
3297
+ {
3298
+ "disabled": false,
3299
+ "document": "数据链路数据源类型",
3300
+ "example": "[\"cvm_collector\",\"tke_collector\"]",
3301
+ "member": "string",
3302
+ "name": "DiSourceTypes",
3303
+ "required": false,
3304
+ "type": "list"
3305
+ },
3306
+ {
3307
+ "disabled": false,
3308
+ "document": "标签信息",
3309
+ "example": "无",
3310
+ "member": "TagInfo",
3311
+ "name": "TagList",
3312
+ "required": false,
3313
+ "type": "list"
3314
+ }
3315
+ ],
3316
+ "type": "object"
3317
+ },
3318
+ "DescribeServerlessInstancesResponse": {
3319
+ "document": "DescribeServerlessInstances返回参数结构体",
3320
+ "members": [
3321
+ {
3322
+ "disabled": false,
3323
+ "document": "索引元数据字段\n注意:此字段可能返回 null,表示取不到有效值。",
3324
+ "example": "无",
3325
+ "member": "ServerlessIndexMetaField",
3326
+ "name": "IndexMetaFields",
3327
+ "output_required": true,
3328
+ "type": "list",
3329
+ "value_allowed_null": true
3330
+ },
3331
+ {
3332
+ "disabled": false,
3333
+ "document": "查询总数\n注意:此字段可能返回 null,表示取不到有效值。",
3334
+ "example": "10",
3335
+ "member": "int64",
3336
+ "name": "TotalCount",
3337
+ "output_required": true,
3338
+ "type": "int",
3339
+ "value_allowed_null": true
3340
+ },
3341
+ {
3342
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3343
+ "member": "string",
3344
+ "name": "RequestId",
3345
+ "type": "string"
3346
+ }
3347
+ ],
3348
+ "type": "object"
3349
+ },
3215
3350
  "DescribeServerlessSpaceUserRequest": {
3216
3351
  "document": "DescribeServerlessSpaceUser请求参数结构体",
3217
3352
  "members": [
@@ -7969,6 +8104,300 @@
7969
8104
  ],
7970
8105
  "usage": "in"
7971
8106
  },
8107
+ "ServerlessIndexMetaField": {
8108
+ "document": "索引元数据字段",
8109
+ "members": [
8110
+ {
8111
+ "disabled": false,
8112
+ "document": "索引所属集群APP ID\n注意:此字段可能返回 null,表示取不到有效值。",
8113
+ "example": "10004222",
8114
+ "member": "uint64",
8115
+ "name": "AppId",
8116
+ "output_required": true,
8117
+ "type": "int",
8118
+ "value_allowed_null": true
8119
+ },
8120
+ {
8121
+ "disabled": false,
8122
+ "document": "索引名\n注意:此字段可能返回 null,表示取不到有效值。",
8123
+ "example": "test",
8124
+ "member": "string",
8125
+ "name": "IndexName",
8126
+ "output_required": true,
8127
+ "type": "string",
8128
+ "value_allowed_null": true
8129
+ },
8130
+ {
8131
+ "disabled": false,
8132
+ "document": "索引文档数\n注意:此字段可能返回 null,表示取不到有效值。",
8133
+ "example": "1",
8134
+ "member": "int64",
8135
+ "name": "IndexDocs",
8136
+ "output_required": true,
8137
+ "type": "int",
8138
+ "value_allowed_null": true
8139
+ },
8140
+ {
8141
+ "disabled": false,
8142
+ "document": "索引存储大小,单位Byte\n注意:此字段可能返回 null,表示取不到有效值。",
8143
+ "example": "30",
8144
+ "member": "int64",
8145
+ "name": "IndexStorage",
8146
+ "output_required": true,
8147
+ "type": "int",
8148
+ "value_allowed_null": true
8149
+ },
8150
+ {
8151
+ "disabled": false,
8152
+ "document": "索引创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
8153
+ "example": "2021-03-01 10:00:00",
8154
+ "member": "string",
8155
+ "name": "IndexCreateTime",
8156
+ "output_required": true,
8157
+ "type": "string",
8158
+ "value_allowed_null": true
8159
+ },
8160
+ {
8161
+ "disabled": false,
8162
+ "document": "索引实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
8163
+ "example": "index-abcdefgh",
8164
+ "member": "string",
8165
+ "name": "InstanceId",
8166
+ "output_required": true,
8167
+ "type": "string",
8168
+ "value_allowed_null": true
8169
+ },
8170
+ {
8171
+ "disabled": false,
8172
+ "document": "索引自治字段\n注意:此字段可能返回 null,表示取不到有效值。",
8173
+ "example": "无",
8174
+ "member": "ServerlessIndexOptionsField",
8175
+ "name": "IndexOptionsField",
8176
+ "output_required": true,
8177
+ "type": "object",
8178
+ "value_allowed_null": true
8179
+ },
8180
+ {
8181
+ "disabled": false,
8182
+ "document": "索引配置字段\n注意:此字段可能返回 null,表示取不到有效值。",
8183
+ "example": "无",
8184
+ "member": "ServerlessIndexSettingsField",
8185
+ "name": "IndexSettingsField",
8186
+ "output_required": true,
8187
+ "type": "object",
8188
+ "value_allowed_null": true
8189
+ },
8190
+ {
8191
+ "disabled": false,
8192
+ "document": "索引所属连接相关信息\n注意:此字段可能返回 null,表示取不到有效值。",
8193
+ "example": "无",
8194
+ "member": "ServerlessIndexNetworkField",
8195
+ "name": "IndexNetworkField",
8196
+ "output_required": true,
8197
+ "type": "object",
8198
+ "value_allowed_null": true
8199
+ },
8200
+ {
8201
+ "disabled": false,
8202
+ "document": "Kibana公网域名\n注意:此字段可能返回 null,表示取不到有效值。",
8203
+ "example": "无",
8204
+ "member": "string",
8205
+ "name": "KibanaUrl",
8206
+ "output_required": true,
8207
+ "type": "string",
8208
+ "value_allowed_null": true
8209
+ },
8210
+ {
8211
+ "disabled": false,
8212
+ "document": "Kibana内网域名\n注意:此字段可能返回 null,表示取不到有效值。",
8213
+ "example": "无",
8214
+ "member": "string",
8215
+ "name": "KibanaPrivateUrl",
8216
+ "output_required": true,
8217
+ "type": "string",
8218
+ "value_allowed_null": true
8219
+ },
8220
+ {
8221
+ "disabled": false,
8222
+ "document": "索引内网访问地址\n注意:此字段可能返回 null,表示取不到有效值。",
8223
+ "example": "无",
8224
+ "member": "string",
8225
+ "name": "IndexAccessUrl",
8226
+ "output_required": true,
8227
+ "type": "string",
8228
+ "value_allowed_null": true
8229
+ },
8230
+ {
8231
+ "disabled": false,
8232
+ "document": "状态\n注意:此字段可能返回 null,表示取不到有效值。",
8233
+ "example": "无",
8234
+ "member": "int64",
8235
+ "name": "Status",
8236
+ "output_required": true,
8237
+ "type": "int",
8238
+ "value_allowed_null": true
8239
+ },
8240
+ {
8241
+ "disabled": false,
8242
+ "document": "索引空间ID\n注意:此字段可能返回 null,表示取不到有效值。",
8243
+ "example": "无",
8244
+ "member": "string",
8245
+ "name": "SpaceId",
8246
+ "output_required": true,
8247
+ "type": "string",
8248
+ "value_allowed_null": true
8249
+ },
8250
+ {
8251
+ "disabled": false,
8252
+ "document": "索引空间名\n注意:此字段可能返回 null,表示取不到有效值。",
8253
+ "example": "无",
8254
+ "member": "string",
8255
+ "name": "SpaceName",
8256
+ "output_required": true,
8257
+ "type": "string",
8258
+ "value_allowed_null": true
8259
+ },
8260
+ {
8261
+ "disabled": false,
8262
+ "document": "存储类型\n注意:此字段可能返回 null,表示取不到有效值。",
8263
+ "example": "无",
8264
+ "member": "int64",
8265
+ "name": "StorageType",
8266
+ "output_required": true,
8267
+ "type": "int",
8268
+ "value_allowed_null": true
8269
+ },
8270
+ {
8271
+ "disabled": false,
8272
+ "document": "标签信息",
8273
+ "example": "无",
8274
+ "member": "TagInfo",
8275
+ "name": "TagList",
8276
+ "output_required": true,
8277
+ "type": "list",
8278
+ "value_allowed_null": false
8279
+ }
8280
+ ],
8281
+ "usage": "out"
8282
+ },
8283
+ "ServerlessIndexNetworkField": {
8284
+ "document": "Serverless实例,网络、索引、kibana等连接信息",
8285
+ "members": [
8286
+ {
8287
+ "disabled": false,
8288
+ "document": "地域\n注意:此字段可能返回 null,表示取不到有效值。",
8289
+ "example": "ap-guangzhou",
8290
+ "member": "string",
8291
+ "name": "Region",
8292
+ "required": true,
8293
+ "type": "string",
8294
+ "value_allowed_null": true
8295
+ },
8296
+ {
8297
+ "disabled": false,
8298
+ "document": "区域\n注意:此字段可能返回 null,表示取不到有效值。",
8299
+ "example": "ap-guangzhou-1",
8300
+ "member": "string",
8301
+ "name": "Zone",
8302
+ "required": true,
8303
+ "type": "string",
8304
+ "value_allowed_null": true
8305
+ },
8306
+ {
8307
+ "disabled": false,
8308
+ "document": "vpc唯一ID\n注意:此字段可能返回 null,表示取不到有效值。",
8309
+ "example": "vpc-abcdef",
8310
+ "member": "string",
8311
+ "name": "VpcUid",
8312
+ "required": true,
8313
+ "type": "string",
8314
+ "value_allowed_null": true
8315
+ },
8316
+ {
8317
+ "disabled": false,
8318
+ "document": "子网唯一ID\n注意:此字段可能返回 null,表示取不到有效值。",
8319
+ "example": "sub-abcdef",
8320
+ "member": "string",
8321
+ "name": "SubnetUid",
8322
+ "required": true,
8323
+ "type": "string",
8324
+ "value_allowed_null": true
8325
+ },
8326
+ {
8327
+ "disabled": false,
8328
+ "document": "用户名\n注意:此字段可能返回 null,表示取不到有效值。",
8329
+ "example": "tom",
8330
+ "member": "string",
8331
+ "name": "Username",
8332
+ "required": true,
8333
+ "type": "string",
8334
+ "value_allowed_null": true
8335
+ },
8336
+ {
8337
+ "disabled": false,
8338
+ "document": "密码\n注意:此字段可能返回 null,表示取不到有效值。",
8339
+ "example": "abcd1234",
8340
+ "member": "string",
8341
+ "name": "Password",
8342
+ "required": true,
8343
+ "type": "string",
8344
+ "value_allowed_null": true
8345
+ }
8346
+ ],
8347
+ "usage": "out"
8348
+ },
8349
+ "ServerlessIndexOptionsField": {
8350
+ "document": "索引自治字段",
8351
+ "members": [
8352
+ {
8353
+ "disabled": false,
8354
+ "document": "过期时间\n注意:此字段可能返回 null,表示取不到有效值。",
8355
+ "example": "3d",
8356
+ "member": "string",
8357
+ "name": "ExpireMaxAge",
8358
+ "required": false,
8359
+ "type": "string",
8360
+ "value_allowed_null": true
8361
+ },
8362
+ {
8363
+ "disabled": false,
8364
+ "document": "时间分区字段\n注意:此字段可能返回 null,表示取不到有效值。",
8365
+ "example": "@timestamp",
8366
+ "member": "string",
8367
+ "name": "TimestampField",
8368
+ "required": false,
8369
+ "type": "string",
8370
+ "value_allowed_null": true
8371
+ }
8372
+ ],
8373
+ "usage": "both"
8374
+ },
8375
+ "ServerlessIndexSettingsField": {
8376
+ "document": "索引配置字段",
8377
+ "members": [
8378
+ {
8379
+ "disabled": false,
8380
+ "document": "索引主分片数\n注意:此字段可能返回 null,表示取不到有效值。",
8381
+ "example": "5",
8382
+ "member": "string",
8383
+ "name": "NumberOfShards",
8384
+ "required": false,
8385
+ "type": "string",
8386
+ "value_allowed_null": true
8387
+ },
8388
+ {
8389
+ "disabled": false,
8390
+ "document": "索引刷新频率\n注意:此字段可能返回 null,表示取不到有效值。",
8391
+ "example": "20s",
8392
+ "member": "string",
8393
+ "name": "RefreshInterval",
8394
+ "required": false,
8395
+ "type": "string",
8396
+ "value_allowed_null": true
8397
+ }
8398
+ ],
8399
+ "usage": "both"
8400
+ },
7972
8401
  "ServerlessSpace": {
7973
8402
  "document": "Serverless索引空间信息",
7974
8403
  "members": [
@@ -192,6 +192,14 @@
192
192
  "title": "获取Logstash实例管道列表"
193
193
  }
194
194
  ],
195
+ "DescribeServerlessInstances": [
196
+ {
197
+ "document": "Serverless获取索引列表",
198
+ "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}",
199
+ "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}",
200
+ "title": "Serverless获取索引列表"
201
+ }
202
+ ],
195
203
  "DescribeServerlessSpaceUser": [
196
204
  {
197
205
  "document": "",