@dynatrace-sdk/client-classic-environment-v2 1.7.0 → 1.8.2

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -1
  3. package/cjs/index.js +2901 -2654
  4. package/docs/DOCS.md +491 -412
  5. package/dynatrace-metadata.json +2 -2
  6. package/esm/index.js +2901 -2654
  7. package/package.json +1 -1
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +29 -0
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -1
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +6 -4
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/{synthetic-multi-protocol-monitors-api.d.ts → synthetic-network-availability-monitors-api.d.ts} +26 -26
  12. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-additional-metadata.d.ts +3 -3
  13. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-additional-metadata.transformation.d.ts +1 -1
  14. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +1 -0
  15. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +2 -1
  16. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +1 -0
  17. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +1 -0
  18. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +1 -0
  19. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +2 -0
  20. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.d.ts +3 -3
  21. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.transformation.d.ts +1 -1
  22. package/types/packages/client/classic-environment-v2/src/lib/models/cloud-event.d.ts +1 -1
  23. package/types/packages/client/classic-environment-v2/src/lib/models/cloud-event.transformation.d.ts +1 -1
  24. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element.d.ts +4 -0
  25. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element.transformation.d.ts +1 -0
  26. package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +4 -0
  27. package/types/packages/client/classic-environment-v2/src/lib/models/credentials.transformation.d.ts +1 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.d.ts +1 -1
  29. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.transformation.d.ts +1 -1
  30. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.d.ts +3 -3
  31. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.transformation.d.ts +1 -1
  32. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-properties.d.ts +2 -0
  33. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto-actions.d.ts +7 -0
  34. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto-actions.transformation.d.ts +7 -0
  35. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto.d.ts +4 -0
  36. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto.transformation.d.ts +10 -0
  37. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.d.ts +6 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-response.transformation.d.ts +6 -0
  39. package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration-value.d.ts +3 -3
  40. package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration-value.transformation.d.ts +1 -1
  41. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +6 -0
  42. package/types/packages/client/classic-environment-v2/src/lib/models/ingest-body.d.ts +3 -3
  43. package/types/packages/client/classic-environment-v2/src/lib/models/ingest-body.transformation.d.ts +1 -1
  44. package/types/packages/client/classic-environment-v2/src/lib/models/json-node.d.ts +3 -3
  45. package/types/packages/client/classic-environment-v2/src/lib/models/json-node.transformation.d.ts +1 -1
  46. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +3 -3
  47. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.transformation.d.ts +1 -1
  48. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-plain.d.ts +3 -3
  49. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-plain.transformation.d.ts +1 -1
  50. package/types/packages/client/classic-environment-v2/src/lib/models/log-records-list.d.ts +1 -1
  51. package/types/packages/client/classic-environment-v2/src/lib/models/object-node.d.ts +3 -3
  52. package/types/packages/client/classic-environment-v2/src/lib/models/object-node.transformation.d.ts +1 -1
  53. package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.d.ts +3 -3
  54. package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.transformation.d.ts +1 -1
  55. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +1 -1
  56. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.transformation.d.ts +1 -1
  57. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.d.ts +3 -3
  58. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.transformation.d.ts +1 -1
  59. package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.d.ts +3 -3
  60. package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.transformation.d.ts +1 -1
  61. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-constraint-dto.d.ts +1 -1
  62. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +1 -1
  63. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto.d.ts +5 -1
  64. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto.transformation.d.ts +1 -0
  65. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +1 -1
  66. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto.d.ts +1 -1
  67. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor-customized-script.d.ts +3 -3
  68. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor-customized-script.transformation.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/client-classic-environment-v2",
3
- "version": "1.7.0",
3
+ "version": "1.8.2",
4
4
  "description": "Client for the Dynatrace Environment API v2",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -1,6 +1,8 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { ActiveGateGroupsInfoDto } from '../models/active-gate-groups-info-dto';
3
3
  import { ErrorEnvelope } from '../models/error-envelope';
4
+ import { ExecuteActionsDto } from '../models/execute-actions-dto';
5
+ import { ExecuteActionsResponse } from '../models/execute-actions-response';
4
6
  import { Extension } from '../models/extension';
5
7
  import { ExtensionAssetsDto } from '../models/extension-assets-dto';
6
8
  import { ExtensionEnvironmentConfigurationVersion } from '../models/extension-environment-configuration-version';
@@ -538,6 +540,33 @@ export declare class Extensions_2_0Client {
538
540
  /** The ID of the requested monitoring configuration. */ configurationId: string;
539
541
  abortSignal?: AbortSignal;
540
542
  }): Promise<void>;
543
+ /**
544
+ * Executes Data Source action of Active Gate or Host
545
+ *
546
+ * **Required scope:** environment-api:extension-configuration-actions:write<br/>**One of the following permissions is required:**
547
+ * + environment:roles:manage-settings
548
+ * + extensions:configuration.actions:write
549
+ *
550
+ * @returns Accepted. Response doesn't have a body.
551
+ *
552
+ * @example <caption>Code example</caption>
553
+ * import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
554
+ *
555
+ * const data =
556
+ * await extensions_2_0Client.executeExtensionMonitoringConfigurationActions(
557
+ * {
558
+ * extensionName: "...",
559
+ * configurationId: "...",
560
+ * body: {},
561
+ * },
562
+ * );
563
+ */
564
+ executeExtensionMonitoringConfigurationActions(config: {
565
+ body: ExecuteActionsDto;
566
+ /** The name of the requested extension 2.0. */ extensionName: string;
567
+ /** The ID of the requested monitoring configuration. */ configurationId: string;
568
+ abortSignal?: AbortSignal;
569
+ }): Promise<ExecuteActionsResponse>;
541
570
  /**
542
571
  * Gets the list of the events linked to specific monitoring configuration
543
572
  *
@@ -25,5 +25,5 @@ export * from './settings-objects-api';
25
25
  export * from './settings-schemas-api';
26
26
  export * from './synthetic-http-monitor-executions-api';
27
27
  export * from './synthetic-locations-nodes-and-configuration-api';
28
- export * from './synthetic-multi-protocol-monitors-api';
28
+ export * from './synthetic-network-availability-monitors-api';
29
29
  export * from './synthetic-on-demand-monitor-executions-api';
@@ -25,7 +25,7 @@ export declare class LogsClient {
25
25
  *
26
26
  * If *Log Management and Analytics, powered by Grail* is enabled, then a bearer OAuth token (with *storage:logs:read* and *storage:buckets:read* scopes) needs to be used for authentication.
27
27
  *
28
- * Please note that *Dynatrace API explorer* does not currently support OAuth authentication
28
+ * Please note that *Dynatrace API explorer* does not currently support OAuth authentication.
29
29
  *
30
30
  * @returns Success
31
31
  *
@@ -106,7 +106,7 @@ export declare class LogsClient {
106
106
  /**
107
107
  * Exports log records | maturity=EARLY_ADOPTER
108
108
  *
109
- * **Required scope:** environment-api<br/>**Required permission:** environment:roles:logviewer<br/><br/>Returns the first *X* records (specified in the **pageSize** query parameter).
109
+ * **Required scope:** storage:logs:read<br/>**Required permission:** environment:roles:logviewer<br/><br/>Returns the first *X* records (specified in the **pageSize** query parameter).
110
110
  *
111
111
  * Unlike the **search** API, this API does not split the result into slices and has no limit for the total number of records. Log records are sorted by the criteria specified in the **sort** query parameter.
112
112
  *
@@ -269,13 +269,13 @@ export declare class LogsClient {
269
269
  *
270
270
  * **Required scope:** storage:logs:read<br/>**Required permission:** environment:roles:logviewer<br/><br/>Returns the first *X* records (specified in the **limit** query parameter). Log records are sorted by the criteria specified in the **sort** query parameter.
271
271
  *
272
- * If the query is too large to be processed in a single request, it is divided into slices. In that case the first response contains the **nextSliceKey** cursor for the second slice. Use it in the **nextSliceKey** query parameter to obtain the second slice, which contains **nextSliceKey** cursor for the third slice, and so on.
272
+ * If the query is too large to be processed in a single request, it is divided into slices (slices are unsupported on *Log Management and Analytics, powered by Grail*). In that case the first response contains the **nextSliceKey** cursor for the second slice. Use it in the **nextSliceKey** query parameter to obtain the second slice, which contains **nextSliceKey** cursor for the third slice, and so on.
273
273
  *
274
274
  * Results can be distributed unevenly between slices and some slices might be empty.
275
275
  *
276
276
  * If *Log Management and Analytics, powered by Grail* is enabled, then a bearer OAuth token (with *storage:logs:read* and *storage:buckets:read* scopes) needs to be used for authentication.
277
277
  *
278
- * Please note that *Dynatrace API explorer* does not currently support OAuth authentication
278
+ * Please note that *Dynatrace API explorer* does not currently support OAuth authentication.
279
279
  *
280
280
  * @returns Success
281
281
  *
@@ -348,6 +348,8 @@ export declare class LogsClient {
348
348
  * The first slice is always returned if you don't specify this parameter.
349
349
  *
350
350
  * If this parameter is set, all other query parameters are ignored.
351
+ *
352
+ * Unsupported on *Log Management and Analytics, powered by Grail*.
351
353
  */ nextSliceKey?: string;
352
354
  abortSignal?: AbortSignal;
353
355
  }): Promise<LogRecordsList>;
@@ -4,28 +4,28 @@ import { SyntheticMonitorListDto } from '../models/synthetic-monitor-list-dto';
4
4
  import { SyntheticMultiProtocolMonitorDto } from '../models/synthetic-multi-protocol-monitor-dto';
5
5
  import { SyntheticMultiProtocolMonitorUpdateDto } from '../models/synthetic-multi-protocol-monitor-update-dto';
6
6
  /**
7
- * Create, read, update and delete synthetic monitors. Currently multi-protocol monitors only.
7
+ * Create, read, update and delete synthetic monitors. Currently network availability monitors only.
8
8
  */
9
- export declare class SyntheticMultiProtocolMonitorsClient {
9
+ export declare class SyntheticNetworkAvailabilityMonitorsClient {
10
10
  private httpClient;
11
11
  /**
12
- * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticMultiProtocolMonitorsClient. Custom http client should implement {HttpClient} interface.
12
+ * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticNetworkAvailabilityMonitorsClient. Custom http client should implement {HttpClient} interface.
13
13
  * @example
14
- * const syntheticMultiProtocolMonitorsClientNodeJs = new SyntheticMultiProtocolMonitorsClient(yourCustomImplementation);
14
+ * const syntheticNetworkAvailabilityMonitorsClientNodeJs = new SyntheticNetworkAvailabilityMonitorsClient(yourCustomImplementation);
15
15
  */
16
16
  constructor(httpClientImplementation: HttpClient);
17
17
  /**
18
- * Gets all synthetic monitors. Currently multi-protocol monitors only. | maturity=EARLY_ADOPTER
18
+ * Gets all synthetic monitors. Currently network availability monitors only. | maturity=EARLY_ADOPTER
19
19
  *
20
20
  * **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:viewer
21
21
  *
22
22
  * @returns Success
23
23
  *
24
24
  * @example <caption>Code example</caption>
25
- * import { syntheticMultiProtocolMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
25
+ * import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
26
26
  *
27
27
  * const data =
28
- * await syntheticMultiProtocolMonitorsClient.getMonitors();
28
+ * await syntheticNetworkAvailabilityMonitorsClient.getMonitors();
29
29
  */
30
30
  getMonitors(config?: {
31
31
  /**
@@ -36,17 +36,17 @@ export declare class SyntheticMultiProtocolMonitorsClient {
36
36
  abortSignal?: AbortSignal;
37
37
  }): Promise<SyntheticMonitorListDto>;
38
38
  /**
39
- * Creates a synthetic monitor definition. Currently multi-protocol monitors only. | maturity=EARLY_ADOPTER
39
+ * Creates a synthetic monitor definition. Currently network availability monitors only. | maturity=EARLY_ADOPTER
40
40
  *
41
41
  * **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:viewer
42
42
  *
43
43
  * @returns Success
44
44
  *
45
45
  * @example <caption>Code example</caption>
46
- * import { syntheticMultiProtocolMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
46
+ * import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
47
47
  *
48
48
  * const data =
49
- * await syntheticMultiProtocolMonitorsClient.createMonitor(
49
+ * await syntheticNetworkAvailabilityMonitorsClient.createMonitor(
50
50
  * {},
51
51
  * );
52
52
  */
@@ -55,36 +55,36 @@ export declare class SyntheticMultiProtocolMonitorsClient {
55
55
  abortSignal?: AbortSignal;
56
56
  }): Promise<MonitorEntityIdDto>;
57
57
  /**
58
- * Gets a synthetic monitor definition for the given monitor ID. Currently multi-protocol monitors only. | maturity=EARLY_ADOPTER
58
+ * Gets a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
59
59
  *
60
60
  * **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:viewer
61
61
  *
62
62
  * @returns Success
63
63
  *
64
64
  * @example <caption>Code example</caption>
65
- * import { syntheticMultiProtocolMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
65
+ * import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
66
66
  *
67
67
  * const data =
68
- * await syntheticMultiProtocolMonitorsClient.getMonitor({
69
- * monitorId: "...",
70
- * });
68
+ * await syntheticNetworkAvailabilityMonitorsClient.getMonitor(
69
+ * { monitorId: "..." },
70
+ * );
71
71
  */
72
72
  getMonitor(config: {
73
73
  /** The identifier of the monitor. */ monitorId: string;
74
74
  abortSignal?: AbortSignal;
75
75
  }): Promise<SyntheticMultiProtocolMonitorDto>;
76
76
  /**
77
- * Updates a synthetic monitor definition for the given monitor ID. Currently multi-protocol monitors only. | maturity=EARLY_ADOPTER
77
+ * Updates a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
78
78
  *
79
79
  * **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:viewer
80
80
  *
81
81
  * @example <caption>Code example</caption>
82
- * import { syntheticMultiProtocolMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
82
+ * import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
83
83
  *
84
84
  * const data =
85
- * await syntheticMultiProtocolMonitorsClient.updateMonitor({
86
- * monitorId: "...",
87
- * });
85
+ * await syntheticNetworkAvailabilityMonitorsClient.updateMonitor(
86
+ * { monitorId: "..." },
87
+ * );
88
88
  */
89
89
  updateMonitor(config: {
90
90
  body: SyntheticMultiProtocolMonitorUpdateDto;
@@ -92,21 +92,21 @@ export declare class SyntheticMultiProtocolMonitorsClient {
92
92
  abortSignal?: AbortSignal;
93
93
  }): Promise<void>;
94
94
  /**
95
- * Deletes a synthetic monitor definition for the given monitor ID. Currently multi-protocol monitors only. | maturity=EARLY_ADOPTER
95
+ * Deletes a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
96
96
  *
97
97
  * **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:viewer
98
98
  *
99
99
  * @example <caption>Code example</caption>
100
- * import { syntheticMultiProtocolMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
100
+ * import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
101
101
  *
102
102
  * const data =
103
- * await syntheticMultiProtocolMonitorsClient.deleteMonitor({
104
- * monitorId: "...",
105
- * });
103
+ * await syntheticNetworkAvailabilityMonitorsClient.deleteMonitor(
104
+ * { monitorId: "..." },
105
+ * );
106
106
  */
107
107
  deleteMonitor(config: {
108
108
  /** The identifier of the monitor. */ monitorId: string;
109
109
  abortSignal?: AbortSignal;
110
110
  }): Promise<void>;
111
111
  }
112
- export declare const syntheticMultiProtocolMonitorsClient: SyntheticMultiProtocolMonitorsClient;
112
+ export declare const syntheticNetworkAvailabilityMonitorsClient: SyntheticNetworkAvailabilityMonitorsClient;
@@ -3,7 +3,7 @@
3
3
 
4
4
  * A `dashboardId` property for dashboard sharing tokens.
5
5
  * A `reportId` property for report sharing tokens
6
- * This is just an alias for a type any.
7
- * @typedef {any} ApiTokenAdditionalMetadata
6
+ * This is just an alias for a type Record<string, any>.
7
+ * @typedef {Record<string, any>} ApiTokenAdditionalMetadata
8
8
  */
9
- export declare type ApiTokenAdditionalMetadata = any;
9
+ export declare type ApiTokenAdditionalMetadata = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { ApiTokenAdditionalMetadata } from './api-token-additional-metadata';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): ApiTokenAdditionalMetadata;
4
4
  export declare function toJson($model: ApiTokenAdditionalMetadata): AsJson;
@@ -32,6 +32,7 @@ export declare enum ApiTokenCreateScopesItem {
32
32
  ProblemsWrite = "problems.write",
33
33
  EventsRead = "events.read",
34
34
  EventsIngest = "events.ingest",
35
+ BizeventsIngest = "bizevents.ingest",
35
36
  AnalyzersRead = "analyzers.read",
36
37
  AnalyzersWrite = "analyzers.write",
37
38
  NetworkZonesRead = "networkZones.read",
@@ -19,7 +19,7 @@ export interface ApiTokenCreate {
19
19
  * * `M`: months
20
20
  * * `y`: years
21
21
  *
22
- * If not set, the token never expires.
22
+ * If not set, the token never expires. Ensure that the expiration date is not set in the past.
23
23
  */
24
24
  expirationDate?: string;
25
25
  /**
@@ -68,6 +68,7 @@ export interface ApiTokenCreate {
68
68
  * * `problems.write`: Write problems.
69
69
  * * `events.read`: Read events.
70
70
  * * `events.ingest`: Ingest events.
71
+ * * `bizevents.ingest`: Ingest bizevents.
71
72
  * * `analyzers.read`: Read analyzers.
72
73
  * * `analyzers.write`: Write & execute analyzers.
73
74
  * * `networkZones.read`: Read network zones.
@@ -39,6 +39,7 @@ export declare enum ApiTokenScopesItem {
39
39
  AttacksRead = "attacks.read",
40
40
  AttacksWrite = "attacks.write",
41
41
  AuditLogsRead = "auditLogs.read",
42
+ BizeventsIngest = "bizevents.ingest",
42
43
  CredentialVaultRead = "credentialVault.read",
43
44
  CredentialVaultWrite = "credentialVault.write",
44
45
  EntitiesRead = "entities.read",
@@ -32,6 +32,7 @@ export declare enum ApiTokenUpdateScopesItem {
32
32
  ProblemsWrite = "problems.write",
33
33
  EventsRead = "events.read",
34
34
  EventsIngest = "events.ingest",
35
+ BizeventsIngest = "bizevents.ingest",
35
36
  AnalyzersRead = "analyzers.read",
36
37
  AnalyzersWrite = "analyzers.write",
37
38
  NetworkZonesRead = "networkZones.read",
@@ -49,6 +49,7 @@ export interface ApiTokenUpdate {
49
49
  * * `problems.write`: Write problems.
50
50
  * * `events.read`: Read events.
51
51
  * * `events.ingest`: Ingest events.
52
+ * * `bizevents.ingest`: Ingest bizevents.
52
53
  * * `analyzers.read`: Read analyzers.
53
54
  * * `analyzers.write`: Write & execute analyzers.
54
55
  * * `networkZones.read`: Read network zones.
@@ -6,6 +6,7 @@ export declare enum AssetInfoDtoType {
6
6
  CustomCards = "CUSTOM_CARDS",
7
7
  Dashboard = "DASHBOARD",
8
8
  DeclarativeProcesses = "DECLARATIVE_PROCESSES",
9
+ DqlLogProcessingRule = "DQL_LOG_PROCESSING_RULE",
9
10
  GenericRelationship = "GENERIC_RELATIONSHIP",
10
11
  GenericType = "GENERIC_TYPE",
11
12
  ListScreenFilters = "LIST_SCREEN_FILTERS",
@@ -14,6 +15,7 @@ export declare enum AssetInfoDtoType {
14
15
  LogEvent = "LOG_EVENT",
15
16
  LogMetric = "LOG_METRIC",
16
17
  LogProcessingRule = "LOG_PROCESSING_RULE",
18
+ LqlLogProcessingRule = "LQL_LOG_PROCESSING_RULE",
17
19
  MetricMetadata = "METRIC_METADATA",
18
20
  MetricQuery = "METRIC_QUERY",
19
21
  ScreenActions = "SCREEN_ACTIONS",
@@ -2,7 +2,7 @@
2
2
  * The patch of the recorded operation as the JSON representation.
3
3
 
4
4
  The format is an enhanced RFC 6902. The patch also carries the previous value in the **oldValue** field.
5
- * This is just an alias for a type any.
6
- * @typedef {any} AuditLogEntryPatch
5
+ * This is just an alias for a type Record<string, any>.
6
+ * @typedef {Record<string, any>} AuditLogEntryPatch
7
7
  */
8
- export declare type AuditLogEntryPatch = any;
8
+ export declare type AuditLogEntryPatch = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { AuditLogEntryPatch } from './audit-log-entry-patch';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): AuditLogEntryPatch;
4
4
  export declare function toJson($model: AuditLogEntryPatch): AsJson;
@@ -2,7 +2,7 @@
2
2
  * CloudEvents is a [specification](https://github.com/cloudevents/spec/blob/v1.0/spec.json) for describing event data in common formats to provide interoperability across services, platforms and systems.
3
3
  */
4
4
  export interface CloudEvent {
5
- data?: any;
5
+ data?: Record<string, any>;
6
6
  data_base64?: string;
7
7
  datacontenttype?: string;
8
8
  dataschema?: string;
@@ -1,6 +1,6 @@
1
1
  import { CloudEvent } from './cloud-event';
2
2
  export interface AsJson {
3
- data?: any;
3
+ data?: Record<string, any>;
4
4
  data_base64?: string;
5
5
  datacontenttype?: string;
6
6
  dataschema?: string;
@@ -8,6 +8,10 @@ import { ExternalVaultConfig } from './external-vault-config';
8
8
  * Metadata of the credentials set.
9
9
  */
10
10
  export interface CredentialsResponseElement {
11
+ /**
12
+ * Allow access without app context, for example, from ad hoc functions in Workflows (requires the APP_ENGINE scope).
13
+ */
14
+ allowContextlessRequests?: boolean;
11
15
  /**
12
16
  * The set of entities allowed to use the credential.
13
17
  */
@@ -6,6 +6,7 @@ import * as _CredentialsResponseElementScopesItemTransformation from './credenti
6
6
  import * as _CredentialsResponseElementTypeTransformation from './credentials-response-element-type.transformation';
7
7
  import * as _ExternalVaultConfigTransformation from './external-vault-config.transformation';
8
8
  export interface AsJson {
9
+ allowContextlessRequests?: boolean;
9
10
  allowedEntities: _CredentialAccessDataTransformation.AsJson[];
10
11
  credentialUsageSummary: _CredentialUsageHandlerTransformation.AsJson[];
11
12
  description: string;
@@ -8,6 +8,10 @@ import { CredentialsType } from './credentials-type';
8
8
  * The actual set of fields depends on the type of credentials. Find the list of actual objects in the description of the **type** field or see [Credential vault API - JSON models](https://dt-url.net/2sa3sen).
9
9
  */
10
10
  export interface Credentials {
11
+ /**
12
+ * Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
13
+ */
14
+ allowContextlessRequests?: boolean;
11
15
  /**
12
16
  * The set of entities allowed to use the credential.
13
17
  */
@@ -12,6 +12,7 @@ export declare function isPublicCertificateCredentials($model: Credentials): $mo
12
12
  export declare function isTokenCredentials($model: Credentials): $model is TokenCredentials;
13
13
  export declare function isUserPasswordCredentials($model: Credentials): $model is UserPasswordCredentials;
14
14
  export interface AsJson {
15
+ allowContextlessRequests?: boolean;
15
16
  allowedEntities?: _CredentialAccessDataTransformation.AsJson[];
16
17
  description?: string;
17
18
  id?: string;
@@ -2,5 +2,5 @@
2
2
  * A list of additional properties of the entity.
3
3
  */
4
4
  export interface EntityProperties {
5
- [propName: string]: any;
5
+ [propName: string]: Record<string, any> | undefined;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { EntityProperties } from './entity-properties';
2
2
  export interface AsJson {
3
- [propName: string]: any;
3
+ [propName: string]: Record<string, any> | undefined;
4
4
  }
5
5
  export declare function fromJson($model: AsJson): EntityProperties;
6
6
  export declare function toJson($model: EntityProperties): AsJson;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The allowed value of the enum.
3
- * This is just an alias for a type any.
4
- * @typedef {any} EnumValueValue
3
+ * This is just an alias for a type Record<string, any>.
4
+ * @typedef {Record<string, any>} EnumValueValue
5
5
  */
6
- export declare type EnumValueValue = any;
6
+ export declare type EnumValueValue = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { EnumValueValue } from './enum-value-value';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): EnumValueValue;
4
4
  export declare function toJson($model: EnumValueValue): AsJson;
@@ -6,6 +6,8 @@
6
6
  * All other keys are interpreted as user-defined event properties.
7
7
  *
8
8
  * Values of Dynatrace-reserved properties must fulfill the requirements of the respective property.
9
+ *
10
+ * A maximum of 100 properties can be specified. A property key is allowed to contain up to 100 characters. A property value is allowed to contain up to 4096 characters.
9
11
  */
10
12
  export interface EventIngestProperties {
11
13
  [propName: string]: string | undefined;
@@ -0,0 +1,7 @@
1
+ import { JsonNode } from './json-node';
2
+ /**
3
+ * Data Source defined action objects
4
+ */
5
+ export interface ExecuteActionsDtoActions {
6
+ [propName: string]: JsonNode | undefined;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { ExecuteActionsDtoActions } from './execute-actions-dto-actions';
2
+ import * as _JsonNodeTransformation from './json-node.transformation';
3
+ export interface AsJson {
4
+ [propName: string]: _JsonNodeTransformation.AsJson | undefined;
5
+ }
6
+ export declare function fromJson($model: AsJson): ExecuteActionsDtoActions;
7
+ export declare function toJson($model: ExecuteActionsDtoActions): AsJson;
@@ -0,0 +1,4 @@
1
+ import { ExecuteActionsDtoActions } from './execute-actions-dto-actions';
2
+ export interface ExecuteActionsDto {
3
+ actions?: ExecuteActionsDtoActions;
4
+ }
@@ -0,0 +1,10 @@
1
+ import { FormDataRequestBody, FormDataResponseBody } from '@dynatrace-sdk/http-client';
2
+ import { ExecuteActionsDto } from './execute-actions-dto';
3
+ import * as _ExecuteActionsDtoActionsTransformation from './execute-actions-dto-actions.transformation';
4
+ export interface AsJson {
5
+ actions?: _ExecuteActionsDtoActionsTransformation.AsJson;
6
+ }
7
+ export declare function fromJson($model: AsJson): ExecuteActionsDto;
8
+ export declare function toJson($model: ExecuteActionsDto): AsJson;
9
+ export declare function fromFormData(formData: FormDataResponseBody): ExecuteActionsDto;
10
+ export declare function toFormData($model: ExecuteActionsDto): FormDataRequestBody;
@@ -0,0 +1,6 @@
1
+ export interface ExecuteActionsResponse {
2
+ /**
3
+ * The HTTP Status code
4
+ */
5
+ code?: number;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { ExecuteActionsResponse } from './execute-actions-response';
2
+ export interface AsJson {
3
+ code?: number;
4
+ }
5
+ export declare function fromJson($model: AsJson): ExecuteActionsResponse;
6
+ export declare function toJson($model: ExecuteActionsResponse): AsJson;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Configuration
3
- * This is just an alias for a type any.
4
- * @typedef {any} ExtensionMonitoringConfigurationValue
3
+ * This is just an alias for a type Record<string, any>.
4
+ * @typedef {Record<string, any>} ExtensionMonitoringConfigurationValue
5
5
  */
6
- export declare type ExtensionMonitoringConfigurationValue = any;
6
+ export declare type ExtensionMonitoringConfigurationValue = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { ExtensionMonitoringConfigurationValue } from './extension-monitoring-configuration-value';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): ExtensionMonitoringConfigurationValue;
4
4
  export declare function toJson($model: ExtensionMonitoringConfigurationValue): AsJson;
@@ -320,6 +320,12 @@ export * from './evidence-details';
320
320
  export * as _EvidenceDetailsTransformation from './evidence-details.transformation';
321
321
  export * from './evidence-evidence-type';
322
322
  export * as _EvidenceEvidenceTypeTransformation from './evidence-evidence-type.transformation';
323
+ export * from './execute-actions-dto';
324
+ export * as _ExecuteActionsDtoTransformation from './execute-actions-dto.transformation';
325
+ export * from './execute-actions-dto-actions';
326
+ export * as _ExecuteActionsDtoActionsTransformation from './execute-actions-dto-actions.transformation';
327
+ export * from './execute-actions-response';
328
+ export * as _ExecuteActionsResponseTransformation from './execute-actions-response.transformation';
323
329
  export * from './execution-full-results';
324
330
  export * as _ExecutionFullResultsTransformation from './execution-full-results.transformation';
325
331
  export * from './execution-simple-results';
@@ -8,7 +8,7 @@ Following properties have special semantics:
8
8
  - event.kind - Always overridden to 'BIZ_EVENT'
9
9
 
10
10
  Any other keys will be transferred as event properties.
11
- * This is just an alias for a type any.
12
- * @typedef {any} IngestBody
11
+ * This is just an alias for a type Record<string, any>.
12
+ * @typedef {Record<string, any>} IngestBody
13
13
  */
14
- export declare type IngestBody = any;
14
+ export declare type IngestBody = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { IngestBody } from './ingest-body';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): IngestBody;
4
4
  export declare function toJson($model: IngestBody): AsJson;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The monitoring configuration
3
- * This is just an alias for a type any.
4
- * @typedef {any} JsonNode
3
+ * This is just an alias for a type Record<string, any>.
4
+ * @typedef {Record<string, any>} JsonNode
5
5
  */
6
- export declare type JsonNode = any;
6
+ export declare type JsonNode = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { JsonNode } from './json-node';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): JsonNode;
4
4
  export declare function toJson($model: JsonNode): AsJson;
@@ -217,7 +217,7 @@ Supported semantic attribute keys:
217
217
  * winlog.opcode
218
218
  * winlog.provider
219
219
  * winlog.task
220
- * This is just an alias for a type any.
221
- * @typedef {any} LogMessageJson
220
+ * This is just an alias for a type Record<string, any>.
221
+ * @typedef {Record<string, any>} LogMessageJson
222
222
  */
223
- export declare type LogMessageJson = any;
223
+ export declare type LogMessageJson = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { LogMessageJson } from './log-message-json';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): LogMessageJson;
4
4
  export declare function toJson($model: LogMessageJson): AsJson;
@@ -2,7 +2,7 @@
2
2
  * The log message in plain text.
3
3
 
4
4
  The length of the message is limited to 65,536 bytes for Grail tenants and to 8,192 bytes for other tenants. Any content exceeding the limit is trimmed.
5
- * This is just an alias for a type any.
6
- * @typedef {any} LogMessagePlain
5
+ * This is just an alias for a type Record<string, any>.
6
+ * @typedef {Record<string, any>} LogMessagePlain
7
7
  */
8
- export declare type LogMessagePlain = any;
8
+ export declare type LogMessagePlain = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { LogMessagePlain } from './log-message-plain';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): LogMessagePlain;
4
4
  export declare function toJson($model: LogMessagePlain): AsJson;