@alicloud/cms20240330 10.0.1 → 10.1.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 +122 -2
- package/dist/client.js +257 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateServiceRecordRequest.d.ts +40 -0
- package/dist/models/CreateServiceRecordRequest.js +60 -0
- package/dist/models/CreateServiceRecordRequest.js.map +1 -0
- package/dist/models/CreateServiceRecordResponse.d.ts +19 -0
- package/dist/models/CreateServiceRecordResponse.js +69 -0
- package/dist/models/CreateServiceRecordResponse.js.map +1 -0
- package/dist/models/CreateServiceRecordResponseBody.d.ts +21 -0
- package/dist/models/CreateServiceRecordResponseBody.js +58 -0
- package/dist/models/CreateServiceRecordResponseBody.js.map +1 -0
- package/dist/models/DeleteServiceRecordRequest.d.ts +24 -0
- package/dist/models/DeleteServiceRecordRequest.js +58 -0
- package/dist/models/DeleteServiceRecordRequest.js.map +1 -0
- package/dist/models/DeleteServiceRecordResponse.d.ts +19 -0
- package/dist/models/DeleteServiceRecordResponse.js +69 -0
- package/dist/models/DeleteServiceRecordResponse.js.map +1 -0
- package/dist/models/DeleteServiceRecordResponseBody.d.ts +21 -0
- package/dist/models/DeleteServiceRecordResponseBody.js +58 -0
- package/dist/models/DeleteServiceRecordResponseBody.js.map +1 -0
- package/dist/models/DescribeMetricMetaListRequest.d.ts +2 -2
- package/dist/models/DescribeMetricMetaListResponseBody.d.ts +1 -3
- package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
- package/dist/models/DescribeMetricMetaListShrinkRequest.d.ts +2 -2
- package/dist/models/GetDeliveryTaskResponseBody.d.ts +10 -10
- package/dist/models/GetServiceRecordRequest.d.ts +24 -0
- package/dist/models/GetServiceRecordRequest.js +58 -0
- package/dist/models/GetServiceRecordRequest.js.map +1 -0
- package/dist/models/GetServiceRecordResponse.d.ts +19 -0
- package/dist/models/GetServiceRecordResponse.js +69 -0
- package/dist/models/GetServiceRecordResponse.js.map +1 -0
- package/dist/models/GetServiceRecordResponseBody.d.ts +71 -0
- package/dist/models/GetServiceRecordResponseBody.js +88 -0
- package/dist/models/GetServiceRecordResponseBody.js.map +1 -0
- package/dist/models/ListDeliveryTasksRequest.d.ts +3 -3
- package/dist/models/ListDeliveryTasksResponseBody.d.ts +3 -3
- package/dist/models/ListDeliveryTasksShrinkRequest.d.ts +3 -3
- package/dist/models/ListServiceRecordsRequest.d.ts +51 -0
- package/dist/models/ListServiceRecordsRequest.js +64 -0
- package/dist/models/ListServiceRecordsRequest.js.map +1 -0
- package/dist/models/ListServiceRecordsResponse.d.ts +19 -0
- package/dist/models/ListServiceRecordsResponse.js +69 -0
- package/dist/models/ListServiceRecordsResponse.js.map +1 -0
- package/dist/models/ListServiceRecordsResponseBody.d.ts +101 -0
- package/dist/models/ListServiceRecordsResponseBody.js +94 -0
- package/dist/models/ListServiceRecordsResponseBody.js.map +1 -0
- package/dist/models/UpdateServiceRecordRequest.d.ts +40 -0
- package/dist/models/UpdateServiceRecordRequest.js +60 -0
- package/dist/models/UpdateServiceRecordRequest.js.map +1 -0
- package/dist/models/UpdateServiceRecordResponse.d.ts +19 -0
- package/dist/models/UpdateServiceRecordResponse.js +69 -0
- package/dist/models/UpdateServiceRecordResponse.js.map +1 -0
- package/dist/models/UpdateServiceRecordResponseBody.d.ts +21 -0
- package/dist/models/UpdateServiceRecordResponseBody.js +58 -0
- package/dist/models/UpdateServiceRecordResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +17 -0
- package/dist/models/model.js +49 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +277 -2
- package/src/models/CreateServiceRecordRequest.ts +55 -0
- package/src/models/CreateServiceRecordResponse.ts +40 -0
- package/src/models/CreateServiceRecordResponseBody.ts +34 -0
- package/src/models/DeleteServiceRecordRequest.ts +37 -0
- package/src/models/DeleteServiceRecordResponse.ts +40 -0
- package/src/models/DeleteServiceRecordResponseBody.ts +34 -0
- package/src/models/DescribeMetricMetaListRequest.ts +2 -2
- package/src/models/DescribeMetricMetaListResponseBody.ts +1 -3
- package/src/models/DescribeMetricMetaListShrinkRequest.ts +2 -2
- package/src/models/GetDeliveryTaskResponseBody.ts +10 -10
- package/src/models/GetServiceRecordRequest.ts +37 -0
- package/src/models/GetServiceRecordResponse.ts +40 -0
- package/src/models/GetServiceRecordResponseBody.ts +105 -0
- package/src/models/ListDeliveryTasksRequest.ts +3 -3
- package/src/models/ListDeliveryTasksResponseBody.ts +3 -3
- package/src/models/ListDeliveryTasksShrinkRequest.ts +3 -3
- package/src/models/ListServiceRecordsRequest.ts +70 -0
- package/src/models/ListServiceRecordsResponse.ts +40 -0
- package/src/models/ListServiceRecordsResponseBody.ts +141 -0
- package/src/models/UpdateServiceRecordRequest.ts +55 -0
- package/src/models/UpdateServiceRecordResponse.ts +40 -0
- package/src/models/UpdateServiceRecordResponseBody.ts +34 -0
- package/src/models/model.ts +17 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetDeliveryTaskResponseBodyDeliveryTaskExtraInfo extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The EventBridge task list.
|
|
9
9
|
*/
|
|
10
10
|
taskNameList?: string[];
|
|
11
11
|
static names(): { [key: string]: string } {
|
|
@@ -35,12 +35,12 @@ export class GetDeliveryTaskResponseBodyDeliveryTaskExtraInfo extends $dara.Mode
|
|
|
35
35
|
export class GetDeliveryTaskResponseBodyDeliveryTaskSinkList extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The detailed configuration of the delivery target. The
|
|
38
|
+
* The detailed configuration of the delivery target. The meanings of key/value pairs vary depending on the sinkType. For more information, see CreateDeliveryTask.
|
|
39
39
|
*/
|
|
40
40
|
sinkConfigs?: { [key: string]: string };
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The
|
|
43
|
+
* The delivery target type.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* Prometheus
|
|
@@ -75,7 +75,7 @@ export class GetDeliveryTaskResponseBodyDeliveryTaskSinkList extends $dara.Model
|
|
|
75
75
|
export class GetDeliveryTaskResponseBodyDeliveryTaskTags extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The tag key.
|
|
78
|
+
* The tag key of the resource group.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* sourcetype
|
|
@@ -83,7 +83,7 @@ export class GetDeliveryTaskResponseBodyDeliveryTaskTags extends $dara.Model {
|
|
|
83
83
|
key?: string;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The tag value.
|
|
86
|
+
* The tag value of the resource group.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* production
|
|
@@ -115,7 +115,7 @@ export class GetDeliveryTaskResponseBodyDeliveryTaskTags extends $dara.Model {
|
|
|
115
115
|
export class GetDeliveryTaskResponseBodyDeliveryTask extends $dara.Model {
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The time
|
|
118
|
+
* The creation time.
|
|
119
119
|
*
|
|
120
120
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
121
121
|
*
|
|
@@ -172,12 +172,12 @@ export class GetDeliveryTaskResponseBodyDeliveryTask extends $dara.Model {
|
|
|
172
172
|
* The current status of the task.
|
|
173
173
|
*
|
|
174
174
|
* @example
|
|
175
|
-
*
|
|
175
|
+
* Enable
|
|
176
176
|
*/
|
|
177
177
|
status?: string;
|
|
178
178
|
/**
|
|
179
179
|
* @remarks
|
|
180
|
-
* The resource tags.
|
|
180
|
+
* The resource group tags.
|
|
181
181
|
*/
|
|
182
182
|
tags?: GetDeliveryTaskResponseBodyDeliveryTaskTags[];
|
|
183
183
|
/**
|
|
@@ -206,7 +206,7 @@ export class GetDeliveryTaskResponseBodyDeliveryTask extends $dara.Model {
|
|
|
206
206
|
taskName?: string;
|
|
207
207
|
/**
|
|
208
208
|
* @remarks
|
|
209
|
-
* The time
|
|
209
|
+
* The update time.
|
|
210
210
|
*
|
|
211
211
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
212
212
|
*
|
|
@@ -279,7 +279,7 @@ export class GetDeliveryTaskResponseBodyDeliveryTask extends $dara.Model {
|
|
|
279
279
|
export class GetDeliveryTaskResponseBody extends $dara.Model {
|
|
280
280
|
/**
|
|
281
281
|
* @remarks
|
|
282
|
-
* The
|
|
282
|
+
* The delivery task details.
|
|
283
283
|
*/
|
|
284
284
|
deliveryTask?: GetDeliveryTaskResponseBodyDeliveryTask;
|
|
285
285
|
/**
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetServiceRecordRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The type of the linked entry. Currently supported values:
|
|
9
|
+
* logCorrelation: indicates application log association.
|
|
10
|
+
*
|
|
11
|
+
* This parameter is required.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* logCorrelation
|
|
15
|
+
*/
|
|
16
|
+
recordType?: string;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
recordType: 'recordType',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
recordType: 'string',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
validate() {
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetServiceRecordResponseBody } from "./GetServiceRecordResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetServiceRecordResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetServiceRecordResponseBody;
|
|
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: GetServiceRecordResponseBody,
|
|
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,105 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetServiceRecordResponseBodyRecord extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The entry content in JSON string format. The returned content varies depending on the recordType.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {"project":"proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou","storeName":"app-biz-log","regionId":"cn-hangzhou","bindType":"logstore","traceIdRelateField":""}
|
|
12
|
+
*/
|
|
13
|
+
recordContent?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The type of the linked entry. Currently supported values:
|
|
17
|
+
* logCorrelation: indicates application log association.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* logCorrelation
|
|
21
|
+
*/
|
|
22
|
+
recordType?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The unique identifier of the service.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ckj0xn6ma3@b96491402f8e1f15a8c79
|
|
29
|
+
*/
|
|
30
|
+
serviceId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The workspace.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* default-cms-1610600919225911-cn-beijing
|
|
37
|
+
*/
|
|
38
|
+
workspace?: string;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
recordContent: 'recordContent',
|
|
42
|
+
recordType: 'recordType',
|
|
43
|
+
serviceId: 'serviceId',
|
|
44
|
+
workspace: 'workspace',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static types(): { [key: string]: any } {
|
|
49
|
+
return {
|
|
50
|
+
recordContent: 'string',
|
|
51
|
+
recordType: 'string',
|
|
52
|
+
serviceId: 'string',
|
|
53
|
+
workspace: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
validate() {
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export class GetServiceRecordResponseBody extends $dara.Model {
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The record.
|
|
70
|
+
*/
|
|
71
|
+
record?: GetServiceRecordResponseBodyRecord;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* Id of the request
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* 8FDE2569-626B-5176-9844-28877A*****
|
|
78
|
+
*/
|
|
79
|
+
requestId?: string;
|
|
80
|
+
static names(): { [key: string]: string } {
|
|
81
|
+
return {
|
|
82
|
+
record: 'record',
|
|
83
|
+
requestId: 'requestId',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
static types(): { [key: string]: any } {
|
|
88
|
+
return {
|
|
89
|
+
record: GetServiceRecordResponseBodyRecord,
|
|
90
|
+
requestId: 'string',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
validate() {
|
|
95
|
+
if(this.record && typeof (this.record as any).validate === 'function') {
|
|
96
|
+
(this.record as any).validate();
|
|
97
|
+
}
|
|
98
|
+
super.validate();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
constructor(map?: { [key: string]: any }) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -45,7 +45,7 @@ export class ListDeliveryTasksRequestTag extends $dara.Model {
|
|
|
45
45
|
export class ListDeliveryTasksRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* Fuzzy search by task name or task ID (LIKE semantics).
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* test-task
|
|
@@ -61,7 +61,7 @@ export class ListDeliveryTasksRequest extends $dara.Model {
|
|
|
61
61
|
maxResults?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The pagination token. Leave this parameter empty for the first request. For subsequent requests,
|
|
64
|
+
* The pagination token. Leave this parameter empty for the first request. For subsequent requests, pass the nextToken value returned in the previous response.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* sjC5rekx93Ew7K7VcmI3wkBZBYQ-GphB2ilQu3zJCGxoZuicwyJznfo2riTjr-lq
|
|
@@ -77,7 +77,7 @@ export class ListDeliveryTasksRequest extends $dara.Model {
|
|
|
77
77
|
resourceGroupId?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The tags.
|
|
80
|
+
* The list of tags.
|
|
81
81
|
*/
|
|
82
82
|
tag?: ListDeliveryTasksRequestTag[];
|
|
83
83
|
static names(): { [key: string]: string } {
|
|
@@ -35,7 +35,7 @@ export class ListDeliveryTasksResponseBodyDeliveryTasksExtraInfo extends $dara.M
|
|
|
35
35
|
export class ListDeliveryTasksResponseBodyDeliveryTasksSinkList extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The detailed configuration of the delivery target. The meanings of
|
|
38
|
+
* The detailed configuration of the delivery target. The meanings of key/value pairs vary depending on the sinkType.
|
|
39
39
|
*/
|
|
40
40
|
sinkConfigs?: { [key: string]: string };
|
|
41
41
|
/**
|
|
@@ -115,7 +115,7 @@ export class ListDeliveryTasksResponseBodyDeliveryTasksTags extends $dara.Model
|
|
|
115
115
|
export class ListDeliveryTasksResponseBodyDeliveryTasks extends $dara.Model {
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The time
|
|
118
|
+
* The creation time.
|
|
119
119
|
*
|
|
120
120
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
121
121
|
*
|
|
@@ -206,7 +206,7 @@ export class ListDeliveryTasksResponseBodyDeliveryTasks extends $dara.Model {
|
|
|
206
206
|
taskName?: string;
|
|
207
207
|
/**
|
|
208
208
|
* @remarks
|
|
209
|
-
* The time
|
|
209
|
+
* The update time.
|
|
210
210
|
*
|
|
211
211
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
212
212
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListDeliveryTasksShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Fuzzy search by task name or task ID (LIKE semantics).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* test-task
|
|
@@ -21,7 +21,7 @@ export class ListDeliveryTasksShrinkRequest extends $dara.Model {
|
|
|
21
21
|
maxResults?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The pagination token. Leave this parameter empty for the first request. For subsequent requests,
|
|
24
|
+
* The pagination token. Leave this parameter empty for the first request. For subsequent requests, pass the nextToken value returned in the previous response.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* sjC5rekx93Ew7K7VcmI3wkBZBYQ-GphB2ilQu3zJCGxoZuicwyJznfo2riTjr-lq
|
|
@@ -37,7 +37,7 @@ export class ListDeliveryTasksShrinkRequest extends $dara.Model {
|
|
|
37
37
|
resourceGroupId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The tags.
|
|
40
|
+
* The list of tags.
|
|
41
41
|
*/
|
|
42
42
|
tagShrink?: string;
|
|
43
43
|
static names(): { [key: string]: string } {
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListServiceRecordsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The maximum number of entries to return. Maximum value: 200.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 100
|
|
12
|
+
*/
|
|
13
|
+
maxResults?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The pagination token.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* xxxxx
|
|
20
|
+
*/
|
|
21
|
+
nextToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The type of the linked entry. Currently supported:
|
|
25
|
+
* logCorrelation, which indicates application log association.
|
|
26
|
+
*
|
|
27
|
+
* This parameter is required.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* logCorrelation
|
|
31
|
+
*/
|
|
32
|
+
recordType?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The filter information for service-linked entries.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* {
|
|
39
|
+
* "serviceName": "my-service",
|
|
40
|
+
* "storeName": "my-logstore"
|
|
41
|
+
* }
|
|
42
|
+
*/
|
|
43
|
+
search?: string;
|
|
44
|
+
static names(): { [key: string]: string } {
|
|
45
|
+
return {
|
|
46
|
+
maxResults: 'maxResults',
|
|
47
|
+
nextToken: 'nextToken',
|
|
48
|
+
recordType: 'recordType',
|
|
49
|
+
search: 'search',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
maxResults: 'number',
|
|
56
|
+
nextToken: 'string',
|
|
57
|
+
recordType: 'string',
|
|
58
|
+
search: 'string',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListServiceRecordsResponseBody } from "./ListServiceRecordsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListServiceRecordsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListServiceRecordsResponseBody;
|
|
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: ListServiceRecordsResponseBody,
|
|
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,141 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListServiceRecordsResponseBodyRecords extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The entry content in JSON string format. The format varies depending on the recordType.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {
|
|
12
|
+
* "project": "proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou",
|
|
13
|
+
* "storeName": "app-biz-log",
|
|
14
|
+
* "regionId": "cn-hangzhou",
|
|
15
|
+
* "bindType": "logstore",
|
|
16
|
+
* "traceIdRelateField": ""
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
recordContent?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The type of the linked entry. Currently supported:
|
|
23
|
+
* logCorrelation, which indicates application log association.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* logCorrelation
|
|
27
|
+
*/
|
|
28
|
+
recordType?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The unique identifier of the service.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* gaddp9ap8q@f8ca37734da3eda787dbb
|
|
35
|
+
*/
|
|
36
|
+
serviceId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The workspace.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* workspace-test
|
|
43
|
+
*/
|
|
44
|
+
workspace?: string;
|
|
45
|
+
static names(): { [key: string]: string } {
|
|
46
|
+
return {
|
|
47
|
+
recordContent: 'recordContent',
|
|
48
|
+
recordType: 'recordType',
|
|
49
|
+
serviceId: 'serviceId',
|
|
50
|
+
workspace: 'workspace',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static types(): { [key: string]: any } {
|
|
55
|
+
return {
|
|
56
|
+
recordContent: 'string',
|
|
57
|
+
recordType: 'string',
|
|
58
|
+
serviceId: 'string',
|
|
59
|
+
workspace: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class ListServiceRecordsResponseBody extends $dara.Model {
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The maximum number of entries returned.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* 100
|
|
79
|
+
*/
|
|
80
|
+
maxResults?: number;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The pagination token.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* 2-ba4d-4b9f-aa24-dcb067a30f1c
|
|
87
|
+
*/
|
|
88
|
+
nextToken?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The list of ticket operation records.
|
|
92
|
+
*/
|
|
93
|
+
records?: ListServiceRecordsResponseBodyRecords[];
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* Id of the request
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 0CEC5375-XXXX-XXXX-XXXX-9A629907C1F0
|
|
100
|
+
*/
|
|
101
|
+
requestId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The total number of entries.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* 100
|
|
108
|
+
*/
|
|
109
|
+
totalCount?: number;
|
|
110
|
+
static names(): { [key: string]: string } {
|
|
111
|
+
return {
|
|
112
|
+
maxResults: 'maxResults',
|
|
113
|
+
nextToken: 'nextToken',
|
|
114
|
+
records: 'records',
|
|
115
|
+
requestId: 'requestId',
|
|
116
|
+
totalCount: 'totalCount',
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
static types(): { [key: string]: any } {
|
|
121
|
+
return {
|
|
122
|
+
maxResults: 'number',
|
|
123
|
+
nextToken: 'string',
|
|
124
|
+
records: { 'type': 'array', 'itemType': ListServiceRecordsResponseBodyRecords },
|
|
125
|
+
requestId: 'string',
|
|
126
|
+
totalCount: 'number',
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
validate() {
|
|
131
|
+
if(Array.isArray(this.records)) {
|
|
132
|
+
$dara.Model.validateArray(this.records);
|
|
133
|
+
}
|
|
134
|
+
super.validate();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
constructor(map?: { [key: string]: any }) {
|
|
138
|
+
super(map);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateServiceRecordRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The entry content in JSON string format. The format varies depending on the recordType value.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* {
|
|
14
|
+
* "project": "proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou",
|
|
15
|
+
* "storeName": "app-biz-log",
|
|
16
|
+
* "regionId": "cn-hangzhou",
|
|
17
|
+
* "bindType": "logstore",
|
|
18
|
+
* "traceIdRelateField": ""
|
|
19
|
+
* }
|
|
20
|
+
*/
|
|
21
|
+
recordContent?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The type of the linked entry. Currently supported value:
|
|
25
|
+
* logCorrelation, which indicates application log association.
|
|
26
|
+
*
|
|
27
|
+
* This parameter is required.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* logCorrelation
|
|
31
|
+
*/
|
|
32
|
+
recordType?: string;
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
recordContent: 'recordContent',
|
|
36
|
+
recordType: 'recordType',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
recordContent: 'string',
|
|
43
|
+
recordType: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateServiceRecordResponseBody } from "./UpdateServiceRecordResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateServiceRecordResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateServiceRecordResponseBody;
|
|
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: UpdateServiceRecordResponseBody,
|
|
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
|
+
|