@dynatrace-sdk/client-classic-environment-v2 4.2.1 → 5.2.2
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 +32 -0
- package/README.md +1898 -547
- package/cjs/index.js +1232 -219
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +1173 -160
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +24 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +45 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +11 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/rum-manual-insertion-tags-api.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +8 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +83 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +13 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module-attributes.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log-aggregation-result.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto-input-type.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto-type.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/authentication-dto.d.ts +24 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/availability-evidence.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto-type.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/base-wait-condition-dto.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/browser-permissions-dto.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/certificate-credentials.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-autoplay-policy.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-disable-features.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto.d.ts +42 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/client-certificate-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cookie-step-dto.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-details-list.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-device-creation-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-allowed-location-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto-origin.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto-performance-metric.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enriched-management-zone-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enriched-tag-dto.d.ts +32 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-from-relationships.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-to-relationships.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-event-type.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto-actions.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-feature-sets-details.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto-feature-sets-details.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto-mode.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filtered-requests-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/framework-options-dto.d.ts +37 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/hashicorp-approle.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ignored-error-codes-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +67 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/interaction-step-dto.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/java-script-agent-settings-dto.d.ts +44 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/java-script-step-dto.d.ts +20 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-load-action-kpm.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics-xhr-action-kpm.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/key-performance-metrics.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/key-strokes-step-dto.d.ts +34 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto-type.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/keystrokes-input-dto.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/locator-dto-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/locator-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record-additional-columns.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/maintenance-window-evidence.d.ts +2 -2
- 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-dimension-map.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/monitor-property-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/navigate-step-dto.d.ts +30 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-throttling-dto.d.ts +21 -0
- 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/node-collection-element.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/node.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/plain-authentication-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/plain-keystrokes-input-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-fips-mode.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-node-names.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/proxy-dto.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/public-certificate-credentials.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/public-synthetic-location.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/request-filter-dto-type.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-filter-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-header-options-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-enums.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-maturity.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-table-columns.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-types.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub-maturity.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/secure-authentication-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/secure-keystrokes-input-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event-reason.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/select-option-step-dto.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/selection-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/service-impact.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/store-log-query-structure.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-configuration-dto.d.ts +90 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request.d.ts +70 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response-type.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response.d.ts +82 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto-type.d.ts +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-step-dto.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-constraint-dto-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-cookie-dto.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto-origin.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-primary-grail-tag-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request-type.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response-type.d.ts +1 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response.d.ts +8 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +12 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-public-location-update.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/target-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/test-device-dto.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/time-wait-condition-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/timeout-settings-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/transactional-evidence.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-rule-dto-type.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-rule-dto.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-wait-condition-dto.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/visually-complete-options-dto.d.ts +25 -0
- package/types/packages/http-client/src/index.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/abort-controller.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/abort-signal.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/apply-content-type-header.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/base-error.d.ts +0 -5
- package/types/packages/http-client/src/lib/platform/binary.d.ts +0 -13
- package/types/packages/http-client/src/lib/platform/data-type-error.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/decode-form-data.d.ts +0 -48
- package/types/packages/http-client/src/lib/platform/decode-response-body.d.ts +0 -3
- package/types/packages/http-client/src/lib/platform/default-status-validator.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/encode-request-body.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/http-client-abort-error.d.ts +0 -7
- package/types/packages/http-client/src/lib/platform/http-client-request-error.d.ts +0 -7
- package/types/packages/http-client/src/lib/platform/http-client-response-error-serializer.d.ts +0 -3
- package/types/packages/http-client/src/lib/platform/http-client-response-error.d.ts +0 -11
- package/types/packages/http-client/src/lib/platform/http-client-response.d.ts +0 -10
- package/types/packages/http-client/src/lib/platform/http-client.d.ts +0 -24
- package/types/packages/http-client/src/lib/platform/index.d.ts +0 -12
- package/types/packages/http-client/src/lib/platform/oauth-http-client.d.ts +0 -41
- package/types/packages/http-client/src/lib/platform/unsupported-operation-error.d.ts +0 -6
- package/types/packages/http-client/src/lib/types/abort-controller.d.ts +0 -14
- package/types/packages/http-client/src/lib/types/abort-signal.d.ts +0 -18
- package/types/packages/http-client/src/lib/types/base-error.d.ts +0 -4
- package/types/packages/http-client/src/lib/types/binary.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/data-type-error.d.ts +0 -14
- package/types/packages/http-client/src/lib/types/data-types.d.ts +0 -36
- package/types/packages/http-client/src/lib/types/form-data-request-body.d.ts +0 -83
- package/types/packages/http-client/src/lib/types/form-data-response-body.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/headers.d.ts +0 -6
- package/types/packages/http-client/src/lib/types/http-client-abort-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-network-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-request-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-request-options.d.ts +0 -42
- package/types/packages/http-client/src/lib/types/http-client-response-error.d.ts +0 -20
- package/types/packages/http-client/src/lib/types/http-client-response.d.ts +0 -33
- package/types/packages/http-client/src/lib/types/http-client.d.ts +0 -24
- package/types/packages/http-client/src/lib/types/index.d.ts +0 -20
- package/types/packages/http-client/src/lib/types/request-body-types.d.ts +0 -26
- package/types/packages/http-client/src/lib/types/response-body-types.d.ts +0 -46
- package/types/packages/http-client/src/lib/types/status-validator.d.ts +0 -7
- package/types/packages/http-client/src/lib/types/unsupported-operation-error.d.ts +0 -14
- package/types/packages/platform/error-handlers/src/index.d.ts +0 -2
- package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +0 -13
- package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +0 -13
- package/types/packages/platform/error-handlers/src/lib/types/dt-runtime-error-handlers.d.ts +0 -5
- package/types/packages/platform/error-handlers/src/lib/types/error-type.d.ts +0 -9
- package/types/packages/platform/error-handlers/src/lib/types/global-dt-runtime-with-error-handlers.d.ts +0 -7
- package/types/packages/platform/error-handlers/src/lib/types/global-error-serializer.d.ts +0 -10
- package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +0 -16
- package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +0 -6
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +0 -10
- package/types/packages/platform/shared/index.d.ts +0 -1
- package/types/packages/platform/shared/utils/get-global-with-dt-runtime.d.ts +0 -1
- package/types/packages/shared-errors/src/api-client-error.d.ts +0 -23
- package/types/packages/shared-errors/src/api-gateway-error.d.ts +0 -37
- package/types/packages/shared-errors/src/client-request-error.d.ts +0 -39
- package/types/packages/shared-errors/src/index.d.ts +0 -5
- package/types/packages/shared-errors/src/invalid-response-error.d.ts +0 -26
- package/types/packages/shared-errors/src/types.d.ts +0 -88
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace-sdk/client-classic-environment-v2",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "Client for the Dynatrace Environment API v2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
"main": "./cjs/index.js",
|
|
11
11
|
"module": "./esm/index.js",
|
|
12
12
|
"types": "./types/index.d.ts"
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { AbstractCredentialsResponseElement } from '../models/abstract-credentials-response-element';
|
|
3
3
|
import { Credentials } from '../models/credentials';
|
|
4
|
+
import { CredentialsDetailsList } from '../models/credentials-details-list';
|
|
4
5
|
import { CredentialsId } from '../models/credentials-id';
|
|
5
6
|
import { CredentialsList } from '../models/credentials-list';
|
|
6
7
|
import { CredentialsResponseElement } from '../models/credentials-response-element';
|
|
@@ -159,7 +160,7 @@ export declare class CredentialVaultClient {
|
|
|
159
160
|
/**
|
|
160
161
|
* Gets the details of the specified credentials set.
|
|
161
162
|
*
|
|
162
|
-
* **Required scope:** environment-api:credentials:read<br/><br/>The credentials set including username/certificate, password or token is included in the response.
|
|
163
|
+
* **Required scope:** environment-api:credentials:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The credentials set including username/certificate, password or token is included in the response.
|
|
163
164
|
*
|
|
164
165
|
* @returns {Promise<AbstractCredentialsResponseElement>} Success. The response contains the details of the credentials set.
|
|
165
166
|
*
|
|
@@ -180,5 +181,27 @@ export declare class CredentialVaultClient {
|
|
|
180
181
|
/** The Dynatrace entity ID of the required credentials set. */ id: string;
|
|
181
182
|
abortSignal?: AbortSignal;
|
|
182
183
|
}): Promise<AbstractCredentialsResponseElement>;
|
|
184
|
+
/**
|
|
185
|
+
* Gets the details of the specified credentials sets.
|
|
186
|
+
*
|
|
187
|
+
* The credentials set including username/certificate, password or token is included in the response.
|
|
188
|
+
*
|
|
189
|
+
* @returns {Promise<CredentialsDetailsList>} Success. The response contains the details of the credentials sets.
|
|
190
|
+
*
|
|
191
|
+
* @example <caption>Code example</caption>
|
|
192
|
+
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
193
|
+
*
|
|
194
|
+
* const data =
|
|
195
|
+
* await credentialVaultClient.getCredentialsDetailsList();
|
|
196
|
+
*
|
|
197
|
+
* @throws {ErrorEnvelopeError} Failed. The input is invalid. E.g. Requested credentials with unsupported scope. Only SYNTHETIC and APP_ENGINE scope are supported. | Failed. Requested credentials belong to another user. | Client side error. | Server side error.
|
|
198
|
+
* @throws {InvalidResponseError}
|
|
199
|
+
* @throws {ApiClientError}
|
|
200
|
+
* @throws {ClientRequestError}
|
|
201
|
+
*/
|
|
202
|
+
getCredentialsDetailsList(config?: {
|
|
203
|
+
/** The list of Dynatrace entity IDs of the required credentials sets (separated by commas). */ ids?: string;
|
|
204
|
+
abortSignal?: AbortSignal;
|
|
205
|
+
}): Promise<CredentialsDetailsList>;
|
|
183
206
|
}
|
|
184
207
|
export declare const credentialVaultClient: CredentialVaultClient;
|
|
@@ -958,7 +958,7 @@ export declare class Extensions_2_0Client {
|
|
|
958
958
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
959
959
|
/** The version of the requested extension 2.0 */ extensionVersion: string;
|
|
960
960
|
abortSignal?: AbortSignal;
|
|
961
|
-
acceptType: 'application/octet-stream';
|
|
961
|
+
acceptType: 'application/octet-stream' | 'application/yaml';
|
|
962
962
|
}): Promise<Binary>;
|
|
963
963
|
/**
|
|
964
964
|
* Deletes the specified version of the extension 2.0
|
|
@@ -287,6 +287,9 @@ export declare class LogsClient {
|
|
|
287
287
|
body: LogMessagePlain;
|
|
288
288
|
type: 'text/plain; charset=utf-8';
|
|
289
289
|
}) & {
|
|
290
|
+
/** Specifies the JSON parsing mode for log ingestion (SaaS only). For more details, refer to the [documentation](https://dt-url.net/rl03zti). */ structure?: 'flattened' | 'raw';
|
|
291
|
+
/** Allows to provide content type with query parameter. Has priority over value provided in Content-Type header. */ contentType?: string;
|
|
292
|
+
/** (Optional) Contains ampersand-separated Dynatrace-specific parameters. Query parameter takes precedence over the header value. For more details, refer to the [documentation](https://dt-url.net/rl03zti). */ xDynatraceOptions?: string;
|
|
290
293
|
abortSignal?: AbortSignal;
|
|
291
294
|
}): Promise<SuccessEnvelope | void>;
|
|
292
295
|
/**
|
|
@@ -137,6 +137,14 @@ export declare class MetricsClient {
|
|
|
137
137
|
* * `M`: months
|
|
138
138
|
* * `y`: years
|
|
139
139
|
*/ writtenSince?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Controls how the writtenSince filter is applied.
|
|
142
|
+
*
|
|
143
|
+
* * `INCLUDE`: Includes only metrics that have been written since the specified writtenSince timestamp (filters out metrics not written since then).
|
|
144
|
+
* * `EXCLUDE`: Excludes metrics that have been written since the specified writtenSince timestamp (only returns metrics not written since then).
|
|
145
|
+
*
|
|
146
|
+
* If not specified, the default is `INCLUDE`.
|
|
147
|
+
*/ writtenSinceMode?: string;
|
|
140
148
|
/**
|
|
141
149
|
* The metadata scope of the query. Only metrics with specified properties are included to the response.
|
|
142
150
|
*
|
|
@@ -156,6 +164,28 @@ export declare class MetricsClient {
|
|
|
156
164
|
abortSignal?: AbortSignal;
|
|
157
165
|
acceptType: 'application/json; charset=utf-8' | 'text/csv; header=absent; charset=utf-8' | 'text/csv; header=present; charset=utf-8';
|
|
158
166
|
}): Promise<MetricDescriptorCollection>;
|
|
167
|
+
/**
|
|
168
|
+
* Deletes all metrics older than the specified days
|
|
169
|
+
*
|
|
170
|
+
* **Required scope:** environment-api:metrics:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Deletion cannot be undone! timeframe for minUnusedDays: 30 days - 5 years
|
|
171
|
+
*
|
|
172
|
+
* @example <caption>Code example</caption>
|
|
173
|
+
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
174
|
+
*
|
|
175
|
+
* const data = await metricsClient.bulkDelete({
|
|
176
|
+
* metricSelector: "...",
|
|
177
|
+
* });
|
|
178
|
+
*
|
|
179
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
180
|
+
* @throws {InvalidResponseError}
|
|
181
|
+
* @throws {ApiClientError}
|
|
182
|
+
* @throws {ClientRequestError}
|
|
183
|
+
*/
|
|
184
|
+
bulkDelete(config: {
|
|
185
|
+
/** The key of the required metric. */ metricSelector: string;
|
|
186
|
+
/** The key of the required metric. */ minUnusedDays?: number;
|
|
187
|
+
abortSignal?: AbortSignal;
|
|
188
|
+
}): Promise<void>;
|
|
159
189
|
/**
|
|
160
190
|
* Pushes metric data points to Dynatrace
|
|
161
191
|
*
|
|
@@ -247,6 +277,21 @@ export declare class MetricsClient {
|
|
|
247
277
|
*
|
|
248
278
|
* * Get data points which are 10 minutes apart: `resolution=10m`
|
|
249
279
|
* * Get data points which are 3 weeks apart: `resolution=3w`
|
|
280
|
+
*
|
|
281
|
+
* You can also specify **multiple resolutions** for a single query using index-based formatting. This allows each metric expression in a multi-expression selector to have its own resolution.
|
|
282
|
+
*
|
|
283
|
+
* Use the format: `<index>:<resolution>(,<index>:<resolution>)*`
|
|
284
|
+
* Where:
|
|
285
|
+
* * `index` is the zero-based position of the metric expression in the `metricSelector` list.
|
|
286
|
+
* * `resolution` is either a number of data points (e.g., `120`) or a timespan with a unit (e.g., `10m`, `3w`).
|
|
287
|
+
*
|
|
288
|
+
* If a resolution is not specified for a given index, the default of **120 data points** is applied.
|
|
289
|
+
*
|
|
290
|
+
* **Examples:**
|
|
291
|
+
* * `resolution=0:Inf` → First metric uses resolution `Inf`, second metric uses default (120 data points).
|
|
292
|
+
* * `resolution=0:Inf,1:10` → First metric uses `Inf`, second metric uses `10` data points.
|
|
293
|
+
* * `resolution=Inf` → All metrics use resolution `Inf`.
|
|
294
|
+
* **Note:** If multiple resolutions are used, the resolution field in the response is the smallest resolution.
|
|
250
295
|
*/ resolution?: string;
|
|
251
296
|
/**
|
|
252
297
|
* The start of the requested timeframe.
|
package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { SecurityContextDtoImpl } from '../models/security-context-dto-impl';
|
|
|
9
9
|
import { SecurityContextResultDto } from '../models/security-context-result-dto';
|
|
10
10
|
import { ApiClientOptions } from './api-client-options';
|
|
11
11
|
/**
|
|
12
|
-
* Manage monitored entities
|
|
12
|
+
* Manage monitored entities - Deprecated in SaaS, use DQL (Smartscape on Grail) and OpenPipeline instead
|
|
13
13
|
*/
|
|
14
14
|
export declare class MonitoredEntitiesClient {
|
|
15
15
|
private httpClient;
|
|
@@ -36,6 +36,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
36
36
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
37
37
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
38
38
|
*
|
|
39
|
+
* @deprecated
|
|
40
|
+
*
|
|
39
41
|
* @returns {Promise<EntitiesList>} Success
|
|
40
42
|
*
|
|
41
43
|
* @example <caption>Code example</caption>
|
|
@@ -157,6 +159,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
157
159
|
*
|
|
158
160
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings
|
|
159
161
|
*
|
|
162
|
+
* @deprecated
|
|
163
|
+
*
|
|
160
164
|
* @returns {Promise<CustomDeviceCreationResult | void>} Success
|
|
161
165
|
*
|
|
162
166
|
* @example <caption>Code example</caption>
|
|
@@ -385,6 +389,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
385
389
|
*
|
|
386
390
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
387
391
|
*
|
|
392
|
+
* @deprecated
|
|
393
|
+
*
|
|
388
394
|
* @returns {Promise<Entity>} Success
|
|
389
395
|
*
|
|
390
396
|
* @example <caption>Code example</caption>
|
|
@@ -455,6 +461,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
455
461
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
456
462
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
457
463
|
*
|
|
464
|
+
* @deprecated
|
|
465
|
+
*
|
|
458
466
|
* @returns {Promise<EntityTypeList>} Success
|
|
459
467
|
*
|
|
460
468
|
* @example <caption>Code example</caption>
|
|
@@ -489,6 +497,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
489
497
|
*
|
|
490
498
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
491
499
|
*
|
|
500
|
+
* @deprecated
|
|
501
|
+
*
|
|
492
502
|
* @returns {Promise<EntityType>} Success
|
|
493
503
|
*
|
|
494
504
|
* @example <caption>Code example</caption>
|
package/types/packages/client/classic-environment-v2/src/lib/apis/rum-manual-insertion-tags-api.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class RumManualInsertionTagsClient {
|
|
|
14
14
|
*/
|
|
15
15
|
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
16
16
|
/**
|
|
17
|
-
* Download the inline code
|
|
17
|
+
* Download the inline code
|
|
18
18
|
*
|
|
19
19
|
* **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the inline code, which embeds the full RUM monitoring code and configuration directly into the page, minimizing additional web requests. It needs to be updated after configuration changes and monitoring code updates.
|
|
20
20
|
*
|
|
@@ -38,7 +38,7 @@ export declare class RumManualInsertionTagsClient {
|
|
|
38
38
|
abortSignal?: AbortSignal;
|
|
39
39
|
}): Promise<string>;
|
|
40
40
|
/**
|
|
41
|
-
* Download the JavaScript tag
|
|
41
|
+
* Download the JavaScript tag
|
|
42
42
|
*
|
|
43
43
|
* **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the JavaScript tag, which references an external file containing monitoring code and configuration. Due to its dynamic update mechanism, it is recommended for most use cases.
|
|
44
44
|
*
|
|
@@ -64,7 +64,7 @@ export declare class RumManualInsertionTagsClient {
|
|
|
64
64
|
abortSignal?: AbortSignal;
|
|
65
65
|
}): Promise<string>;
|
|
66
66
|
/**
|
|
67
|
-
* Download the OneAgent JavaScript tag
|
|
67
|
+
* Download the OneAgent JavaScript tag
|
|
68
68
|
*
|
|
69
69
|
* **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the OneAgent JavaScript tag, which includes configuration and a reference to an external file containing the monitoring code. It needs to be updated after configuration changes and monitoring code updates.
|
|
70
70
|
*
|
|
@@ -89,7 +89,7 @@ export declare class RumManualInsertionTagsClient {
|
|
|
89
89
|
abortSignal?: AbortSignal;
|
|
90
90
|
}): Promise<string>;
|
|
91
91
|
/**
|
|
92
|
-
* Download the OneAgent JavaScript tag with SRI
|
|
92
|
+
* Download the OneAgent JavaScript tag with SRI
|
|
93
93
|
*
|
|
94
94
|
* **Required scope:** environment-api:rum:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Returns the OneAgent JavaScript tag with SRI. It includes configuration, a reference to an external file containing the monitoring code, and a hash that allows the browser to verify the integrity of the monitoring code before executing it using its Subresource Integrity (SRI) feature. It needs to be updated after configuration changes and monitoring code updates.
|
|
95
95
|
*
|
|
@@ -147,13 +147,18 @@ export declare class SettingsObjectsClient {
|
|
|
147
147
|
* const data =
|
|
148
148
|
* await settingsObjectsClient.getSettingsHistory();
|
|
149
149
|
*
|
|
150
|
-
* @throws {ErrorEnvelopeError} Failed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.
|
|
150
|
+
* @throws {ErrorEnvelopeError} Failed. schemaId contains multiple schemaIds and request was for not for Dynatrace Platform. | Failed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.
|
|
151
151
|
* @throws {InvalidResponseError}
|
|
152
152
|
* @throws {ApiClientError}
|
|
153
153
|
* @throws {ClientRequestError}
|
|
154
154
|
*/
|
|
155
155
|
getSettingsHistory(config?: {
|
|
156
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Schema ID to which the requested revisions belong.
|
|
158
|
+
*
|
|
159
|
+
* In the Dynatrace Platform, this parameter accepts multiple schema IDs separated with commas.
|
|
160
|
+
* In Dynatrace Managed and in SaaS Environments not connected to the Dynatrace Platform, this parameter accepts only a single schema ID, not multiple ones.
|
|
161
|
+
*/ schemaId?: string;
|
|
157
162
|
/**
|
|
158
163
|
* The scope that the requested history objects target.
|
|
159
164
|
*
|
|
@@ -172,7 +177,7 @@ export declare class SettingsObjectsClient {
|
|
|
172
177
|
* The sort parameter, as explained [here](https://dt-url.net/platform-services-filtering). Sorting is supported on the following fields:
|
|
173
178
|
* * `modificationInfo.lastModifiedTime` (optional, default to -modificationInfo.lastModifiedTime)
|
|
174
179
|
*/ sort?: string;
|
|
175
|
-
/** A list of fields to be included to the response.Specify the required top-level fields, separated by commas (for example, **revision,modificationInfo**). Supported fields: **revision**, **jsonPatch**, **jsonBefore**, **jsonAfter**, **objectId**, **type**, **schemaId**, **schemaVersion**, **schemaDisplayName**, **modificationInfo**, **summary**, **source**, **appId**.(optional, default to revision, modificationInfo) */ fields?: string;
|
|
180
|
+
/** A list of fields to be included to the response.Specify the required top-level fields, separated by commas (for example, **revision,modificationInfo**). Supported fields: **revision**, **jsonPatch**, **jsonBefore**, **jsonAfter**, **objectId**, **type**, **schemaId**, **schemaVersion**, **schemaDisplayName**, **modificationInfo**, **summary**, **source**, **appId**, **ownerBefore**, **ownerAfter**.(optional, default to revision, modificationInfo) */ fields?: string;
|
|
176
181
|
/**
|
|
177
182
|
* The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
|
|
178
183
|
*
|
|
@@ -41,7 +41,7 @@ export declare class SettingsSchemasClient {
|
|
|
41
41
|
*
|
|
42
42
|
* Specify the required top-level fields, separated by commas (for example, `schemaId,displayName`).
|
|
43
43
|
*
|
|
44
|
-
* Supported fields: `schemaId`, `displayName`, `latestSchemaVersion`, `multiObject`, `ordered`, `ownerBasedAccessControl`.
|
|
44
|
+
* Supported fields: `schemaId`, `displayName`, `maturity`, `latestSchemaVersion`, `multiObject`, `ordered`, `ownerBasedAccessControl`.
|
|
45
45
|
*/ fields?: string;
|
|
46
46
|
abortSignal?: AbortSignal;
|
|
47
47
|
}): Promise<SchemaList>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
1
|
+
import { AbortSignal, Binary, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { Node } from '../models/node';
|
|
3
3
|
import { Nodes } from '../models/nodes';
|
|
4
4
|
import { PrivateSyntheticLocation } from '../models/private-synthetic-location';
|
|
@@ -121,11 +121,11 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
121
121
|
abortSignal?: AbortSignal;
|
|
122
122
|
}): Promise<SyntheticLocationIdsDto>;
|
|
123
123
|
/**
|
|
124
|
-
* Gets list of commands to deploy synthetic location in Kubernetes/Openshift cluster
|
|
124
|
+
* Gets list of commands to deploy synthetic location in Kubernetes/Openshift cluster
|
|
125
125
|
*
|
|
126
126
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
127
127
|
*
|
|
128
|
-
* @returns {Promise<
|
|
128
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to deploy a synthetic location.
|
|
129
129
|
*
|
|
130
130
|
* @example <caption>Code example</caption>
|
|
131
131
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -142,8 +142,80 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
142
142
|
/** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
|
|
143
143
|
/** Namespace */ namespace?: string;
|
|
144
144
|
/** Filename */ filename?: string;
|
|
145
|
+
/** Fips mode, accepted values are: DISABLED, ENABLED, ENABLED_WITH_CORPORATE_PROXY. Default value is DISABLED. */ fipsMode?: string;
|
|
146
|
+
/** Optional configuration for Squid corporate proxy. If not provided the default value will be used. */ squidProxyConfig?: string;
|
|
145
147
|
abortSignal?: AbortSignal;
|
|
146
|
-
}): Promise<
|
|
148
|
+
}): Promise<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Gets list of commands to deploy metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
151
|
+
*
|
|
152
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
153
|
+
*
|
|
154
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to deploy a metric adapter.
|
|
155
|
+
*
|
|
156
|
+
* @example <caption>Code example</caption>
|
|
157
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
158
|
+
*
|
|
159
|
+
* const data =
|
|
160
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentApplyCommands();
|
|
161
|
+
*
|
|
162
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
163
|
+
* @throws {InvalidResponseError}
|
|
164
|
+
* @throws {ApiClientError}
|
|
165
|
+
* @throws {ClientRequestError}
|
|
166
|
+
*/
|
|
167
|
+
getMetricAdapterDeploymentApplyCommands(config?: {
|
|
168
|
+
/** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
|
|
169
|
+
/** Namespace */ namespace?: string;
|
|
170
|
+
/** Filename */ filename?: string;
|
|
171
|
+
abortSignal?: AbortSignal;
|
|
172
|
+
}): Promise<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Gets list of commands to delete metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
175
|
+
*
|
|
176
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
177
|
+
*
|
|
178
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to delete a metric adapter.
|
|
179
|
+
*
|
|
180
|
+
* @example <caption>Code example</caption>
|
|
181
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
182
|
+
*
|
|
183
|
+
* const data =
|
|
184
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentDeleteCommands();
|
|
185
|
+
*
|
|
186
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
187
|
+
* @throws {InvalidResponseError}
|
|
188
|
+
* @throws {ApiClientError}
|
|
189
|
+
* @throws {ClientRequestError}
|
|
190
|
+
*/
|
|
191
|
+
getMetricAdapterDeploymentDeleteCommands(config?: {
|
|
192
|
+
/** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
|
|
193
|
+
/** Filename */ filename?: string;
|
|
194
|
+
abortSignal?: AbortSignal;
|
|
195
|
+
}): Promise<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Gets yaml file content to deploy metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
198
|
+
*
|
|
199
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
200
|
+
*
|
|
201
|
+
* @returns {Promise<Binary>} Success. The response contains the content of deployment yaml file.
|
|
202
|
+
*
|
|
203
|
+
* @example <caption>Code example</caption>
|
|
204
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
205
|
+
*
|
|
206
|
+
* const data =
|
|
207
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentYaml();
|
|
208
|
+
*
|
|
209
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
210
|
+
* @throws {InvalidResponseError}
|
|
211
|
+
* @throws {ApiClientError}
|
|
212
|
+
* @throws {ClientRequestError}
|
|
213
|
+
*/
|
|
214
|
+
getMetricAdapterDeploymentYaml(config?: {
|
|
215
|
+
/** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
|
|
216
|
+
/** Namespace */ namespace?: string;
|
|
217
|
+
abortSignal?: AbortSignal;
|
|
218
|
+
}): Promise<Binary>;
|
|
147
219
|
/**
|
|
148
220
|
* Checks the status of public synthetic locations
|
|
149
221
|
*
|
|
@@ -257,11 +329,11 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
257
329
|
abortSignal?: AbortSignal;
|
|
258
330
|
}): Promise<void>;
|
|
259
331
|
/**
|
|
260
|
-
* Gets list of commands to delete synthetic location in Kubernetes/Openshift cluster
|
|
332
|
+
* Gets list of commands to delete synthetic location in Kubernetes/Openshift cluster
|
|
261
333
|
*
|
|
262
334
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
263
335
|
*
|
|
264
|
-
* @returns {Promise<
|
|
336
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to delete a synthetic location.
|
|
265
337
|
*
|
|
266
338
|
* @example <caption>Code example</caption>
|
|
267
339
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -282,13 +354,13 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
282
354
|
/** Namespace */ namespace?: string;
|
|
283
355
|
/** Filename */ filename?: string;
|
|
284
356
|
abortSignal?: AbortSignal;
|
|
285
|
-
}): Promise<
|
|
357
|
+
}): Promise<string>;
|
|
286
358
|
/**
|
|
287
|
-
* Gets yaml file content to deploy location in Kubernetes/Openshift cluster
|
|
359
|
+
* Gets yaml file content to deploy location in Kubernetes/Openshift cluster
|
|
288
360
|
*
|
|
289
361
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
290
362
|
*
|
|
291
|
-
* @returns {Promise<
|
|
363
|
+
* @returns {Promise<Binary>} Success. The response contains the content of deployment yaml file.
|
|
292
364
|
*
|
|
293
365
|
* @example <caption>Code example</caption>
|
|
294
366
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -311,11 +383,11 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
311
383
|
/** Custom version tag for Active Gate - this will be used as desired Active Gate version in generated yaml. */ tagVersionActiveGate?: string;
|
|
312
384
|
/** Custom version tag for Synthetic- this will be used as desired Synthetic version in generated yaml */ tagVersionSynthetic?: string;
|
|
313
385
|
abortSignal?: AbortSignal;
|
|
314
|
-
}): Promise<
|
|
386
|
+
}): Promise<Binary>;
|
|
315
387
|
/**
|
|
316
388
|
* Lists all synthetic nodes available in your environment
|
|
317
389
|
*
|
|
318
|
-
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:
|
|
390
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:viewer
|
|
319
391
|
*
|
|
320
392
|
* @returns {Promise<Nodes>} Success
|
|
321
393
|
*
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { MonitorEntityIdDto } from '../models/monitor-entity-id-dto';
|
|
3
|
+
import { SyntheticBrowserMonitorRequest } from '../models/synthetic-browser-monitor-request';
|
|
4
|
+
import { SyntheticBrowserMonitorResponse } from '../models/synthetic-browser-monitor-response';
|
|
3
5
|
import { SyntheticMonitorListDto } from '../models/synthetic-monitor-list-dto';
|
|
4
6
|
import { SyntheticMultiProtocolMonitorRequest } from '../models/synthetic-multi-protocol-monitor-request';
|
|
5
7
|
import { SyntheticMultiProtocolMonitorResponse } from '../models/synthetic-multi-protocol-monitor-response';
|
|
6
8
|
import { ApiClientOptions } from './api-client-options';
|
|
7
9
|
/**
|
|
8
|
-
* Create, read, update and delete synthetic monitors. Currently network availability monitors only.
|
|
10
|
+
* Create, read, update and delete synthetic monitors. Currently browser and network availability monitors only.
|
|
9
11
|
*/
|
|
10
12
|
export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
11
13
|
private httpClient;
|
|
@@ -18,7 +20,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
18
20
|
*/
|
|
19
21
|
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
20
22
|
/**
|
|
21
|
-
* Gets all synthetic monitors. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
23
|
+
* Gets all synthetic monitors. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
22
24
|
*
|
|
23
25
|
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
24
26
|
*
|
|
@@ -40,7 +42,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
40
42
|
* Defines the scope of the query. Only monitors matching the specified criteria are included into response.
|
|
41
43
|
*
|
|
42
44
|
* You can add one or several of the criteria listed below. For each criterion you can specify multiple comma-separated values, unless stated otherwise. If several values are specified, the **OR** logic applies.
|
|
43
|
-
* * Monitor type: `type(HTTP,MULTI_PROTOCOL)`. Possible values: 'HTTP', 'BROWSER', 'THIRD_PARTY', 'MULTI_PROTOCOL' (Note that only 'MULTI_PROTOCOL'
|
|
45
|
+
* * Monitor type: `type(HTTP,MULTI_PROTOCOL)`. Possible values: 'HTTP', 'BROWSER', 'THIRD_PARTY', 'MULTI_PROTOCOL' (Note that only 'BROWSER' and 'MULTI_PROTOCOL' are currently supported).
|
|
44
46
|
* * Management zone ID: `managementZoneId(1, 2)`.
|
|
45
47
|
* * Synthetic Location ME ID: `location(SYNTHETIC_LOCATION-123)`.
|
|
46
48
|
* * Monitored host ME ID: `monitoredEntity(HOST-123)`.
|
|
@@ -53,7 +55,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
53
55
|
abortSignal?: AbortSignal;
|
|
54
56
|
}): Promise<SyntheticMonitorListDto>;
|
|
55
57
|
/**
|
|
56
|
-
* Creates a synthetic monitor definition. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
58
|
+
* Creates a synthetic monitor definition. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
57
59
|
*
|
|
58
60
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
59
61
|
*
|
|
@@ -73,15 +75,15 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
73
75
|
* @throws {ClientRequestError}
|
|
74
76
|
*/
|
|
75
77
|
createMonitor(config: {
|
|
76
|
-
body: SyntheticMultiProtocolMonitorRequest;
|
|
78
|
+
body: SyntheticMultiProtocolMonitorRequest | SyntheticBrowserMonitorRequest;
|
|
77
79
|
abortSignal?: AbortSignal;
|
|
78
80
|
}): Promise<MonitorEntityIdDto>;
|
|
79
81
|
/**
|
|
80
|
-
* Gets a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
82
|
+
* Gets a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
81
83
|
*
|
|
82
84
|
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
83
85
|
*
|
|
84
|
-
* @returns {Promise<SyntheticMultiProtocolMonitorResponse>} Success
|
|
86
|
+
* @returns {Promise<SyntheticMultiProtocolMonitorResponse | SyntheticBrowserMonitorResponse>} Success
|
|
85
87
|
*
|
|
86
88
|
* @example <caption>Code example</caption>
|
|
87
89
|
* import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -99,9 +101,9 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
99
101
|
getMonitor(config: {
|
|
100
102
|
/** The identifier of the monitor. */ monitorId: string;
|
|
101
103
|
abortSignal?: AbortSignal;
|
|
102
|
-
}): Promise<SyntheticMultiProtocolMonitorResponse>;
|
|
104
|
+
}): Promise<SyntheticMultiProtocolMonitorResponse | SyntheticBrowserMonitorResponse>;
|
|
103
105
|
/**
|
|
104
|
-
* Updates a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
106
|
+
* Updates a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
105
107
|
*
|
|
106
108
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
107
109
|
*
|
|
@@ -119,12 +121,12 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
119
121
|
* @throws {ClientRequestError}
|
|
120
122
|
*/
|
|
121
123
|
updateMonitor(config: {
|
|
122
|
-
body: SyntheticMultiProtocolMonitorRequest;
|
|
124
|
+
body: SyntheticMultiProtocolMonitorRequest | SyntheticBrowserMonitorRequest;
|
|
123
125
|
/** The identifier of the monitor. */ monitorId: string;
|
|
124
126
|
abortSignal?: AbortSignal;
|
|
125
127
|
}): Promise<void>;
|
|
126
128
|
/**
|
|
127
|
-
* Deletes a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
129
|
+
* Deletes a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
128
130
|
*
|
|
129
131
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
130
132
|
*
|
package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare enum AssetInfoDtoType {
|
|
|
25
25
|
LqlLogProcessingRule = "LQL_LOG_PROCESSING_RULE",
|
|
26
26
|
MetricMetadata = "METRIC_METADATA",
|
|
27
27
|
MetricQuery = "METRIC_QUERY",
|
|
28
|
+
OpenPipeline = "OPEN_PIPELINE",
|
|
28
29
|
ProcessGroupingRules = "PROCESS_GROUPING_RULES",
|
|
29
30
|
ScreenActions = "SCREEN_ACTIONS",
|
|
30
31
|
ScreenChartGroups = "SCREEN_CHART_GROUPS",
|
|
@@ -18,5 +18,5 @@ export interface AssetInfoDto {
|
|
|
18
18
|
/**
|
|
19
19
|
* The type of the asset.
|
|
20
20
|
*/
|
|
21
|
-
type?: 'ALERT' | 'ALERT_TEMPLATE' | 'AWS_SERVICE' | 'CUSTOM_CARDS' | 'DASHBOARD' | 'DECLARATIVE_PROCESSES' | 'DOCUMENT_DASHBOARD' | 'DQL_LOG_METRIC' | 'DQL_LOG_PROCESSING_RULE' | 'GENERIC_RELATIONSHIP' | 'GENERIC_TYPE' | 'LIST_SCREEN_FILTERS' | 'LIST_SCREEN_INJECTIONS' | 'LIST_SCREEN_LAYOUT' | 'LOG_EVENT' | 'LOG_METRIC' | 'LOG_PROCESSING_RULE' | 'LQL_LOG_METRIC' | 'LQL_LOG_PROCESSING_RULE' | 'METRIC_METADATA' | 'METRIC_QUERY' | 'PROCESS_GROUPING_RULES' | 'SCREEN_ACTIONS' | 'SCREEN_CHART_GROUPS' | 'SCREEN_DQL_TABLE' | 'SCREEN_ENTITIES_LISTS' | 'SCREEN_EVENTS_CARDS' | 'SCREEN_FILTERS' | 'SCREEN_HEALTH_CARDS' | 'SCREEN_INJECTIONS' | 'SCREEN_LAYOUT' | 'SCREEN_LOGS_CARDS' | 'SCREEN_MESSAGE_CARDS' | 'SCREEN_METRIC_TABLES' | 'SCREEN_PROBLEMS' | 'SCREEN_PROPERTIES';
|
|
21
|
+
type?: 'ALERT' | 'ALERT_TEMPLATE' | 'AWS_SERVICE' | 'CUSTOM_CARDS' | 'DASHBOARD' | 'DECLARATIVE_PROCESSES' | 'DOCUMENT_DASHBOARD' | 'DQL_LOG_METRIC' | 'DQL_LOG_PROCESSING_RULE' | 'GENERIC_RELATIONSHIP' | 'GENERIC_TYPE' | 'LIST_SCREEN_FILTERS' | 'LIST_SCREEN_INJECTIONS' | 'LIST_SCREEN_LAYOUT' | 'LOG_EVENT' | 'LOG_METRIC' | 'LOG_PROCESSING_RULE' | 'LQL_LOG_METRIC' | 'LQL_LOG_PROCESSING_RULE' | 'METRIC_METADATA' | 'METRIC_QUERY' | 'OPEN_PIPELINE' | 'PROCESS_GROUPING_RULES' | 'SCREEN_ACTIONS' | 'SCREEN_CHART_GROUPS' | 'SCREEN_DQL_TABLE' | 'SCREEN_ENTITIES_LISTS' | 'SCREEN_EVENTS_CARDS' | 'SCREEN_FILTERS' | 'SCREEN_HEALTH_CARDS' | 'SCREEN_INJECTIONS' | 'SCREEN_LAYOUT' | 'SCREEN_LOGS_CARDS' | 'SCREEN_MESSAGE_CARDS' | 'SCREEN_METRIC_TABLES' | 'SCREEN_PROBLEMS' | 'SCREEN_PROPERTIES';
|
|
22
22
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the actual set of fields depending on the value. See one of the following objects:
|
|
3
|
+
*
|
|
4
|
+
* * `SECURE` -> SecureAuthenticationDto
|
|
5
|
+
* * `PLAIN` -> PlainAuthenticationDto
|
|
6
|
+
*
|
|
7
|
+
* @deprecated Use literal values.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum AuthenticationDtoInputType {
|
|
10
|
+
Plain = "PLAIN",
|
|
11
|
+
Secure = "SECURE"
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Authentication dto for Browser Monitor step.
|
|
3
|
+
*/
|
|
4
|
+
export interface AuthenticationDto {
|
|
5
|
+
/**
|
|
6
|
+
* String containing the allowed servers of KERBEROS authentication. Can be defined only for `KERBEROS` authentication type.
|
|
7
|
+
*/
|
|
8
|
+
authServerAllowlist?: string;
|
|
9
|
+
/**
|
|
10
|
+
* String containing the KERBEROS authentication domain. Can be defined only for `KERBEROS` authentication type.
|
|
11
|
+
*/
|
|
12
|
+
domain?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Defines the actual set of fields depending on the value. See one of the following objects:
|
|
15
|
+
*
|
|
16
|
+
* * `SECURE` -> SecureAuthenticationDto
|
|
17
|
+
* * `PLAIN` -> PlainAuthenticationDto
|
|
18
|
+
*/
|
|
19
|
+
inputType: 'PLAIN' | 'SECURE';
|
|
20
|
+
/**
|
|
21
|
+
* Type of authentication.
|
|
22
|
+
*/
|
|
23
|
+
type: 'HTTP_AUTHENTICATION' | 'KERBEROS' | 'WEBFORM';
|
|
24
|
+
}
|
|
@@ -6,13 +6,13 @@ export interface AWSKeyBasedCredentialsDto extends Credentials {
|
|
|
6
6
|
/**
|
|
7
7
|
* Access Key ID of the credentials set.
|
|
8
8
|
*/
|
|
9
|
-
accessKeyID
|
|
9
|
+
accessKeyID: string;
|
|
10
10
|
/**
|
|
11
11
|
* AWS partition of the credential.
|
|
12
12
|
*/
|
|
13
|
-
awsPartition
|
|
13
|
+
awsPartition: 'CHINA' | 'DEFAULT' | 'US_GOV';
|
|
14
14
|
/**
|
|
15
15
|
* Secret access key of the credential.
|
|
16
16
|
*/
|
|
17
|
-
secretKey
|
|
17
|
+
secretKey: string;
|
|
18
18
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export interface AWSRoleBasedCredentials extends Credentials {
|
|
|
6
6
|
/**
|
|
7
7
|
* Amazon account ID of the credential.
|
|
8
8
|
*/
|
|
9
|
-
accountID
|
|
9
|
+
accountID: string;
|
|
10
10
|
/**
|
|
11
11
|
* The IAM role name of the credentials set.
|
|
12
12
|
*/
|
|
13
|
-
iamRole
|
|
13
|
+
iamRole: string;
|
|
14
14
|
}
|