@dynatrace-sdk/client-classic-environment-v2 0.6.1 → 0.6.4

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 (110) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +9 -7
  3. package/cjs/index.js +4558 -1077
  4. package/docs/DOCS.md +3626 -420
  5. package/dynatrace-metadata.json +2 -2
  6. package/esm/index.js +4558 -1077
  7. package/package.json +2 -2
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +1 -4
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -7
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +2 -7
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +2 -1
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +7 -23
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +2 -2
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +3 -6
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +15 -4
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +5 -17
  17. package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +5 -17
  18. package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -3
  19. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +2 -0
  20. package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +6 -20
  21. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +7 -22
  22. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +2 -6
  23. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +2 -0
  24. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-serializer.d.ts +3 -0
  25. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +4 -4
  26. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +8 -0
  27. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +6 -6
  28. package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +5 -5
  29. package/types/packages/client/classic-environment-v2/src/lib/models/bm-action.d.ts +2 -2
  30. package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details-type.d.ts +14 -0
  31. package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details.d.ts +21 -0
  32. package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +6 -6
  33. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +6 -6
  34. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +5 -5
  35. package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.d.ts +5 -5
  36. package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +2 -2
  37. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +14 -14
  38. package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +8 -8
  39. package/types/packages/client/classic-environment-v2/src/lib/models/entity-from-relationships.d.ts +2 -2
  40. package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +7 -7
  41. package/types/packages/client/classic-environment-v2/src/lib/models/entity-properties.d.ts +2 -2
  42. package/types/packages/client/classic-environment-v2/src/lib/models/entity-to-relationships.d.ts +2 -2
  43. package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +5 -5
  44. package/types/packages/client/classic-environment-v2/src/lib/models/event-list.d.ts +6 -6
  45. package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts +5 -5
  46. package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +6 -6
  47. package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +6 -6
  48. package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +7 -7
  49. package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +6 -6
  50. package/types/packages/client/classic-environment-v2/src/lib/models/extension-feature-sets-details.d.ts +2 -2
  51. package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration-value.d.ts +12 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration.d.ts +3 -5
  53. package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto-feature-sets-details.d.ts +2 -2
  54. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +7 -0
  55. package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +5 -5
  56. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +1 -1
  57. package/types/packages/client/classic-environment-v2/src/lib/models/log-record-status.d.ts +1 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +5 -5
  59. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.d.ts +5 -5
  60. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +27 -27
  61. package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.d.ts +5 -5
  62. package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.d.ts +5 -5
  63. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +2 -2
  64. package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +1 -1
  65. package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +8 -8
  66. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +11 -11
  67. package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +2 -2
  68. package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +13 -13
  69. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +7 -7
  70. package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +15 -15
  71. package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +6 -6
  72. package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-enums.d.ts +2 -2
  73. package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-properties.d.ts +2 -2
  74. package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-types.d.ts +2 -2
  75. package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.d.ts +5 -5
  76. package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +5 -5
  77. package/types/packages/client/classic-environment-v2/src/lib/models/schema-type-properties.d.ts +2 -2
  78. package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +5 -5
  79. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +6 -6
  80. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +5 -5
  81. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +5 -5
  82. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +25 -25
  83. package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +6 -6
  84. package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +10 -10
  85. package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +24 -24
  86. package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +37 -37
  87. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status.d.ts +2 -2
  88. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request.d.ts +6 -1
  89. package/types/packages/client/classic-environment-v2/src/lib/models/transactional-evidence.d.ts +5 -5
  90. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.d.ts +12 -0
  91. package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +6 -8
  92. package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +2 -2
  93. package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +16 -16
  94. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-component.d.ts +5 -0
  95. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment-type.d.ts +14 -0
  96. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment.d.ts +20 -0
  97. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-type.d.ts +14 -0
  98. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input.d.ts +21 -0
  99. package/types/packages/platform/error-handlers/src/index.d.ts +2 -0
  100. package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +14 -0
  101. package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +10 -0
  102. package/types/packages/platform/error-handlers/src/lib/types/dt-runtime-error-handlers.d.ts +5 -0
  103. package/types/packages/platform/error-handlers/src/lib/types/error-type.d.ts +9 -0
  104. package/types/packages/platform/error-handlers/src/lib/types/global-dt-runtime-with-error-handlers.d.ts +7 -0
  105. package/types/packages/platform/error-handlers/src/lib/types/global-error-serializer.d.ts +10 -0
  106. package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +11 -0
  107. package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +5 -0
  108. package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +8 -0
  109. package/types/packages/platform/shared/index.d.ts +1 -0
  110. package/types/packages/platform/shared/utils/get-global-with-dt-runtime.d.ts +1 -0
@@ -8,9 +8,9 @@ export interface ExportedLogRecordList {
8
8
  */
9
9
  results?: LogRecord[];
10
10
  /**
11
- * The number of entries per page.
11
+ * The total number of entries in the result.
12
12
  */
13
- pageSize?: number;
13
+ totalCount: number;
14
14
  /**
15
15
  * The cursor for the next page of results. Has the value of `null` on the last page.
16
16
  *
@@ -18,17 +18,17 @@ export interface ExportedLogRecordList {
18
18
  */
19
19
  nextPageKey?: string;
20
20
  /**
21
- * The total number of entries in the result.
21
+ * The number of entries per page.
22
22
  */
23
- totalCount: number;
23
+ pageSize?: number;
24
24
  }
25
25
  /** @ignore */
26
26
  export declare namespace _ExportedLogRecordListTransformation {
27
27
  interface AsJson {
28
28
  results?: _LogRecordTransformation.AsJson[];
29
- pageSize?: number;
30
- nextPageKey?: string;
31
29
  totalCount: number;
30
+ nextPageKey?: string;
31
+ pageSize?: number;
32
32
  }
33
33
  function fromJson(model: AsJson): ExportedLogRecordList;
34
34
  function toJson(model: ExportedLogRecordList): AsJson;
@@ -1,4 +1,4 @@
1
- import { FeatureSetDetails } from './feature-set-details';
1
+ import { FeatureSetDetails, _FeatureSetDetailsTransformation } from './feature-set-details';
2
2
  /**
3
3
  * Details of feature sets
4
4
  */
@@ -8,7 +8,7 @@ export interface ExtensionFeatureSetsDetails {
8
8
  /** @ignore */
9
9
  export declare namespace _ExtensionFeatureSetsDetailsTransformation {
10
10
  interface AsJson {
11
- [propName: string]: FeatureSetDetails | undefined;
11
+ [propName: string]: _FeatureSetDetailsTransformation.AsJson | undefined;
12
12
  }
13
13
  function fromJson(model: AsJson): ExtensionFeatureSetsDetails;
14
14
  function toJson(model: ExtensionFeatureSetsDetails): AsJson;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Configuration
3
+ * This is just an alias for a type any.
4
+ * @typedef {any} ExtensionMonitoringConfigurationValue
5
+ */
6
+ export declare type ExtensionMonitoringConfigurationValue = any;
7
+ /** @ignore */
8
+ export declare namespace _ExtensionMonitoringConfigurationValueTransformation {
9
+ type AsJson = any;
10
+ function fromJson(model: AsJson): ExtensionMonitoringConfigurationValue;
11
+ function toJson(model: ExtensionMonitoringConfigurationValue): AsJson;
12
+ }
@@ -1,3 +1,4 @@
1
+ import { ExtensionMonitoringConfigurationValue, _ExtensionMonitoringConfigurationValueTransformation } from './extension-monitoring-configuration-value';
1
2
  export interface ExtensionMonitoringConfiguration {
2
3
  /**
3
4
  * Configuration id
@@ -7,17 +8,14 @@ export interface ExtensionMonitoringConfiguration {
7
8
  * Configuration scope
8
9
  */
9
10
  scope?: string;
10
- /**
11
- * Configuration
12
- */
13
- value?: string;
11
+ value?: ExtensionMonitoringConfigurationValue;
14
12
  }
15
13
  /** @ignore */
16
14
  export declare namespace _ExtensionMonitoringConfigurationTransformation {
17
15
  interface AsJson {
18
16
  objectId?: string;
19
17
  scope?: string;
20
- value?: string;
18
+ value?: _ExtensionMonitoringConfigurationValueTransformation.AsJson;
21
19
  }
22
20
  function fromJson(model: AsJson): ExtensionMonitoringConfiguration;
23
21
  function toJson(model: ExtensionMonitoringConfiguration): AsJson;
@@ -1,4 +1,4 @@
1
- import { FeatureSetDetails } from './feature-set-details';
1
+ import { FeatureSetDetails, _FeatureSetDetailsTransformation } from './feature-set-details';
2
2
  /**
3
3
  * Details of feature sets
4
4
  */
@@ -8,7 +8,7 @@ export interface ExtensionUploadResponseDtoFeatureSetsDetails {
8
8
  /** @ignore */
9
9
  export declare namespace _ExtensionUploadResponseDtoFeatureSetsDetailsTransformation {
10
10
  interface AsJson {
11
- [propName: string]: FeatureSetDetails | undefined;
11
+ [propName: string]: _FeatureSetDetailsTransformation.AsJson | undefined;
12
12
  }
13
13
  function fromJson(model: AsJson): ExtensionUploadResponseDtoFeatureSetsDetails;
14
14
  function toJson(model: ExtensionUploadResponseDtoFeatureSetsDetails): AsJson;
@@ -60,6 +60,7 @@ export * from './bm-action';
60
60
  export * from './burn-rate-alert';
61
61
  export * from './certificate-credentials';
62
62
  export * from './code-level-vulnerability-details';
63
+ export * from './code-level-vulnerability-details-type';
63
64
  export * from './comment';
64
65
  export * from './comment-request-dto-impl';
65
66
  export * from './comments-list';
@@ -147,6 +148,7 @@ export * from './extension-events-list';
147
148
  export * from './extension-feature-sets-details';
148
149
  export * from './extension-list';
149
150
  export * from './extension-monitoring-configuration';
151
+ export * from './extension-monitoring-configuration-value';
150
152
  export * from './extension-monitoring-configurations-list';
151
153
  export * from './extension-status-dto';
152
154
  export * from './extension-status-dto-status';
@@ -373,6 +375,7 @@ export * from './to-position';
373
375
  export * from './token-credentials';
374
376
  export * from './transactional-evidence';
375
377
  export * from './ui-button-customization';
378
+ export * from './ui-button-customization-insert';
376
379
  export * from './ui-callback-customization';
377
380
  export * from './ui-customization';
378
381
  export * from './ui-empty-state-customization';
@@ -397,6 +400,10 @@ export * from './user-password-credentials';
397
400
  export * from './validation-response';
398
401
  export * from './vulnerable-component';
399
402
  export * from './vulnerable-function';
403
+ export * from './vulnerable-function-input';
404
+ export * from './vulnerable-function-input-segment';
405
+ export * from './vulnerable-function-input-segment-type';
406
+ export * from './vulnerable-function-input-type';
400
407
  export * from './vulnerable-function-process-groups';
401
408
  export * from './vulnerable-function-process-groups-usage';
402
409
  export * from './vulnerable-functions-container';
@@ -17,10 +17,6 @@ export interface Item {
17
17
  documentation?: string;
18
18
  uiCustomization?: UiCustomization;
19
19
  datasource?: DatasourceDefinition;
20
- /**
21
- * The subtype of the item's value.
22
- */
23
- subType?: string;
24
20
  /**
25
21
  * The display name of the item.
26
22
  */
@@ -35,6 +31,10 @@ export interface Item {
35
31
  * A list of constraints limiting the values to be accepted.
36
32
  */
37
33
  constraints?: Constraint[];
34
+ /**
35
+ * The subtype of the item's value.
36
+ */
37
+ subType?: string;
38
38
  }
39
39
  /** @ignore */
40
40
  export declare namespace _ItemTransformation {
@@ -43,12 +43,12 @@ export declare namespace _ItemTransformation {
43
43
  documentation?: string;
44
44
  uiCustomization?: _UiCustomizationTransformation.AsJson;
45
45
  datasource?: _DatasourceDefinitionTransformation.AsJson;
46
- subType?: string;
47
46
  displayName?: string;
48
47
  type: _ItemTypeTransformation.AsJson;
49
48
  description?: string;
50
49
  metadata?: _ItemMetadataTransformation.AsJson;
51
50
  constraints?: _ConstraintTransformation.AsJson[];
51
+ subType?: string;
52
52
  }
53
53
  function fromJson(model: AsJson): Item;
54
54
  function toJson(model: Item): AsJson;
@@ -5,7 +5,7 @@ The object might contain the following types of case-insensitive keys (the possi
5
5
 
6
6
  * Timestamp:
7
7
  * The earliest timestamp for a log event is the current time minus 24 hours. If the log event contains a timestamp earlier than the current time minus 24 hours, the event is dropped, and the generic log ingestion API returns a `400` response code.
8
- * The latest timestamp for a log event is the current time plus 12 hours. If the log event contains a timestamp later than the current time plus 12 hours, the event is dropped, and the generic log ingestion API returns a `400` response code.
8
+ * The timestamp for a log event is not limited to future time. If the log event contains a timestamp later than 10 minutes in the future, the timestamp of the event will be overridden by the current time on the server.
9
9
  * The following formats are supported: UTC milliseconds, RFC3339, and RFC3164. For the missing timestamp, the current timestamp is used. For the unsupported timestamp format, the current timestamp is used, and the value of the unsupported timestamp format is stored in the not indexed `unparsed_timestamp` attribute.
10
10
  * Severity. If not set, `NONE` is used.
11
11
  * Content. If the content key is not set, the whole JSON is parsed as the content.
@@ -5,6 +5,7 @@ export declare enum LogRecordStatus {
5
5
  Error = "ERROR",
6
6
  Info = "INFO",
7
7
  None = "NONE",
8
+ NotApplicable = "NOT_APPLICABLE",
8
9
  Warn = "WARN"
9
10
  }
10
11
  /** @ignore */
@@ -7,16 +7,16 @@ export interface MetricData {
7
7
  * The timeslot resolution in the result.
8
8
  */
9
9
  resolution: string;
10
- /**
11
- * Deprecated. This field is returned for compatibility reasons. It always has the value of `null`.
12
- */
13
- nextPageKey?: string;
14
10
  /**
15
11
  * The total number of primary entities in the result.
16
12
  *
17
13
  * Has the `0` value if none of the requested metrics is suitable for pagination.
18
14
  */
19
15
  totalCount: number;
16
+ /**
17
+ * Deprecated. This field is returned for compatibility reasons. It always has the value of `null`.
18
+ */
19
+ nextPageKey?: string;
20
20
  /**
21
21
  * A list of metrics and their data points.
22
22
  */
@@ -30,8 +30,8 @@ export interface MetricData {
30
30
  export declare namespace _MetricDataTransformation {
31
31
  interface AsJson {
32
32
  resolution: string;
33
- nextPageKey?: string;
34
33
  totalCount: number;
34
+ nextPageKey?: string;
35
35
  result: _MetricSeriesCollectionTransformation.AsJson[];
36
36
  warnings?: string[];
37
37
  }
@@ -3,16 +3,16 @@ import { MetricDescriptor, _MetricDescriptorTransformation } from './metric-desc
3
3
  * A list of metrics along with their descriptors.
4
4
  */
5
5
  export interface MetricDescriptorCollection {
6
+ /**
7
+ * The estimated number of metrics in the result.
8
+ */
9
+ totalCount: number;
6
10
  /**
7
11
  * The cursor for the next page of results. Has the value of `null` on the last page.
8
12
  *
9
13
  * Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
10
14
  */
11
15
  nextPageKey: string;
12
- /**
13
- * The estimated number of metrics in the result.
14
- */
15
- totalCount: number;
16
16
  /**
17
17
  * A list of metric along with their descriptors
18
18
  */
@@ -25,8 +25,8 @@ export interface MetricDescriptorCollection {
25
25
  /** @ignore */
26
26
  export declare namespace _MetricDescriptorCollectionTransformation {
27
27
  interface AsJson {
28
- nextPageKey: string;
29
28
  totalCount: number;
29
+ nextPageKey: string;
30
30
  metrics: _MetricDescriptorTransformation.AsJson[];
31
31
  warnings?: string[];
32
32
  }
@@ -9,6 +9,12 @@ import { MetricValueType, _MetricValueTypeTransformation } from './metric-value-
9
9
  * The descriptor of a metric.
10
10
  */
11
11
  export interface MetricDescriptor {
12
+ /**
13
+ * The timestamp when the metric was last written.
14
+ *
15
+ * Has the value of `null` for metric expressions or if the data has never been written.
16
+ */
17
+ lastWritten?: number;
12
18
  /**
13
19
  * The metric is (`true`) or is not (`false`) impact relevant.
14
20
  *
@@ -39,23 +45,15 @@ export interface MetricDescriptor {
39
45
  * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
40
46
  */
41
47
  latency?: number;
42
- /**
43
- * If 'true', resolution=Inf can be applied to the metric query.
44
- */
45
- resolutionInfSupported?: boolean;
46
48
  unitDisplayFormat?: MetricDescriptorUnitDisplayFormat;
47
49
  /**
48
50
  * The cardinalities of MINT metric dimensions.
49
51
  */
50
52
  dimensionCardinalities?: MetricDimensionCardinality[];
51
53
  /**
52
- * The metric is (`true`) or is not (`false`) root cause relevant.
53
- *
54
- * A root-cause relevant metric represents a strong indicator for a faulty component.
55
- *
56
- * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
54
+ * If 'true', resolution=Inf can be applied to the metric query.
57
55
  */
58
- rootCauseRelevant?: boolean;
56
+ resolutionInfSupported?: boolean;
59
57
  defaultAggregation?: MetricDefaultAggregation;
60
58
  /**
61
59
  * The fine metric division (for example, process group and process ID for some process-related metric).
@@ -64,11 +62,13 @@ export interface MetricDescriptor {
64
62
  */
65
63
  dimensionDefinitions?: MetricDimensionDefinition[];
66
64
  /**
67
- * The timestamp when the metric was last written.
65
+ * The metric is (`true`) or is not (`false`) root cause relevant.
68
66
  *
69
- * Has the value of `null` for metric expressions or if the data has never been written.
67
+ * A root-cause relevant metric represents a strong indicator for a faulty component.
68
+ *
69
+ * [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
70
70
  */
71
- lastWritten?: number;
71
+ rootCauseRelevant?: boolean;
72
72
  /**
73
73
  * If `true` the usage of metric consumes [Davis data units](https://dt-url.net/ddu).
74
74
  *
@@ -76,6 +76,12 @@ export interface MetricDescriptor {
76
76
  */
77
77
  dduBillable?: boolean;
78
78
  metricValueType?: MetricValueType;
79
+ /**
80
+ * The timestamp of metric creation.
81
+ *
82
+ * Built-in metrics and metric expressions have the value of `null`.
83
+ */
84
+ created?: number;
79
85
  /**
80
86
  * The tags applied to the metric.
81
87
  *
@@ -86,11 +92,6 @@ export interface MetricDescriptor {
86
92
  * List of admissible primary entity types for this metric. Can be used for the `type` predicate in the `entitySelector`.
87
93
  */
88
94
  entityType?: string[];
89
- /**
90
- * Indicates whether the metric expression resolves to a scalar (`true`) or to a series (`false`).
91
- * A scalar result always contains one data point. The amount of data points in a series result depends on the resolution you're using.
92
- */
93
- scalar?: boolean;
94
95
  /**
95
96
  * The fully qualified key of the metric.
96
97
  *
@@ -106,11 +107,10 @@ export interface MetricDescriptor {
106
107
  */
107
108
  aggregationTypes?: MetricDescriptorAggregationTypesItem[];
108
109
  /**
109
- * The timestamp of metric creation.
110
- *
111
- * Built-in metrics and metric expressions have the value of `null`.
110
+ * Indicates whether the metric expression resolves to a scalar (`true`) or to a series (`false`).
111
+ * A scalar result always contains one data point. The amount of data points in a series result depends on the resolution you're using.
112
112
  */
113
- created?: number;
113
+ scalar?: boolean;
114
114
  /**
115
115
  * The name of the metric in the user interface.
116
116
  */
@@ -135,26 +135,26 @@ export interface MetricDescriptor {
135
135
  /** @ignore */
136
136
  export declare namespace _MetricDescriptorTransformation {
137
137
  interface AsJson {
138
+ lastWritten?: number;
138
139
  impactRelevant?: boolean;
139
140
  minimumValue?: number;
140
141
  maximumValue?: number;
141
142
  latency?: number;
142
- resolutionInfSupported?: boolean;
143
143
  unitDisplayFormat?: _MetricDescriptorUnitDisplayFormatTransformation.AsJson;
144
144
  dimensionCardinalities?: _MetricDimensionCardinalityTransformation.AsJson[];
145
- rootCauseRelevant?: boolean;
145
+ resolutionInfSupported?: boolean;
146
146
  defaultAggregation?: _MetricDefaultAggregationTransformation.AsJson;
147
147
  dimensionDefinitions?: _MetricDimensionDefinitionTransformation.AsJson[];
148
- lastWritten?: number;
148
+ rootCauseRelevant?: boolean;
149
149
  dduBillable?: boolean;
150
150
  metricValueType?: _MetricValueTypeTransformation.AsJson;
151
+ created?: number;
151
152
  tags?: string[];
152
153
  entityType?: string[];
153
- scalar?: boolean;
154
154
  metricId: string;
155
155
  metricSelector?: string;
156
156
  aggregationTypes?: _MetricDescriptorAggregationTypesItemTransformation.AsJson[];
157
- created?: number;
157
+ scalar?: boolean;
158
158
  displayName?: string;
159
159
  description?: string;
160
160
  transformations?: _MetricDescriptorTransformationsItemTransformation.AsJson[];
@@ -6,23 +6,23 @@ export interface MetricDimensionCardinality {
6
6
  * The relative cardinality of the dimension expressed as percentage
7
7
  */
8
8
  relative: number;
9
+ /**
10
+ * The cardinality estimate of the dimension.
11
+ */
12
+ estimate: number;
9
13
  /**
10
14
  * The key of the dimension.
11
15
  *
12
16
  * It must be unique within the metric.
13
17
  */
14
18
  key: string;
15
- /**
16
- * The cardinality estimate of the dimension.
17
- */
18
- estimate: number;
19
19
  }
20
20
  /** @ignore */
21
21
  export declare namespace _MetricDimensionCardinalityTransformation {
22
22
  interface AsJson {
23
23
  relative: number;
24
- key: string;
25
24
  estimate: number;
25
+ key: string;
26
26
  }
27
27
  function fromJson(model: AsJson): MetricDimensionCardinality;
28
28
  function toJson(model: MetricDimensionCardinality): AsJson;
@@ -5,14 +5,14 @@ import { Evidence, _EvidenceTransformation } from './evidence';
5
5
  * A change of metric behavior that indicates the problem and/or is its root cause.
6
6
  */
7
7
  export interface MetricEvidence extends Evidence {
8
- /**
9
- * The metric's value after the problem start.
10
- */
11
- valueAfterChangePoint?: number;
12
8
  /**
13
9
  * The metric's value before the problem start.
14
10
  */
15
11
  valueBeforeChangePoint?: number;
12
+ /**
13
+ * The metric's value after the problem start.
14
+ */
15
+ valueAfterChangePoint?: number;
16
16
  /**
17
17
  * The ID of the metric.
18
18
  */
@@ -31,8 +31,8 @@ export interface MetricEvidence extends Evidence {
31
31
  /** @ignore */
32
32
  export declare namespace _MetricEvidenceTransformation {
33
33
  interface AsJson extends _EvidenceTransformation.AsJson {
34
- valueAfterChangePoint?: number;
35
34
  valueBeforeChangePoint?: number;
35
+ valueAfterChangePoint?: number;
36
36
  metricId?: string;
37
37
  endTime?: number;
38
38
  unit?: string;
@@ -5,13 +5,13 @@ import { MetricSeriesDimensionMap, _MetricSeriesDimensionMapTransformation } fro
5
5
  * The data is represented by two arrays of the same length: **timestamps** and **values**. Entries of the same index from both arrays form a timestamped data point.
6
6
  */
7
7
  export interface MetricSeries {
8
- dimensionMap: MetricSeriesDimensionMap;
9
8
  /**
10
9
  * A list of timestamps of data points.
11
10
  *
12
11
  * The value of data point for each time from this array is located in **values** array at the same index.
13
12
  */
14
13
  timestamps: number[];
14
+ dimensionMap: MetricSeriesDimensionMap;
15
15
  /**
16
16
  * The ordered list of dimensions to which the data point list belongs.
17
17
  *
@@ -28,8 +28,8 @@ export interface MetricSeries {
28
28
  /** @ignore */
29
29
  export declare namespace _MetricSeriesTransformation {
30
30
  interface AsJson {
31
- dimensionMap: _MetricSeriesDimensionMapTransformation.AsJson;
32
31
  timestamps: number[];
32
+ dimensionMap: _MetricSeriesDimensionMapTransformation.AsJson;
33
33
  dimensions: string[];
34
34
  values: number[];
35
35
  }
@@ -17,7 +17,7 @@ export interface NetworkZone {
17
17
  /**
18
18
  * The number of OneAgents from other network zones that are using ActiveGates in the network zone.
19
19
  *
20
- * This is a fraction of **numOfOneAgentsUsing**.
20
+ * This is a fraction of **numOfOneAgentsUsing**.
21
21
  *
22
22
  * One possible reason for switching to another zone is that a firewall is preventing a OneAgent from connecting to any ActiveGate in the preferred network zone.
23
23
  */
@@ -3,32 +3,32 @@ import { SettingsObject, _SettingsObjectTransformation } from './settings-object
3
3
  * A list of settings objects.
4
4
  */
5
5
  export interface ObjectsList {
6
+ /**
7
+ * A list of settings objects.
8
+ */
9
+ items: SettingsObject[];
6
10
  /**
7
11
  * The number of entries per page.
8
12
  */
9
13
  pageSize: number;
10
14
  /**
11
- * A list of settings objects.
15
+ * The total number of entries in the result.
12
16
  */
13
- items: SettingsObject[];
17
+ totalCount: number;
14
18
  /**
15
19
  * The cursor for the next page of results. Has the value of `null` on the last page.
16
20
  *
17
21
  * Use it in the **nextPageKey** query parameter to obtain subsequent pages of the result.
18
22
  */
19
23
  nextPageKey?: string;
20
- /**
21
- * The total number of entries in the result.
22
- */
23
- totalCount: number;
24
24
  }
25
25
  /** @ignore */
26
26
  export declare namespace _ObjectsListTransformation {
27
27
  interface AsJson {
28
- pageSize: number;
29
28
  items: _SettingsObjectTransformation.AsJson[];
30
- nextPageKey?: string;
29
+ pageSize: number;
31
30
  totalCount: number;
31
+ nextPageKey?: string;
32
32
  }
33
33
  function fromJson(model: AsJson): ObjectsList;
34
34
  function toJson(model: ObjectsList): AsJson;
@@ -4,20 +4,20 @@ import { PreconditionType, _PreconditionTypeTransformation } from './preconditio
4
4
  * A precondition for visibility of a property.
5
5
  */
6
6
  export interface Precondition {
7
- precondition?: Precondition;
8
- expectedValue?: PreconditionExpectedValue;
9
- /**
10
- * A list of valid values of the property.
11
- *
12
- * Only applicable to properties of the `IN` type.
13
- */
14
- expectedValues?: object[];
15
7
  /**
16
8
  * A list of child preconditions to be evaluated.
17
9
  *
18
10
  * Only applicable to properties of the `AND` and `OR` types.
19
11
  */
20
12
  preconditions?: Precondition[];
13
+ expectedValue?: PreconditionExpectedValue;
14
+ /**
15
+ * A list of valid values of the property.
16
+ *
17
+ * Only applicable to properties of the `IN` type.
18
+ */
19
+ expectedValues?: any[];
20
+ precondition?: Precondition;
21
21
  /**
22
22
  * The property to be evaluated.
23
23
  */
@@ -33,10 +33,10 @@ export interface Precondition {
33
33
  /** @ignore */
34
34
  export declare namespace _PreconditionTransformation {
35
35
  interface AsJson {
36
- precondition?: _PreconditionTransformation.AsJson;
37
- expectedValue?: _PreconditionExpectedValueTransformation.AsJson;
38
- expectedValues?: object[];
39
36
  preconditions?: _PreconditionTransformation.AsJson[];
37
+ expectedValue?: _PreconditionExpectedValueTransformation.AsJson;
38
+ expectedValues?: any[];
39
+ precondition?: _PreconditionTransformation.AsJson;
40
40
  property?: string;
41
41
  type: _PreconditionTypeTransformation.AsJson;
42
42
  pattern?: string;
@@ -11,19 +11,19 @@ export interface ProblemCloseResult {
11
11
  * The ID of the problem.
12
12
  */
13
13
  problemId: string;
14
- comment?: Comment;
15
14
  /**
16
15
  * True, if the problem is being closed.
17
16
  */
18
17
  closing: boolean;
18
+ comment?: Comment;
19
19
  }
20
20
  /** @ignore */
21
21
  export declare namespace _ProblemCloseResultTransformation {
22
22
  interface AsJson {
23
23
  closeTimestamp: number;
24
24
  problemId: string;
25
- comment?: _CommentTransformation.AsJson;
26
25
  closing: boolean;
26
+ comment?: _CommentTransformation.AsJson;
27
27
  }
28
28
  function fromJson(model: AsJson): ProblemCloseResult;
29
29
  function toJson(model: ProblemCloseResult): AsJson;
@@ -17,19 +17,19 @@ export interface Problem {
17
17
  * A list of all entities that are affected by the problem.
18
18
  */
19
19
  affectedEntities: EntityStub[];
20
- linkedProblemInfo?: LinkedProblem;
20
+ recentComments?: CommentsList;
21
+ impactAnalysis?: ImpactAnalysis;
21
22
  rootCauseEntity?: EntityStub;
22
23
  /**
23
24
  * A list of all entities that are impacted by the problem.
24
25
  */
25
26
  impactedEntities: EntityStub[];
27
+ evidenceDetails?: EvidenceDetails;
26
28
  /**
27
29
  * A list of alerting profiles that match the problem.
28
30
  */
29
31
  problemFilters: AlertingProfileStub[];
30
- evidenceDetails?: EvidenceDetails;
31
- recentComments?: CommentsList;
32
- impactAnalysis?: ImpactAnalysis;
32
+ linkedProblemInfo?: LinkedProblem;
33
33
  impactLevel: ProblemImpactLevel;
34
34
  /**
35
35
  * The display ID of the problem.
@@ -39,15 +39,15 @@ export interface Problem {
39
39
  * A list of all management zones that the problem belongs to.
40
40
  */
41
41
  managementZones: ManagementZone[];
42
+ /**
43
+ * The ID of the problem.
44
+ */
45
+ problemId: string;
42
46
  severityLevel: ProblemSeverityLevel;
43
47
  /**
44
48
  * A list of all entity tags of the problem.
45
49
  */
46
50
  entityTags?: METag[];
47
- /**
48
- * The ID of the problem.
49
- */
50
- problemId: string;
51
51
  status: ProblemStatus;
52
52
  /**
53
53
  * The start timestamp of the problem, in UTC milliseconds.
@@ -68,19 +68,19 @@ export interface Problem {
68
68
  export declare namespace _ProblemTransformation {
69
69
  interface AsJson {
70
70
  affectedEntities: _EntityStubTransformation.AsJson[];
71
- linkedProblemInfo?: _LinkedProblemTransformation.AsJson;
71
+ recentComments?: _CommentsListTransformation.AsJson;
72
+ impactAnalysis?: _ImpactAnalysisTransformation.AsJson;
72
73
  rootCauseEntity?: _EntityStubTransformation.AsJson;
73
74
  impactedEntities: _EntityStubTransformation.AsJson[];
74
- problemFilters: _AlertingProfileStubTransformation.AsJson[];
75
75
  evidenceDetails?: _EvidenceDetailsTransformation.AsJson;
76
- recentComments?: _CommentsListTransformation.AsJson;
77
- impactAnalysis?: _ImpactAnalysisTransformation.AsJson;
76
+ problemFilters: _AlertingProfileStubTransformation.AsJson[];
77
+ linkedProblemInfo?: _LinkedProblemTransformation.AsJson;
78
78
  impactLevel: _ProblemImpactLevelTransformation.AsJson;
79
79
  displayId: string;
80
80
  managementZones: _ManagementZoneTransformation.AsJson[];
81
+ problemId: string;
81
82
  severityLevel: _ProblemSeverityLevelTransformation.AsJson;
82
83
  entityTags?: _METagTransformation.AsJson[];
83
- problemId: string;
84
84
  status: _ProblemStatusTransformation.AsJson;
85
85
  startTime: number;
86
86
  endTime: number;