@dynatrace-sdk/client-classic-environment-v2 0.6.4 → 0.6.8
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 +27 -0
- package/README.md +39 -0
- package/cjs/index.js +3626 -814
- package/docs/DOCS.md +9170 -4780
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +3626 -814
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +5 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +8 -7
- 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 +14 -10
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/hub-items-api.d.ts +162 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +2 -0
- 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 +8 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +25 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +21 -21
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +59 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +77 -12
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -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/models/active-gate-module.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +0 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -6
- 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-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +0 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +0 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +13 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +35 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-schema-details-dto.d.ts +27 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/category-list.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/category.d.ts +27 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint-violation-parameter-location.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +13 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-id.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-config.d.ts +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-dto.d.ts +38 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password-config.d.ts +24 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +43 -0
- 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 +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/description-block-type.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/description-block.d.ts +36 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +20 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +8 -8
- 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 +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +2 -2
- 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 +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.d.ts +35 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +13 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +5 -5
- 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 +23 -23
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-release-feature-sets.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-release-notes.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-release.d.ts +69 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension1-details.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension1-release.d.ts +32 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension2-details.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config-source-auth-method.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config-type.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-source-auth-method.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/filtered-counts-dto.d.ts +77 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/global-counts-dto.d.ts +72 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/image.d.ts +27 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +57 -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-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-details.d.ts +98 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-list.d.ts +32 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-overview-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-overview.d.ts +82 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/list-items-query-item-type.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +2 -2
- 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 +45 -45
- 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/monitored-entity-state-param.d.ts +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-severity.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +48 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +29 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +23 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +13 -13
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +23 -23
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -18
- package/types/packages/client/classic-environment-v2/src/lib/models/registered-extension-result-dto.d.ts +19 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/related-item-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/related-item.d.ts +33 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.d.ts +5 -5
- 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 +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary-reason.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute-reason.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute-response.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute-reason.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute-response.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute.d.ts +25 -0
- 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-definition-rest-dto.d.ts +11 -0
- 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/security-problem-bulk-muting-summary-reason.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-mute.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-unmute.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute-reason.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute-response.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute-reason.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute-response.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +24 -17
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +27 -22
- package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +47 -47
- package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.d.ts +5 -5
- 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-processing-mode.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/technology-details.d.ts +17 -0
- 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 +15 -15
- package/types/packages/client/classic-environment-v2/src/lib/models/upload-metadata-for-extension-body.d.ts +25 -0
- package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +0 -1
- package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts +0 -32
|
@@ -11,24 +11,24 @@ export interface SLOs {
|
|
|
11
11
|
* The total number of entries in the result.
|
|
12
12
|
*/
|
|
13
13
|
totalCount: number;
|
|
14
|
+
/**
|
|
15
|
+
* The number of entries per page.
|
|
16
|
+
*/
|
|
17
|
+
pageSize?: 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 number of entries per page.
|
|
22
|
-
*/
|
|
23
|
-
pageSize?: number;
|
|
24
24
|
}
|
|
25
25
|
/** @ignore */
|
|
26
26
|
export declare namespace _SLOsTransformation {
|
|
27
27
|
interface AsJson {
|
|
28
28
|
slo?: _SLOTransformation.AsJson[];
|
|
29
29
|
totalCount: number;
|
|
30
|
-
nextPageKey?: string;
|
|
31
30
|
pageSize?: number;
|
|
31
|
+
nextPageKey?: string;
|
|
32
32
|
}
|
|
33
33
|
function fromJson(model: AsJson): SLOs;
|
|
34
34
|
function toJson(model: SLOs): AsJson;
|
|
@@ -13,6 +13,11 @@ export interface SloBurnRate {
|
|
|
13
13
|
* The threshold between a slow and a fast burn rate.
|
|
14
14
|
*/
|
|
15
15
|
fastBurnThreshold?: number;
|
|
16
|
+
burnRateType?: SloBurnRateBurnRateType;
|
|
17
|
+
/**
|
|
18
|
+
* The burn rate of the SLO, calculated for the last hour.
|
|
19
|
+
*/
|
|
20
|
+
burnRateValue?: number;
|
|
16
21
|
/**
|
|
17
22
|
* The calculated value of the SLO for the timeframe chosen for the burn rate calculation.
|
|
18
23
|
*/
|
|
@@ -21,21 +26,16 @@ export interface SloBurnRate {
|
|
|
21
26
|
* The estimated time left to consume the error budget in hours.
|
|
22
27
|
*/
|
|
23
28
|
estimatedTimeToConsumeErrorBudget?: number;
|
|
24
|
-
burnRateType?: SloBurnRateBurnRateType;
|
|
25
|
-
/**
|
|
26
|
-
* The burn rate of the SLO, calculated for the last hour.
|
|
27
|
-
*/
|
|
28
|
-
burnRateValue?: number;
|
|
29
29
|
}
|
|
30
30
|
/** @ignore */
|
|
31
31
|
export declare namespace _SloBurnRateTransformation {
|
|
32
32
|
interface AsJson {
|
|
33
33
|
burnRateVisualizationEnabled?: boolean;
|
|
34
34
|
fastBurnThreshold?: number;
|
|
35
|
-
sloValue?: number;
|
|
36
|
-
estimatedTimeToConsumeErrorBudget?: number;
|
|
37
35
|
burnRateType?: _SloBurnRateBurnRateTypeTransformation.AsJson;
|
|
38
36
|
burnRateValue?: number;
|
|
37
|
+
sloValue?: number;
|
|
38
|
+
estimatedTimeToConsumeErrorBudget?: number;
|
|
39
39
|
}
|
|
40
40
|
function fromJson(model: AsJson): SloBurnRate;
|
|
41
41
|
function toJson(model: SloBurnRate): AsJson;
|
|
@@ -5,27 +5,6 @@ import { SLOStatus, _SLOStatusTransformation } from './slo-status';
|
|
|
5
5
|
* Parameters of a service-level objective (SLO).
|
|
6
6
|
*/
|
|
7
7
|
export interface SLO {
|
|
8
|
-
/**
|
|
9
|
-
* The normalized error budget key for a metric expression.
|
|
10
|
-
*/
|
|
11
|
-
normalizedErrorBudgetMetricKey?: string;
|
|
12
|
-
/**
|
|
13
|
-
* The denominator value used to evaluate the SLO when **useRateMetric** is set to `false`.
|
|
14
|
-
*/
|
|
15
|
-
denominatorValue?: number;
|
|
16
|
-
/**
|
|
17
|
-
* Number of OPEN problems related to the SLO.
|
|
18
|
-
*
|
|
19
|
-
* Has the value of `-1` if there's an error with fetching SLO related problems.
|
|
20
|
-
*/
|
|
21
|
-
relatedOpenProblems?: number;
|
|
22
|
-
/**
|
|
23
|
-
* The calculated value of the SLO. Has the value of the evaluated SLO or the value of `-1`:
|
|
24
|
-
*
|
|
25
|
-
* * If there is an error with the SLO calculation; in that case check the value of the **error** property.
|
|
26
|
-
* * If the evaluate parameter has not been set to `true`; in that case the **error** property will contain no error.
|
|
27
|
-
*/
|
|
28
|
-
evaluatedPercentage?: number;
|
|
29
8
|
/**
|
|
30
9
|
* The entity filter for fetching the number of problems related to an SLO. Auto-generated in case no filter has been added to the SLO.
|
|
31
10
|
*/
|
|
@@ -63,6 +42,19 @@ export interface SLO {
|
|
|
63
42
|
metricDenominator?: string;
|
|
64
43
|
evaluationType?: SLOEvaluationType;
|
|
65
44
|
errorBudgetBurnRate?: SloBurnRate;
|
|
45
|
+
/**
|
|
46
|
+
* The error budget of the calculated SLO.
|
|
47
|
+
*
|
|
48
|
+
* The error budget is the difference between the calculated and target values. A positive number means all is good; a negative number means trouble.
|
|
49
|
+
*/
|
|
50
|
+
errorBudget?: number;
|
|
51
|
+
/**
|
|
52
|
+
* The calculated value of the SLO. Has the value of the evaluated SLO or the value of `-1`:
|
|
53
|
+
*
|
|
54
|
+
* * If there is an error with the SLO calculation; in that case check the value of the **error** property.
|
|
55
|
+
* * If the evaluate parameter has not been set to `true`; in that case the **error** property will contain no error.
|
|
56
|
+
*/
|
|
57
|
+
evaluatedPercentage?: number;
|
|
66
58
|
/**
|
|
67
59
|
* The error budget burn rate key for a metric expression.
|
|
68
60
|
*/
|
|
@@ -71,42 +63,38 @@ export interface SLO {
|
|
|
71
63
|
* The error budget key for a metric expression.
|
|
72
64
|
*/
|
|
73
65
|
errorBudgetMetricKey?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The normalized error budget key for a metric expression.
|
|
68
|
+
*/
|
|
69
|
+
normalizedErrorBudgetMetricKey?: string;
|
|
74
70
|
/**
|
|
75
71
|
* The numerator value used to evaluate the SLO when **useRateMetric** is set to `false`.
|
|
76
72
|
*/
|
|
77
73
|
numeratorValue?: number;
|
|
78
74
|
/**
|
|
79
|
-
* The
|
|
75
|
+
* The denominator value used to evaluate the SLO when **useRateMetric** is set to `false`.
|
|
76
|
+
*/
|
|
77
|
+
denominatorValue?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Number of OPEN problems related to the SLO.
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
* Has the value of `-1` if there's an error with fetching SLO related problems.
|
|
82
82
|
*/
|
|
83
|
-
|
|
83
|
+
relatedOpenProblems?: number;
|
|
84
84
|
/**
|
|
85
85
|
* Total number of problems related to the SLO.
|
|
86
86
|
*
|
|
87
87
|
* Has the value of `-1` if there's an error with fetching SLO related problems.
|
|
88
88
|
*/
|
|
89
89
|
relatedTotalProblems?: number;
|
|
90
|
-
/**
|
|
91
|
-
* The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.
|
|
92
|
-
*/
|
|
93
|
-
timeframe?: string;
|
|
94
90
|
/**
|
|
95
91
|
* The key for a metric expression. Once created, metric keys can't be changed
|
|
96
92
|
*/
|
|
97
93
|
metricKey?: string;
|
|
98
94
|
/**
|
|
99
|
-
* The
|
|
100
|
-
*/
|
|
101
|
-
name?: string;
|
|
102
|
-
/**
|
|
103
|
-
* The ID of the SLO
|
|
104
|
-
*/
|
|
105
|
-
id?: string;
|
|
106
|
-
/**
|
|
107
|
-
* The target value of the SLO.
|
|
95
|
+
* The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector.
|
|
108
96
|
*/
|
|
109
|
-
|
|
97
|
+
timeframe?: string;
|
|
110
98
|
/**
|
|
111
99
|
* The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector).
|
|
112
100
|
*/
|
|
@@ -132,14 +120,22 @@ export interface SLO {
|
|
|
132
120
|
* At warning state the SLO is still fulfilled but is getting close to failure.
|
|
133
121
|
*/
|
|
134
122
|
warning?: number;
|
|
123
|
+
/**
|
|
124
|
+
* The name of the SLO.
|
|
125
|
+
*/
|
|
126
|
+
name?: string;
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the SLO
|
|
129
|
+
*/
|
|
130
|
+
id?: string;
|
|
131
|
+
/**
|
|
132
|
+
* The target value of the SLO.
|
|
133
|
+
*/
|
|
134
|
+
target?: number;
|
|
135
135
|
}
|
|
136
136
|
/** @ignore */
|
|
137
137
|
export declare namespace _SLOTransformation {
|
|
138
138
|
interface AsJson {
|
|
139
|
-
normalizedErrorBudgetMetricKey?: string;
|
|
140
|
-
denominatorValue?: number;
|
|
141
|
-
relatedOpenProblems?: number;
|
|
142
|
-
evaluatedPercentage?: number;
|
|
143
139
|
problemFilters?: string[];
|
|
144
140
|
metricExpression?: string;
|
|
145
141
|
useRateMetric?: boolean;
|
|
@@ -148,22 +144,26 @@ export declare namespace _SLOTransformation {
|
|
|
148
144
|
metricDenominator?: string;
|
|
149
145
|
evaluationType?: _SLOEvaluationTypeTransformation.AsJson;
|
|
150
146
|
errorBudgetBurnRate?: _SloBurnRateTransformation.AsJson;
|
|
147
|
+
errorBudget?: number;
|
|
148
|
+
evaluatedPercentage?: number;
|
|
151
149
|
burnRateMetricKey?: string;
|
|
152
150
|
errorBudgetMetricKey?: string;
|
|
151
|
+
normalizedErrorBudgetMetricKey?: string;
|
|
153
152
|
numeratorValue?: number;
|
|
154
|
-
|
|
153
|
+
denominatorValue?: number;
|
|
154
|
+
relatedOpenProblems?: number;
|
|
155
155
|
relatedTotalProblems?: number;
|
|
156
|
-
timeframe?: string;
|
|
157
156
|
metricKey?: string;
|
|
158
|
-
|
|
159
|
-
id?: string;
|
|
160
|
-
target?: number;
|
|
157
|
+
timeframe?: string;
|
|
161
158
|
filter?: string;
|
|
162
159
|
description?: string;
|
|
163
160
|
enabled?: boolean;
|
|
164
161
|
status?: _SLOStatusTransformation.AsJson;
|
|
165
162
|
error?: string;
|
|
166
163
|
warning?: number;
|
|
164
|
+
name?: string;
|
|
165
|
+
id?: string;
|
|
166
|
+
target?: number;
|
|
167
167
|
}
|
|
168
168
|
function fromJson(model: AsJson): SLO;
|
|
169
169
|
function toJson(model: SLO): AsJson;
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
* Contains information about the used software technology.
|
|
3
3
|
*/
|
|
4
4
|
export interface SoftwareTechs {
|
|
5
|
-
/**
|
|
6
|
-
* The type of the technology.
|
|
7
|
-
*/
|
|
8
|
-
technology?: string;
|
|
9
5
|
/**
|
|
10
6
|
* The edition of the technology.
|
|
11
7
|
*/
|
|
@@ -14,6 +10,10 @@ export interface SoftwareTechs {
|
|
|
14
10
|
* The verbatim type of the technology.
|
|
15
11
|
*/
|
|
16
12
|
verbatimType?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The type of the technology.
|
|
15
|
+
*/
|
|
16
|
+
technology?: string;
|
|
17
17
|
/**
|
|
18
18
|
* The version of the technology.
|
|
19
19
|
*/
|
|
@@ -22,9 +22,9 @@ export interface SoftwareTechs {
|
|
|
22
22
|
/** @ignore */
|
|
23
23
|
export declare namespace _SoftwareTechsTransformation {
|
|
24
24
|
interface AsJson {
|
|
25
|
-
technology?: string;
|
|
26
25
|
edition?: string;
|
|
27
26
|
verbatimType?: string;
|
|
27
|
+
technology?: string;
|
|
28
28
|
version?: string;
|
|
29
29
|
}
|
|
30
30
|
function fromJson(model: AsJson): SoftwareTechs;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export interface Success {
|
|
2
|
-
/**
|
|
3
|
-
* Detailed message
|
|
4
|
-
*/
|
|
5
|
-
message?: string;
|
|
6
2
|
/**
|
|
7
3
|
* The HTTP status code
|
|
8
4
|
*/
|
|
9
5
|
code?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Detailed message
|
|
8
|
+
*/
|
|
9
|
+
message?: string;
|
|
10
10
|
}
|
|
11
11
|
/** @ignore */
|
|
12
12
|
export declare namespace _SuccessTransformation {
|
|
13
13
|
interface AsJson {
|
|
14
|
-
message?: string;
|
|
15
14
|
code?: number;
|
|
15
|
+
message?: string;
|
|
16
16
|
}
|
|
17
17
|
function fromJson(model: AsJson): Success;
|
|
18
18
|
function toJson(model: Success): AsJson;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The processing mode of the execution.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum SyntheticOnDemandExecutionProcessingMode {
|
|
5
|
+
DisableProblemDetection = "DISABLE_PROBLEM_DETECTION",
|
|
6
|
+
ExecutionsDetailsOnly = "EXECUTIONS_DETAILS_ONLY",
|
|
7
|
+
None = "NONE",
|
|
8
|
+
Standard = "STANDARD",
|
|
9
|
+
Unknown = "UNKNOWN"
|
|
10
|
+
}
|
|
11
|
+
/** @ignore */
|
|
12
|
+
export declare namespace _SyntheticOnDemandExecutionProcessingModeTransformation {
|
|
13
|
+
type AsJson = SyntheticOnDemandExecutionProcessingMode;
|
|
14
|
+
const toJson: (value: SyntheticOnDemandExecutionProcessingMode) => AsJson;
|
|
15
|
+
const fromJson: (value: AsJson) => SyntheticOnDemandExecutionProcessingMode;
|
|
16
|
+
}
|
|
@@ -2,6 +2,7 @@ import { ExecutionFullResults, _ExecutionFullResultsTransformation } from './exe
|
|
|
2
2
|
import { ExecutionSimpleResults, _ExecutionSimpleResultsTransformation } from './execution-simple-results';
|
|
3
3
|
import { SyntheticOnDemandExecutionExecutionStage, _SyntheticOnDemandExecutionExecutionStageTransformation } from './synthetic-on-demand-execution-execution-stage';
|
|
4
4
|
import { SyntheticOnDemandExecutionMetadata, _SyntheticOnDemandExecutionMetadataTransformation } from './synthetic-on-demand-execution-metadata';
|
|
5
|
+
import { SyntheticOnDemandExecutionProcessingMode, _SyntheticOnDemandExecutionProcessingModeTransformation } from './synthetic-on-demand-execution-processing-mode';
|
|
5
6
|
import { SyntheticOnDemandExecutionSource, _SyntheticOnDemandExecutionSourceTransformation } from './synthetic-on-demand-execution-source';
|
|
6
7
|
/**
|
|
7
8
|
* Describes the status of an on-demand execution.
|
|
@@ -42,6 +43,7 @@ export interface SyntheticOnDemandExecution {
|
|
|
42
43
|
userId: string;
|
|
43
44
|
metadata?: SyntheticOnDemandExecutionMetadata;
|
|
44
45
|
source: SyntheticOnDemandExecutionSource;
|
|
46
|
+
processingMode: SyntheticOnDemandExecutionProcessingMode;
|
|
45
47
|
simpleResults?: ExecutionSimpleResults;
|
|
46
48
|
fullResults?: ExecutionFullResults;
|
|
47
49
|
}
|
|
@@ -59,6 +61,7 @@ export declare namespace _SyntheticOnDemandExecutionTransformation {
|
|
|
59
61
|
userId: string;
|
|
60
62
|
metadata?: _SyntheticOnDemandExecutionMetadataTransformation.AsJson;
|
|
61
63
|
source: _SyntheticOnDemandExecutionSourceTransformation.AsJson;
|
|
64
|
+
processingMode: _SyntheticOnDemandExecutionProcessingModeTransformation.AsJson;
|
|
62
65
|
simpleResults?: _ExecutionSimpleResultsTransformation.AsJson;
|
|
63
66
|
fullResults?: _ExecutionFullResultsTransformation.AsJson;
|
|
64
67
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Additional details of the technology.
|
|
3
|
+
*/
|
|
4
|
+
export interface TechnologyDetails {
|
|
5
|
+
/**
|
|
6
|
+
* Represents the installation/public navigation link for the technology.
|
|
7
|
+
*/
|
|
8
|
+
activationLink?: string;
|
|
9
|
+
}
|
|
10
|
+
/** @ignore */
|
|
11
|
+
export declare namespace _TechnologyDetailsTransformation {
|
|
12
|
+
interface AsJson {
|
|
13
|
+
activationLink?: string;
|
|
14
|
+
}
|
|
15
|
+
function fromJson(model: AsJson): TechnologyDetails;
|
|
16
|
+
function toJson(model: TechnologyDetails): AsJson;
|
|
17
|
+
}
|
|
@@ -7,17 +7,17 @@ import { UiTabsCustomization, _UiTabsCustomizationTransformation } from './ui-ta
|
|
|
7
7
|
* Customization for UI elements
|
|
8
8
|
*/
|
|
9
9
|
export interface UiCustomization {
|
|
10
|
-
callback?: UiCallbackCustomization;
|
|
11
10
|
tabs?: UiTabsCustomization;
|
|
12
11
|
expandable?: UiExpandableCustomization;
|
|
12
|
+
callback?: UiCallbackCustomization;
|
|
13
13
|
table?: UiTableCustomization;
|
|
14
14
|
}
|
|
15
15
|
/** @ignore */
|
|
16
16
|
export declare namespace _UiCustomizationTransformation {
|
|
17
17
|
interface AsJson {
|
|
18
|
-
callback?: _UiCallbackCustomizationTransformation.AsJson;
|
|
19
18
|
tabs?: _UiTabsCustomizationTransformation.AsJson;
|
|
20
19
|
expandable?: _UiExpandableCustomizationTransformation.AsJson;
|
|
20
|
+
callback?: _UiCallbackCustomizationTransformation.AsJson;
|
|
21
21
|
table?: _UiTableCustomizationTransformation.AsJson;
|
|
22
22
|
}
|
|
23
23
|
function fromJson(model: AsJson): UiCustomization;
|
|
@@ -10,22 +10,22 @@ export interface UiExpandableSectionCustomization {
|
|
|
10
10
|
* The display name
|
|
11
11
|
*/
|
|
12
12
|
displayName: string;
|
|
13
|
-
/**
|
|
14
|
-
* A list of properties
|
|
15
|
-
*/
|
|
16
|
-
properties: string[];
|
|
17
13
|
/**
|
|
18
14
|
* The description
|
|
19
15
|
*/
|
|
20
16
|
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* A list of properties
|
|
19
|
+
*/
|
|
20
|
+
properties: string[];
|
|
21
21
|
}
|
|
22
22
|
/** @ignore */
|
|
23
23
|
export declare namespace _UiExpandableSectionCustomizationTransformation {
|
|
24
24
|
interface AsJson {
|
|
25
25
|
expanded?: boolean;
|
|
26
26
|
displayName: string;
|
|
27
|
-
properties: string[];
|
|
28
27
|
description?: string;
|
|
28
|
+
properties: string[];
|
|
29
29
|
}
|
|
30
30
|
function fromJson(model: AsJson): UiExpandableSectionCustomization;
|
|
31
31
|
function toJson(model: UiExpandableSectionCustomization): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.d.ts
CHANGED
|
@@ -6,21 +6,21 @@ export interface UiTabGroupCustomization {
|
|
|
6
6
|
* The display name
|
|
7
7
|
*/
|
|
8
8
|
displayName: string;
|
|
9
|
-
/**
|
|
10
|
-
* A list of properties
|
|
11
|
-
*/
|
|
12
|
-
properties: string[];
|
|
13
9
|
/**
|
|
14
10
|
* The description
|
|
15
11
|
*/
|
|
16
12
|
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* A list of properties
|
|
15
|
+
*/
|
|
16
|
+
properties: string[];
|
|
17
17
|
}
|
|
18
18
|
/** @ignore */
|
|
19
19
|
export declare namespace _UiTabGroupCustomizationTransformation {
|
|
20
20
|
interface AsJson {
|
|
21
21
|
displayName: string;
|
|
22
|
-
properties: string[];
|
|
23
22
|
description?: string;
|
|
23
|
+
properties: string[];
|
|
24
24
|
}
|
|
25
25
|
function fromJson(model: AsJson): UiTabGroupCustomization;
|
|
26
26
|
function toJson(model: UiTabGroupCustomization): AsJson;
|
|
@@ -6,14 +6,6 @@ import { UpdateJobUpdateType, _UpdateJobUpdateTypeTransformation } from './updat
|
|
|
6
6
|
* Configuration of the ActiveGate update job.
|
|
7
7
|
*/
|
|
8
8
|
export interface UpdateJob {
|
|
9
|
-
/**
|
|
10
|
-
* The job can (`true`) or can't (`false`) be cancelled at the moment.
|
|
11
|
-
*/
|
|
12
|
-
cancelable?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* The ID of the update job.
|
|
15
|
-
*/
|
|
16
|
-
jobId?: string;
|
|
17
9
|
jobState?: UpdateJobJobState;
|
|
18
10
|
updateMethod?: UpdateJobUpdateMethod;
|
|
19
11
|
updateType?: UpdateJobUpdateType;
|
|
@@ -22,20 +14,28 @@ export interface UpdateJob {
|
|
|
22
14
|
* The initial version of the ActiveGate.
|
|
23
15
|
*/
|
|
24
16
|
startVersion?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of the update job.
|
|
19
|
+
*/
|
|
20
|
+
jobId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The job can (`true`) or can't (`false`) be cancelled at the moment.
|
|
23
|
+
*/
|
|
24
|
+
cancelable?: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* A list of environments (specified by IDs) the ActiveGate can connect to.
|
|
27
27
|
*/
|
|
28
28
|
environments?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* The duration of the update, in milliseconds.
|
|
31
|
+
*/
|
|
32
|
+
duration?: number;
|
|
29
33
|
/**
|
|
30
34
|
* The timestamp of the update job completion.
|
|
31
35
|
*
|
|
32
36
|
* The `null` value means the job is still running.
|
|
33
37
|
*/
|
|
34
38
|
timestamp?: number;
|
|
35
|
-
/**
|
|
36
|
-
* The duration of the update, in milliseconds.
|
|
37
|
-
*/
|
|
38
|
-
duration?: number;
|
|
39
39
|
/**
|
|
40
40
|
* The information about update error.
|
|
41
41
|
*/
|
|
@@ -52,16 +52,16 @@ export interface UpdateJob {
|
|
|
52
52
|
/** @ignore */
|
|
53
53
|
export declare namespace _UpdateJobTransformation {
|
|
54
54
|
interface AsJson {
|
|
55
|
-
cancelable?: boolean;
|
|
56
|
-
jobId?: string;
|
|
57
55
|
jobState?: _UpdateJobJobStateTransformation.AsJson;
|
|
58
56
|
updateMethod?: _UpdateJobUpdateMethodTransformation.AsJson;
|
|
59
57
|
updateType?: _UpdateJobUpdateTypeTransformation.AsJson;
|
|
60
58
|
agType?: _UpdateJobAgTypeTransformation.AsJson;
|
|
61
59
|
startVersion?: string;
|
|
60
|
+
jobId?: string;
|
|
61
|
+
cancelable?: boolean;
|
|
62
62
|
environments?: string[];
|
|
63
|
-
timestamp?: number;
|
|
64
63
|
duration?: number;
|
|
64
|
+
timestamp?: number;
|
|
65
65
|
error?: string;
|
|
66
66
|
targetVersion: string;
|
|
67
67
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { Binary, FormDataRequestBody, FormDataResponseBody } from '@dynatrace-sdk/http-client';
|
|
3
|
+
export interface UploadMetadataForExtensionBody {
|
|
4
|
+
/**
|
|
5
|
+
* Logo of the extension
|
|
6
|
+
*/
|
|
7
|
+
logo?: Binary | Buffer | Blob | File;
|
|
8
|
+
/**
|
|
9
|
+
* If left empty or blank, the extension name will be used as name
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
}
|
|
14
|
+
/** @ignore */
|
|
15
|
+
export declare namespace _UploadMetadataForExtensionBodyTransformation {
|
|
16
|
+
interface AsJson {
|
|
17
|
+
logo?: Binary | Buffer | Blob | File;
|
|
18
|
+
name?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
}
|
|
21
|
+
function fromJson(model: AsJson): UploadMetadataForExtensionBody;
|
|
22
|
+
function toJson(model: UploadMetadataForExtensionBody): AsJson;
|
|
23
|
+
function fromFormData(formData: FormDataResponseBody): UploadMetadataForExtensionBody;
|
|
24
|
+
function toFormData(model: UploadMetadataForExtensionBody): FormDataRequestBody;
|
|
25
|
+
}
|
|
@@ -11,4 +11,3 @@ export declare function addGlobalErrorSerializer(serializer: GlobalErrorSerializ
|
|
|
11
11
|
* @return {boolean} information if global error serializer is supported on current environment.
|
|
12
12
|
*/
|
|
13
13
|
export declare function isGlobalErrorSerializerSupported(): boolean;
|
|
14
|
-
export declare function getAddGlobalErrorSerializer(): ((serializer: GlobalErrorSerializer) => void) | undefined;
|
package/types/packages/client/classic-environment-v2/src/lib/models/event-property-detail.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration of an event property.
|
|
3
|
-
*/
|
|
4
|
-
export interface EventPropertyDetail {
|
|
5
|
-
/**
|
|
6
|
-
* Indicates whether the property may be set during event ingestion.
|
|
7
|
-
*/
|
|
8
|
-
writable?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* The display name of the event property.
|
|
11
|
-
*/
|
|
12
|
-
displayName?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The event property key.
|
|
15
|
-
*/
|
|
16
|
-
key?: string;
|
|
17
|
-
/**
|
|
18
|
-
* A short description of the event property.
|
|
19
|
-
*/
|
|
20
|
-
description?: string;
|
|
21
|
-
}
|
|
22
|
-
/** @ignore */
|
|
23
|
-
export declare namespace _EventPropertyDetailTransformation {
|
|
24
|
-
interface AsJson {
|
|
25
|
-
writable?: boolean;
|
|
26
|
-
displayName?: string;
|
|
27
|
-
key?: string;
|
|
28
|
-
description?: string;
|
|
29
|
-
}
|
|
30
|
-
function fromJson(model: AsJson): EventPropertyDetail;
|
|
31
|
-
function toJson(model: EventPropertyDetail): AsJson;
|
|
32
|
-
}
|