@dynatrace-sdk/client-classic-environment-v2 0.6.8 → 0.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/LICENSE +174 -0
- package/cjs/index.js +1098 -1027
- package/docs/DOCS.md +362 -96
- package/dynatrace-metadata.json +1 -1
- package/esm/index.js +1099 -1027
- package/package.json +3 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +10 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/apis/hub-items-api.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +8 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-created.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-info-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +15 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/comment.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/configuration-metadata.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-config.d.ts +0 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password-config.d.ts +0 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/description-block.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/error.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +16 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-release.d.ts +31 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/extension1-details.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension1-release.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/extension2-details.d.ts +12 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/image.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/item-details.d.ts +29 -29
- package/types/packages/client/classic-environment-v2/src/lib/models/item-overview.d.ts +5 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +19 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone-fallback-mode.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +8 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/object-node.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +21 -21
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/related-item.d.ts +5 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +25 -25
- package/types/packages/client/classic-environment-v2/src/lib/models/success.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-execution-stage.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor-custom-script.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-failed-execution-status-execution-stage.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/technology-details.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/upload-extension-body.d.ts +0 -18
|
@@ -20,51 +20,51 @@ export interface ItemDetails {
|
|
|
20
20
|
/**
|
|
21
21
|
* Description of the item.
|
|
22
22
|
*/
|
|
23
|
-
description?: string;
|
|
23
|
+
description?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
* Grouping of items with keywords.
|
|
26
26
|
*/
|
|
27
27
|
tags?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* The logo of the item. Can be a URL or Base64 encoded. Intended for <image> html tags.
|
|
30
|
+
*/
|
|
31
|
+
logo?: string | null;
|
|
28
32
|
/**
|
|
29
33
|
* Name of the author of the item.
|
|
30
34
|
*/
|
|
31
|
-
authorName?: string;
|
|
35
|
+
authorName?: string | null;
|
|
32
36
|
/**
|
|
33
37
|
* Url for the author's logo.
|
|
34
38
|
*/
|
|
35
|
-
authorLogo?: string;
|
|
39
|
+
authorLogo?: string | null;
|
|
36
40
|
/**
|
|
37
41
|
* Checks if the item is compatible with the cluster version.
|
|
38
42
|
*/
|
|
39
|
-
clusterCompatible?: boolean;
|
|
43
|
+
clusterCompatible?: boolean | null;
|
|
40
44
|
/**
|
|
41
45
|
* The minimum cluster version required to use this item.
|
|
42
46
|
*/
|
|
43
|
-
clusterMinVersion?: number;
|
|
47
|
+
clusterMinVersion?: number | null;
|
|
44
48
|
/**
|
|
45
49
|
* The maximum supported cluster version for this item.
|
|
46
50
|
*/
|
|
47
|
-
clusterMaxVersion?: number;
|
|
51
|
+
clusterMaxVersion?: number | null;
|
|
48
52
|
/**
|
|
49
53
|
* The reason why the item is not compatible with the cluster version.
|
|
50
54
|
*/
|
|
51
|
-
notCompatibleReason?: string;
|
|
55
|
+
notCompatibleReason?: string | null;
|
|
52
56
|
descriptionBlocks?: DescriptionBlock[];
|
|
53
57
|
/**
|
|
54
58
|
* An absolute link to a documentation page explaining the item.
|
|
55
59
|
*/
|
|
56
|
-
documentationLink?: string;
|
|
60
|
+
documentationLink?: string | null;
|
|
57
61
|
/**
|
|
58
62
|
* An absolute link to a marketing page promoting how the item can be used with dynatrace.
|
|
59
63
|
*/
|
|
60
|
-
marketingLink?: string;
|
|
61
|
-
technologyDetails?: TechnologyDetails;
|
|
62
|
-
extension1Details?: Extension1Details;
|
|
63
|
-
extension2Details?: Extension2Details;
|
|
64
|
-
/**
|
|
65
|
-
* The logo of the item. Can be a URL or Base64 encoded. Intended for <image> html tags.
|
|
66
|
-
*/
|
|
67
|
-
logo?: string;
|
|
64
|
+
marketingLink?: string | null;
|
|
65
|
+
technologyDetails?: TechnologyDetails | null;
|
|
66
|
+
extension1Details?: Extension1Details | null;
|
|
67
|
+
extension2Details?: Extension2Details | null;
|
|
68
68
|
/**
|
|
69
69
|
* Related items.
|
|
70
70
|
*/
|
|
@@ -76,21 +76,21 @@ export declare namespace _ItemDetailsTransformation {
|
|
|
76
76
|
type?: _ItemDetailsTypeTransformation.AsJson;
|
|
77
77
|
itemId?: string;
|
|
78
78
|
name?: string;
|
|
79
|
-
description?: string;
|
|
79
|
+
description?: string | null;
|
|
80
80
|
tags?: string[];
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
logo?: string | null;
|
|
82
|
+
authorName?: string | null;
|
|
83
|
+
authorLogo?: string | null;
|
|
84
|
+
clusterCompatible?: boolean | null;
|
|
85
|
+
clusterMinVersion?: number | null;
|
|
86
|
+
clusterMaxVersion?: number | null;
|
|
87
|
+
notCompatibleReason?: string | null;
|
|
87
88
|
descriptionBlocks?: _DescriptionBlockTransformation.AsJson[];
|
|
88
|
-
documentationLink?: string;
|
|
89
|
-
marketingLink?: string;
|
|
90
|
-
technologyDetails?: _TechnologyDetailsTransformation.AsJson;
|
|
91
|
-
extension1Details?: _Extension1DetailsTransformation.AsJson;
|
|
92
|
-
extension2Details?: _Extension2DetailsTransformation.AsJson;
|
|
93
|
-
logo?: string;
|
|
89
|
+
documentationLink?: string | null;
|
|
90
|
+
marketingLink?: string | null;
|
|
91
|
+
technologyDetails?: _TechnologyDetailsTransformation.AsJson | null;
|
|
92
|
+
extension1Details?: _Extension1DetailsTransformation.AsJson | null;
|
|
93
|
+
extension2Details?: _Extension2DetailsTransformation.AsJson | null;
|
|
94
94
|
relatedItems?: _RelatedItemTransformation.AsJson[];
|
|
95
95
|
}
|
|
96
96
|
function fromJson(model: AsJson): ItemDetails;
|
|
@@ -28,6 +28,10 @@ export interface ItemOverview {
|
|
|
28
28
|
* Url for the author's logo.
|
|
29
29
|
*/
|
|
30
30
|
authorLogo?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Checks if the item is compatible with the cluster version.
|
|
33
|
+
*/
|
|
34
|
+
clusterCompatible?: boolean;
|
|
31
35
|
/**
|
|
32
36
|
* The reason why the item is not compatible with the cluster version.
|
|
33
37
|
*/
|
|
@@ -56,7 +60,6 @@ export interface ItemOverview {
|
|
|
56
60
|
* The logo of the item. Can be a URL or Base64 encoded. Intended for <image> html tags
|
|
57
61
|
*/
|
|
58
62
|
logo?: string;
|
|
59
|
-
clusterCompatible?: boolean;
|
|
60
63
|
}
|
|
61
64
|
/** @ignore */
|
|
62
65
|
export declare namespace _ItemOverviewTransformation {
|
|
@@ -68,6 +71,7 @@ export declare namespace _ItemOverviewTransformation {
|
|
|
68
71
|
tags?: string[];
|
|
69
72
|
authorName?: string;
|
|
70
73
|
authorLogo?: string;
|
|
74
|
+
clusterCompatible?: boolean;
|
|
71
75
|
notCompatibleReason?: string;
|
|
72
76
|
documentationLink?: string;
|
|
73
77
|
marketingLink?: string;
|
|
@@ -75,7 +79,6 @@ export declare namespace _ItemOverviewTransformation {
|
|
|
75
79
|
comingSoon?: boolean;
|
|
76
80
|
artifactId?: string;
|
|
77
81
|
logo?: string;
|
|
78
|
-
clusterCompatible?: boolean;
|
|
79
82
|
}
|
|
80
83
|
function fromJson(model: AsJson): ItemOverview;
|
|
81
84
|
function toJson(model: ItemOverview): AsJson;
|
|
@@ -17,14 +17,15 @@ export interface Item {
|
|
|
17
17
|
* The type referenced by the item's value.
|
|
18
18
|
*/
|
|
19
19
|
referencedType?: string;
|
|
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
|
*/
|
|
27
23
|
displayName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The subtype of the item's value.
|
|
26
|
+
*/
|
|
27
|
+
subType?: string;
|
|
28
|
+
type: ItemType;
|
|
28
29
|
/**
|
|
29
30
|
* A short description of the item.
|
|
30
31
|
*/
|
|
@@ -34,7 +35,6 @@ export interface Item {
|
|
|
34
35
|
* A list of constraints limiting the values to be accepted.
|
|
35
36
|
*/
|
|
36
37
|
constraints?: Constraint[];
|
|
37
|
-
type: ItemType;
|
|
38
38
|
}
|
|
39
39
|
/** @ignore */
|
|
40
40
|
export declare namespace _ItemTransformation {
|
|
@@ -43,12 +43,12 @@ export declare namespace _ItemTransformation {
|
|
|
43
43
|
uiCustomization?: _UiCustomizationTransformation.AsJson;
|
|
44
44
|
datasource?: _DatasourceDefinitionTransformation.AsJson;
|
|
45
45
|
referencedType?: string;
|
|
46
|
-
subType?: string;
|
|
47
46
|
displayName?: string;
|
|
47
|
+
subType?: string;
|
|
48
|
+
type: _ItemTypeTransformation.AsJson;
|
|
48
49
|
description?: string;
|
|
49
50
|
metadata?: _ItemMetadataTransformation.AsJson;
|
|
50
51
|
constraints?: _ConstraintTransformation.AsJson[];
|
|
51
|
-
type: _ItemTypeTransformation.AsJson;
|
|
52
52
|
}
|
|
53
53
|
function fromJson(model: AsJson): Item;
|
|
54
54
|
function toJson(model: Item): AsJson;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
The object might contain the following types of case-insensitive keys (the possible key values are listed below):
|
|
5
5
|
|
|
6
6
|
* Timestamp:
|
|
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
|
|
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.
|
|
8
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.
|
|
@@ -6,25 +6,25 @@ import { LogRecordStatus, _LogRecordStatusTransformation } from './log-record-st
|
|
|
6
6
|
*/
|
|
7
7
|
export interface LogRecord {
|
|
8
8
|
additionalColumns?: LogRecordAdditionalColumns;
|
|
9
|
-
/**
|
|
10
|
-
* The timestamp of the log record, in UTC milliseconds.
|
|
11
|
-
*/
|
|
12
|
-
timestamp?: number;
|
|
13
9
|
eventType?: LogRecordEventType;
|
|
14
|
-
status?: LogRecordStatus;
|
|
15
10
|
/**
|
|
16
11
|
* The content of the log record.
|
|
17
12
|
*/
|
|
18
13
|
content?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The timestamp of the log record, in UTC milliseconds.
|
|
16
|
+
*/
|
|
17
|
+
timestamp?: number;
|
|
18
|
+
status?: LogRecordStatus;
|
|
19
19
|
}
|
|
20
20
|
/** @ignore */
|
|
21
21
|
export declare namespace _LogRecordTransformation {
|
|
22
22
|
interface AsJson {
|
|
23
23
|
additionalColumns?: _LogRecordAdditionalColumnsTransformation.AsJson;
|
|
24
|
-
timestamp?: number;
|
|
25
24
|
eventType?: _LogRecordEventTypeTransformation.AsJson;
|
|
26
|
-
status?: _LogRecordStatusTransformation.AsJson;
|
|
27
25
|
content?: string;
|
|
26
|
+
timestamp?: number;
|
|
27
|
+
status?: _LogRecordStatusTransformation.AsJson;
|
|
28
28
|
}
|
|
29
29
|
function fromJson(model: AsJson): LogRecord;
|
|
30
30
|
function toJson(model: LogRecord): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts
CHANGED
|
@@ -3,19 +3,19 @@ import { MetricDefaultAggregationType, _MetricDefaultAggregationTypeTransformati
|
|
|
3
3
|
* The default aggregation of a metric.
|
|
4
4
|
*/
|
|
5
5
|
export interface MetricDefaultAggregation {
|
|
6
|
+
type: MetricDefaultAggregationType;
|
|
6
7
|
/**
|
|
7
8
|
* The percentile to be delivered. Valid values are between `0` and `100`.
|
|
8
9
|
*
|
|
9
10
|
* Applicable only to the `percentile` aggregation type.
|
|
10
11
|
*/
|
|
11
12
|
parameter?: number;
|
|
12
|
-
type: MetricDefaultAggregationType;
|
|
13
13
|
}
|
|
14
14
|
/** @ignore */
|
|
15
15
|
export declare namespace _MetricDefaultAggregationTransformation {
|
|
16
16
|
interface AsJson {
|
|
17
|
-
parameter?: number;
|
|
18
17
|
type: _MetricDefaultAggregationTypeTransformation.AsJson;
|
|
18
|
+
parameter?: number;
|
|
19
19
|
}
|
|
20
20
|
function fromJson(model: AsJson): MetricDefaultAggregation;
|
|
21
21
|
function toJson(model: MetricDefaultAggregation): AsJson;
|
|
@@ -10,20 +10,6 @@ import { MetricValueType, _MetricValueTypeTransformation } from './metric-value-
|
|
|
10
10
|
*/
|
|
11
11
|
export interface MetricDescriptor {
|
|
12
12
|
defaultAggregation?: MetricDefaultAggregation;
|
|
13
|
-
/**
|
|
14
|
-
* The fine metric division (for example, process group and process ID for some process-related metric).
|
|
15
|
-
*
|
|
16
|
-
* For [ingested metrics](https://dt-url.net/5d63ic1), dimensions that doesn't have have any data within the last 15 days are omitted.
|
|
17
|
-
*/
|
|
18
|
-
dimensionDefinitions?: MetricDimensionDefinition[];
|
|
19
|
-
/**
|
|
20
|
-
* The metric is (`true`) or is not (`false`) root cause relevant.
|
|
21
|
-
*
|
|
22
|
-
* A root-cause relevant metric represents a strong indicator for a faulty component.
|
|
23
|
-
*
|
|
24
|
-
* [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
|
|
25
|
-
*/
|
|
26
|
-
rootCauseRelevant?: boolean;
|
|
27
13
|
/**
|
|
28
14
|
* If `true` the usage of metric consumes [Davis data units](https://dt-url.net/ddu).
|
|
29
15
|
*
|
|
@@ -36,6 +22,14 @@ export interface MetricDescriptor {
|
|
|
36
22
|
* Has the value of `null` for metric expressions or if the data has never been written.
|
|
37
23
|
*/
|
|
38
24
|
lastWritten?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The metric is (`true`) or is not (`false`) root cause relevant.
|
|
27
|
+
*
|
|
28
|
+
* A root-cause relevant metric represents a strong indicator for a faulty component.
|
|
29
|
+
*
|
|
30
|
+
* [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
|
|
31
|
+
*/
|
|
32
|
+
rootCauseRelevant?: boolean;
|
|
39
33
|
/**
|
|
40
34
|
* The metric is (`true`) or is not (`false`) impact relevant.
|
|
41
35
|
*
|
|
@@ -66,15 +60,21 @@ export interface MetricDescriptor {
|
|
|
66
60
|
* [Metric expressions](https://dt-url.net/metricExpression) don't return this field.
|
|
67
61
|
*/
|
|
68
62
|
latency?: number;
|
|
63
|
+
/**
|
|
64
|
+
* If 'true', resolution=Inf can be applied to the metric query.
|
|
65
|
+
*/
|
|
66
|
+
resolutionInfSupported?: boolean;
|
|
69
67
|
unitDisplayFormat?: MetricDescriptorUnitDisplayFormat;
|
|
70
68
|
/**
|
|
71
69
|
* The cardinalities of MINT metric dimensions.
|
|
72
70
|
*/
|
|
73
71
|
dimensionCardinalities?: MetricDimensionCardinality[];
|
|
74
72
|
/**
|
|
75
|
-
*
|
|
73
|
+
* The fine metric division (for example, process group and process ID for some process-related metric).
|
|
74
|
+
*
|
|
75
|
+
* For [ingested metrics](https://dt-url.net/5d63ic1), dimensions that doesn't have have any data within the last 15 days are omitted.
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
dimensionDefinitions?: MetricDimensionDefinition[];
|
|
78
78
|
/**
|
|
79
79
|
* List of admissible primary entity types for this metric. Can be used for the `type` predicate in the `entitySelector`.
|
|
80
80
|
*/
|
|
@@ -136,17 +136,17 @@ export interface MetricDescriptor {
|
|
|
136
136
|
export declare namespace _MetricDescriptorTransformation {
|
|
137
137
|
interface AsJson {
|
|
138
138
|
defaultAggregation?: _MetricDefaultAggregationTransformation.AsJson;
|
|
139
|
-
dimensionDefinitions?: _MetricDimensionDefinitionTransformation.AsJson[];
|
|
140
|
-
rootCauseRelevant?: boolean;
|
|
141
139
|
dduBillable?: boolean;
|
|
142
140
|
lastWritten?: number;
|
|
141
|
+
rootCauseRelevant?: boolean;
|
|
143
142
|
impactRelevant?: boolean;
|
|
144
143
|
minimumValue?: number;
|
|
145
144
|
maximumValue?: number;
|
|
146
145
|
latency?: number;
|
|
146
|
+
resolutionInfSupported?: boolean;
|
|
147
147
|
unitDisplayFormat?: _MetricDescriptorUnitDisplayFormatTransformation.AsJson;
|
|
148
148
|
dimensionCardinalities?: _MetricDimensionCardinalityTransformation.AsJson[];
|
|
149
|
-
|
|
149
|
+
dimensionDefinitions?: _MetricDimensionDefinitionTransformation.AsJson[];
|
|
150
150
|
entityType?: string[];
|
|
151
151
|
metricId: string;
|
|
152
152
|
metricSelector?: string;
|
|
@@ -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;
|
|
13
9
|
/**
|
|
14
10
|
* The key of the dimension.
|
|
15
11
|
*
|
|
16
12
|
* It must be unique within the metric.
|
|
17
13
|
*/
|
|
18
14
|
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
|
-
estimate: number;
|
|
25
24
|
key: string;
|
|
25
|
+
estimate: number;
|
|
26
26
|
}
|
|
27
27
|
function fromJson(model: AsJson): MetricDimensionCardinality;
|
|
28
28
|
function toJson(model: MetricDimensionCardinality): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { InvalidLine, _InvalidLineTransformation } from './invalid-line';
|
|
2
2
|
export interface MetricIngestError {
|
|
3
3
|
invalidLines?: InvalidLine[];
|
|
4
|
-
code?: number;
|
|
5
4
|
message?: string;
|
|
5
|
+
code?: number;
|
|
6
6
|
}
|
|
7
7
|
/** @ignore */
|
|
8
8
|
export declare namespace _MetricIngestErrorTransformation {
|
|
9
9
|
interface AsJson {
|
|
10
10
|
invalidLines?: _InvalidLineTransformation.AsJson[];
|
|
11
|
-
code?: number;
|
|
12
11
|
message?: string;
|
|
12
|
+
code?: number;
|
|
13
13
|
}
|
|
14
14
|
function fromJson(model: AsJson): MetricIngestError;
|
|
15
15
|
function toJson(model: MetricIngestError): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts
CHANGED
|
@@ -4,10 +4,6 @@ import { MetricSeries, _MetricSeriesTransformation } from './metric-series';
|
|
|
4
4
|
* Data points of a metric.
|
|
5
5
|
*/
|
|
6
6
|
export interface MetricSeriesCollection {
|
|
7
|
-
/**
|
|
8
|
-
* The ratio of queried dimension tuples divided by the maximum number of dimension tuples allowed in a single query.
|
|
9
|
-
*/
|
|
10
|
-
dimensionCountRatio: number;
|
|
11
7
|
/**
|
|
12
8
|
* A list of filtered metric keys along with filters that have been applied to these keys, from the `optionalFilter` parameter.
|
|
13
9
|
*/
|
|
@@ -16,6 +12,10 @@ export interface MetricSeriesCollection {
|
|
|
16
12
|
* The ratio of queried data points divided by the maximum number of data points per metric that are allowed in a single query.
|
|
17
13
|
*/
|
|
18
14
|
dataPointCountRatio: number;
|
|
15
|
+
/**
|
|
16
|
+
* The ratio of queried dimension tuples divided by the maximum number of dimension tuples allowed in a single query.
|
|
17
|
+
*/
|
|
18
|
+
dimensionCountRatio: number;
|
|
19
19
|
/**
|
|
20
20
|
* The key of the metric.
|
|
21
21
|
*
|
|
@@ -34,9 +34,9 @@ export interface MetricSeriesCollection {
|
|
|
34
34
|
/** @ignore */
|
|
35
35
|
export declare namespace _MetricSeriesCollectionTransformation {
|
|
36
36
|
interface AsJson {
|
|
37
|
-
dimensionCountRatio: number;
|
|
38
37
|
appliedOptionalFilters?: _AppliedFilterTransformation.AsJson[];
|
|
39
38
|
dataPointCountRatio: number;
|
|
39
|
+
dimensionCountRatio: number;
|
|
40
40
|
metricId: string;
|
|
41
41
|
data: _MetricSeriesTransformation.AsJson[];
|
|
42
42
|
warnings?: 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;
|
|
8
9
|
/**
|
|
9
10
|
* A list of timestamps of data points.
|
|
10
11
|
*
|
|
11
12
|
* The value of data point for each time from this array is located in **values** array at the same index.
|
|
12
13
|
*/
|
|
13
14
|
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
|
-
timestamps: number[];
|
|
32
31
|
dimensionMap: _MetricSeriesDimensionMapTransformation.AsJson;
|
|
32
|
+
timestamps: number[];
|
|
33
33
|
dimensions: string[];
|
|
34
34
|
values: number[];
|
|
35
35
|
}
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
* Key-value parameter of the monitoring state.
|
|
3
3
|
*/
|
|
4
4
|
export interface MonitoredEntityStateParam {
|
|
5
|
-
/**
|
|
6
|
-
* The value of the monitoring state paramter.
|
|
7
|
-
*/
|
|
8
|
-
values?: string;
|
|
9
5
|
/**
|
|
10
6
|
* The key of the monitoring state paramter.
|
|
11
7
|
*/
|
|
12
8
|
key?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The value of the monitoring state paramter.
|
|
11
|
+
*/
|
|
12
|
+
values?: string;
|
|
13
13
|
}
|
|
14
14
|
/** @ignore */
|
|
15
15
|
export declare namespace _MonitoredEntityStateParamTransformation {
|
|
16
16
|
interface AsJson {
|
|
17
|
-
values?: string;
|
|
18
17
|
key?: string;
|
|
18
|
+
values?: string;
|
|
19
19
|
}
|
|
20
20
|
function fromJson(model: AsJson): MonitoredEntityStateParam;
|
|
21
21
|
function toJson(model: MonitoredEntityStateParam): AsJson;
|
|
@@ -11,6 +11,7 @@ export declare enum MonitoredEntityStatesState {
|
|
|
11
11
|
AixEnableFullMonitoringNeeded = "aix_enable_full_monitoring_needed",
|
|
12
12
|
BadInstaller = "bad_installer",
|
|
13
13
|
BoshbpmDisabled = "boshbpm_disabled",
|
|
14
|
+
ContainerInjectionFailed = "container_injection_failed",
|
|
14
15
|
ContainerdDisabled = "containerd_disabled",
|
|
15
16
|
CrioDisabled = "crio_disabled",
|
|
16
17
|
CustomPgRuleRequired = "custom_pg_rule_required",
|
|
@@ -22,6 +23,7 @@ export declare enum MonitoredEntityStatesState {
|
|
|
22
23
|
NetworkAgentInactive = "network_agent_inactive",
|
|
23
24
|
Ok = "ok",
|
|
24
25
|
ParentProcessRestartRequired = "parent_process_restart_required",
|
|
26
|
+
PodmanDisabled = "podman_disabled",
|
|
25
27
|
ProcessGroupDisabled = "process_group_disabled",
|
|
26
28
|
ProcessGroupDisabledViaContainerInjectionRule = "process_group_disabled_via_container_injection_rule",
|
|
27
29
|
ProcessGroupDisabledViaContainerInjectionRuleRestart = "process_group_disabled_via_container_injection_rule_restart",
|
package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts
CHANGED
|
@@ -10,19 +10,19 @@ export interface MonitoredEntityStates {
|
|
|
10
10
|
*/
|
|
11
11
|
entityId?: string;
|
|
12
12
|
severity?: MonitoredEntityStatesSeverity;
|
|
13
|
+
state?: MonitoredEntityStatesState;
|
|
13
14
|
/**
|
|
14
15
|
* Additional parameters of the monitoring state.
|
|
15
16
|
*/
|
|
16
17
|
params?: MonitoredEntityStateParam[];
|
|
17
|
-
state?: MonitoredEntityStatesState;
|
|
18
18
|
}
|
|
19
19
|
/** @ignore */
|
|
20
20
|
export declare namespace _MonitoredEntityStatesTransformation {
|
|
21
21
|
interface AsJson {
|
|
22
22
|
entityId?: string;
|
|
23
23
|
severity?: _MonitoredEntityStatesSeverityTransformation.AsJson;
|
|
24
|
-
params?: _MonitoredEntityStateParamTransformation.AsJson[];
|
|
25
24
|
state?: _MonitoredEntityStatesStateTransformation.AsJson;
|
|
25
|
+
params?: _MonitoredEntityStateParamTransformation.AsJson[];
|
|
26
26
|
}
|
|
27
27
|
function fromJson(model: AsJson): MonitoredEntityStates;
|
|
28
28
|
function toJson(model: MonitoredEntityStates): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/network-zone-fallback-mode.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The fallback mode of the network zone.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum NetworkZoneFallbackMode {
|
|
5
|
+
AnyActiveGate = "ANY_ACTIVE_GATE",
|
|
6
|
+
None = "NONE",
|
|
7
|
+
OnlyDefaultZone = "ONLY_DEFAULT_ZONE"
|
|
8
|
+
}
|
|
9
|
+
/** @ignore */
|
|
10
|
+
export declare namespace _NetworkZoneFallbackModeTransformation {
|
|
11
|
+
type AsJson = NetworkZoneFallbackMode;
|
|
12
|
+
const toJson: (value: NetworkZoneFallbackMode) => AsJson;
|
|
13
|
+
const fromJson: (value: AsJson) => NetworkZoneFallbackMode;
|
|
14
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NetworkZoneFallbackMode, _NetworkZoneFallbackModeTransformation } from './network-zone-fallback-mode';
|
|
1
2
|
/**
|
|
2
3
|
* Configuration of a network zone.
|
|
3
4
|
*/
|
|
@@ -6,6 +7,7 @@ export interface NetworkZone {
|
|
|
6
7
|
* A list of alternative network zones.
|
|
7
8
|
*/
|
|
8
9
|
alternativeZones?: string[];
|
|
10
|
+
fallbackMode?: NetworkZoneFallbackMode;
|
|
9
11
|
/**
|
|
10
12
|
* The number of OneAgents that are using ActiveGates in the network zone.
|
|
11
13
|
*/
|
|
@@ -27,24 +29,25 @@ export interface NetworkZone {
|
|
|
27
29
|
*/
|
|
28
30
|
numOfConfiguredActiveGates?: number;
|
|
29
31
|
/**
|
|
30
|
-
*
|
|
32
|
+
* The ID of the network zone.
|
|
31
33
|
*/
|
|
32
|
-
|
|
34
|
+
id?: string;
|
|
33
35
|
/**
|
|
34
|
-
*
|
|
36
|
+
* A short description of the network zone.
|
|
35
37
|
*/
|
|
36
|
-
|
|
38
|
+
description?: string;
|
|
37
39
|
}
|
|
38
40
|
/** @ignore */
|
|
39
41
|
export declare namespace _NetworkZoneTransformation {
|
|
40
42
|
interface AsJson {
|
|
41
43
|
alternativeZones?: string[];
|
|
44
|
+
fallbackMode?: _NetworkZoneFallbackModeTransformation.AsJson;
|
|
42
45
|
numOfOneAgentsUsing?: number;
|
|
43
46
|
numOfConfiguredOneAgents?: number;
|
|
44
47
|
numOfOneAgentsFromOtherZones?: number;
|
|
45
48
|
numOfConfiguredActiveGates?: number;
|
|
46
|
-
description?: string;
|
|
47
49
|
id?: string;
|
|
50
|
+
description?: string;
|
|
48
51
|
}
|
|
49
52
|
function fromJson(model: AsJson): NetworkZone;
|
|
50
53
|
function toJson(model: NetworkZone): AsJson;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The custom script's properties of the monitor.
|
|
3
|
+
* This is just an alias for a type any.
|
|
4
|
+
* @typedef {any} ObjectNode
|
|
5
|
+
*/
|
|
6
|
+
export declare type ObjectNode = any;
|
|
7
|
+
/** @ignore */
|
|
8
|
+
export declare namespace _ObjectNodeTransformation {
|
|
9
|
+
type AsJson = any;
|
|
10
|
+
function fromJson(model: AsJson): ObjectNode;
|
|
11
|
+
function toJson(model: ObjectNode): AsJson;
|
|
12
|
+
}
|
|
@@ -4,7 +4,6 @@ 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
7
|
expectedValue?: PreconditionExpectedValue;
|
|
9
8
|
/**
|
|
10
9
|
* A list of valid values of the property.
|
|
@@ -18,28 +17,29 @@ export interface Precondition {
|
|
|
18
17
|
* Only applicable to properties of the `AND` and `OR` types.
|
|
19
18
|
*/
|
|
20
19
|
preconditions?: Precondition[];
|
|
20
|
+
precondition?: Precondition;
|
|
21
|
+
/**
|
|
22
|
+
* The property to be evaluated.
|
|
23
|
+
*/
|
|
24
|
+
property?: string;
|
|
25
|
+
type: PreconditionType;
|
|
21
26
|
/**
|
|
22
27
|
* The Regular expression which is matched against the property.
|
|
23
28
|
*
|
|
24
29
|
* Only applicable to properties of the `REGEX_MATCH` type.
|
|
25
30
|
*/
|
|
26
31
|
pattern?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The property to be evaluated.
|
|
29
|
-
*/
|
|
30
|
-
property?: string;
|
|
31
|
-
type: PreconditionType;
|
|
32
32
|
}
|
|
33
33
|
/** @ignore */
|
|
34
34
|
export declare namespace _PreconditionTransformation {
|
|
35
35
|
interface AsJson {
|
|
36
|
-
precondition?: _PreconditionTransformation.AsJson;
|
|
37
36
|
expectedValue?: _PreconditionExpectedValueTransformation.AsJson;
|
|
38
37
|
expectedValues?: any[];
|
|
39
38
|
preconditions?: _PreconditionTransformation.AsJson[];
|
|
40
|
-
|
|
39
|
+
precondition?: _PreconditionTransformation.AsJson;
|
|
41
40
|
property?: string;
|
|
42
41
|
type: _PreconditionTypeTransformation.AsJson;
|
|
42
|
+
pattern?: string;
|
|
43
43
|
}
|
|
44
44
|
function fromJson(model: AsJson): Precondition;
|
|
45
45
|
function toJson(model: Precondition): AsJson;
|