@dynatrace-sdk/client-classic-environment-v2 1.8.0 → 1.9.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +1 -1
  3. package/cjs/index.js +8816 -1848
  4. package/docs/DOCS.md +400 -417
  5. package/dynatrace-metadata.json +2 -2
  6. package/esm/index.js +8816 -1848
  7. package/package.json +1 -1
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +15 -3
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +1 -1
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +12 -3
  11. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-additional-metadata.d.ts +3 -3
  12. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-additional-metadata.transformation.d.ts +1 -1
  13. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.d.ts +3 -3
  14. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-patch.transformation.d.ts +1 -1
  15. package/types/packages/client/classic-environment-v2/src/lib/models/cloud-event.d.ts +1 -1
  16. package/types/packages/client/classic-environment-v2/src/lib/models/cloud-event.transformation.d.ts +1 -1
  17. package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details-type.d.ts +2 -1
  18. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.d.ts +1 -1
  19. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.transformation.d.ts +1 -1
  20. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.d.ts +3 -3
  21. package/types/packages/client/classic-environment-v2/src/lib/models/enum-value-value.transformation.d.ts +1 -1
  22. package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +1 -1
  23. package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.d.ts +6 -2
  24. package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.transformation.d.ts +1 -0
  25. package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration-value.d.ts +3 -3
  26. package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration-value.transformation.d.ts +1 -1
  27. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +0 -8
  28. package/types/packages/client/classic-environment-v2/src/lib/models/ingest-body.d.ts +3 -3
  29. package/types/packages/client/classic-environment-v2/src/lib/models/ingest-body.transformation.d.ts +1 -1
  30. package/types/packages/client/classic-environment-v2/src/lib/models/json-node.d.ts +3 -3
  31. package/types/packages/client/classic-environment-v2/src/lib/models/json-node.transformation.d.ts +1 -1
  32. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +3 -3
  33. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.transformation.d.ts +1 -1
  34. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-plain.d.ts +3 -3
  35. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-plain.transformation.d.ts +1 -1
  36. package/types/packages/client/classic-environment-v2/src/lib/models/monitor-request-execution-result.d.ts +4 -0
  37. package/types/packages/client/classic-environment-v2/src/lib/models/monitor-request-execution-result.transformation.d.ts +1 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
  39. package/types/packages/client/classic-environment-v2/src/lib/models/object-node.d.ts +3 -3
  40. package/types/packages/client/classic-environment-v2/src/lib/models/object-node.transformation.d.ts +1 -1
  41. package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.d.ts +3 -3
  42. package/types/packages/client/classic-environment-v2/src/lib/models/precondition-expected-value.transformation.d.ts +1 -1
  43. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +1 -1
  44. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.transformation.d.ts +1 -1
  45. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +7 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.transformation.d.ts +1 -0
  47. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.d.ts +3 -3
  48. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-default.transformation.d.ts +1 -1
  49. package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.d.ts +3 -3
  50. package/types/packages/client/classic-environment-v2/src/lib/models/settings-value.transformation.d.ts +1 -1
  51. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +2 -4
  52. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.transformation.d.ts +2 -4
  53. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +0 -2
  54. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.transformation.d.ts +0 -2
  55. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +0 -2
  56. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.transformation.d.ts +0 -2
  57. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto.d.ts +0 -2
  58. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto.transformation.d.ts +0 -2
  59. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor-customized-script.d.ts +3 -3
  60. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor-customized-script.transformation.d.ts +1 -1
  61. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +7 -0
  62. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.transformation.d.ts +1 -0
  63. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-type.d.ts +1 -0
  64. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto-type.d.ts +0 -8
  65. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto-type.transformation.d.ts +0 -4
  66. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto-properties.d.ts +0 -6
  67. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto-properties.transformation.d.ts +0 -6
  68. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto-properties.d.ts +0 -6
  69. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto-properties.transformation.d.ts +0 -6
  70. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto-properties.d.ts +0 -6
  71. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto-properties.transformation.d.ts +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/client-classic-environment-v2",
3
- "version": "1.8.0",
3
+ "version": "1.9.1",
4
4
  "description": "Client for the Dynatrace Environment API v2",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -19,7 +19,11 @@ export declare class LogsClient {
19
19
  /**
20
20
  * Gets aggregated log records | maturity=EARLY_ADOPTER
21
21
  *
22
- * **Required scope:** storage:logs:read<br/>**Required permission:** environment:roles:logviewer<br/><br/>Returns the aggregated number of occurrences of log values divided into time slots.
22
+ * **Required scope:** storage:logs:read<br/>**One of the following permissions is required:**
23
+ * + environment:roles:logviewer
24
+ * + storage:logs:read
25
+ *
26
+ * <br/><br/>Returns the aggregated number of occurrences of log values divided into time slots.
23
27
  *
24
28
  * It is possible that the timeframe covered by results exceeds the specified timeframe. In that case the request returns fewer time slots than specified in the **timeBuckets** query parameter.
25
29
  *
@@ -106,7 +110,11 @@ export declare class LogsClient {
106
110
  /**
107
111
  * Exports log records | maturity=EARLY_ADOPTER
108
112
  *
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).
113
+ * **Required scope:** storage:logs:read<br/>**One of the following permissions is required:**
114
+ * + environment:roles:logviewer
115
+ * + storage:logs:read
116
+ *
117
+ * <br/><br/>Returns the first *X* records (specified in the **pageSize** query parameter).
110
118
  *
111
119
  * 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
120
  *
@@ -267,7 +275,11 @@ export declare class LogsClient {
267
275
  /**
268
276
  * Reads log records | maturity=EARLY_ADOPTER
269
277
  *
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.
278
+ * **Required scope:** storage:logs:read<br/>**One of the following permissions is required:**
279
+ * + environment:roles:logviewer
280
+ * + storage:logs:read
281
+ *
282
+ * <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
283
  *
272
284
  * 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
285
  *
@@ -199,7 +199,7 @@ export declare class ProblemsClient {
199
199
  /**
200
200
  * Closes the specified problem and adds a closing comment on it
201
201
  *
202
- * **Required scope:** environment-api:problems:write<br/>**Required permission:** environment:roles:manage-settings
202
+ * **Required scope:** environment-api:problems:write<br/>**Required permission:** environment:roles:viewer
203
203
  *
204
204
  * @returns Success
205
205
  *
@@ -29,10 +29,19 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
29
29
  */
30
30
  getMonitors(config?: {
31
31
  /**
32
- * Filters the resulting set of monitors to those which are part of the specified management zone.
32
+ * Defines the scope of the query. Only monitors matching the specified criteria are included into response.
33
33
  *
34
- * Specify the ID of the management zone here.
35
- */ managementZone?: number;
34
+ * You can add one or several of the criteria listed below. For each criterion you can specify multiple comma-separated values, unless stated otherwise. If several values are specified, the **OR** logic applies.
35
+ * * Monitor type: `type(HTTP,MULTI_PROTOCOL)`. Possible values: 'HTTP', 'BROWSER', 'THIRD_PARTY', 'MULTI_PROTOCOL' (Note that only 'MULTI_PROTOCOL' is currently supported).
36
+ * * Management zone ID: `managementZoneId(1, 2)`.
37
+ * * Synthetic Location ME ID: `location(SYNTHETIC_LOCATION-123)`.
38
+ * * Monitored host ME ID: `monitoredEntity(HOST-123)`.
39
+ * * Monitor tags: `tag([context]key:value,key:value,key)`. Tags in `[context]key:value`, `key:value`, and `key` formats are detected and parsed automatically. If a key-only tag has a colon (`:`) in it, you must escape the colon with a backslash(`\`). Otherwise, the tag will be parsed as a `key:value tag`. All tag values are case-sensitive.
40
+ * * Monitor activity: `active(true)`.
41
+ *
42
+ * To set several criteria, separate them with a comma (`,`).
43
+ * Only results matching **all** criteria are included in the response.
44
+ */ monitorSelector?: string;
36
45
  abortSignal?: AbortSignal;
37
46
  }): Promise<SyntheticMonitorListDto>;
38
47
  /**
@@ -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;
@@ -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;
@@ -4,5 +4,6 @@
4
4
  export declare enum CodeLevelVulnerabilityDetailsType {
5
5
  CmdInjection = "CMD_INJECTION",
6
6
  ImproperInputValidation = "IMPROPER_INPUT_VALIDATION",
7
- SqlInjection = "SQL_INJECTION"
7
+ SqlInjection = "SQL_INJECTION",
8
+ Ssrf = "SSRF"
8
9
  }
@@ -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;
@@ -16,7 +16,7 @@ export interface ExtensionAssetsDto {
16
16
  */
17
17
  status: string;
18
18
  /**
19
- * Extension version
19
+ * Version of the active extension environment configuration.
20
20
  */
21
21
  version: string;
22
22
  }
@@ -2,16 +2,20 @@
2
2
  * A list of extensions with additional metadata.
3
3
  */
4
4
  export interface ExtensionInfo {
5
+ /**
6
+ * Active version in the environment (null if none is active)
7
+ */
8
+ activeVersion?: string;
5
9
  /**
6
10
  * Extension name
7
11
  */
8
12
  extensionName: string;
9
13
  /**
10
- * Extension keywords
14
+ * Extension keywords for the highest version
11
15
  */
12
16
  keywords: string[];
13
17
  /**
14
- * Extension version
18
+ * Highest installed version
15
19
  */
16
20
  version: string;
17
21
  }
@@ -1,5 +1,6 @@
1
1
  import { ExtensionInfo } from './extension-info';
2
2
  export interface AsJson {
3
+ activeVersion?: string;
3
4
  extensionName: string;
4
5
  keywords: string[];
5
6
  version: string;
@@ -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;
@@ -920,8 +920,6 @@ export * from './synthetic-monitor-list-dto';
920
920
  export * as _SyntheticMonitorListDtoTransformation from './synthetic-monitor-list-dto.transformation';
921
921
  export * from './synthetic-monitor-outage-handling-settings-dto';
922
922
  export * as _SyntheticMonitorOutageHandlingSettingsDtoTransformation from './synthetic-monitor-outage-handling-settings-dto.transformation';
923
- export * from './synthetic-monitor-outage-handling-settings-dto-type';
924
- export * as _SyntheticMonitorOutageHandlingSettingsDtoTypeTransformation from './synthetic-monitor-outage-handling-settings-dto-type.transformation';
925
923
  export * from './synthetic-monitor-summary-dto';
926
924
  export * as _SyntheticMonitorSummaryDtoTransformation from './synthetic-monitor-summary-dto.transformation';
927
925
  export * from './synthetic-monitor-summary-dto-type';
@@ -932,8 +930,6 @@ export * from './synthetic-multi-protocol-monitor-constraint-dto-properties';
932
930
  export * as _SyntheticMultiProtocolMonitorConstraintDtoPropertiesTransformation from './synthetic-multi-protocol-monitor-constraint-dto-properties.transformation';
933
931
  export * from './synthetic-multi-protocol-monitor-dto';
934
932
  export * as _SyntheticMultiProtocolMonitorDtoTransformation from './synthetic-multi-protocol-monitor-dto.transformation';
935
- export * from './synthetic-multi-protocol-monitor-dto-properties';
936
- export * as _SyntheticMultiProtocolMonitorDtoPropertiesTransformation from './synthetic-multi-protocol-monitor-dto-properties.transformation';
937
933
  export * from './synthetic-multi-protocol-monitor-dto-type';
938
934
  export * as _SyntheticMultiProtocolMonitorDtoTypeTransformation from './synthetic-multi-protocol-monitor-dto-type.transformation';
939
935
  export * from './synthetic-multi-protocol-monitor-step-dto';
@@ -944,14 +940,10 @@ export * from './synthetic-multi-protocol-monitor-step-dto-request-type';
944
940
  export * as _SyntheticMultiProtocolMonitorStepDtoRequestTypeTransformation from './synthetic-multi-protocol-monitor-step-dto-request-type.transformation';
945
941
  export * from './synthetic-multi-protocol-monitor-update-dto';
946
942
  export * as _SyntheticMultiProtocolMonitorUpdateDtoTransformation from './synthetic-multi-protocol-monitor-update-dto.transformation';
947
- export * from './synthetic-multi-protocol-monitor-update-dto-properties';
948
- export * as _SyntheticMultiProtocolMonitorUpdateDtoPropertiesTransformation from './synthetic-multi-protocol-monitor-update-dto-properties.transformation';
949
943
  export * from './synthetic-multi-protocol-monitor-update-dto-type';
950
944
  export * as _SyntheticMultiProtocolMonitorUpdateDtoTypeTransformation from './synthetic-multi-protocol-monitor-update-dto-type.transformation';
951
945
  export * from './synthetic-multi-protocol-request-configuration-dto';
952
946
  export * as _SyntheticMultiProtocolRequestConfigurationDtoTransformation from './synthetic-multi-protocol-request-configuration-dto.transformation';
953
- export * from './synthetic-multi-protocol-request-configuration-dto-properties';
954
- export * as _SyntheticMultiProtocolRequestConfigurationDtoPropertiesTransformation from './synthetic-multi-protocol-request-configuration-dto-properties.transformation';
955
947
  export * from './synthetic-on-demand-batch-status';
956
948
  export * as _SyntheticOnDemandBatchStatusTransformation from './synthetic-on-demand-batch-status.transformation';
957
949
  export * from './synthetic-on-demand-batch-status-batch-status';
@@ -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;
@@ -5,6 +5,10 @@ import { MonitorRequestHeader } from './monitor-request-header';
5
5
  * A result of the execution HTTP monitor's request.
6
6
  */
7
7
  export interface MonitorRequestExecutionResult extends ExecutionStep {
8
+ /**
9
+ * Cloud platform of the location.
10
+ */
11
+ cloudPlatform?: string;
8
12
  /**
9
13
  * Custom log messages.
10
14
  */
@@ -3,6 +3,7 @@ import * as _ExecutionStepTransformation from './execution-step.transformation';
3
3
  import { MonitorRequestExecutionResult } from './monitor-request-execution-result';
4
4
  import * as _MonitorRequestHeaderTransformation from './monitor-request-header.transformation';
5
5
  export interface AsJson extends _ExecutionStepTransformation.AsJson {
6
+ cloudPlatform?: string;
6
7
  customLogs?: _CustomLogLineTransformation.AsJson[];
7
8
  engineId?: number;
8
9
  failureMessage?: string;
@@ -35,6 +35,7 @@ export declare enum MonitoredEntityStatesState {
35
35
  RestartRequired = "restart_required",
36
36
  RestartRequiredApache = "restart_required_apache",
37
37
  RestartRequiredDockerDeamon = "restart_required_docker_deamon",
38
+ RestartRequiredHostGroupInconsistent = "restart_required_host_group_inconsistent",
38
39
  RestartRequiredHostIdInconsistent = "restart_required_host_id_inconsistent",
39
40
  RestartRequiredOutdatedAgentApacheUpdate = "restart_required_outdated_agent_apache_update",
40
41
  RestartRequiredOutdatedAgentInjected = "restart_required_outdated_agent_injected",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Customized script properties for this on-demand batch execution.
3
- * This is just an alias for a type any.
4
- * @typedef {any} ObjectNode
3
+ * This is just an alias for a type Record<string, any>.
4
+ * @typedef {Record<string, any>} ObjectNode
5
5
  */
6
- export declare type ObjectNode = any;
6
+ export declare type ObjectNode = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { ObjectNode } from './object-node';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): ObjectNode;
4
4
  export declare function toJson($model: ObjectNode): AsJson;
@@ -2,7 +2,7 @@
2
2
  * The expected value of the property.
3
3
 
4
4
  Only applicable to properties of the `EQUALS` type.
5
- * This is just an alias for a type any.
6
- * @typedef {any} PreconditionExpectedValue
5
+ * This is just an alias for a type Record<string, any>.
6
+ * @typedef {Record<string, any>} PreconditionExpectedValue
7
7
  */
8
- export declare type PreconditionExpectedValue = any;
8
+ export declare type PreconditionExpectedValue = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { PreconditionExpectedValue } from './precondition-expected-value';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): PreconditionExpectedValue;
4
4
  export declare function toJson($model: PreconditionExpectedValue): AsJson;
@@ -10,7 +10,7 @@ export interface Precondition {
10
10
  *
11
11
  * Only applicable to properties of the `IN` type.
12
12
  */
13
- expectedValues?: any[];
13
+ expectedValues?: Record<string, any>[];
14
14
  /**
15
15
  * The Regular expression which is matched against the property.
16
16
  *
@@ -4,7 +4,7 @@ import * as _PreconditionTypeTransformation from './precondition-type.transforma
4
4
  import * as _PreconditionTransformation from './precondition.transformation';
5
5
  export interface AsJson {
6
6
  expectedValue?: _PreconditionExpectedValueTransformation.AsJson;
7
- expectedValues?: any[];
7
+ expectedValues?: Record<string, any>[];
8
8
  pattern?: string;
9
9
  precondition?: _PreconditionTransformation.AsJson;
10
10
  preconditions?: _PreconditionTransformation.AsJson[];
@@ -32,6 +32,13 @@ export interface PrivateSyntheticLocation extends SyntheticLocation {
32
32
  * Alert if location or node outage lasts longer than *X* minutes. \n\n Only applicable when `availabilityLocationOutage` or `availabilityNodeOutage` is set to `true`. Supported only for private Synthetic locations.
33
33
  */
34
34
  locationNodeOutageDelayInMinutes?: number;
35
+ /**
36
+ * Boolean value describes if icmp monitors will be executed on this location:
37
+ *
38
+ * * `false`: Icmp monitor executions disabled.
39
+ * * `true`: Icmp monitor executions enabled.
40
+ */
41
+ namExecutionSupported?: boolean;
35
42
  /**
36
43
  * A list of synthetic nodes belonging to the location.
37
44
  *
@@ -7,6 +7,7 @@ export interface AsJson extends _SyntheticLocationTransformation.AsJson {
7
7
  availabilityNotificationsEnabled?: boolean;
8
8
  deploymentType?: string;
9
9
  locationNodeOutageDelayInMinutes?: number;
10
+ namExecutionSupported?: boolean;
10
11
  nodes?: string[];
11
12
  useNewKubernetesVersion?: boolean;
12
13
  }
@@ -2,7 +2,7 @@
2
2
  * The default value to be used when no value is provided.
3
3
 
4
4
  If a non-singleton has the value of `null`, it means an empty collection.
5
- * This is just an alias for a type any.
6
- * @typedef {any} PropertyDefinitionDefault
5
+ * This is just an alias for a type Record<string, any>.
6
+ * @typedef {Record<string, any>} PropertyDefinitionDefault
7
7
  */
8
- export declare type PropertyDefinitionDefault = any;
8
+ export declare type PropertyDefinitionDefault = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { PropertyDefinitionDefault } from './property-definition-default';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): PropertyDefinitionDefault;
4
4
  export declare function toJson($model: PropertyDefinitionDefault): AsJson;
@@ -4,7 +4,7 @@
4
4
  It defines the actual values of settings' parameters.
5
5
 
6
6
  The actual content depends on the object's schema.
7
- * This is just an alias for a type any.
8
- * @typedef {any} SettingsValue
7
+ * This is just an alias for a type Record<string, any>.
8
+ * @typedef {Record<string, any>} SettingsValue
9
9
  */
10
- export declare type SettingsValue = any;
10
+ export declare type SettingsValue = Record<string, any>;
@@ -1,4 +1,4 @@
1
1
  import { SettingsValue } from './settings-value';
2
- export declare type AsJson = any;
2
+ export declare type AsJson = Record<string, any>;
3
3
  export declare function fromJson($model: AsJson): SettingsValue;
4
4
  export declare function toJson($model: SettingsValue): AsJson;
@@ -1,4 +1,3 @@
1
- import { SyntheticMonitorOutageHandlingSettingsDtoType } from './synthetic-monitor-outage-handling-settings-dto-type';
2
1
  /**
3
2
  * Outage handling configuration.
4
3
  */
@@ -10,7 +9,7 @@ export interface SyntheticMonitorOutageHandlingSettingsDto {
10
9
  /**
11
10
  * Generate a problem and send an alert when the monitor is unavailable at all configured locations.
12
11
  */
13
- globalOutages: boolean;
12
+ globalOutages?: boolean;
14
13
  /**
15
14
  * Number of consecutive failures.
16
15
  */
@@ -22,6 +21,5 @@ export interface SyntheticMonitorOutageHandlingSettingsDto {
22
21
  /**
23
22
  * Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
24
23
  */
25
- localOutages: boolean;
26
- type: SyntheticMonitorOutageHandlingSettingsDtoType;
24
+ localOutages?: boolean;
27
25
  }
@@ -1,12 +1,10 @@
1
1
  import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
2
- import * as _SyntheticMonitorOutageHandlingSettingsDtoTypeTransformation from './synthetic-monitor-outage-handling-settings-dto-type.transformation';
3
2
  export interface AsJson {
4
3
  globalConsecutiveOutageCountThreshold?: number;
5
- globalOutages: boolean;
4
+ globalOutages?: boolean;
6
5
  localConsecutiveOutageCountThreshold?: number;
7
6
  localLocationOutageCountThreshold?: number;
8
- localOutages: boolean;
9
- type: _SyntheticMonitorOutageHandlingSettingsDtoTypeTransformation.AsJson;
7
+ localOutages?: boolean;
10
8
  }
11
9
  export declare function fromJson($model: AsJson): SyntheticMonitorOutageHandlingSettingsDto;
12
10
  export declare function toJson($model: SyntheticMonitorOutageHandlingSettingsDto): AsJson;
@@ -1,5 +1,4 @@
1
1
  import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
2
- import { SyntheticMultiProtocolMonitorDtoProperties } from './synthetic-multi-protocol-monitor-dto-properties';
3
2
  import { SyntheticMultiProtocolMonitorDtoType } from './synthetic-multi-protocol-monitor-dto-type';
4
3
  import { SyntheticMultiProtocolMonitorStepDto } from './synthetic-multi-protocol-monitor-step-dto';
5
4
  import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
@@ -27,7 +26,6 @@ export interface SyntheticMultiProtocolMonitorDto {
27
26
  * The name of the monitor.
28
27
  */
29
28
  name: string;
30
- properties: SyntheticMultiProtocolMonitorDtoProperties;
31
29
  /**
32
30
  * The steps of the monitor.
33
31
  */
@@ -1,6 +1,5 @@
1
1
  import * as _SyntheticMonitorOutageHandlingSettingsDtoTransformation from './synthetic-monitor-outage-handling-settings-dto.transformation';
2
2
  import { SyntheticMultiProtocolMonitorDto } from './synthetic-multi-protocol-monitor-dto';
3
- import * as _SyntheticMultiProtocolMonitorDtoPropertiesTransformation from './synthetic-multi-protocol-monitor-dto-properties.transformation';
4
3
  import * as _SyntheticMultiProtocolMonitorDtoTypeTransformation from './synthetic-multi-protocol-monitor-dto-type.transformation';
5
4
  import * as _SyntheticMultiProtocolMonitorStepDtoTransformation from './synthetic-multi-protocol-monitor-step-dto.transformation';
6
5
  import * as _SyntheticTagWithSourceDtoTransformation from './synthetic-tag-with-source-dto.transformation';
@@ -10,7 +9,6 @@ export interface AsJson {
10
9
  frequencyMin: number;
11
10
  locations: string[];
12
11
  name: string;
13
- properties: _SyntheticMultiProtocolMonitorDtoPropertiesTransformation.AsJson;
14
12
  steps: _SyntheticMultiProtocolMonitorStepDtoTransformation.AsJson[];
15
13
  syntheticMonitorOutageHandlingSettings?: _SyntheticMonitorOutageHandlingSettingsDtoTransformation.AsJson;
16
14
  tags?: _SyntheticTagWithSourceDtoTransformation.AsJson[];
@@ -1,6 +1,5 @@
1
1
  import { SyntheticMonitorOutageHandlingSettingsDto } from './synthetic-monitor-outage-handling-settings-dto';
2
2
  import { SyntheticMultiProtocolMonitorStepDto } from './synthetic-multi-protocol-monitor-step-dto';
3
- import { SyntheticMultiProtocolMonitorUpdateDtoProperties } from './synthetic-multi-protocol-monitor-update-dto-properties';
4
3
  import { SyntheticMultiProtocolMonitorUpdateDtoType } from './synthetic-multi-protocol-monitor-update-dto-type';
5
4
  import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
6
5
  /**
@@ -23,7 +22,6 @@ export interface SyntheticMultiProtocolMonitorUpdateDto {
23
22
  * The name of the monitor.
24
23
  */
25
24
  name: string;
26
- properties: SyntheticMultiProtocolMonitorUpdateDtoProperties;
27
25
  /**
28
26
  * The steps of the monitor.
29
27
  */
@@ -1,7 +1,6 @@
1
1
  import * as _SyntheticMonitorOutageHandlingSettingsDtoTransformation from './synthetic-monitor-outage-handling-settings-dto.transformation';
2
2
  import * as _SyntheticMultiProtocolMonitorStepDtoTransformation from './synthetic-multi-protocol-monitor-step-dto.transformation';
3
3
  import { SyntheticMultiProtocolMonitorUpdateDto } from './synthetic-multi-protocol-monitor-update-dto';
4
- import * as _SyntheticMultiProtocolMonitorUpdateDtoPropertiesTransformation from './synthetic-multi-protocol-monitor-update-dto-properties.transformation';
5
4
  import * as _SyntheticMultiProtocolMonitorUpdateDtoTypeTransformation from './synthetic-multi-protocol-monitor-update-dto-type.transformation';
6
5
  import * as _SyntheticTagWithSourceDtoTransformation from './synthetic-tag-with-source-dto.transformation';
7
6
  export interface AsJson {
@@ -9,7 +8,6 @@ export interface AsJson {
9
8
  frequencyMin?: number;
10
9
  locations: string[];
11
10
  name: string;
12
- properties: _SyntheticMultiProtocolMonitorUpdateDtoPropertiesTransformation.AsJson;
13
11
  steps: _SyntheticMultiProtocolMonitorStepDtoTransformation.AsJson[];
14
12
  syntheticMonitorOutageHandlingSettings?: _SyntheticMonitorOutageHandlingSettingsDtoTransformation.AsJson;
15
13
  tags?: _SyntheticTagWithSourceDtoTransformation.AsJson[];