@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.
- package/CHANGELOG.md +26 -0
- package/README.md +9 -7
- package/cjs/index.js +4558 -1077
- package/docs/DOCS.md +3626 -420
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +4558 -1077
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +1 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +2 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +7 -23
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +3 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +15 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +5 -17
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +5 -17
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +6 -20
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +7 -22
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +2 -6
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-serializer.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/bm-action.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.d.ts +5 -5
- 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/effective-settings-value.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-from-relationships.d.ts +2 -2
- 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-properties.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-to-relationships.d.ts +2 -2
- 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/event-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-feature-sets-details.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration-value.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration.d.ts +3 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto-feature-sets-details.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +5 -5
- 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-status.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +27 -27
- 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-evidence.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/network-zone.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +13 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +15 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-enums.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-properties.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-types.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type-properties.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +25 -25
- package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +10 -10
- 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 +37 -37
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/transactional-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization-insert.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +6 -8
- 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/update-job.d.ts +16 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-component.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment.d.ts +20 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input.d.ts +21 -0
- package/types/packages/platform/error-handlers/src/index.d.ts +2 -0
- package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +14 -0
- package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +10 -0
- package/types/packages/platform/error-handlers/src/lib/types/dt-runtime-error-handlers.d.ts +5 -0
- package/types/packages/platform/error-handlers/src/lib/types/error-type.d.ts +9 -0
- package/types/packages/platform/error-handlers/src/lib/types/global-dt-runtime-with-error-handlers.d.ts +7 -0
- package/types/packages/platform/error-handlers/src/lib/types/global-error-serializer.d.ts +10 -0
- package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +11 -0
- package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +5 -0
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +8 -0
- package/types/packages/platform/shared/index.d.ts +1 -0
- package/types/packages/platform/shared/utils/get-global-with-dt-runtime.d.ts +1 -0
|
@@ -13,6 +13,10 @@ export interface ApiToken {
|
|
|
13
13
|
*/
|
|
14
14
|
modifiedDate?: string;
|
|
15
15
|
additionalMetadata?: ApiTokenAdditionalMetadata;
|
|
16
|
+
/**
|
|
17
|
+
* Token last used date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)
|
|
18
|
+
*/
|
|
19
|
+
lastUsedDate?: string;
|
|
16
20
|
/**
|
|
17
21
|
* Token expiration date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`).
|
|
18
22
|
*
|
|
@@ -23,10 +27,6 @@ export interface ApiToken {
|
|
|
23
27
|
* The token is a [personal access token](https://dt-url.net/wm03sop) (`true`) or an API token (`false`).
|
|
24
28
|
*/
|
|
25
29
|
personalAccessToken?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Token last used date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)
|
|
28
|
-
*/
|
|
29
|
-
lastUsedDate?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Token creation date in ISO 8601 format (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`)
|
|
32
32
|
*/
|
|
@@ -58,9 +58,9 @@ export declare namespace _ApiTokenTransformation {
|
|
|
58
58
|
lastUsedIpAddress?: string;
|
|
59
59
|
modifiedDate?: string;
|
|
60
60
|
additionalMetadata?: _ApiTokenAdditionalMetadataTransformation.AsJson;
|
|
61
|
+
lastUsedDate?: string;
|
|
61
62
|
expirationDate?: string;
|
|
62
63
|
personalAccessToken?: boolean;
|
|
63
|
-
lastUsedDate?: string;
|
|
64
64
|
creationDate?: string;
|
|
65
65
|
name?: string;
|
|
66
66
|
id?: string;
|
|
@@ -159,8 +159,8 @@ export interface BMAction extends ExecutionStep {
|
|
|
159
159
|
* The time between the moment when the browser receives a request to download a resource and the time that it actually starts downloading the resource in ms.
|
|
160
160
|
*/
|
|
161
161
|
totalBlockingTime?: number;
|
|
162
|
-
exitAction?: boolean;
|
|
163
162
|
entryAction?: boolean;
|
|
163
|
+
exitAction?: boolean;
|
|
164
164
|
}
|
|
165
165
|
/** @ignore */
|
|
166
166
|
export declare namespace _BMActionTransformation {
|
|
@@ -204,8 +204,8 @@ export declare namespace _BMActionTransformation {
|
|
|
204
204
|
firstInputDelay?: number;
|
|
205
205
|
cumulativeLayoutShift?: number;
|
|
206
206
|
totalBlockingTime?: number;
|
|
207
|
-
exitAction?: boolean;
|
|
208
207
|
entryAction?: boolean;
|
|
208
|
+
exitAction?: boolean;
|
|
209
209
|
}
|
|
210
210
|
function fromJson(model: AsJson): BMAction;
|
|
211
211
|
function toJson(model: BMAction): AsJson;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The type of code level vulnerability.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum CodeLevelVulnerabilityDetailsType {
|
|
5
|
+
CmdInjection = "CMD_INJECTION",
|
|
6
|
+
ImproperInputValidation = "IMPROPER_INPUT_VALIDATION",
|
|
7
|
+
SqlInjection = "SQL_INJECTION"
|
|
8
|
+
}
|
|
9
|
+
/** @ignore */
|
|
10
|
+
export declare namespace _CodeLevelVulnerabilityDetailsTypeTransformation {
|
|
11
|
+
type AsJson = CodeLevelVulnerabilityDetailsType;
|
|
12
|
+
const toJson: (value: CodeLevelVulnerabilityDetailsType) => AsJson;
|
|
13
|
+
const fromJson: (value: AsJson) => CodeLevelVulnerabilityDetailsType;
|
|
14
|
+
}
|
|
@@ -1,21 +1,42 @@
|
|
|
1
|
+
import { CodeLevelVulnerabilityDetailsType, _CodeLevelVulnerabilityDetailsTypeTransformation } from './code-level-vulnerability-details-type';
|
|
2
|
+
import { VulnerableFunctionInput, _VulnerableFunctionInputTransformation } from './vulnerable-function-input';
|
|
1
3
|
/**
|
|
2
4
|
* The details of a code-level vulnerability.
|
|
3
5
|
*/
|
|
4
6
|
export interface CodeLevelVulnerabilityDetails {
|
|
7
|
+
/**
|
|
8
|
+
* The list of encoded MEIdentifier of the process groups.
|
|
9
|
+
*/
|
|
10
|
+
processGroupIds?: string[];
|
|
5
11
|
/**
|
|
6
12
|
* The list of affected process groups.
|
|
7
13
|
*/
|
|
8
14
|
processGroups?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* The code location of the vulnerability without package and parameter.
|
|
17
|
+
*/
|
|
18
|
+
shortVulnerabilityLocation?: string;
|
|
19
|
+
type?: CodeLevelVulnerabilityDetailsType;
|
|
9
20
|
/**
|
|
10
21
|
* The code location of the vulnerability.
|
|
11
22
|
*/
|
|
12
23
|
vulnerabilityLocation?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The vulnerable function of the vulnerability.
|
|
26
|
+
*/
|
|
27
|
+
vulnerableFunction?: string;
|
|
28
|
+
vulnerableFunctionInput?: VulnerableFunctionInput;
|
|
13
29
|
}
|
|
14
30
|
/** @ignore */
|
|
15
31
|
export declare namespace _CodeLevelVulnerabilityDetailsTransformation {
|
|
16
32
|
interface AsJson {
|
|
33
|
+
processGroupIds?: string[];
|
|
17
34
|
processGroups?: string[];
|
|
35
|
+
shortVulnerabilityLocation?: string;
|
|
36
|
+
type?: _CodeLevelVulnerabilityDetailsTypeTransformation.AsJson;
|
|
18
37
|
vulnerabilityLocation?: string;
|
|
38
|
+
vulnerableFunction?: string;
|
|
39
|
+
vulnerableFunctionInput?: _VulnerableFunctionInputTransformation.AsJson;
|
|
19
40
|
}
|
|
20
41
|
function fromJson(model: AsJson): CodeLevelVulnerabilityDetails;
|
|
21
42
|
function toJson(model: CodeLevelVulnerabilityDetails): AsJson;
|
|
@@ -8,9 +8,9 @@ export interface CommentsList {
|
|
|
8
8
|
*/
|
|
9
9
|
comments: Comment[];
|
|
10
10
|
/**
|
|
11
|
-
* The number of entries
|
|
11
|
+
* The total number of entries in the result.
|
|
12
12
|
*/
|
|
13
|
-
|
|
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 CommentsList {
|
|
|
18
18
|
*/
|
|
19
19
|
nextPageKey?: string;
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The number of entries per page.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
pageSize?: number;
|
|
24
24
|
}
|
|
25
25
|
/** @ignore */
|
|
26
26
|
export declare namespace _CommentsListTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
28
|
comments: _CommentTransformation.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): CommentsList;
|
|
34
34
|
function toJson(model: CommentsList): AsJson;
|
|
@@ -4,9 +4,9 @@ import { ComplexConstraintType, _ComplexConstraintTypeTransformation } from './c
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ComplexConstraint {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* A custom message for invalid values.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
customMessage?: string;
|
|
10
10
|
/**
|
|
11
11
|
* The minimum number of properties that must be set.
|
|
12
12
|
*/
|
|
@@ -16,9 +16,9 @@ export interface ComplexConstraint {
|
|
|
16
16
|
*/
|
|
17
17
|
maximumPropertyCount?: number;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The ID of a custom validator.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
customValidatorId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* A list of properties (defined by IDs) that are used to check the constraint.
|
|
24
24
|
*/
|
|
@@ -28,10 +28,10 @@ export interface ComplexConstraint {
|
|
|
28
28
|
/** @ignore */
|
|
29
29
|
export declare namespace _ComplexConstraintTransformation {
|
|
30
30
|
interface AsJson {
|
|
31
|
-
|
|
31
|
+
customMessage?: string;
|
|
32
32
|
minimumPropertyCount?: number;
|
|
33
33
|
maximumPropertyCount?: number;
|
|
34
|
-
|
|
34
|
+
customValidatorId?: string;
|
|
35
35
|
properties?: string[];
|
|
36
36
|
type: _ComplexConstraintTypeTransformation.AsJson;
|
|
37
37
|
}
|
|
@@ -15,14 +15,14 @@ export interface Constraint {
|
|
|
15
15
|
* A list of properties for which the combination of values must be unique.
|
|
16
16
|
*/
|
|
17
17
|
uniqueProperties?: string[];
|
|
18
|
-
/**
|
|
19
|
-
* The ID of a custom validator.
|
|
20
|
-
*/
|
|
21
|
-
customValidatorId?: string;
|
|
22
18
|
/**
|
|
23
19
|
* A custom message for invalid values.
|
|
24
20
|
*/
|
|
25
21
|
customMessage?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The ID of a custom validator.
|
|
24
|
+
*/
|
|
25
|
+
customValidatorId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The maximum allowed value.
|
|
28
28
|
*/
|
|
@@ -43,8 +43,8 @@ export declare namespace _ConstraintTransformation {
|
|
|
43
43
|
maxLength?: number;
|
|
44
44
|
minLength?: number;
|
|
45
45
|
uniqueProperties?: string[];
|
|
46
|
-
customValidatorId?: string;
|
|
47
46
|
customMessage?: string;
|
|
47
|
+
customValidatorId?: string;
|
|
48
48
|
maximum?: number;
|
|
49
49
|
minimum?: number;
|
|
50
50
|
type: _ConstraintTypeTransformation.AsJson;
|
|
@@ -3,20 +3,20 @@ import { METag, _METagTransformation } from './me-tag';
|
|
|
3
3
|
* A list of custom tags.
|
|
4
4
|
*/
|
|
5
5
|
export interface CustomEntityTags {
|
|
6
|
-
/**
|
|
7
|
-
* A list of custom tags.
|
|
8
|
-
*/
|
|
9
|
-
tags: METag[];
|
|
10
6
|
/**
|
|
11
7
|
* The total number of tags in the response.
|
|
12
8
|
*/
|
|
13
9
|
totalCount?: number;
|
|
10
|
+
/**
|
|
11
|
+
* A list of custom tags.
|
|
12
|
+
*/
|
|
13
|
+
tags: METag[];
|
|
14
14
|
}
|
|
15
15
|
/** @ignore */
|
|
16
16
|
export declare namespace _CustomEntityTagsTransformation {
|
|
17
17
|
interface AsJson {
|
|
18
|
-
tags: _METagTransformation.AsJson[];
|
|
19
18
|
totalCount?: number;
|
|
19
|
+
tags: _METagTransformation.AsJson[];
|
|
20
20
|
}
|
|
21
21
|
function fromJson(model: AsJson): CustomEntityTags;
|
|
22
22
|
function toJson(model: CustomEntityTags): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { DatasourceDefinitionResetValue, _DatasourceDefinitionResetValueTransfor
|
|
|
3
3
|
* Configuration of a datasource for a property.
|
|
4
4
|
*/
|
|
5
5
|
export interface DatasourceDefinition {
|
|
6
|
+
resetValue?: DatasourceDefinitionResetValue;
|
|
6
7
|
/**
|
|
7
8
|
* The properties to filter the datasource options on.
|
|
8
9
|
*/
|
|
@@ -19,7 +20,6 @@ export interface DatasourceDefinition {
|
|
|
19
20
|
* If true, the datasource should use the api to filter the results instead of client-side filtering.
|
|
20
21
|
*/
|
|
21
22
|
useApiSearch: boolean;
|
|
22
|
-
resetValue?: DatasourceDefinitionResetValue;
|
|
23
23
|
/**
|
|
24
24
|
* The identifier of a custom data source of the property's value.
|
|
25
25
|
*/
|
|
@@ -28,11 +28,11 @@ export interface DatasourceDefinition {
|
|
|
28
28
|
/** @ignore */
|
|
29
29
|
export declare namespace _DatasourceDefinitionTransformation {
|
|
30
30
|
interface AsJson {
|
|
31
|
+
resetValue?: _DatasourceDefinitionResetValueTransformation.AsJson;
|
|
31
32
|
filterProperties: string[];
|
|
32
33
|
validate: boolean;
|
|
33
34
|
fullContext: boolean;
|
|
34
35
|
useApiSearch: boolean;
|
|
35
|
-
resetValue?: _DatasourceDefinitionResetValueTransformation.AsJson;
|
|
36
36
|
identifier: string;
|
|
37
37
|
}
|
|
38
38
|
function fromJson(model: AsJson): DatasourceDefinition;
|
package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import { SettingsValue, _SettingsValueTransformation } from './settings-value';
|
|
|
4
4
|
*/
|
|
5
5
|
export interface EffectiveSettingsValue {
|
|
6
6
|
/**
|
|
7
|
-
* The
|
|
7
|
+
* The origin of the settings value.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
origin?: string;
|
|
10
10
|
/**
|
|
11
|
-
* The timestamp of the
|
|
11
|
+
* The timestamp of the creation.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
created?: number;
|
|
14
14
|
/**
|
|
15
15
|
* The external identifier of the settings object.
|
|
16
16
|
*/
|
|
@@ -20,17 +20,17 @@ export interface EffectiveSettingsValue {
|
|
|
20
20
|
*/
|
|
21
21
|
author?: string;
|
|
22
22
|
/**
|
|
23
|
-
* The
|
|
23
|
+
* The timestamp of the last modification.
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
modified?: number;
|
|
26
26
|
/**
|
|
27
|
-
* The
|
|
27
|
+
* The version of the schema on which the object is based.
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
schemaVersion?: string;
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
31
|
+
* The schema on which the object is based.
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
schemaId?: string;
|
|
34
34
|
value?: SettingsValue;
|
|
35
35
|
/**
|
|
36
36
|
* A short summary of settings.
|
|
@@ -40,13 +40,13 @@ export interface EffectiveSettingsValue {
|
|
|
40
40
|
/** @ignore */
|
|
41
41
|
export declare namespace _EffectiveSettingsValueTransformation {
|
|
42
42
|
interface AsJson {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
origin?: string;
|
|
44
|
+
created?: number;
|
|
45
45
|
externalId?: string;
|
|
46
46
|
author?: string;
|
|
47
|
+
modified?: number;
|
|
48
|
+
schemaVersion?: string;
|
|
47
49
|
schemaId?: string;
|
|
48
|
-
origin?: string;
|
|
49
|
-
created?: number;
|
|
50
50
|
value?: _SettingsValueTransformation.AsJson;
|
|
51
51
|
summary?: string;
|
|
52
52
|
}
|
|
@@ -3,32 +3,32 @@ import { EffectiveSettingsValue, _EffectiveSettingsValueTransformation } from '.
|
|
|
3
3
|
* A list of effective settings values.
|
|
4
4
|
*/
|
|
5
5
|
export interface EffectiveSettingsValuesList {
|
|
6
|
+
/**
|
|
7
|
+
* A list of effective settings values.
|
|
8
|
+
*/
|
|
9
|
+
items: EffectiveSettingsValue[];
|
|
6
10
|
/**
|
|
7
11
|
* The number of entries per page.
|
|
8
12
|
*/
|
|
9
13
|
pageSize: number;
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* The total number of entries in the result.
|
|
12
16
|
*/
|
|
13
|
-
|
|
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 _EffectiveSettingsValuesListTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
|
-
pageSize: number;
|
|
29
28
|
items: _EffectiveSettingsValueTransformation.AsJson[];
|
|
30
|
-
|
|
29
|
+
pageSize: number;
|
|
31
30
|
totalCount: number;
|
|
31
|
+
nextPageKey?: string;
|
|
32
32
|
}
|
|
33
33
|
function fromJson(model: AsJson): EffectiveSettingsValuesList;
|
|
34
34
|
function toJson(model: EffectiveSettingsValuesList): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/entity-from-relationships.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityId } from './entity-id';
|
|
1
|
+
import { EntityId, _EntityIdTransformation } from './entity-id';
|
|
2
2
|
/**
|
|
3
3
|
* A list of relationships where the entity occupies the FROM position.
|
|
4
4
|
*/
|
|
@@ -8,7 +8,7 @@ export interface EntityFromRelationships {
|
|
|
8
8
|
/** @ignore */
|
|
9
9
|
export declare namespace _EntityFromRelationshipsTransformation {
|
|
10
10
|
interface AsJson {
|
|
11
|
-
[propName: string]:
|
|
11
|
+
[propName: string]: _EntityIdTransformation.AsJson[] | undefined;
|
|
12
12
|
}
|
|
13
13
|
function fromJson(model: AsJson): EntityFromRelationships;
|
|
14
14
|
function toJson(model: EntityFromRelationships): AsJson;
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
* The icon of a monitored entity.
|
|
3
3
|
*/
|
|
4
4
|
export interface EntityIcon {
|
|
5
|
-
/**
|
|
6
|
-
* The primary icon of the entity.
|
|
7
|
-
*
|
|
8
|
-
* Specified by the [barista](https://dt-url.net/u403suy) ID of the icon.
|
|
9
|
-
*/
|
|
10
|
-
primaryIconType?: string;
|
|
11
5
|
/**
|
|
12
6
|
* The user-defined icon of the entity.
|
|
13
7
|
*
|
|
14
8
|
* Specify the [barista](https://dt-url.net/u403suy) ID of the icon or a URL of your own icon.
|
|
15
9
|
*/
|
|
16
10
|
customIconPath?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The primary icon of the entity.
|
|
13
|
+
*
|
|
14
|
+
* Specified by the [barista](https://dt-url.net/u403suy) ID of the icon.
|
|
15
|
+
*/
|
|
16
|
+
primaryIconType?: string;
|
|
17
17
|
/**
|
|
18
18
|
* The secondary icon of the entity.
|
|
19
19
|
*
|
|
@@ -24,8 +24,8 @@ export interface EntityIcon {
|
|
|
24
24
|
/** @ignore */
|
|
25
25
|
export declare namespace _EntityIconTransformation {
|
|
26
26
|
interface AsJson {
|
|
27
|
-
primaryIconType?: string;
|
|
28
27
|
customIconPath?: string;
|
|
28
|
+
primaryIconType?: string;
|
|
29
29
|
secondaryIconType?: string;
|
|
30
30
|
}
|
|
31
31
|
function fromJson(model: AsJson): EntityIcon;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* A list of additional properties of the entity.
|
|
3
3
|
*/
|
|
4
4
|
export interface EntityProperties {
|
|
5
|
-
[propName: string]:
|
|
5
|
+
[propName: string]: any;
|
|
6
6
|
}
|
|
7
7
|
/** @ignore */
|
|
8
8
|
export declare namespace _EntityPropertiesTransformation {
|
|
9
9
|
interface AsJson {
|
|
10
|
-
[propName: string]:
|
|
10
|
+
[propName: string]: any;
|
|
11
11
|
}
|
|
12
12
|
function fromJson(model: AsJson): EntityProperties;
|
|
13
13
|
function toJson(model: EntityProperties): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/entity-to-relationships.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityId } from './entity-id';
|
|
1
|
+
import { EntityId, _EntityIdTransformation } from './entity-id';
|
|
2
2
|
/**
|
|
3
3
|
* A list of relationships where the entity occupies the TO position.
|
|
4
4
|
*/
|
|
@@ -8,7 +8,7 @@ export interface EntityToRelationships {
|
|
|
8
8
|
/** @ignore */
|
|
9
9
|
export declare namespace _EntityToRelationshipsTransformation {
|
|
10
10
|
interface AsJson {
|
|
11
|
-
[propName: string]:
|
|
11
|
+
[propName: string]: _EntityIdTransformation.AsJson[] | undefined;
|
|
12
12
|
}
|
|
13
13
|
function fromJson(model: AsJson): EntityToRelationships;
|
|
14
14
|
function toJson(model: EntityToRelationships): AsJson;
|
|
@@ -4,14 +4,14 @@ import { EnumValue, _EnumValueTransformation } from './enum-value';
|
|
|
4
4
|
* Definition of an enum property.
|
|
5
5
|
*/
|
|
6
6
|
export interface EnumType {
|
|
7
|
-
/**
|
|
8
|
-
* An existing Java enum class that holds the allowed values of the enum.
|
|
9
|
-
*/
|
|
10
|
-
enumClass?: string;
|
|
11
7
|
/**
|
|
12
8
|
* A list of allowed values of the enum.
|
|
13
9
|
*/
|
|
14
10
|
items: EnumValue[];
|
|
11
|
+
/**
|
|
12
|
+
* An existing Java enum class that holds the allowed values of the enum.
|
|
13
|
+
*/
|
|
14
|
+
enumClass?: string;
|
|
15
15
|
type: EnumTypeType;
|
|
16
16
|
/**
|
|
17
17
|
* An extended description and/or links to documentation.
|
|
@@ -29,8 +29,8 @@ export interface EnumType {
|
|
|
29
29
|
/** @ignore */
|
|
30
30
|
export declare namespace _EnumTypeTransformation {
|
|
31
31
|
interface AsJson {
|
|
32
|
-
enumClass?: string;
|
|
33
32
|
items: _EnumValueTransformation.AsJson[];
|
|
33
|
+
enumClass?: string;
|
|
34
34
|
type: _EnumTypeTypeTransformation.AsJson;
|
|
35
35
|
documentation: string;
|
|
36
36
|
displayName?: string;
|
|
@@ -12,9 +12,9 @@ export interface EventList {
|
|
|
12
12
|
*/
|
|
13
13
|
events?: Event[];
|
|
14
14
|
/**
|
|
15
|
-
* The number of entries
|
|
15
|
+
* The total number of entries in the result.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
totalCount: number;
|
|
18
18
|
/**
|
|
19
19
|
* The cursor for the next page of results. Has the value of `null` on the last page.
|
|
20
20
|
*
|
|
@@ -22,18 +22,18 @@ export interface EventList {
|
|
|
22
22
|
*/
|
|
23
23
|
nextPageKey?: string;
|
|
24
24
|
/**
|
|
25
|
-
* The
|
|
25
|
+
* The number of entries per page.
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
pageSize?: number;
|
|
28
28
|
}
|
|
29
29
|
/** @ignore */
|
|
30
30
|
export declare namespace _EventListTransformation {
|
|
31
31
|
interface AsJson {
|
|
32
32
|
warnings?: string[];
|
|
33
33
|
events?: _EventTransformation.AsJson[];
|
|
34
|
-
pageSize?: number;
|
|
35
|
-
nextPageKey?: string;
|
|
36
34
|
totalCount: number;
|
|
35
|
+
nextPageKey?: string;
|
|
36
|
+
pageSize?: number;
|
|
37
37
|
}
|
|
38
38
|
function fromJson(model: AsJson): EventList;
|
|
39
39
|
function toJson(model: EventList): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* Configuration of an event property.
|
|
3
3
|
*/
|
|
4
4
|
export interface EventPropertyDetail {
|
|
5
|
-
/**
|
|
6
|
-
* The display name of the event property.
|
|
7
|
-
*/
|
|
8
|
-
displayName?: string;
|
|
9
5
|
/**
|
|
10
6
|
* Indicates whether the property may be set during event ingestion.
|
|
11
7
|
*/
|
|
12
8
|
writable?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The display name of the event property.
|
|
11
|
+
*/
|
|
12
|
+
displayName?: string;
|
|
13
13
|
/**
|
|
14
14
|
* The event property key.
|
|
15
15
|
*/
|
|
@@ -22,8 +22,8 @@ export interface EventPropertyDetail {
|
|
|
22
22
|
/** @ignore */
|
|
23
23
|
export declare namespace _EventPropertyDetailTransformation {
|
|
24
24
|
interface AsJson {
|
|
25
|
-
displayName?: string;
|
|
26
25
|
writable?: boolean;
|
|
26
|
+
displayName?: string;
|
|
27
27
|
key?: string;
|
|
28
28
|
description?: string;
|
|
29
29
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ export interface EventPropertyDetails {
|
|
|
8
8
|
*/
|
|
9
9
|
eventProperties?: EventPropertyDetail[];
|
|
10
10
|
/**
|
|
11
|
-
* The number of entries
|
|
11
|
+
* The total number of entries in the result.
|
|
12
12
|
*/
|
|
13
|
-
|
|
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 EventPropertyDetails {
|
|
|
18
18
|
*/
|
|
19
19
|
nextPageKey?: string;
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The number of entries per page.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
pageSize?: number;
|
|
24
24
|
}
|
|
25
25
|
/** @ignore */
|
|
26
26
|
export declare namespace _EventPropertyDetailsTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
28
|
eventProperties?: _EventPropertyDetailTransformation.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): EventPropertyDetails;
|
|
34
34
|
function toJson(model: EventPropertyDetails): AsJson;
|
|
@@ -8,9 +8,9 @@ export interface EventTypeList {
|
|
|
8
8
|
*/
|
|
9
9
|
eventTypeInfos?: EventType[];
|
|
10
10
|
/**
|
|
11
|
-
* The number of entries
|
|
11
|
+
* The total number of entries in the result.
|
|
12
12
|
*/
|
|
13
|
-
|
|
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 EventTypeList {
|
|
|
18
18
|
*/
|
|
19
19
|
nextPageKey?: string;
|
|
20
20
|
/**
|
|
21
|
-
* The
|
|
21
|
+
* The number of entries per page.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
pageSize?: number;
|
|
24
24
|
}
|
|
25
25
|
/** @ignore */
|
|
26
26
|
export declare namespace _EventTypeListTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
28
|
eventTypeInfos?: _EventTypeTransformation.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): EventTypeList;
|
|
34
34
|
function toJson(model: EventTypeList): AsJson;
|
|
@@ -7,6 +7,12 @@ import { METag, _METagTransformation } from './me-tag';
|
|
|
7
7
|
* Configuration of an event.
|
|
8
8
|
*/
|
|
9
9
|
export interface Event {
|
|
10
|
+
/**
|
|
11
|
+
* If `true`, the event happens [frequently](https://dt-url.net/4da3kdg).
|
|
12
|
+
*
|
|
13
|
+
* A frequent event doesn't raise a problem.
|
|
14
|
+
*/
|
|
15
|
+
frequentEvent?: boolean;
|
|
10
16
|
/**
|
|
11
17
|
* The alerting status during a [maintenance](https://dt-url.net/b2123rg0):
|
|
12
18
|
*
|
|
@@ -14,12 +20,6 @@ export interface Event {
|
|
|
14
20
|
* * `true`: Alerting is disabled.
|
|
15
21
|
*/
|
|
16
22
|
suppressAlert?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* If `true`, the event happens [frequently](https://dt-url.net/4da3kdg).
|
|
19
|
-
*
|
|
20
|
-
* A frequent event doesn't raise a problem.
|
|
21
|
-
*/
|
|
22
|
-
frequentEvent?: boolean;
|
|
23
23
|
/**
|
|
24
24
|
* If `true`, the event happened while the monitored system was under maintenance.
|
|
25
25
|
*/
|
|
@@ -75,8 +75,8 @@ export interface Event {
|
|
|
75
75
|
/** @ignore */
|
|
76
76
|
export declare namespace _EventTransformation {
|
|
77
77
|
interface AsJson {
|
|
78
|
-
suppressAlert?: boolean;
|
|
79
78
|
frequentEvent?: boolean;
|
|
79
|
+
suppressAlert?: boolean;
|
|
80
80
|
underMaintenance?: boolean;
|
|
81
81
|
suppressProblem?: boolean;
|
|
82
82
|
managementZones?: _ManagementZoneTransformation.AsJson[];
|