@alicloud/elasticsearch20170613 4.1.0 → 4.2.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 +54 -0
- package/dist/client.js +150 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeLogstashResponseBody.d.ts +1 -0
- package/dist/models/DescribeLogstashResponseBody.js +2 -0
- package/dist/models/DescribeLogstashResponseBody.js.map +1 -1
- package/dist/models/ListEventRecordsRequest.d.ts +43 -0
- package/dist/models/ListEventRecordsRequest.js +68 -0
- package/dist/models/ListEventRecordsRequest.js.map +1 -0
- package/dist/models/ListEventRecordsResponse.d.ts +19 -0
- package/dist/models/ListEventRecordsResponse.js +69 -0
- package/dist/models/ListEventRecordsResponse.js.map +1 -0
- package/dist/models/ListEventRecordsResponseBody.d.ts +176 -0
- package/dist/models/ListEventRecordsResponseBody.js +193 -0
- package/dist/models/ListEventRecordsResponseBody.js.map +1 -0
- package/dist/models/ListLogstashResponseBody.d.ts +5 -0
- package/dist/models/ListLogstashResponseBody.js +2 -0
- package/dist/models/ListLogstashResponseBody.js.map +1 -1
- package/dist/models/ListStatsEventRecordsRequest.d.ts +28 -0
- package/dist/models/ListStatsEventRecordsRequest.js +62 -0
- package/dist/models/ListStatsEventRecordsRequest.js.map +1 -0
- package/dist/models/ListStatsEventRecordsResponse.d.ts +19 -0
- package/dist/models/ListStatsEventRecordsResponse.js +69 -0
- package/dist/models/ListStatsEventRecordsResponse.js.map +1 -0
- package/dist/models/ListStatsEventRecordsResponseBody.d.ts +69 -0
- package/dist/models/ListStatsEventRecordsResponseBody.js +112 -0
- package/dist/models/ListStatsEventRecordsResponseBody.js.map +1 -0
- package/dist/models/ModifyScheduleExecuteTimeRequest.d.ts +23 -0
- package/dist/models/ModifyScheduleExecuteTimeRequest.js +60 -0
- package/dist/models/ModifyScheduleExecuteTimeRequest.js.map +1 -0
- package/dist/models/ModifyScheduleExecuteTimeResponse.d.ts +19 -0
- package/dist/models/ModifyScheduleExecuteTimeResponse.js +69 -0
- package/dist/models/ModifyScheduleExecuteTimeResponse.js.map +1 -0
- package/dist/models/ModifyScheduleExecuteTimeResponseBody.d.ts +26 -0
- package/dist/models/ModifyScheduleExecuteTimeResponseBody.js +60 -0
- package/dist/models/ModifyScheduleExecuteTimeResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +45 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +167 -0
- package/src/models/DescribeLogstashResponseBody.ts +3 -0
- package/src/models/ListEventRecordsRequest.ts +66 -0
- package/src/models/ListEventRecordsResponse.ts +40 -0
- package/src/models/ListEventRecordsResponseBody.ts +288 -0
- package/src/models/ListLogstashResponseBody.ts +7 -0
- package/src/models/ListStatsEventRecordsRequest.ts +45 -0
- package/src/models/ListStatsEventRecordsResponse.ts +40 -0
- package/src/models/ListStatsEventRecordsResponseBody.ts +118 -0
- package/src/models/ModifyScheduleExecuteTimeRequest.ts +38 -0
- package/src/models/ModifyScheduleExecuteTimeResponse.ts +40 -0
- package/src/models/ModifyScheduleExecuteTimeResponseBody.ts +41 -0
- package/src/models/model.ts +15 -0
package/src/client.ts
CHANGED
|
@@ -4603,6 +4603,71 @@ export default class Client extends OpenApi {
|
|
|
4603
4603
|
return await this.listEcsInstancesWithOptions(request, headers, runtime);
|
|
4604
4604
|
}
|
|
4605
4605
|
|
|
4606
|
+
/**
|
|
4607
|
+
* 获取事件列表
|
|
4608
|
+
*
|
|
4609
|
+
* @param request - ListEventRecordsRequest
|
|
4610
|
+
* @param headers - map
|
|
4611
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4612
|
+
* @returns ListEventRecordsResponse
|
|
4613
|
+
*/
|
|
4614
|
+
async listEventRecordsWithOptions(eventType: string, request: $_model.ListEventRecordsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListEventRecordsResponse> {
|
|
4615
|
+
request.validate();
|
|
4616
|
+
let query : {[key: string ]: any} = { };
|
|
4617
|
+
if (!$dara.isNull(request.beginTime)) {
|
|
4618
|
+
query["beginTime"] = request.beginTime;
|
|
4619
|
+
}
|
|
4620
|
+
|
|
4621
|
+
if (!$dara.isNull(request.endTime)) {
|
|
4622
|
+
query["endTime"] = request.endTime;
|
|
4623
|
+
}
|
|
4624
|
+
|
|
4625
|
+
if (!$dara.isNull(request.page)) {
|
|
4626
|
+
query["page"] = request.page;
|
|
4627
|
+
}
|
|
4628
|
+
|
|
4629
|
+
if (!$dara.isNull(request.size)) {
|
|
4630
|
+
query["size"] = request.size;
|
|
4631
|
+
}
|
|
4632
|
+
|
|
4633
|
+
if (!$dara.isNull(request.termContent)) {
|
|
4634
|
+
query["termContent"] = request.termContent;
|
|
4635
|
+
}
|
|
4636
|
+
|
|
4637
|
+
if (!$dara.isNull(request.termType)) {
|
|
4638
|
+
query["termType"] = request.termType;
|
|
4639
|
+
}
|
|
4640
|
+
|
|
4641
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4642
|
+
headers: headers,
|
|
4643
|
+
query: OpenApiUtil.query(query),
|
|
4644
|
+
});
|
|
4645
|
+
let params = new $OpenApiUtil.Params({
|
|
4646
|
+
action: "ListEventRecords",
|
|
4647
|
+
version: "2017-06-13",
|
|
4648
|
+
protocol: "HTTPS",
|
|
4649
|
+
pathname: `/openapi/${$dara.URL.percentEncode(eventType)}/listEventRecords`,
|
|
4650
|
+
method: "GET",
|
|
4651
|
+
authType: "AK",
|
|
4652
|
+
style: "ROA",
|
|
4653
|
+
reqBodyType: "json",
|
|
4654
|
+
bodyType: "json",
|
|
4655
|
+
});
|
|
4656
|
+
return $dara.cast<$_model.ListEventRecordsResponse>(await this.callApi(params, req, runtime), new $_model.ListEventRecordsResponse({}));
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
/**
|
|
4660
|
+
* 获取事件列表
|
|
4661
|
+
*
|
|
4662
|
+
* @param request - ListEventRecordsRequest
|
|
4663
|
+
* @returns ListEventRecordsResponse
|
|
4664
|
+
*/
|
|
4665
|
+
async listEventRecords(eventType: string, request: $_model.ListEventRecordsRequest): Promise<$_model.ListEventRecordsResponse> {
|
|
4666
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4667
|
+
let headers : {[key: string ]: string} = { };
|
|
4668
|
+
return await this.listEventRecordsWithOptions(eventType, request, headers, runtime);
|
|
4669
|
+
}
|
|
4670
|
+
|
|
4606
4671
|
/**
|
|
4607
4672
|
* Queries the extended file configuration of a Logstash instance.
|
|
4608
4673
|
*
|
|
@@ -5627,6 +5692,59 @@ export default class Client extends OpenApi {
|
|
|
5627
5692
|
return await this.listSnapshotReposByInstanceIdWithOptions(InstanceId, headers, runtime);
|
|
5628
5693
|
}
|
|
5629
5694
|
|
|
5695
|
+
/**
|
|
5696
|
+
* 统计事件记录
|
|
5697
|
+
*
|
|
5698
|
+
* @param request - ListStatsEventRecordsRequest
|
|
5699
|
+
* @param headers - map
|
|
5700
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5701
|
+
* @returns ListStatsEventRecordsResponse
|
|
5702
|
+
*/
|
|
5703
|
+
async listStatsEventRecordsWithOptions(request: $_model.ListStatsEventRecordsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListStatsEventRecordsResponse> {
|
|
5704
|
+
request.validate();
|
|
5705
|
+
let query : {[key: string ]: any} = { };
|
|
5706
|
+
if (!$dara.isNull(request.eventType)) {
|
|
5707
|
+
query["eventType"] = request.eventType;
|
|
5708
|
+
}
|
|
5709
|
+
|
|
5710
|
+
if (!$dara.isNull(request.level)) {
|
|
5711
|
+
query["level"] = request.level;
|
|
5712
|
+
}
|
|
5713
|
+
|
|
5714
|
+
if (!$dara.isNull(request.status)) {
|
|
5715
|
+
query["status"] = request.status;
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5719
|
+
headers: headers,
|
|
5720
|
+
query: OpenApiUtil.query(query),
|
|
5721
|
+
});
|
|
5722
|
+
let params = new $OpenApiUtil.Params({
|
|
5723
|
+
action: "ListStatsEventRecords",
|
|
5724
|
+
version: "2017-06-13",
|
|
5725
|
+
protocol: "HTTPS",
|
|
5726
|
+
pathname: `/openapi/event/statsEventRecords`,
|
|
5727
|
+
method: "GET",
|
|
5728
|
+
authType: "AK",
|
|
5729
|
+
style: "ROA",
|
|
5730
|
+
reqBodyType: "json",
|
|
5731
|
+
bodyType: "json",
|
|
5732
|
+
});
|
|
5733
|
+
return $dara.cast<$_model.ListStatsEventRecordsResponse>(await this.callApi(params, req, runtime), new $_model.ListStatsEventRecordsResponse({}));
|
|
5734
|
+
}
|
|
5735
|
+
|
|
5736
|
+
/**
|
|
5737
|
+
* 统计事件记录
|
|
5738
|
+
*
|
|
5739
|
+
* @param request - ListStatsEventRecordsRequest
|
|
5740
|
+
* @returns ListStatsEventRecordsResponse
|
|
5741
|
+
*/
|
|
5742
|
+
async listStatsEventRecords(request: $_model.ListStatsEventRecordsRequest): Promise<$_model.ListStatsEventRecordsResponse> {
|
|
5743
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5744
|
+
let headers : {[key: string ]: string} = { };
|
|
5745
|
+
return await this.listStatsEventRecordsWithOptions(request, headers, runtime);
|
|
5746
|
+
}
|
|
5747
|
+
|
|
5630
5748
|
/**
|
|
5631
5749
|
* Queries the tags that are added to one or more resources.
|
|
5632
5750
|
*
|
|
@@ -5984,6 +6102,55 @@ export default class Client extends OpenApi {
|
|
|
5984
6102
|
return await this.modifyInstanceMaintainTimeWithOptions(InstanceId, request, headers, runtime);
|
|
5985
6103
|
}
|
|
5986
6104
|
|
|
6105
|
+
/**
|
|
6106
|
+
* 修改计划执行时间
|
|
6107
|
+
*
|
|
6108
|
+
* @param request - ModifyScheduleExecuteTimeRequest
|
|
6109
|
+
* @param headers - map
|
|
6110
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6111
|
+
* @returns ModifyScheduleExecuteTimeResponse
|
|
6112
|
+
*/
|
|
6113
|
+
async modifyScheduleExecuteTimeWithOptions(instanceId: string, request: $_model.ModifyScheduleExecuteTimeRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyScheduleExecuteTimeResponse> {
|
|
6114
|
+
request.validate();
|
|
6115
|
+
let query : {[key: string ]: any} = { };
|
|
6116
|
+
if (!$dara.isNull(request.eventId)) {
|
|
6117
|
+
query["eventId"] = request.eventId;
|
|
6118
|
+
}
|
|
6119
|
+
|
|
6120
|
+
if (!$dara.isNull(request.scheduleExecuteTime)) {
|
|
6121
|
+
query["scheduleExecuteTime"] = request.scheduleExecuteTime;
|
|
6122
|
+
}
|
|
6123
|
+
|
|
6124
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6125
|
+
headers: headers,
|
|
6126
|
+
query: OpenApiUtil.query(query),
|
|
6127
|
+
});
|
|
6128
|
+
let params = new $OpenApiUtil.Params({
|
|
6129
|
+
action: "ModifyScheduleExecuteTime",
|
|
6130
|
+
version: "2017-06-13",
|
|
6131
|
+
protocol: "HTTPS",
|
|
6132
|
+
pathname: `/openapi/event/${$dara.URL.percentEncode(instanceId)}/actions/modify-execute-time`,
|
|
6133
|
+
method: "POST",
|
|
6134
|
+
authType: "AK",
|
|
6135
|
+
style: "ROA",
|
|
6136
|
+
reqBodyType: "json",
|
|
6137
|
+
bodyType: "json",
|
|
6138
|
+
});
|
|
6139
|
+
return $dara.cast<$_model.ModifyScheduleExecuteTimeResponse>(await this.callApi(params, req, runtime), new $_model.ModifyScheduleExecuteTimeResponse({}));
|
|
6140
|
+
}
|
|
6141
|
+
|
|
6142
|
+
/**
|
|
6143
|
+
* 修改计划执行时间
|
|
6144
|
+
*
|
|
6145
|
+
* @param request - ModifyScheduleExecuteTimeRequest
|
|
6146
|
+
* @returns ModifyScheduleExecuteTimeResponse
|
|
6147
|
+
*/
|
|
6148
|
+
async modifyScheduleExecuteTime(instanceId: string, request: $_model.ModifyScheduleExecuteTimeRequest): Promise<$_model.ModifyScheduleExecuteTimeResponse> {
|
|
6149
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6150
|
+
let headers : {[key: string ]: string} = { };
|
|
6151
|
+
return await this.modifyScheduleExecuteTimeWithOptions(instanceId, request, headers, runtime);
|
|
6152
|
+
}
|
|
6153
|
+
|
|
5987
6154
|
/**
|
|
5988
6155
|
* Updates an IP address whitelist of an Elasticsearch cluster.
|
|
5989
6156
|
*
|
|
@@ -311,6 +311,7 @@ export class DescribeLogstashResponseBodyResult extends $dara.Model {
|
|
|
311
311
|
* ls-cn-abc
|
|
312
312
|
*/
|
|
313
313
|
description?: string;
|
|
314
|
+
endTime?: number;
|
|
314
315
|
/**
|
|
315
316
|
* @remarks
|
|
316
317
|
* The ID of the zone where the node resides.
|
|
@@ -391,6 +392,7 @@ export class DescribeLogstashResponseBodyResult extends $dara.Model {
|
|
|
391
392
|
config: 'config',
|
|
392
393
|
createdAt: 'createdAt',
|
|
393
394
|
description: 'description',
|
|
395
|
+
endTime: 'endTime',
|
|
394
396
|
endpointList: 'endpointList',
|
|
395
397
|
instanceId: 'instanceId',
|
|
396
398
|
networkConfig: 'networkConfig',
|
|
@@ -413,6 +415,7 @@ export class DescribeLogstashResponseBodyResult extends $dara.Model {
|
|
|
413
415
|
config: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
414
416
|
createdAt: 'string',
|
|
415
417
|
description: 'string',
|
|
418
|
+
endTime: 'number',
|
|
416
419
|
endpointList: { 'type': 'array', 'itemType': DescribeLogstashResponseBodyResultEndpointList },
|
|
417
420
|
instanceId: 'string',
|
|
418
421
|
networkConfig: DescribeLogstashResponseBodyResultNetworkConfig,
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListEventRecordsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1746516590000
|
|
9
|
+
*/
|
|
10
|
+
beginTime?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1746775790000
|
|
14
|
+
*/
|
|
15
|
+
endTime?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1
|
|
19
|
+
*/
|
|
20
|
+
page?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 10
|
|
24
|
+
*/
|
|
25
|
+
size?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* **
|
|
29
|
+
*/
|
|
30
|
+
termContent?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* InstanceId
|
|
34
|
+
*/
|
|
35
|
+
termType?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
beginTime: 'beginTime',
|
|
39
|
+
endTime: 'endTime',
|
|
40
|
+
page: 'page',
|
|
41
|
+
size: 'size',
|
|
42
|
+
termContent: 'termContent',
|
|
43
|
+
termType: 'termType',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
beginTime: 'string',
|
|
50
|
+
endTime: 'string',
|
|
51
|
+
page: 'number',
|
|
52
|
+
size: 'number',
|
|
53
|
+
termContent: 'string',
|
|
54
|
+
termType: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListEventRecordsResponseBody } from "./ListEventRecordsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListEventRecordsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListEventRecordsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListEventRecordsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListEventRecordsResponseBodyResultResultShowContentActionSuggest extends $dara.Model {
|
|
6
|
+
suggestActions?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* “”
|
|
10
|
+
*/
|
|
11
|
+
suggestText?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* promptText
|
|
15
|
+
*/
|
|
16
|
+
suggestType?: string;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
suggestActions: 'suggestActions',
|
|
20
|
+
suggestText: 'suggestText',
|
|
21
|
+
suggestType: 'suggestType',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
suggestActions: { 'type': 'array', 'itemType': 'string' },
|
|
28
|
+
suggestText: 'string',
|
|
29
|
+
suggestType: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.suggestActions)) {
|
|
35
|
+
$dara.Model.validateArray(this.suggestActions);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class ListEventRecordsResponseBodyResultResultShowContent extends $dara.Model {
|
|
46
|
+
actionSuggest?: ListEventRecordsResponseBodyResultResultShowContentActionSuggest;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* Instance.SpecModify
|
|
50
|
+
*/
|
|
51
|
+
desc?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* Executed
|
|
55
|
+
*/
|
|
56
|
+
eventStatus?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* 2025-05-08 18:31:01
|
|
60
|
+
*/
|
|
61
|
+
eventTime?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* 2025-05-08 18:41:01
|
|
65
|
+
*/
|
|
66
|
+
executeFinishTime?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* 2025-05-08 18:31:00
|
|
70
|
+
*/
|
|
71
|
+
executeStartTime?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* es-cn-a5cb2dece****
|
|
75
|
+
*/
|
|
76
|
+
instanceId?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* f183728022a1c769e97b4*****
|
|
80
|
+
*/
|
|
81
|
+
opsChangeId?: string;
|
|
82
|
+
static names(): { [key: string]: string } {
|
|
83
|
+
return {
|
|
84
|
+
actionSuggest: 'actionSuggest',
|
|
85
|
+
desc: 'desc',
|
|
86
|
+
eventStatus: 'eventStatus',
|
|
87
|
+
eventTime: 'eventTime',
|
|
88
|
+
executeFinishTime: 'executeFinishTime',
|
|
89
|
+
executeStartTime: 'executeStartTime',
|
|
90
|
+
instanceId: 'instanceId',
|
|
91
|
+
opsChangeId: 'opsChangeId',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
static types(): { [key: string]: any } {
|
|
96
|
+
return {
|
|
97
|
+
actionSuggest: ListEventRecordsResponseBodyResultResultShowContentActionSuggest,
|
|
98
|
+
desc: 'string',
|
|
99
|
+
eventStatus: 'string',
|
|
100
|
+
eventTime: 'string',
|
|
101
|
+
executeFinishTime: 'string',
|
|
102
|
+
executeStartTime: 'string',
|
|
103
|
+
instanceId: 'string',
|
|
104
|
+
opsChangeId: 'string',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
validate() {
|
|
109
|
+
if(this.actionSuggest && typeof (this.actionSuggest as any).validate === 'function') {
|
|
110
|
+
(this.actionSuggest as any).validate();
|
|
111
|
+
}
|
|
112
|
+
super.validate();
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
constructor(map?: { [key: string]: any }) {
|
|
116
|
+
super(map);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export class ListEventRecordsResponseBodyResultResult extends $dara.Model {
|
|
121
|
+
/**
|
|
122
|
+
* @example
|
|
123
|
+
* false
|
|
124
|
+
*/
|
|
125
|
+
autoAlarm?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* @example
|
|
128
|
+
* Instance.SpecModify
|
|
129
|
+
*/
|
|
130
|
+
displayName?: string;
|
|
131
|
+
/**
|
|
132
|
+
* @example
|
|
133
|
+
* false
|
|
134
|
+
*/
|
|
135
|
+
dryRun?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* @example
|
|
138
|
+
* Info
|
|
139
|
+
*/
|
|
140
|
+
level?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* false
|
|
144
|
+
*/
|
|
145
|
+
mustOps?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* @example
|
|
148
|
+
* elasticsearch
|
|
149
|
+
*/
|
|
150
|
+
product?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @example
|
|
153
|
+
* 2025-05-08 18:41:01
|
|
154
|
+
*/
|
|
155
|
+
scheduleExecuteTime?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @example
|
|
158
|
+
* 2025-05-08 18:41:01
|
|
159
|
+
*/
|
|
160
|
+
scheduleFinishTime?: string;
|
|
161
|
+
showContent?: ListEventRecordsResponseBodyResultResultShowContent;
|
|
162
|
+
/**
|
|
163
|
+
* @example
|
|
164
|
+
* webConsole
|
|
165
|
+
*/
|
|
166
|
+
source?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @example
|
|
169
|
+
* Executed
|
|
170
|
+
*/
|
|
171
|
+
status?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @example
|
|
174
|
+
* UserOperator
|
|
175
|
+
*/
|
|
176
|
+
type?: string;
|
|
177
|
+
static names(): { [key: string]: string } {
|
|
178
|
+
return {
|
|
179
|
+
autoAlarm: 'autoAlarm',
|
|
180
|
+
displayName: 'displayName',
|
|
181
|
+
dryRun: 'dryRun',
|
|
182
|
+
level: 'level',
|
|
183
|
+
mustOps: 'mustOps',
|
|
184
|
+
product: 'product',
|
|
185
|
+
scheduleExecuteTime: 'scheduleExecuteTime',
|
|
186
|
+
scheduleFinishTime: 'scheduleFinishTime',
|
|
187
|
+
showContent: 'showContent',
|
|
188
|
+
source: 'source',
|
|
189
|
+
status: 'status',
|
|
190
|
+
type: 'type',
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
static types(): { [key: string]: any } {
|
|
195
|
+
return {
|
|
196
|
+
autoAlarm: 'boolean',
|
|
197
|
+
displayName: 'string',
|
|
198
|
+
dryRun: 'boolean',
|
|
199
|
+
level: 'string',
|
|
200
|
+
mustOps: 'boolean',
|
|
201
|
+
product: 'string',
|
|
202
|
+
scheduleExecuteTime: 'string',
|
|
203
|
+
scheduleFinishTime: 'string',
|
|
204
|
+
showContent: ListEventRecordsResponseBodyResultResultShowContent,
|
|
205
|
+
source: 'string',
|
|
206
|
+
status: 'string',
|
|
207
|
+
type: 'string',
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
validate() {
|
|
212
|
+
if(this.showContent && typeof (this.showContent as any).validate === 'function') {
|
|
213
|
+
(this.showContent as any).validate();
|
|
214
|
+
}
|
|
215
|
+
super.validate();
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
constructor(map?: { [key: string]: any }) {
|
|
219
|
+
super(map);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export class ListEventRecordsResponseBodyResult extends $dara.Model {
|
|
224
|
+
result?: ListEventRecordsResponseBodyResultResult[];
|
|
225
|
+
/**
|
|
226
|
+
* @example
|
|
227
|
+
* 4
|
|
228
|
+
*/
|
|
229
|
+
total?: string;
|
|
230
|
+
static names(): { [key: string]: string } {
|
|
231
|
+
return {
|
|
232
|
+
result: 'result',
|
|
233
|
+
total: 'total',
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
static types(): { [key: string]: any } {
|
|
238
|
+
return {
|
|
239
|
+
result: { 'type': 'array', 'itemType': ListEventRecordsResponseBodyResultResult },
|
|
240
|
+
total: 'string',
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
validate() {
|
|
245
|
+
if(Array.isArray(this.result)) {
|
|
246
|
+
$dara.Model.validateArray(this.result);
|
|
247
|
+
}
|
|
248
|
+
super.validate();
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
constructor(map?: { [key: string]: any }) {
|
|
252
|
+
super(map);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export class ListEventRecordsResponseBody extends $dara.Model {
|
|
257
|
+
/**
|
|
258
|
+
* @example
|
|
259
|
+
* 7F40EAA1-6F1D-4DD9-8DB8-C5F00C4E****
|
|
260
|
+
*/
|
|
261
|
+
requestId?: string;
|
|
262
|
+
result?: ListEventRecordsResponseBodyResult;
|
|
263
|
+
static names(): { [key: string]: string } {
|
|
264
|
+
return {
|
|
265
|
+
requestId: 'RequestId',
|
|
266
|
+
result: 'Result',
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
static types(): { [key: string]: any } {
|
|
271
|
+
return {
|
|
272
|
+
requestId: 'string',
|
|
273
|
+
result: ListEventRecordsResponseBodyResult,
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
validate() {
|
|
278
|
+
if(this.result && typeof (this.result as any).validate === 'function') {
|
|
279
|
+
(this.result as any).validate();
|
|
280
|
+
}
|
|
281
|
+
super.validate();
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
constructor(map?: { [key: string]: any }) {
|
|
285
|
+
super(map);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
@@ -205,6 +205,11 @@ export class ListLogstashResponseBodyResult extends $dara.Model {
|
|
|
205
205
|
* ls-cn-abc
|
|
206
206
|
*/
|
|
207
207
|
description?: string;
|
|
208
|
+
/**
|
|
209
|
+
* @example
|
|
210
|
+
* 4928745600000
|
|
211
|
+
*/
|
|
212
|
+
endTime?: number;
|
|
208
213
|
/**
|
|
209
214
|
* @remarks
|
|
210
215
|
* The tag value of the cloud disk.
|
|
@@ -272,6 +277,7 @@ export class ListLogstashResponseBodyResult extends $dara.Model {
|
|
|
272
277
|
tags: 'Tags',
|
|
273
278
|
createdAt: 'createdAt',
|
|
274
279
|
description: 'description',
|
|
280
|
+
endTime: 'endTime',
|
|
275
281
|
instanceId: 'instanceId',
|
|
276
282
|
networkConfig: 'networkConfig',
|
|
277
283
|
nodeAmount: 'nodeAmount',
|
|
@@ -289,6 +295,7 @@ export class ListLogstashResponseBodyResult extends $dara.Model {
|
|
|
289
295
|
tags: { 'type': 'array', 'itemType': ListLogstashResponseBodyResultTags },
|
|
290
296
|
createdAt: 'string',
|
|
291
297
|
description: 'string',
|
|
298
|
+
endTime: 'number',
|
|
292
299
|
instanceId: 'string',
|
|
293
300
|
networkConfig: ListLogstashResponseBodyResultNetworkConfig,
|
|
294
301
|
nodeAmount: 'number',
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListStatsEventRecordsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* UserOperator
|
|
9
|
+
*/
|
|
10
|
+
eventType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* Info
|
|
14
|
+
*/
|
|
15
|
+
level?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* Executed
|
|
19
|
+
*/
|
|
20
|
+
status?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
eventType: 'eventType',
|
|
24
|
+
level: 'level',
|
|
25
|
+
status: 'status',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
eventType: 'string',
|
|
32
|
+
level: 'string',
|
|
33
|
+
status: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|