@dynatrace-sdk/client-classic-environment-v2 1.10.0 → 1.11.1
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/CHANGELOG.md +23 -0
- package/README.md +17873 -7
- package/cjs/index.js +2578 -2444
- package/docs/DOCS.md +6817 -4067
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +2578 -2444
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +8 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +6 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/any-value.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/any-value.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.d.ts +31 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.transformation.d.ts +8 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-scope.d.ts +0 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-scopes-item.d.ts +1 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scope.d.ts +0 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scopes-item.d.ts +1 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +9 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +5 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-execution-full-report-path-execution-id.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-execution-full-report-path-execution-id.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-execution-path-execution-id.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-execution-path-execution-id.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +10 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +5 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/item.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation-status.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation-status.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +8 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +12 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +9 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +9 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +9 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +9 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +5 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/utils/url-helpers.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.d.ts +0 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.transformation.d.ts +0 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.d.ts +0 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.transformation.d.ts +0 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/item-type.d.ts +0 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/item-type.transformation.d.ts +0 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.d.ts +0 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.transformation.d.ts +0 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.d.ts +0 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.transformation.d.ts +0 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-type.d.ts +0 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-type.transformation.d.ts +0 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.d.ts +0 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.transformation.d.ts +0 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.d.ts +0 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.transformation.d.ts +0 -5
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace-sdk/client-classic-environment-v2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "Client for the Dynatrace Environment API v2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dynatrace-sdk/error-handlers": "^1.2.0",
|
|
8
|
-
"@dynatrace-sdk/http-client": "^1.0.
|
|
8
|
+
"@dynatrace-sdk/http-client": "^1.0.10"
|
|
9
9
|
},
|
|
10
10
|
"main": "./cjs/index.js",
|
|
11
11
|
"module": "./esm/index.js",
|
|
@@ -47,6 +47,10 @@ export declare class AuditLogsClient {
|
|
|
47
47
|
* * Event type: `eventType("value")`. The `EQUALS` operator applies.
|
|
48
48
|
* * Category of a logged operation: `category("value")`. The `EQUALS` operator applies.
|
|
49
49
|
* * Entity ID: `entityId("id")`. The `CONTAINS` operator applies.
|
|
50
|
+
* * Settings schema ID: `dt.settings.schema_id("id")`. The `EQUALS` operator applies.
|
|
51
|
+
* * Settings scope ID: `dt.settings.scope_id("id")`. The `EQUALS` operator applies.
|
|
52
|
+
* * Settings key: `dt.settings.key("key")`. The `EQUALS` operator applies.
|
|
53
|
+
* * Settings object ID: `dt.settings.object_id("id")`. The `EQUALS` operator applies.
|
|
50
54
|
*
|
|
51
55
|
* For each criterion, you can specify multiple alternatives with comma-separated values. In this case, the OR logic applies. For example, `eventType("CREATE","UPDATE")` means eventType can be "CREATE" or "UPDATE".
|
|
52
56
|
*
|
|
@@ -62,7 +62,7 @@ export declare class CredentialVaultClient {
|
|
|
62
62
|
* const data = await credentialVaultClient.createCredentials({
|
|
63
63
|
* body: {
|
|
64
64
|
* name: "...",
|
|
65
|
-
* scopes: [CredentialsScopesItem.
|
|
65
|
+
* scopes: [CredentialsScopesItem.Extension],
|
|
66
66
|
* },
|
|
67
67
|
* });
|
|
68
68
|
*/
|
|
@@ -102,7 +102,7 @@ export declare class CredentialVaultClient {
|
|
|
102
102
|
* id: "...",
|
|
103
103
|
* body: {
|
|
104
104
|
* name: "...",
|
|
105
|
-
* scopes: [CredentialsScopesItem.
|
|
105
|
+
* scopes: [CredentialsScopesItem.Extension],
|
|
106
106
|
* },
|
|
107
107
|
* });
|
|
108
108
|
*/
|
package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts
CHANGED
|
@@ -160,6 +160,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
160
160
|
*/
|
|
161
161
|
pushCustomDevice(config: {
|
|
162
162
|
body: CustomDeviceCreation;
|
|
163
|
+
/** If true, it will be handled as if it was created via UI. It will be refreshed automatically and won't age out. */ uiBased?: boolean;
|
|
163
164
|
abortSignal?: AbortSignal;
|
|
164
165
|
}): Promise<CustomDeviceCreationResult | void>;
|
|
165
166
|
/**
|
|
@@ -180,6 +181,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
180
181
|
*
|
|
181
182
|
* const data =
|
|
182
183
|
* await monitoredEntitiesClient.setSecurityContext({
|
|
184
|
+
* entitySelector: "...",
|
|
183
185
|
* body: {},
|
|
184
186
|
* });
|
|
185
187
|
*/
|
|
@@ -219,7 +221,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
219
221
|
* To set several criteria, separate them with a comma (`,`). For example, `type("HOST"),healthState("HEALTHY")`. Only results matching **all** criteria are included in the response.
|
|
220
222
|
*
|
|
221
223
|
* The maximum string length is 2,000 characters.
|
|
222
|
-
*/ entitySelector
|
|
224
|
+
*/ entitySelector: string;
|
|
223
225
|
/**
|
|
224
226
|
* The start of the requested timeframe.
|
|
225
227
|
*
|
|
@@ -273,9 +275,11 @@ export declare class MonitoredEntitiesClient {
|
|
|
273
275
|
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
274
276
|
*
|
|
275
277
|
* const data =
|
|
276
|
-
* await monitoredEntitiesClient.deleteSecurityContext(
|
|
278
|
+
* await monitoredEntitiesClient.deleteSecurityContext({
|
|
279
|
+
* entitySelector: "...",
|
|
280
|
+
* });
|
|
277
281
|
*/
|
|
278
|
-
deleteSecurityContext(config
|
|
282
|
+
deleteSecurityContext(config: {
|
|
279
283
|
/**
|
|
280
284
|
* Defines the scope of the entities to set the security context for. Only entities that can have management zones are considered for this operation
|
|
281
285
|
*
|
|
@@ -310,7 +314,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
310
314
|
* To set several criteria, separate them with a comma (`,`). For example, `type("HOST"),healthState("HEALTHY")`. Only results matching **all** criteria are included in the response.
|
|
311
315
|
*
|
|
312
316
|
* The maximum string length is 2,000 characters.
|
|
313
|
-
*/ entitySelector
|
|
317
|
+
*/ entitySelector: string;
|
|
314
318
|
/**
|
|
315
319
|
* The start of the requested timeframe.
|
|
316
320
|
*
|
|
@@ -136,7 +136,7 @@ export declare class SettingsObjectsClient {
|
|
|
136
136
|
* * `author` (deprecated, will not work for future schemas)
|
|
137
137
|
* * `value` with properties and sub-properties separated by dot (for example, `value.owningApp = 'Notebooks'`)
|
|
138
138
|
*
|
|
139
|
-
* If this parameter is omitted, all settings objects will be returned. The maximum nesting depth (via parentheses) is 5. The maximum expression length is
|
|
139
|
+
* If this parameter is omitted, all settings objects will be returned. The maximum nesting depth (via parentheses) is 5. The maximum expression length is 1024 characters.
|
|
140
140
|
*
|
|
141
141
|
* Note that only fields included to the response via `fields` can be used for filtering.
|
|
142
142
|
*/ filter?: string;
|
|
@@ -190,6 +190,7 @@ export declare class SettingsObjectsClient {
|
|
|
190
190
|
* schemaId:
|
|
191
191
|
* "builtin:container.built-in-monitoring-rule",
|
|
192
192
|
* scope: "HOST-D3A3C5A146830A79",
|
|
193
|
+
* value: {},
|
|
193
194
|
* },
|
|
194
195
|
* ],
|
|
195
196
|
* });
|
|
@@ -239,12 +240,13 @@ export declare class SettingsObjectsClient {
|
|
|
239
240
|
* const data =
|
|
240
241
|
* await settingsObjectsClient.putSettingsObjectByObjectId({
|
|
241
242
|
* objectId: "...",
|
|
242
|
-
* body: {},
|
|
243
|
+
* body: { value: {} },
|
|
243
244
|
* });
|
|
244
245
|
*/
|
|
245
246
|
putSettingsObjectByObjectId(config: {
|
|
246
247
|
body: SettingsObjectUpdate;
|
|
247
248
|
/** The ID of the required settings object. */ objectId: string;
|
|
249
|
+
/** If `true`, the request runs only validation of the submitted settings object, without saving it. */ validateOnly?: boolean;
|
|
248
250
|
abortSignal?: AbortSignal;
|
|
249
251
|
}): Promise<SettingsObjectResponse>;
|
|
250
252
|
/**
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { GetExecutionFullReportPathExecutionId } from '../models/get-execution-full-report-path-execution-id';
|
|
3
|
+
import { GetExecutionPathExecutionId } from '../models/get-execution-path-execution-id';
|
|
2
4
|
import { GetExecutionsQueryExecutionStage } from '../models/get-executions-query-execution-stage';
|
|
3
5
|
import { GetExecutionsQuerySource } from '../models/get-executions-query-source';
|
|
4
6
|
import { SyntheticOnDemandBatchStatus } from '../models/synthetic-on-demand-batch-status';
|
|
@@ -197,11 +199,11 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
197
199
|
*
|
|
198
200
|
* const data =
|
|
199
201
|
* await syntheticOnDemandMonitorExecutionsClient.getExecution(
|
|
200
|
-
* { executionId:
|
|
202
|
+
* { executionId: {} },
|
|
201
203
|
* );
|
|
202
204
|
*/
|
|
203
205
|
getExecution(config: {
|
|
204
|
-
/** The identifier of the on-demand execution. */ executionId:
|
|
206
|
+
/** The identifier of the on-demand execution. */ executionId: GetExecutionPathExecutionId;
|
|
205
207
|
abortSignal?: AbortSignal;
|
|
206
208
|
}): Promise<SyntheticOnDemandExecution>;
|
|
207
209
|
/**
|
|
@@ -216,11 +218,11 @@ export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
|
216
218
|
*
|
|
217
219
|
* const data =
|
|
218
220
|
* await syntheticOnDemandMonitorExecutionsClient.getExecutionFullReport(
|
|
219
|
-
* { executionId:
|
|
221
|
+
* { executionId: {} },
|
|
220
222
|
* );
|
|
221
223
|
*/
|
|
222
224
|
getExecutionFullReport(config: {
|
|
223
|
-
/** The identifier of the on-demand execution. */ executionId:
|
|
225
|
+
/** The identifier of the on-demand execution. */ executionId: GetExecutionFullReportPathExecutionId;
|
|
224
226
|
abortSignal?: AbortSignal;
|
|
225
227
|
}): Promise<SyntheticOnDemandExecution>;
|
|
226
228
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare enum AssetInfoDtoType {
|
|
|
6
6
|
CustomCards = "CUSTOM_CARDS",
|
|
7
7
|
Dashboard = "DASHBOARD",
|
|
8
8
|
DeclarativeProcesses = "DECLARATIVE_PROCESSES",
|
|
9
|
+
DqlLogMetric = "DQL_LOG_METRIC",
|
|
9
10
|
DqlLogProcessingRule = "DQL_LOG_PROCESSING_RULE",
|
|
10
11
|
GenericRelationship = "GENERIC_RELATIONSHIP",
|
|
11
12
|
GenericType = "GENERIC_TYPE",
|
|
@@ -15,6 +16,7 @@ export declare enum AssetInfoDtoType {
|
|
|
15
16
|
LogEvent = "LOG_EVENT",
|
|
16
17
|
LogMetric = "LOG_METRIC",
|
|
17
18
|
LogProcessingRule = "LOG_PROCESSING_RULE",
|
|
19
|
+
LqlLogMetric = "LQL_LOG_METRIC",
|
|
18
20
|
LqlLogProcessingRule = "LQL_LOG_PROCESSING_RULE",
|
|
19
21
|
MetricMetadata = "METRIC_METADATA",
|
|
20
22
|
MetricQuery = "METRIC_QUERY",
|
|
@@ -1,12 +1,36 @@
|
|
|
1
|
+
import { AnyValue } from './any-value';
|
|
1
2
|
import { AuditLogEntryCategory } from './audit-log-entry-category';
|
|
2
3
|
import { AuditLogEntryEventType } from './audit-log-entry-event-type';
|
|
3
|
-
import { AuditLogEntryPatch } from './audit-log-entry-patch';
|
|
4
4
|
import { AuditLogEntryUserType } from './audit-log-entry-user-type';
|
|
5
5
|
/**
|
|
6
6
|
* An entry of the audit log.
|
|
7
7
|
*/
|
|
8
8
|
export interface AuditLogEntry {
|
|
9
9
|
category: AuditLogEntryCategory;
|
|
10
|
+
/**
|
|
11
|
+
* The key of the affected object of a setting for entries of category `CONFIG`.
|
|
12
|
+
*/
|
|
13
|
+
'dt.settings.key'?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the affected object of a setting for entries of category `CONFIG`.
|
|
16
|
+
*/
|
|
17
|
+
'dt.settings.object_id'?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The value summary for entries of category `CONFIG`.
|
|
20
|
+
*/
|
|
21
|
+
'dt.settings.object_summary'?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The schema ID or config ID for entries of category `CONFIG`.
|
|
24
|
+
*/
|
|
25
|
+
'dt.settings.schema_id'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The persistence scope for entries of category `CONFIG`, e.g. an ME identifier.
|
|
28
|
+
*/
|
|
29
|
+
'dt.settings.scope_id'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The display name of the scope for entries of category `CONFIG`.
|
|
32
|
+
*/
|
|
33
|
+
'dt.settings.scope_name'?: string;
|
|
10
34
|
/**
|
|
11
35
|
* The ID of an entity from the **category**.
|
|
12
36
|
*
|
|
@@ -26,7 +50,12 @@ export interface AuditLogEntry {
|
|
|
26
50
|
* The logged message.
|
|
27
51
|
*/
|
|
28
52
|
message?: string;
|
|
29
|
-
|
|
53
|
+
/**
|
|
54
|
+
* The patch of the recorded operation as the JSON representation.
|
|
55
|
+
*
|
|
56
|
+
* The format is an enhanced RFC 6902. The patch also carries the previous value in the **oldValue** field.
|
|
57
|
+
*/
|
|
58
|
+
patch?: AnyValue;
|
|
30
59
|
/**
|
|
31
60
|
* The recorded operation is successful (`true`) or failed (`false`).
|
|
32
61
|
*/
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
+
import * as _AnyValueTransformation from './any-value.transformation';
|
|
1
2
|
import { AuditLogEntry } from './audit-log-entry';
|
|
2
3
|
import * as _AuditLogEntryCategoryTransformation from './audit-log-entry-category.transformation';
|
|
3
4
|
import * as _AuditLogEntryEventTypeTransformation from './audit-log-entry-event-type.transformation';
|
|
4
|
-
import * as _AuditLogEntryPatchTransformation from './audit-log-entry-patch.transformation';
|
|
5
5
|
import * as _AuditLogEntryUserTypeTransformation from './audit-log-entry-user-type.transformation';
|
|
6
6
|
export interface AsJson {
|
|
7
7
|
category: _AuditLogEntryCategoryTransformation.AsJson;
|
|
8
|
+
'dt.settings.key'?: string;
|
|
9
|
+
'dt.settings.object_id'?: string;
|
|
10
|
+
'dt.settings.object_summary'?: string;
|
|
11
|
+
'dt.settings.schema_id'?: string;
|
|
12
|
+
'dt.settings.scope_id'?: string;
|
|
13
|
+
'dt.settings.scope_name'?: string;
|
|
8
14
|
entityId?: string;
|
|
9
15
|
environmentId: string;
|
|
10
16
|
eventType: _AuditLogEntryEventTypeTransformation.AsJson;
|
|
11
17
|
logId: string;
|
|
12
18
|
message?: string;
|
|
13
|
-
patch?:
|
|
19
|
+
patch?: _AnyValueTransformation.AsJson;
|
|
14
20
|
success: boolean;
|
|
15
21
|
timestamp: number;
|
|
16
22
|
user: string;
|
package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyValue } from './any-value';
|
|
2
2
|
/**
|
|
3
3
|
* An effective settings value.
|
|
4
4
|
*/
|
|
@@ -39,5 +39,12 @@ export interface EffectiveSettingsValue {
|
|
|
39
39
|
* A short summary of settings. This can contain Markdown and will be escaped accordingly.
|
|
40
40
|
*/
|
|
41
41
|
summary?: string;
|
|
42
|
-
|
|
42
|
+
/**
|
|
43
|
+
* The value of the setting.
|
|
44
|
+
*
|
|
45
|
+
* It defines the actual values of settings' parameters.
|
|
46
|
+
*
|
|
47
|
+
* The actual content depends on the object's schema.
|
|
48
|
+
*/
|
|
49
|
+
value?: AnyValue;
|
|
43
50
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import * as _AnyValueTransformation from './any-value.transformation';
|
|
1
2
|
import { EffectiveSettingsValue } from './effective-settings-value';
|
|
2
|
-
import * as _SettingsValueTransformation from './settings-value.transformation';
|
|
3
3
|
export interface AsJson {
|
|
4
4
|
author?: string;
|
|
5
5
|
created?: number;
|
|
@@ -10,7 +10,7 @@ export interface AsJson {
|
|
|
10
10
|
schemaVersion?: string;
|
|
11
11
|
searchSummary?: string;
|
|
12
12
|
summary?: string;
|
|
13
|
-
value?:
|
|
13
|
+
value?: _AnyValueTransformation.AsJson;
|
|
14
14
|
}
|
|
15
15
|
export declare function fromJson($model: AsJson): EffectiveSettingsValue;
|
|
16
16
|
export declare function toJson($model: EffectiveSettingsValue): AsJson;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyValue } from './any-value';
|
|
2
2
|
/**
|
|
3
3
|
* An allowed value for an enum property.
|
|
4
4
|
*/
|
|
@@ -19,5 +19,8 @@ export interface EnumValue {
|
|
|
19
19
|
* The icon of the value.
|
|
20
20
|
*/
|
|
21
21
|
icon?: string;
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* The allowed value of the enum.
|
|
24
|
+
*/
|
|
25
|
+
value: AnyValue;
|
|
23
26
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.transformation.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import * as _AnyValueTransformation from './any-value.transformation';
|
|
1
2
|
import { EnumValue } from './enum-value';
|
|
2
|
-
import * as _EnumValueValueTransformation from './enum-value-value.transformation';
|
|
3
3
|
export interface AsJson {
|
|
4
4
|
description?: string;
|
|
5
5
|
displayName: string;
|
|
6
6
|
enumInstance?: string;
|
|
7
7
|
icon?: string;
|
|
8
|
-
value:
|
|
8
|
+
value: _AnyValueTransformation.AsJson;
|
|
9
9
|
}
|
|
10
10
|
export declare function fromJson($model: AsJson): EnumValue;
|
|
11
11
|
export declare function toJson($model: EnumValue): AsJson;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GetExecutionFullReportPathExecutionId } from './get-execution-full-report-path-execution-id';
|
|
2
|
+
export declare type AsJson = string | number;
|
|
3
|
+
export declare function fromJson($model: AsJson): any;
|
|
4
|
+
export declare function toJson($model: GetExecutionFullReportPathExecutionId): any;
|
|
@@ -78,6 +78,8 @@ export * from './aggregated-log-aggregation-result';
|
|
|
78
78
|
export * as _AggregatedLogAggregationResultTransformation from './aggregated-log-aggregation-result.transformation';
|
|
79
79
|
export * from './alerting-profile-stub';
|
|
80
80
|
export * as _AlertingProfileStubTransformation from './alerting-profile-stub.transformation';
|
|
81
|
+
export * from './any-value';
|
|
82
|
+
export * as _AnyValueTransformation from './any-value.transformation';
|
|
81
83
|
export * from './api-token';
|
|
82
84
|
export * as _ApiTokenTransformation from './api-token.transformation';
|
|
83
85
|
export * from './api-token-additional-metadata';
|
|
@@ -148,8 +150,6 @@ export * from './audit-log-entry-category';
|
|
|
148
150
|
export * as _AuditLogEntryCategoryTransformation from './audit-log-entry-category.transformation';
|
|
149
151
|
export * from './audit-log-entry-event-type';
|
|
150
152
|
export * as _AuditLogEntryEventTypeTransformation from './audit-log-entry-event-type.transformation';
|
|
151
|
-
export * from './audit-log-entry-patch';
|
|
152
|
-
export * as _AuditLogEntryPatchTransformation from './audit-log-entry-patch.transformation';
|
|
153
153
|
export * from './audit-log-entry-user-type';
|
|
154
154
|
export * as _AuditLogEntryUserTypeTransformation from './audit-log-entry-user-type.transformation';
|
|
155
155
|
export * from './author-dto';
|
|
@@ -316,8 +316,6 @@ export * from './enum-type-type';
|
|
|
316
316
|
export * as _EnumTypeTypeTransformation from './enum-type-type.transformation';
|
|
317
317
|
export * from './enum-value';
|
|
318
318
|
export * as _EnumValueTransformation from './enum-value.transformation';
|
|
319
|
-
export * from './enum-value-value';
|
|
320
|
-
export * as _EnumValueValueTransformation from './enum-value-value.transformation';
|
|
321
319
|
export * from './error';
|
|
322
320
|
export * as _ErrorTransformation from './error.transformation';
|
|
323
321
|
export * from './error-envelope';
|
|
@@ -458,6 +456,10 @@ export * from './get-all-update-job-list-query-update-type';
|
|
|
458
456
|
export * as _GetAllUpdateJobListQueryUpdateTypeTransformation from './get-all-update-job-list-query-update-type.transformation';
|
|
459
457
|
export * from './get-environment-configuration-events-query-status';
|
|
460
458
|
export * as _GetEnvironmentConfigurationEventsQueryStatusTransformation from './get-environment-configuration-events-query-status.transformation';
|
|
459
|
+
export * from './get-execution-full-report-path-execution-id';
|
|
460
|
+
export * as _GetExecutionFullReportPathExecutionIdTransformation from './get-execution-full-report-path-execution-id.transformation';
|
|
461
|
+
export * from './get-execution-path-execution-id';
|
|
462
|
+
export * as _GetExecutionPathExecutionIdTransformation from './get-execution-path-execution-id.transformation';
|
|
461
463
|
export * from './get-execution-result-path-result-type';
|
|
462
464
|
export * as _GetExecutionResultPathResultTypeTransformation from './get-execution-result-path-result-type.transformation';
|
|
463
465
|
export * from './get-executions-query-execution-stage';
|
|
@@ -518,8 +520,6 @@ export * from './item';
|
|
|
518
520
|
export * as _ItemTransformation from './item.transformation';
|
|
519
521
|
export * from './item-metadata';
|
|
520
522
|
export * as _ItemMetadataTransformation from './item-metadata.transformation';
|
|
521
|
-
export * from './item-type';
|
|
522
|
-
export * as _ItemTypeTransformation from './item-type.transformation';
|
|
523
523
|
export * from './json-node';
|
|
524
524
|
export * as _JsonNodeTransformation from './json-node.transformation';
|
|
525
525
|
export * from './linked-problem';
|
|
@@ -588,6 +588,10 @@ export * from './metric-ingest-error';
|
|
|
588
588
|
export * as _MetricIngestErrorTransformation from './metric-ingest-error.transformation';
|
|
589
589
|
export * from './metric-metadata-dto';
|
|
590
590
|
export * as _MetricMetadataDtoTransformation from './metric-metadata-dto.transformation';
|
|
591
|
+
export * from './metric-query-dql-translation';
|
|
592
|
+
export * as _MetricQueryDQLTranslationTransformation from './metric-query-dql-translation.transformation';
|
|
593
|
+
export * from './metric-query-dql-translation-status';
|
|
594
|
+
export * as _MetricQueryDQLTranslationStatusTransformation from './metric-query-dql-translation-status.transformation';
|
|
591
595
|
export * from './metric-series';
|
|
592
596
|
export * as _MetricSeriesTransformation from './metric-series.transformation';
|
|
593
597
|
export * from './metric-series-collection';
|
|
@@ -654,8 +658,6 @@ export * from './objects-list';
|
|
|
654
658
|
export * as _ObjectsListTransformation from './objects-list.transformation';
|
|
655
659
|
export * from './precondition';
|
|
656
660
|
export * as _PreconditionTransformation from './precondition.transformation';
|
|
657
|
-
export * from './precondition-expected-value';
|
|
658
|
-
export * as _PreconditionExpectedValueTransformation from './precondition-expected-value.transformation';
|
|
659
661
|
export * from './precondition-type';
|
|
660
662
|
export * as _PreconditionTypeTransformation from './precondition-type.transformation';
|
|
661
663
|
export * from './private-synthetic-location';
|
|
@@ -678,14 +680,10 @@ export * from './process-group-vulnerable-functions';
|
|
|
678
680
|
export * as _ProcessGroupVulnerableFunctionsTransformation from './process-group-vulnerable-functions.transformation';
|
|
679
681
|
export * from './property-definition';
|
|
680
682
|
export * as _PropertyDefinitionTransformation from './property-definition.transformation';
|
|
681
|
-
export * from './property-definition-default';
|
|
682
|
-
export * as _PropertyDefinitionDefaultTransformation from './property-definition-default.transformation';
|
|
683
683
|
export * from './property-definition-metadata';
|
|
684
684
|
export * as _PropertyDefinitionMetadataTransformation from './property-definition-metadata.transformation';
|
|
685
685
|
export * from './property-definition-modification-policy';
|
|
686
686
|
export * as _PropertyDefinitionModificationPolicyTransformation from './property-definition-modification-policy.transformation';
|
|
687
|
-
export * from './property-definition-type';
|
|
688
|
-
export * as _PropertyDefinitionTypeTransformation from './property-definition-type.transformation';
|
|
689
687
|
export * from './protocol-details';
|
|
690
688
|
export * as _ProtocolDetailsTransformation from './protocol-details.transformation';
|
|
691
689
|
export * from './public-certificate-credentials';
|
|
@@ -936,8 +934,6 @@ export * from './settings-object-response';
|
|
|
936
934
|
export * as _SettingsObjectResponseTransformation from './settings-object-response.transformation';
|
|
937
935
|
export * from './settings-object-update';
|
|
938
936
|
export * as _SettingsObjectUpdateTransformation from './settings-object-update.transformation';
|
|
939
|
-
export * from './settings-value';
|
|
940
|
-
export * as _SettingsValueTransformation from './settings-value.transformation';
|
|
941
937
|
export * from './slo-burn-rate';
|
|
942
938
|
export * as _SloBurnRateTransformation from './slo-burn-rate.transformation';
|
|
943
939
|
export * from './slo-burn-rate-burn-rate-type';
|
|
@@ -1080,8 +1076,6 @@ export * from './truncation-info';
|
|
|
1080
1076
|
export * as _TruncationInfoTransformation from './truncation-info.transformation';
|
|
1081
1077
|
export * from './ui-button-customization';
|
|
1082
1078
|
export * as _UiButtonCustomizationTransformation from './ui-button-customization.transformation';
|
|
1083
|
-
export * from './ui-button-customization-insert';
|
|
1084
|
-
export * as _UiButtonCustomizationInsertTransformation from './ui-button-customization-insert.transformation';
|
|
1085
1079
|
export * from './ui-callback-customization';
|
|
1086
1080
|
export * as _UiCallbackCustomizationTransformation from './ui-callback-customization.transformation';
|
|
1087
1081
|
export * from './ui-customization';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Constraint } from './constraint';
|
|
2
2
|
import { DatasourceDefinition } from './datasource-definition';
|
|
3
3
|
import { ItemMetadata } from './item-metadata';
|
|
4
|
-
import {
|
|
4
|
+
import { RefPointer } from './ref-pointer';
|
|
5
5
|
import { UiCustomization } from './ui-customization';
|
|
6
6
|
/**
|
|
7
7
|
* An item of a collection property.
|
|
@@ -33,6 +33,9 @@ export interface Item {
|
|
|
33
33
|
* The subtype of the item's value.
|
|
34
34
|
*/
|
|
35
35
|
subType?: string;
|
|
36
|
-
|
|
36
|
+
/**
|
|
37
|
+
* The type of the item's value.
|
|
38
|
+
*/
|
|
39
|
+
type: string | RefPointer;
|
|
37
40
|
uiCustomization?: UiCustomization;
|
|
38
41
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/item.transformation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _ConstraintTransformation from './constraint.transformation';
|
|
|
2
2
|
import * as _DatasourceDefinitionTransformation from './datasource-definition.transformation';
|
|
3
3
|
import { Item } from './item';
|
|
4
4
|
import * as _ItemMetadataTransformation from './item-metadata.transformation';
|
|
5
|
-
import * as
|
|
5
|
+
import * as _RefPointerTransformation from './ref-pointer.transformation';
|
|
6
6
|
import * as _UiCustomizationTransformation from './ui-customization.transformation';
|
|
7
7
|
export interface AsJson {
|
|
8
8
|
constraints?: _ConstraintTransformation.AsJson[];
|
|
@@ -13,7 +13,7 @@ export interface AsJson {
|
|
|
13
13
|
metadata?: _ItemMetadataTransformation.AsJson;
|
|
14
14
|
referencedType?: string;
|
|
15
15
|
subType?: string;
|
|
16
|
-
type:
|
|
16
|
+
type: string | _RefPointerTransformation.AsJson;
|
|
17
17
|
uiCustomization?: _UiCustomizationTransformation.AsJson;
|
|
18
18
|
}
|
|
19
19
|
export declare function fromJson($model: AsJson): Item;
|
|
@@ -20,7 +20,7 @@ The object value can be a single constant or, in case of semantic attribute, an
|
|
|
20
20
|
* The maximum payload size of a single request is 5 MB.
|
|
21
21
|
* 50000 log events per payload.
|
|
22
22
|
|
|
23
|
-
Supported timestamp keys
|
|
23
|
+
<br/> **Supported timestamp keys:**
|
|
24
24
|
* @timestamp
|
|
25
25
|
* _timestamp
|
|
26
26
|
* date
|
|
@@ -29,20 +29,20 @@ Supported timestamp keys:
|
|
|
29
29
|
* syslog.timestamp
|
|
30
30
|
* timestamp
|
|
31
31
|
|
|
32
|
-
Supported content keys
|
|
32
|
+
<br/> **Supported content keys:**
|
|
33
33
|
* body
|
|
34
34
|
* content
|
|
35
35
|
* message
|
|
36
36
|
* payload
|
|
37
37
|
|
|
38
|
-
Supported severity keys
|
|
38
|
+
<br/> **Supported severity keys:**
|
|
39
39
|
* level
|
|
40
40
|
* loglevel
|
|
41
41
|
* severity
|
|
42
42
|
* status
|
|
43
43
|
* syslog.severity
|
|
44
44
|
|
|
45
|
-
Supported semantic attribute keys
|
|
45
|
+
<br/> **Supported semantic attribute keys:**
|
|
46
46
|
* audit.action
|
|
47
47
|
* audit.identity
|
|
48
48
|
* audit.result
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MetricQueryDQLTranslationStatus } from './metric-query-dql-translation-status';
|
|
2
|
+
export declare type AsJson = string;
|
|
3
|
+
export declare function fromJson($model: AsJson): MetricQueryDQLTranslationStatus;
|
|
4
|
+
export declare function toJson($model: MetricQueryDQLTranslationStatus): AsJson;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MetricQueryDQLTranslationStatus } from './metric-query-dql-translation-status';
|
|
2
|
+
/**
|
|
3
|
+
* Metric query translation to DQL.
|
|
4
|
+
*/
|
|
5
|
+
export interface MetricQueryDQLTranslation {
|
|
6
|
+
/**
|
|
7
|
+
* Error message - only present if the status is `not supported`
|
|
8
|
+
*/
|
|
9
|
+
message?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The DQL query corresponding to the metric query
|
|
12
|
+
*/
|
|
13
|
+
query?: string;
|
|
14
|
+
status?: MetricQueryDQLTranslationStatus;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MetricQueryDQLTranslation } from './metric-query-dql-translation';
|
|
2
|
+
import * as _MetricQueryDQLTranslationStatusTransformation from './metric-query-dql-translation-status.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
message?: string;
|
|
5
|
+
query?: string;
|
|
6
|
+
status?: _MetricQueryDQLTranslationStatusTransformation.AsJson;
|
|
7
|
+
}
|
|
8
|
+
export declare function fromJson($model: AsJson): MetricQueryDQLTranslation;
|
|
9
|
+
export declare function toJson($model: MetricQueryDQLTranslation): AsJson;
|