@alicloud/elasticsearch20170613 4.2.0 → 4.3.0
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.
- package/dist/client.d.ts +156 -0
- package/dist/client.js +386 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetKeystoresResponse.d.ts +19 -0
- package/dist/models/GetKeystoresResponse.js +69 -0
- package/dist/models/GetKeystoresResponse.js.map +1 -0
- package/dist/models/GetKeystoresResponseBody.d.ts +22 -0
- package/dist/models/GetKeystoresResponseBody.js +63 -0
- package/dist/models/GetKeystoresResponseBody.js.map +1 -0
- package/dist/models/InitModelRequest.d.ts +68 -0
- package/dist/models/InitModelRequest.js +90 -0
- package/dist/models/InitModelRequest.js.map +1 -0
- package/dist/models/InitModelResponse.d.ts +19 -0
- package/dist/models/InitModelResponse.js +69 -0
- package/dist/models/InitModelResponse.js.map +1 -0
- package/dist/models/InitModelResponseBody.d.ts +26 -0
- package/dist/models/InitModelResponseBody.js +60 -0
- package/dist/models/InitModelResponseBody.js.map +1 -0
- package/dist/models/ListUserPluginRequest.d.ts +28 -0
- package/dist/models/ListUserPluginRequest.js +62 -0
- package/dist/models/ListUserPluginRequest.js.map +1 -0
- package/dist/models/ListUserPluginResponse.d.ts +19 -0
- package/dist/models/ListUserPluginResponse.js +69 -0
- package/dist/models/ListUserPluginResponse.js.map +1 -0
- package/dist/models/ListUserPluginResponseBody.d.ts +106 -0
- package/dist/models/ListUserPluginResponseBody.js +129 -0
- package/dist/models/ListUserPluginResponseBody.js.map +1 -0
- package/dist/models/PluginAnalysisRequest.d.ts +29 -0
- package/dist/models/PluginAnalysisRequest.js +60 -0
- package/dist/models/PluginAnalysisRequest.js.map +1 -0
- package/dist/models/PluginAnalysisResponse.d.ts +19 -0
- package/dist/models/PluginAnalysisResponse.js +69 -0
- package/dist/models/PluginAnalysisResponse.js.map +1 -0
- package/dist/models/PluginAnalysisResponseBody.d.ts +59 -0
- package/dist/models/PluginAnalysisResponseBody.js +90 -0
- package/dist/models/PluginAnalysisResponseBody.js.map +1 -0
- package/dist/models/RemovePluginRequest.d.ts +28 -0
- package/dist/models/RemovePluginRequest.js +58 -0
- package/dist/models/RemovePluginRequest.js.map +1 -0
- package/dist/models/RemovePluginResponse.d.ts +19 -0
- package/dist/models/RemovePluginResponse.js +69 -0
- package/dist/models/RemovePluginResponse.js.map +1 -0
- package/dist/models/RemovePluginResponseBody.d.ts +26 -0
- package/dist/models/RemovePluginResponseBody.js +60 -0
- package/dist/models/RemovePluginResponseBody.js.map +1 -0
- package/dist/models/UpdateFalconSeekRequest.d.ts +18 -0
- package/dist/models/UpdateFalconSeekRequest.js +58 -0
- package/dist/models/UpdateFalconSeekRequest.js.map +1 -0
- package/dist/models/UpdateFalconSeekResponse.d.ts +19 -0
- package/dist/models/UpdateFalconSeekResponse.js +69 -0
- package/dist/models/UpdateFalconSeekResponse.js.map +1 -0
- package/dist/models/UpdateFalconSeekResponseBody.d.ts +21 -0
- package/dist/models/UpdateFalconSeekResponseBody.js +58 -0
- package/dist/models/UpdateFalconSeekResponseBody.js.map +1 -0
- package/dist/models/UpdateKeystoresRequest.d.ts +22 -0
- package/dist/models/UpdateKeystoresRequest.js +68 -0
- package/dist/models/UpdateKeystoresRequest.js.map +1 -0
- package/dist/models/UpdateKeystoresResponse.d.ts +19 -0
- package/dist/models/UpdateKeystoresResponse.js +69 -0
- package/dist/models/UpdateKeystoresResponse.js.map +1 -0
- package/dist/models/UpdateKeystoresResponseBody.d.ts +21 -0
- package/dist/models/UpdateKeystoresResponseBody.js +58 -0
- package/dist/models/UpdateKeystoresResponseBody.js.map +1 -0
- package/dist/models/UpdateKibanaSsoRequest.d.ts +31 -0
- package/dist/models/UpdateKibanaSsoRequest.js +60 -0
- package/dist/models/UpdateKibanaSsoRequest.js.map +1 -0
- package/dist/models/UpdateKibanaSsoResponse.d.ts +19 -0
- package/dist/models/UpdateKibanaSsoResponse.js +69 -0
- package/dist/models/UpdateKibanaSsoResponse.js.map +1 -0
- package/dist/models/UpdateKibanaSsoResponseBody.d.ts +26 -0
- package/dist/models/UpdateKibanaSsoResponseBody.js +60 -0
- package/dist/models/UpdateKibanaSsoResponseBody.js.map +1 -0
- package/dist/models/UpgradeInfoResponse.d.ts +19 -0
- package/dist/models/UpgradeInfoResponse.js +69 -0
- package/dist/models/UpgradeInfoResponse.js.map +1 -0
- package/dist/models/UpgradeInfoResponseBody.d.ts +82 -0
- package/dist/models/UpgradeInfoResponseBody.js +116 -0
- package/dist/models/UpgradeInfoResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +79 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +419 -0
- package/src/models/GetKeystoresResponse.ts +40 -0
- package/src/models/GetKeystoresResponseBody.ts +40 -0
- package/src/models/InitModelRequest.ts +104 -0
- package/src/models/InitModelResponse.ts +40 -0
- package/src/models/InitModelResponseBody.ts +41 -0
- package/src/models/ListUserPluginRequest.ts +45 -0
- package/src/models/ListUserPluginResponse.ts +40 -0
- package/src/models/ListUserPluginResponseBody.ts +170 -0
- package/src/models/PluginAnalysisRequest.ts +44 -0
- package/src/models/PluginAnalysisResponse.ts +40 -0
- package/src/models/PluginAnalysisResponseBody.ts +95 -0
- package/src/models/RemovePluginRequest.ts +41 -0
- package/src/models/RemovePluginResponse.ts +40 -0
- package/src/models/RemovePluginResponseBody.ts +41 -0
- package/src/models/UpdateFalconSeekRequest.ts +31 -0
- package/src/models/UpdateFalconSeekResponse.ts +40 -0
- package/src/models/UpdateFalconSeekResponseBody.ts +34 -0
- package/src/models/UpdateKeystoresRequest.ts +43 -0
- package/src/models/UpdateKeystoresResponse.ts +40 -0
- package/src/models/UpdateKeystoresResponseBody.ts +34 -0
- package/src/models/UpdateKibanaSsoRequest.ts +46 -0
- package/src/models/UpdateKibanaSsoResponse.ts +40 -0
- package/src/models/UpdateKibanaSsoResponseBody.ts +41 -0
- package/src/models/UpgradeInfoResponse.ts +40 -0
- package/src/models/UpgradeInfoResponseBody.ts +135 -0
- package/src/models/model.ts +31 -0
package/dist/client.d.ts
CHANGED
|
@@ -1109,6 +1109,21 @@ export default class Client extends OpenApi {
|
|
|
1109
1109
|
* @returns GetEmonMonitorDataResponse
|
|
1110
1110
|
*/
|
|
1111
1111
|
getEmonMonitorData(ProjectId: string, request: $_model.GetEmonMonitorDataRequest): Promise<$_model.GetEmonMonitorDataResponse>;
|
|
1112
|
+
/**
|
|
1113
|
+
* 获取keystore信息
|
|
1114
|
+
*
|
|
1115
|
+
* @param headers - map
|
|
1116
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1117
|
+
* @returns GetKeystoresResponse
|
|
1118
|
+
*/
|
|
1119
|
+
getKeystoresWithOptions(InstanceId: string, headers: {
|
|
1120
|
+
[key: string]: string;
|
|
1121
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetKeystoresResponse>;
|
|
1122
|
+
/**
|
|
1123
|
+
* 获取keystore信息
|
|
1124
|
+
* @returns GetKeystoresResponse
|
|
1125
|
+
*/
|
|
1126
|
+
getKeystores(InstanceId: string): Promise<$_model.GetKeystoresResponse>;
|
|
1112
1127
|
/**
|
|
1113
1128
|
* View the storage capacity and usage of the OpensStore instance.
|
|
1114
1129
|
*
|
|
@@ -1211,6 +1226,24 @@ export default class Client extends OpenApi {
|
|
|
1211
1226
|
* @returns GrayPublishResponse
|
|
1212
1227
|
*/
|
|
1213
1228
|
grayPublish(InstanceId: string, request: $_model.GrayPublishRequest): Promise<$_model.GrayPublishResponse>;
|
|
1229
|
+
/**
|
|
1230
|
+
* 初始化ai模型
|
|
1231
|
+
*
|
|
1232
|
+
* @param request - InitModelRequest
|
|
1233
|
+
* @param headers - map
|
|
1234
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1235
|
+
* @returns InitModelResponse
|
|
1236
|
+
*/
|
|
1237
|
+
initModelWithOptions(InstanceId: string, request: $_model.InitModelRequest, headers: {
|
|
1238
|
+
[key: string]: string;
|
|
1239
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.InitModelResponse>;
|
|
1240
|
+
/**
|
|
1241
|
+
* 初始化ai模型
|
|
1242
|
+
*
|
|
1243
|
+
* @param request - InitModelRequest
|
|
1244
|
+
* @returns InitModelResponse
|
|
1245
|
+
*/
|
|
1246
|
+
initModel(InstanceId: string, request: $_model.InitModelRequest): Promise<$_model.InitModelResponse>;
|
|
1214
1247
|
/**
|
|
1215
1248
|
* Creates a service-linked role.
|
|
1216
1249
|
*
|
|
@@ -2121,6 +2154,24 @@ export default class Client extends OpenApi {
|
|
|
2121
2154
|
* @returns ListTagsResponse
|
|
2122
2155
|
*/
|
|
2123
2156
|
listTags(request: $_model.ListTagsRequest): Promise<$_model.ListTagsResponse>;
|
|
2157
|
+
/**
|
|
2158
|
+
* 用户自定义插件列表
|
|
2159
|
+
*
|
|
2160
|
+
* @param request - ListUserPluginRequest
|
|
2161
|
+
* @param headers - map
|
|
2162
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2163
|
+
* @returns ListUserPluginResponse
|
|
2164
|
+
*/
|
|
2165
|
+
listUserPluginWithOptions(instanceId: string, request: $_model.ListUserPluginRequest, headers: {
|
|
2166
|
+
[key: string]: string;
|
|
2167
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserPluginResponse>;
|
|
2168
|
+
/**
|
|
2169
|
+
* 用户自定义插件列表
|
|
2170
|
+
*
|
|
2171
|
+
* @param request - ListUserPluginRequest
|
|
2172
|
+
* @returns ListUserPluginResponse
|
|
2173
|
+
*/
|
|
2174
|
+
listUserPlugin(instanceId: string, request: $_model.ListUserPluginRequest): Promise<$_model.ListUserPluginResponse>;
|
|
2124
2175
|
/**
|
|
2125
2176
|
* Queries the statuses of endpoints in the virtual private cloud (VPC) within the Elasticsearch service account.
|
|
2126
2177
|
*
|
|
@@ -2329,6 +2380,24 @@ export default class Client extends OpenApi {
|
|
|
2329
2380
|
* @returns OpenHttpsResponse
|
|
2330
2381
|
*/
|
|
2331
2382
|
openHttps(InstanceId: string, request: $_model.OpenHttpsRequest): Promise<$_model.OpenHttpsResponse>;
|
|
2383
|
+
/**
|
|
2384
|
+
* 自定义插件解析&上传接口
|
|
2385
|
+
*
|
|
2386
|
+
* @param request - PluginAnalysisRequest
|
|
2387
|
+
* @param headers - map
|
|
2388
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2389
|
+
* @returns PluginAnalysisResponse
|
|
2390
|
+
*/
|
|
2391
|
+
pluginAnalysisWithOptions(instanceId: string, request: $_model.PluginAnalysisRequest, headers: {
|
|
2392
|
+
[key: string]: string;
|
|
2393
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.PluginAnalysisResponse>;
|
|
2394
|
+
/**
|
|
2395
|
+
* 自定义插件解析&上传接口
|
|
2396
|
+
*
|
|
2397
|
+
* @param request - PluginAnalysisRequest
|
|
2398
|
+
* @returns PluginAnalysisResponse
|
|
2399
|
+
*/
|
|
2400
|
+
pluginAnalysis(instanceId: string, request: $_model.PluginAnalysisRequest): Promise<$_model.PluginAnalysisResponse>;
|
|
2332
2401
|
/**
|
|
2333
2402
|
* PostEmonTryAlarmRule
|
|
2334
2403
|
*
|
|
@@ -2379,6 +2448,24 @@ export default class Client extends OpenApi {
|
|
|
2379
2448
|
* @returns ReinstallCollectorResponse
|
|
2380
2449
|
*/
|
|
2381
2450
|
reinstallCollector(ResId: string, request: $_model.ReinstallCollectorRequest): Promise<$_model.ReinstallCollectorResponse>;
|
|
2451
|
+
/**
|
|
2452
|
+
* 从插件库中删除插件,区别于卸载插件
|
|
2453
|
+
*
|
|
2454
|
+
* @param request - RemovePluginRequest
|
|
2455
|
+
* @param headers - map
|
|
2456
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2457
|
+
* @returns RemovePluginResponse
|
|
2458
|
+
*/
|
|
2459
|
+
removePluginWithOptions(instanceId: string, request: $_model.RemovePluginRequest, headers: {
|
|
2460
|
+
[key: string]: string;
|
|
2461
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RemovePluginResponse>;
|
|
2462
|
+
/**
|
|
2463
|
+
* 从插件库中删除插件,区别于卸载插件
|
|
2464
|
+
*
|
|
2465
|
+
* @param request - RemovePluginRequest
|
|
2466
|
+
* @returns RemovePluginResponse
|
|
2467
|
+
*/
|
|
2468
|
+
removePlugin(instanceId: string, request: $_model.RemovePluginRequest): Promise<$_model.RemovePluginResponse>;
|
|
2382
2469
|
/**
|
|
2383
2470
|
* Call RenewInstance to renew a subscription instance.
|
|
2384
2471
|
*
|
|
@@ -3061,6 +3148,24 @@ export default class Client extends OpenApi {
|
|
|
3061
3148
|
* @returns UpdateExtendfilesResponse
|
|
3062
3149
|
*/
|
|
3063
3150
|
updateExtendfiles(InstanceId: string, request: $_model.UpdateExtendfilesRequest): Promise<$_model.UpdateExtendfilesResponse>;
|
|
3151
|
+
/**
|
|
3152
|
+
* 修改FalconSeek配置
|
|
3153
|
+
*
|
|
3154
|
+
* @param request - UpdateFalconSeekRequest
|
|
3155
|
+
* @param headers - map
|
|
3156
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3157
|
+
* @returns UpdateFalconSeekResponse
|
|
3158
|
+
*/
|
|
3159
|
+
updateFalconSeekWithOptions(InstanceId: string, request: $_model.UpdateFalconSeekRequest, headers: {
|
|
3160
|
+
[key: string]: string;
|
|
3161
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFalconSeekResponse>;
|
|
3162
|
+
/**
|
|
3163
|
+
* 修改FalconSeek配置
|
|
3164
|
+
*
|
|
3165
|
+
* @param request - UpdateFalconSeekRequest
|
|
3166
|
+
* @returns UpdateFalconSeekResponse
|
|
3167
|
+
*/
|
|
3168
|
+
updateFalconSeek(InstanceId: string, request: $_model.UpdateFalconSeekRequest): Promise<$_model.UpdateFalconSeekResponse>;
|
|
3064
3169
|
/**
|
|
3065
3170
|
* null
|
|
3066
3171
|
*
|
|
@@ -3193,6 +3298,24 @@ export default class Client extends OpenApi {
|
|
|
3193
3298
|
* @returns UpdateInstanceSettingsResponse
|
|
3194
3299
|
*/
|
|
3195
3300
|
updateInstanceSettings(InstanceId: string, request: $_model.UpdateInstanceSettingsRequest): Promise<$_model.UpdateInstanceSettingsResponse>;
|
|
3301
|
+
/**
|
|
3302
|
+
* 更新keystore
|
|
3303
|
+
*
|
|
3304
|
+
* @param request - UpdateKeystoresRequest
|
|
3305
|
+
* @param headers - map
|
|
3306
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3307
|
+
* @returns UpdateKeystoresResponse
|
|
3308
|
+
*/
|
|
3309
|
+
updateKeystoresWithOptions(InstanceId: string, request: $_model.UpdateKeystoresRequest, headers: {
|
|
3310
|
+
[key: string]: string;
|
|
3311
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKeystoresResponse>;
|
|
3312
|
+
/**
|
|
3313
|
+
* 更新keystore
|
|
3314
|
+
*
|
|
3315
|
+
* @param request - UpdateKeystoresRequest
|
|
3316
|
+
* @returns UpdateKeystoresResponse
|
|
3317
|
+
*/
|
|
3318
|
+
updateKeystores(InstanceId: string, request: $_model.UpdateKeystoresRequest): Promise<$_model.UpdateKeystoresResponse>;
|
|
3196
3319
|
/**
|
|
3197
3320
|
* 更新kibana私网链接
|
|
3198
3321
|
*
|
|
@@ -3229,6 +3352,24 @@ export default class Client extends OpenApi {
|
|
|
3229
3352
|
* @returns UpdateKibanaSettingsResponse
|
|
3230
3353
|
*/
|
|
3231
3354
|
updateKibanaSettings(InstanceId: string, request: $_model.UpdateKibanaSettingsRequest): Promise<$_model.UpdateKibanaSettingsResponse>;
|
|
3355
|
+
/**
|
|
3356
|
+
* UpdateKibanaSso
|
|
3357
|
+
*
|
|
3358
|
+
* @param request - UpdateKibanaSsoRequest
|
|
3359
|
+
* @param headers - map
|
|
3360
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3361
|
+
* @returns UpdateKibanaSsoResponse
|
|
3362
|
+
*/
|
|
3363
|
+
updateKibanaSsoWithOptions(InstanceId: string, request: $_model.UpdateKibanaSsoRequest, headers: {
|
|
3364
|
+
[key: string]: string;
|
|
3365
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKibanaSsoResponse>;
|
|
3366
|
+
/**
|
|
3367
|
+
* UpdateKibanaSso
|
|
3368
|
+
*
|
|
3369
|
+
* @param request - UpdateKibanaSsoRequest
|
|
3370
|
+
* @returns UpdateKibanaSsoResponse
|
|
3371
|
+
*/
|
|
3372
|
+
updateKibanaSso(InstanceId: string, request: $_model.UpdateKibanaSsoRequest): Promise<$_model.UpdateKibanaSsoResponse>;
|
|
3232
3373
|
/**
|
|
3233
3374
|
* Updates an IP address whitelist for access to the Kibana console of a specified Elasticsearch cluster.
|
|
3234
3375
|
*
|
|
@@ -3601,6 +3742,21 @@ export default class Client extends OpenApi {
|
|
|
3601
3742
|
* @returns UpgradeEngineVersionResponse
|
|
3602
3743
|
*/
|
|
3603
3744
|
upgradeEngineVersion(InstanceId: string, request: $_model.UpgradeEngineVersionRequest): Promise<$_model.UpgradeEngineVersionResponse>;
|
|
3745
|
+
/**
|
|
3746
|
+
* 查询是否有可升级的小版本
|
|
3747
|
+
*
|
|
3748
|
+
* @param headers - map
|
|
3749
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3750
|
+
* @returns UpgradeInfoResponse
|
|
3751
|
+
*/
|
|
3752
|
+
upgradeInfoWithOptions(instanceId: string, headers: {
|
|
3753
|
+
[key: string]: string;
|
|
3754
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeInfoResponse>;
|
|
3755
|
+
/**
|
|
3756
|
+
* 查询是否有可升级的小版本
|
|
3757
|
+
* @returns UpgradeInfoResponse
|
|
3758
|
+
*/
|
|
3759
|
+
upgradeInfo(instanceId: string): Promise<$_model.UpgradeInfoResponse>;
|
|
3604
3760
|
/**
|
|
3605
3761
|
* Tests the connectivity between a Logstash cluster and its associated Elasticsearch cluster when you configure the X-Pack Monitoring feature for the Logstash cluster.
|
|
3606
3762
|
*
|
package/dist/client.js
CHANGED
|
@@ -2726,6 +2726,39 @@ class Client extends openapi_core_1.default {
|
|
|
2726
2726
|
let headers = {};
|
|
2727
2727
|
return await this.getEmonMonitorDataWithOptions(ProjectId, request, headers, runtime);
|
|
2728
2728
|
}
|
|
2729
|
+
/**
|
|
2730
|
+
* 获取keystore信息
|
|
2731
|
+
*
|
|
2732
|
+
* @param headers - map
|
|
2733
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2734
|
+
* @returns GetKeystoresResponse
|
|
2735
|
+
*/
|
|
2736
|
+
async getKeystoresWithOptions(InstanceId, headers, runtime) {
|
|
2737
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2738
|
+
headers: headers,
|
|
2739
|
+
});
|
|
2740
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2741
|
+
action: "GetKeystores",
|
|
2742
|
+
version: "2017-06-13",
|
|
2743
|
+
protocol: "HTTPS",
|
|
2744
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(InstanceId)}/keystores`,
|
|
2745
|
+
method: "GET",
|
|
2746
|
+
authType: "AK",
|
|
2747
|
+
style: "ROA",
|
|
2748
|
+
reqBodyType: "json",
|
|
2749
|
+
bodyType: "json",
|
|
2750
|
+
});
|
|
2751
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetKeystoresResponse({}));
|
|
2752
|
+
}
|
|
2753
|
+
/**
|
|
2754
|
+
* 获取keystore信息
|
|
2755
|
+
* @returns GetKeystoresResponse
|
|
2756
|
+
*/
|
|
2757
|
+
async getKeystores(InstanceId) {
|
|
2758
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2759
|
+
let headers = {};
|
|
2760
|
+
return await this.getKeystoresWithOptions(InstanceId, headers, runtime);
|
|
2761
|
+
}
|
|
2729
2762
|
/**
|
|
2730
2763
|
* View the storage capacity and usage of the OpensStore instance.
|
|
2731
2764
|
*
|
|
@@ -2969,6 +3002,60 @@ class Client extends openapi_core_1.default {
|
|
|
2969
3002
|
let headers = {};
|
|
2970
3003
|
return await this.grayPublishWithOptions(InstanceId, request, headers, runtime);
|
|
2971
3004
|
}
|
|
3005
|
+
/**
|
|
3006
|
+
* 初始化ai模型
|
|
3007
|
+
*
|
|
3008
|
+
* @param request - InitModelRequest
|
|
3009
|
+
* @param headers - map
|
|
3010
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3011
|
+
* @returns InitModelResponse
|
|
3012
|
+
*/
|
|
3013
|
+
async initModelWithOptions(InstanceId, request, headers, runtime) {
|
|
3014
|
+
request.validate();
|
|
3015
|
+
let body = {};
|
|
3016
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
3017
|
+
body["api_key"] = request.apiKey;
|
|
3018
|
+
}
|
|
3019
|
+
if (!$dara.isNull(request.host)) {
|
|
3020
|
+
body["host"] = request.host;
|
|
3021
|
+
}
|
|
3022
|
+
if (!$dara.isNull(request.httpSchema)) {
|
|
3023
|
+
body["http_schema"] = request.httpSchema;
|
|
3024
|
+
}
|
|
3025
|
+
if (!$dara.isNull(request.models)) {
|
|
3026
|
+
body["models"] = request.models;
|
|
3027
|
+
}
|
|
3028
|
+
if (!$dara.isNull(request.workspace)) {
|
|
3029
|
+
body["workspace"] = request.workspace;
|
|
3030
|
+
}
|
|
3031
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3032
|
+
headers: headers,
|
|
3033
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3034
|
+
});
|
|
3035
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3036
|
+
action: "InitModel",
|
|
3037
|
+
version: "2017-06-13",
|
|
3038
|
+
protocol: "HTTPS",
|
|
3039
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(InstanceId)}/initModel`,
|
|
3040
|
+
method: "POST",
|
|
3041
|
+
authType: "AK",
|
|
3042
|
+
style: "ROA",
|
|
3043
|
+
reqBodyType: "json",
|
|
3044
|
+
bodyType: "json",
|
|
3045
|
+
});
|
|
3046
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InitModelResponse({}));
|
|
3047
|
+
}
|
|
3048
|
+
/**
|
|
3049
|
+
* 初始化ai模型
|
|
3050
|
+
*
|
|
3051
|
+
* @param request - InitModelRequest
|
|
3052
|
+
* @returns InitModelResponse
|
|
3053
|
+
*/
|
|
3054
|
+
async initModel(InstanceId, request) {
|
|
3055
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3056
|
+
let headers = {};
|
|
3057
|
+
return await this.initModelWithOptions(InstanceId, request, headers, runtime);
|
|
3058
|
+
}
|
|
2972
3059
|
/**
|
|
2973
3060
|
* Creates a service-linked role.
|
|
2974
3061
|
*
|
|
@@ -5396,6 +5483,54 @@ class Client extends openapi_core_1.default {
|
|
|
5396
5483
|
let headers = {};
|
|
5397
5484
|
return await this.listTagsWithOptions(request, headers, runtime);
|
|
5398
5485
|
}
|
|
5486
|
+
/**
|
|
5487
|
+
* 用户自定义插件列表
|
|
5488
|
+
*
|
|
5489
|
+
* @param request - ListUserPluginRequest
|
|
5490
|
+
* @param headers - map
|
|
5491
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5492
|
+
* @returns ListUserPluginResponse
|
|
5493
|
+
*/
|
|
5494
|
+
async listUserPluginWithOptions(instanceId, request, headers, runtime) {
|
|
5495
|
+
request.validate();
|
|
5496
|
+
let query = {};
|
|
5497
|
+
if (!$dara.isNull(request.name)) {
|
|
5498
|
+
query["name"] = request.name;
|
|
5499
|
+
}
|
|
5500
|
+
if (!$dara.isNull(request.page)) {
|
|
5501
|
+
query["page"] = request.page;
|
|
5502
|
+
}
|
|
5503
|
+
if (!$dara.isNull(request.size)) {
|
|
5504
|
+
query["size"] = request.size;
|
|
5505
|
+
}
|
|
5506
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5507
|
+
headers: headers,
|
|
5508
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5509
|
+
});
|
|
5510
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5511
|
+
action: "ListUserPlugin",
|
|
5512
|
+
version: "2017-06-13",
|
|
5513
|
+
protocol: "HTTPS",
|
|
5514
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(instanceId)}/userPlugins`,
|
|
5515
|
+
method: "GET",
|
|
5516
|
+
authType: "AK",
|
|
5517
|
+
style: "ROA",
|
|
5518
|
+
reqBodyType: "json",
|
|
5519
|
+
bodyType: "json",
|
|
5520
|
+
});
|
|
5521
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUserPluginResponse({}));
|
|
5522
|
+
}
|
|
5523
|
+
/**
|
|
5524
|
+
* 用户自定义插件列表
|
|
5525
|
+
*
|
|
5526
|
+
* @param request - ListUserPluginRequest
|
|
5527
|
+
* @returns ListUserPluginResponse
|
|
5528
|
+
*/
|
|
5529
|
+
async listUserPlugin(instanceId, request) {
|
|
5530
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5531
|
+
let headers = {};
|
|
5532
|
+
return await this.listUserPluginWithOptions(instanceId, request, headers, runtime);
|
|
5533
|
+
}
|
|
5399
5534
|
/**
|
|
5400
5535
|
* Queries the statuses of endpoints in the virtual private cloud (VPC) within the Elasticsearch service account.
|
|
5401
5536
|
*
|
|
@@ -5870,6 +6005,49 @@ class Client extends openapi_core_1.default {
|
|
|
5870
6005
|
let headers = {};
|
|
5871
6006
|
return await this.openHttpsWithOptions(InstanceId, request, headers, runtime);
|
|
5872
6007
|
}
|
|
6008
|
+
/**
|
|
6009
|
+
* 自定义插件解析&上传接口
|
|
6010
|
+
*
|
|
6011
|
+
* @param request - PluginAnalysisRequest
|
|
6012
|
+
* @param headers - map
|
|
6013
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6014
|
+
* @returns PluginAnalysisResponse
|
|
6015
|
+
*/
|
|
6016
|
+
async pluginAnalysisWithOptions(instanceId, request, headers, runtime) {
|
|
6017
|
+
request.validate();
|
|
6018
|
+
let query = {};
|
|
6019
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
6020
|
+
query["dryRun"] = request.dryRun;
|
|
6021
|
+
}
|
|
6022
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6023
|
+
headers: headers,
|
|
6024
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6025
|
+
body: request.body,
|
|
6026
|
+
});
|
|
6027
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6028
|
+
action: "PluginAnalysis",
|
|
6029
|
+
version: "2017-06-13",
|
|
6030
|
+
protocol: "HTTPS",
|
|
6031
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(instanceId)}/plugins/actions/analysis`,
|
|
6032
|
+
method: "POST",
|
|
6033
|
+
authType: "AK",
|
|
6034
|
+
style: "ROA",
|
|
6035
|
+
reqBodyType: "json",
|
|
6036
|
+
bodyType: "json",
|
|
6037
|
+
});
|
|
6038
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PluginAnalysisResponse({}));
|
|
6039
|
+
}
|
|
6040
|
+
/**
|
|
6041
|
+
* 自定义插件解析&上传接口
|
|
6042
|
+
*
|
|
6043
|
+
* @param request - PluginAnalysisRequest
|
|
6044
|
+
* @returns PluginAnalysisResponse
|
|
6045
|
+
*/
|
|
6046
|
+
async pluginAnalysis(instanceId, request) {
|
|
6047
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6048
|
+
let headers = {};
|
|
6049
|
+
return await this.pluginAnalysisWithOptions(instanceId, request, headers, runtime);
|
|
6050
|
+
}
|
|
5873
6051
|
/**
|
|
5874
6052
|
* PostEmonTryAlarmRule
|
|
5875
6053
|
*
|
|
@@ -5993,6 +6171,44 @@ class Client extends openapi_core_1.default {
|
|
|
5993
6171
|
let headers = {};
|
|
5994
6172
|
return await this.reinstallCollectorWithOptions(ResId, request, headers, runtime);
|
|
5995
6173
|
}
|
|
6174
|
+
/**
|
|
6175
|
+
* 从插件库中删除插件,区别于卸载插件
|
|
6176
|
+
*
|
|
6177
|
+
* @param request - RemovePluginRequest
|
|
6178
|
+
* @param headers - map
|
|
6179
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6180
|
+
* @returns RemovePluginResponse
|
|
6181
|
+
*/
|
|
6182
|
+
async removePluginWithOptions(instanceId, request, headers, runtime) {
|
|
6183
|
+
request.validate();
|
|
6184
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6185
|
+
headers: headers,
|
|
6186
|
+
body: request.body,
|
|
6187
|
+
});
|
|
6188
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6189
|
+
action: "RemovePlugin",
|
|
6190
|
+
version: "2017-06-13",
|
|
6191
|
+
protocol: "HTTPS",
|
|
6192
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(instanceId)}/plugins/actions/remove`,
|
|
6193
|
+
method: "POST",
|
|
6194
|
+
authType: "AK",
|
|
6195
|
+
style: "ROA",
|
|
6196
|
+
reqBodyType: "json",
|
|
6197
|
+
bodyType: "json",
|
|
6198
|
+
});
|
|
6199
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemovePluginResponse({}));
|
|
6200
|
+
}
|
|
6201
|
+
/**
|
|
6202
|
+
* 从插件库中删除插件,区别于卸载插件
|
|
6203
|
+
*
|
|
6204
|
+
* @param request - RemovePluginRequest
|
|
6205
|
+
* @returns RemovePluginResponse
|
|
6206
|
+
*/
|
|
6207
|
+
async removePlugin(instanceId, request) {
|
|
6208
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6209
|
+
let headers = {};
|
|
6210
|
+
return await this.removePluginWithOptions(instanceId, request, headers, runtime);
|
|
6211
|
+
}
|
|
5996
6212
|
/**
|
|
5997
6213
|
* Call RenewInstance to renew a subscription instance.
|
|
5998
6214
|
*
|
|
@@ -7624,6 +7840,48 @@ class Client extends openapi_core_1.default {
|
|
|
7624
7840
|
let headers = {};
|
|
7625
7841
|
return await this.updateExtendfilesWithOptions(InstanceId, request, headers, runtime);
|
|
7626
7842
|
}
|
|
7843
|
+
/**
|
|
7844
|
+
* 修改FalconSeek配置
|
|
7845
|
+
*
|
|
7846
|
+
* @param request - UpdateFalconSeekRequest
|
|
7847
|
+
* @param headers - map
|
|
7848
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7849
|
+
* @returns UpdateFalconSeekResponse
|
|
7850
|
+
*/
|
|
7851
|
+
async updateFalconSeekWithOptions(InstanceId, request, headers, runtime) {
|
|
7852
|
+
request.validate();
|
|
7853
|
+
let query = {};
|
|
7854
|
+
if (!$dara.isNull(request.enable)) {
|
|
7855
|
+
query["enable"] = request.enable;
|
|
7856
|
+
}
|
|
7857
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7858
|
+
headers: headers,
|
|
7859
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7860
|
+
});
|
|
7861
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7862
|
+
action: "UpdateFalconSeek",
|
|
7863
|
+
version: "2017-06-13",
|
|
7864
|
+
protocol: "HTTPS",
|
|
7865
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(InstanceId)}/falconseek`,
|
|
7866
|
+
method: "POST",
|
|
7867
|
+
authType: "AK",
|
|
7868
|
+
style: "ROA",
|
|
7869
|
+
reqBodyType: "json",
|
|
7870
|
+
bodyType: "json",
|
|
7871
|
+
});
|
|
7872
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFalconSeekResponse({}));
|
|
7873
|
+
}
|
|
7874
|
+
/**
|
|
7875
|
+
* 修改FalconSeek配置
|
|
7876
|
+
*
|
|
7877
|
+
* @param request - UpdateFalconSeekRequest
|
|
7878
|
+
* @returns UpdateFalconSeekResponse
|
|
7879
|
+
*/
|
|
7880
|
+
async updateFalconSeek(InstanceId, request) {
|
|
7881
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7882
|
+
let headers = {};
|
|
7883
|
+
return await this.updateFalconSeekWithOptions(InstanceId, request, headers, runtime);
|
|
7884
|
+
}
|
|
7627
7885
|
/**
|
|
7628
7886
|
* null
|
|
7629
7887
|
*
|
|
@@ -7957,6 +8215,56 @@ class Client extends openapi_core_1.default {
|
|
|
7957
8215
|
let headers = {};
|
|
7958
8216
|
return await this.updateInstanceSettingsWithOptions(InstanceId, request, headers, runtime);
|
|
7959
8217
|
}
|
|
8218
|
+
/**
|
|
8219
|
+
* 更新keystore
|
|
8220
|
+
*
|
|
8221
|
+
* @param request - UpdateKeystoresRequest
|
|
8222
|
+
* @param headers - map
|
|
8223
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8224
|
+
* @returns UpdateKeystoresResponse
|
|
8225
|
+
*/
|
|
8226
|
+
async updateKeystoresWithOptions(InstanceId, request, headers, runtime) {
|
|
8227
|
+
request.validate();
|
|
8228
|
+
let query = {};
|
|
8229
|
+
if (!$dara.isNull(request.force)) {
|
|
8230
|
+
query["force"] = request.force;
|
|
8231
|
+
}
|
|
8232
|
+
let body = {};
|
|
8233
|
+
if (!$dara.isNull(request.remove)) {
|
|
8234
|
+
body["remove"] = request.remove;
|
|
8235
|
+
}
|
|
8236
|
+
if (!$dara.isNull(request.update)) {
|
|
8237
|
+
body["update"] = request.update;
|
|
8238
|
+
}
|
|
8239
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8240
|
+
headers: headers,
|
|
8241
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8242
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
8243
|
+
});
|
|
8244
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8245
|
+
action: "UpdateKeystores",
|
|
8246
|
+
version: "2017-06-13",
|
|
8247
|
+
protocol: "HTTPS",
|
|
8248
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(InstanceId)}/keystores`,
|
|
8249
|
+
method: "POST",
|
|
8250
|
+
authType: "AK",
|
|
8251
|
+
style: "ROA",
|
|
8252
|
+
reqBodyType: "json",
|
|
8253
|
+
bodyType: "json",
|
|
8254
|
+
});
|
|
8255
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKeystoresResponse({}));
|
|
8256
|
+
}
|
|
8257
|
+
/**
|
|
8258
|
+
* 更新keystore
|
|
8259
|
+
*
|
|
8260
|
+
* @param request - UpdateKeystoresRequest
|
|
8261
|
+
* @returns UpdateKeystoresResponse
|
|
8262
|
+
*/
|
|
8263
|
+
async updateKeystores(InstanceId, request) {
|
|
8264
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8265
|
+
let headers = {};
|
|
8266
|
+
return await this.updateKeystoresWithOptions(InstanceId, request, headers, runtime);
|
|
8267
|
+
}
|
|
7960
8268
|
/**
|
|
7961
8269
|
* 更新kibana私网链接
|
|
7962
8270
|
*
|
|
@@ -8053,6 +8361,51 @@ class Client extends openapi_core_1.default {
|
|
|
8053
8361
|
let headers = {};
|
|
8054
8362
|
return await this.updateKibanaSettingsWithOptions(InstanceId, request, headers, runtime);
|
|
8055
8363
|
}
|
|
8364
|
+
/**
|
|
8365
|
+
* UpdateKibanaSso
|
|
8366
|
+
*
|
|
8367
|
+
* @param request - UpdateKibanaSsoRequest
|
|
8368
|
+
* @param headers - map
|
|
8369
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8370
|
+
* @returns UpdateKibanaSsoResponse
|
|
8371
|
+
*/
|
|
8372
|
+
async updateKibanaSsoWithOptions(InstanceId, request, headers, runtime) {
|
|
8373
|
+
request.validate();
|
|
8374
|
+
let query = {};
|
|
8375
|
+
if (!$dara.isNull(request.enable)) {
|
|
8376
|
+
query["enable"] = request.enable;
|
|
8377
|
+
}
|
|
8378
|
+
if (!$dara.isNull(request.networkType)) {
|
|
8379
|
+
query["networkType"] = request.networkType;
|
|
8380
|
+
}
|
|
8381
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8382
|
+
headers: headers,
|
|
8383
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8384
|
+
});
|
|
8385
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8386
|
+
action: "UpdateKibanaSso",
|
|
8387
|
+
version: "2017-06-13",
|
|
8388
|
+
protocol: "HTTPS",
|
|
8389
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(InstanceId)}/actions/kibana-sso`,
|
|
8390
|
+
method: "POST",
|
|
8391
|
+
authType: "AK",
|
|
8392
|
+
style: "ROA",
|
|
8393
|
+
reqBodyType: "json",
|
|
8394
|
+
bodyType: "json",
|
|
8395
|
+
});
|
|
8396
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKibanaSsoResponse({}));
|
|
8397
|
+
}
|
|
8398
|
+
/**
|
|
8399
|
+
* UpdateKibanaSso
|
|
8400
|
+
*
|
|
8401
|
+
* @param request - UpdateKibanaSsoRequest
|
|
8402
|
+
* @returns UpdateKibanaSsoResponse
|
|
8403
|
+
*/
|
|
8404
|
+
async updateKibanaSso(InstanceId, request) {
|
|
8405
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8406
|
+
let headers = {};
|
|
8407
|
+
return await this.updateKibanaSsoWithOptions(InstanceId, request, headers, runtime);
|
|
8408
|
+
}
|
|
8056
8409
|
/**
|
|
8057
8410
|
* Updates an IP address whitelist for access to the Kibana console of a specified Elasticsearch cluster.
|
|
8058
8411
|
*
|
|
@@ -8933,6 +9286,39 @@ class Client extends openapi_core_1.default {
|
|
|
8933
9286
|
let headers = {};
|
|
8934
9287
|
return await this.upgradeEngineVersionWithOptions(InstanceId, request, headers, runtime);
|
|
8935
9288
|
}
|
|
9289
|
+
/**
|
|
9290
|
+
* 查询是否有可升级的小版本
|
|
9291
|
+
*
|
|
9292
|
+
* @param headers - map
|
|
9293
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9294
|
+
* @returns UpgradeInfoResponse
|
|
9295
|
+
*/
|
|
9296
|
+
async upgradeInfoWithOptions(instanceId, headers, runtime) {
|
|
9297
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9298
|
+
headers: headers,
|
|
9299
|
+
});
|
|
9300
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9301
|
+
action: "UpgradeInfo",
|
|
9302
|
+
version: "2017-06-13",
|
|
9303
|
+
protocol: "HTTPS",
|
|
9304
|
+
pathname: `/openapi/instances/${$dara.URL.percentEncode(instanceId)}/upgradeInfo`,
|
|
9305
|
+
method: "GET",
|
|
9306
|
+
authType: "AK",
|
|
9307
|
+
style: "ROA",
|
|
9308
|
+
reqBodyType: "json",
|
|
9309
|
+
bodyType: "json",
|
|
9310
|
+
});
|
|
9311
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeInfoResponse({}));
|
|
9312
|
+
}
|
|
9313
|
+
/**
|
|
9314
|
+
* 查询是否有可升级的小版本
|
|
9315
|
+
* @returns UpgradeInfoResponse
|
|
9316
|
+
*/
|
|
9317
|
+
async upgradeInfo(instanceId) {
|
|
9318
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9319
|
+
let headers = {};
|
|
9320
|
+
return await this.upgradeInfoWithOptions(instanceId, headers, runtime);
|
|
9321
|
+
}
|
|
8936
9322
|
/**
|
|
8937
9323
|
* Tests the connectivity between a Logstash cluster and its associated Elasticsearch cluster when you configure the X-Pack Monitoring feature for the Logstash cluster.
|
|
8938
9324
|
*
|