@dynatrace-sdk/client-classic-environment-v2 1.1.0 → 1.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 +29 -6
- package/README.md +15 -44
- package/cjs/index.js +1831 -1657
- package/docs/DOCS.md +4054 -11777
- package/dynatrace-metadata.json +2 -5
- package/esm/index.js +1831 -1657
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +36 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +60 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +33 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +48 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +75 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +19 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +54 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +18 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +63 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +231 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +53 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +52 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +50 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +37 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +55 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +77 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +173 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +78 -8
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +97 -9
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +23 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +14 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +31 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +64 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +12 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +6 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.transformation.d.ts +4 -4
- 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/comment.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/comment.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-segment-type.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-segment-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-source-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-source-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-points.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-points.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/error.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/error.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +26 -26
- package/types/packages/client/classic-environment-v2/src/lib/models/event.transformation.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/item.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +55 -55
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.transformation.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.d.ts +29 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-severity.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +10 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.transformation.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +11 -11
- 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/property-definition.transformation.d.ts +9 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +16 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/release.transformation.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +19 -17
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +7 -5
- 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/sl-os.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +23 -23
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.transformation.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +58 -53
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.transformation.d.ts +19 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/success.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/success.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-column-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-column-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +19 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.transformation.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-response.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-response.transformation.d.ts +1 -1
|
@@ -18,7 +18,15 @@ export declare class MetricsClient {
|
|
|
18
18
|
* Gets the descriptor of the specified metric
|
|
19
19
|
*
|
|
20
20
|
* **Required scope:** environment-api:metrics:read<br/>**Required permission:** environment:roles:viewer
|
|
21
|
+
*
|
|
21
22
|
* @returns Success
|
|
23
|
+
*
|
|
24
|
+
* @example <caption>Code example</caption>
|
|
25
|
+
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
26
|
+
*
|
|
27
|
+
* const data = await metricsClient.metric({
|
|
28
|
+
* metricKey: "...",
|
|
29
|
+
* });
|
|
22
30
|
*/
|
|
23
31
|
metric(config: {
|
|
24
32
|
/**
|
|
@@ -33,6 +41,13 @@ export declare class MetricsClient {
|
|
|
33
41
|
* Deletes the specified metric
|
|
34
42
|
*
|
|
35
43
|
* **Required scope:** environment-api:metrics:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Deletion cannot be undone! You can't delete a metric if it has data points ingested within the last two hours.
|
|
44
|
+
*
|
|
45
|
+
* @example <caption>Code example</caption>
|
|
46
|
+
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
47
|
+
*
|
|
48
|
+
* const data = await metricsClient.delete({
|
|
49
|
+
* metricKey: "...",
|
|
50
|
+
* });
|
|
36
51
|
*/
|
|
37
52
|
delete(config: {
|
|
38
53
|
/** The key of the required metric. */ metricKey: string;
|
|
@@ -48,7 +63,21 @@ export declare class MetricsClient {
|
|
|
48
63
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
49
64
|
*
|
|
50
65
|
* 2. Then use the cursor from the **nextPageKey** field of the response in the **nextPageKey** query parameter to obtain subsequent pages. All other query parameters must be omitted.
|
|
66
|
+
*
|
|
51
67
|
* @returns Success
|
|
68
|
+
*
|
|
69
|
+
* @example <caption>Code example</caption>
|
|
70
|
+
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
71
|
+
*
|
|
72
|
+
* const data = await metricsClient.allMetrics({
|
|
73
|
+
* nextPageKey: "...",
|
|
74
|
+
* pageSize: 123,
|
|
75
|
+
* metricSelector: "...",
|
|
76
|
+
* text: "...",
|
|
77
|
+
* fields: "...",
|
|
78
|
+
* writtenSince: "...",
|
|
79
|
+
* metadataSelector: "...",
|
|
80
|
+
* });
|
|
52
81
|
*/
|
|
53
82
|
allMetrics(config: {
|
|
54
83
|
/**
|
|
@@ -154,6 +183,8 @@ export declare class MetricsClient {
|
|
|
154
183
|
* * `dimensionKey("dimkey-1","dimkey-2")`. The filtering applies only to dimensions that were written within the last 14 days.
|
|
155
184
|
* * `custom("true")`. "true" to include only user-defined metrics metrics (without namespace or with `ext:`, `calc:`, `func:`, `appmon:`), "false" to filter them out.
|
|
156
185
|
*
|
|
186
|
+
* * `exported("true")`. "true" to include only exported metrics, "false" to filter them out.
|
|
187
|
+
*
|
|
157
188
|
* To set several criteria, separate them with a comma (`,`). For example, `tags("feature","cloud"),unit("Percent"),dimensionKey("location"),custom("true")`. Only results matching **all** criteria are included in response.
|
|
158
189
|
*
|
|
159
190
|
* For example, to list metrics that have the tags **feature** AND **cloud** with a unit of **Percent** OR **MegaByte** AND a dimension with a dimension key **location**, use this **metadataSelector**: `tags("feature"),unit("Percent","MegaByte"),tags("cloud"),dimensionKey("location")`.
|
|
@@ -172,7 +203,20 @@ export declare class MetricsClient {
|
|
|
172
203
|
*
|
|
173
204
|
* The **dataPointCountRatio** specifies the ratio of queried data points divided by the maximum number of data points per metric that are allowed in a single query.
|
|
174
205
|
* The **dimensionCountRatio** specifies the ratio of queried dimension tuples divided by the maximum number of dimension tuples allowed in a single query.
|
|
206
|
+
*
|
|
175
207
|
* @returns Success
|
|
208
|
+
*
|
|
209
|
+
* @example <caption>Code example</caption>
|
|
210
|
+
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
211
|
+
*
|
|
212
|
+
* const data = await metricsClient.query({
|
|
213
|
+
* metricSelector: "...",
|
|
214
|
+
* resolution: "...",
|
|
215
|
+
* from: "...",
|
|
216
|
+
* to: "...",
|
|
217
|
+
* entitySelector: "...",
|
|
218
|
+
* mzSelector: "...",
|
|
219
|
+
* });
|
|
176
220
|
*/
|
|
177
221
|
query(config: {
|
|
178
222
|
/**
|
|
@@ -307,7 +351,15 @@ export declare class MetricsClient {
|
|
|
307
351
|
* Pushes metric data points to Dynatrace
|
|
308
352
|
*
|
|
309
353
|
* **Required scope:** storage:metrics:write<br/>**Required permission:** storage:metrics:write
|
|
354
|
+
*
|
|
310
355
|
* @returns The provided metric data points are accepted and will be processed in the background.
|
|
356
|
+
*
|
|
357
|
+
* @example <caption>Code example</caption>
|
|
358
|
+
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
359
|
+
*
|
|
360
|
+
* const data = await metricsClient.ingest({
|
|
361
|
+
* body: "server.cpu.temperature,cpu.id=0 42" as string,
|
|
362
|
+
* });
|
|
311
363
|
*/
|
|
312
364
|
ingest(config: {
|
|
313
365
|
body: string;
|
|
@@ -17,7 +17,18 @@ export declare class MetricsUnitsClient {
|
|
|
17
17
|
* Converts a value from a source unit into a target unit
|
|
18
18
|
*
|
|
19
19
|
* **Required scope:** environment-api:metrics:read<br/>**Required permission:** environment:roles:viewer<br/><br/>If no target unit is set, the request finds an appropriate target unit automatically, taking into account the preferred number format (if specified).
|
|
20
|
+
*
|
|
20
21
|
* @returns Success
|
|
22
|
+
*
|
|
23
|
+
* @example <caption>Code example</caption>
|
|
24
|
+
* import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
25
|
+
*
|
|
26
|
+
* const data = await metricsUnitsClient.convert({
|
|
27
|
+
* unitId: "...",
|
|
28
|
+
* value: 123,
|
|
29
|
+
* targetUnit: "...",
|
|
30
|
+
* numberFormat: "...",
|
|
31
|
+
* });
|
|
21
32
|
*/
|
|
22
33
|
convert(config: {
|
|
23
34
|
/** The ID of the source unit. */ unitId: string;
|
|
@@ -41,7 +52,15 @@ export declare class MetricsUnitsClient {
|
|
|
41
52
|
* Gets the properties of the specified unit
|
|
42
53
|
*
|
|
43
54
|
* **Required scope:** environment-api:metrics:read<br/>**Required permission:** environment:roles:viewer
|
|
55
|
+
*
|
|
44
56
|
* @returns Success
|
|
57
|
+
*
|
|
58
|
+
* @example <caption>Code example</caption>
|
|
59
|
+
* import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
60
|
+
*
|
|
61
|
+
* const data = await metricsUnitsClient.unit({
|
|
62
|
+
* unitId: "...",
|
|
63
|
+
* });
|
|
45
64
|
*/
|
|
46
65
|
unit(config: {
|
|
47
66
|
unitId: string;
|
|
@@ -51,7 +70,16 @@ export declare class MetricsUnitsClient {
|
|
|
51
70
|
* Lists all available units
|
|
52
71
|
*
|
|
53
72
|
* **Required scope:** environment-api:metrics:read<br/>**Required permission:** environment:roles:viewer<br/><br/>You can narrow down the output by providing filter criteria in the **unitSelector** field.
|
|
73
|
+
*
|
|
54
74
|
* @returns Success
|
|
75
|
+
*
|
|
76
|
+
* @example <caption>Code example</caption>
|
|
77
|
+
* import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
78
|
+
*
|
|
79
|
+
* const data = await metricsUnitsClient.allUnits({
|
|
80
|
+
* unitSelector: "...",
|
|
81
|
+
* fields: "...",
|
|
82
|
+
* });
|
|
55
83
|
*/
|
|
56
84
|
allUnits(config?: {
|
|
57
85
|
/**
|
package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts
CHANGED
|
@@ -30,7 +30,21 @@ export declare class MonitoredEntitiesClient {
|
|
|
30
30
|
* You can limit the output by using pagination:
|
|
31
31
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
32
32
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
33
|
+
*
|
|
33
34
|
* @returns Success
|
|
35
|
+
*
|
|
36
|
+
* @example <caption>Code example</caption>
|
|
37
|
+
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
38
|
+
*
|
|
39
|
+
* const data = await monitoredEntitiesClient.getEntities({
|
|
40
|
+
* nextPageKey: "...",
|
|
41
|
+
* pageSize: 123,
|
|
42
|
+
* entitySelector: "...",
|
|
43
|
+
* from: "...",
|
|
44
|
+
* to: "...",
|
|
45
|
+
* fields: "...",
|
|
46
|
+
* sort: "...",
|
|
47
|
+
* });
|
|
34
48
|
*/
|
|
35
49
|
getEntities(config?: {
|
|
36
50
|
/**
|
|
@@ -138,7 +152,18 @@ export declare class MonitoredEntitiesClient {
|
|
|
138
152
|
* Gets the properties of the specified monitored entity
|
|
139
153
|
*
|
|
140
154
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
155
|
+
*
|
|
141
156
|
* @returns Success
|
|
157
|
+
*
|
|
158
|
+
* @example <caption>Code example</caption>
|
|
159
|
+
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
160
|
+
*
|
|
161
|
+
* const data = await monitoredEntitiesClient.getEntity({
|
|
162
|
+
* entityId: "...",
|
|
163
|
+
* from: "...",
|
|
164
|
+
* to: "...",
|
|
165
|
+
* fields: "...",
|
|
166
|
+
* });
|
|
142
167
|
*/
|
|
143
168
|
getEntity(config: {
|
|
144
169
|
/** The ID of the required entity. */ entityId: string;
|
|
@@ -191,7 +216,15 @@ export declare class MonitoredEntitiesClient {
|
|
|
191
216
|
* Gets a list of properties for the specified entity type
|
|
192
217
|
*
|
|
193
218
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
219
|
+
*
|
|
194
220
|
* @returns Success
|
|
221
|
+
*
|
|
222
|
+
* @example <caption>Code example</caption>
|
|
223
|
+
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
224
|
+
*
|
|
225
|
+
* const data = await monitoredEntitiesClient.getEntityType({
|
|
226
|
+
* type: "...",
|
|
227
|
+
* });
|
|
195
228
|
*/
|
|
196
229
|
getEntityType(config: {
|
|
197
230
|
/** The required entity type. */ type: string;
|
|
@@ -203,7 +236,16 @@ export declare class MonitoredEntitiesClient {
|
|
|
203
236
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer<br/><br/>You can limit the output by using pagination:
|
|
204
237
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
205
238
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
239
|
+
*
|
|
206
240
|
* @returns Success
|
|
241
|
+
*
|
|
242
|
+
* @example <caption>Code example</caption>
|
|
243
|
+
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
244
|
+
*
|
|
245
|
+
* const data = await monitoredEntitiesClient.getEntityTypes({
|
|
246
|
+
* nextPageKey: "...",
|
|
247
|
+
* pageSize: 123,
|
|
248
|
+
* });
|
|
207
249
|
*/
|
|
208
250
|
getEntityTypes(config?: {
|
|
209
251
|
/**
|
|
@@ -226,7 +268,15 @@ export declare class MonitoredEntitiesClient {
|
|
|
226
268
|
* Creates or updates a custom device
|
|
227
269
|
*
|
|
228
270
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings
|
|
271
|
+
*
|
|
229
272
|
* @returns Success
|
|
273
|
+
*
|
|
274
|
+
* @example <caption>Code example</caption>
|
|
275
|
+
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
276
|
+
*
|
|
277
|
+
* const data = await monitoredEntitiesClient.pushCustomDevice(
|
|
278
|
+
* { body: {} as CustomDeviceCreation }
|
|
279
|
+
* );
|
|
230
280
|
*/
|
|
231
281
|
pushCustomDevice(config: {
|
|
232
282
|
body: CustomDeviceCreation;
|
|
@@ -18,7 +18,18 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
18
18
|
* Gets a list of custom tags applied to the specified entities
|
|
19
19
|
*
|
|
20
20
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer<br/><br/>Automatically applied tags and imported tags are not included.
|
|
21
|
+
*
|
|
21
22
|
* @returns Success
|
|
23
|
+
*
|
|
24
|
+
* @example <caption>Code example</caption>
|
|
25
|
+
* import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
26
|
+
*
|
|
27
|
+
* const data =
|
|
28
|
+
* await monitoredEntitiesCustomTagsClient.getTags({
|
|
29
|
+
* entitySelector: "...",
|
|
30
|
+
* from: "...",
|
|
31
|
+
* to: "...",
|
|
32
|
+
* });
|
|
22
33
|
*/
|
|
23
34
|
getTags(config: {
|
|
24
35
|
/**
|
|
@@ -98,7 +109,19 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
98
109
|
* Adds custom tags to the specified entities
|
|
99
110
|
*
|
|
100
111
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>All existing tags remain unaffected.
|
|
112
|
+
*
|
|
101
113
|
* @returns Success
|
|
114
|
+
*
|
|
115
|
+
* @example <caption>Code example</caption>
|
|
116
|
+
* import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
117
|
+
*
|
|
118
|
+
* const data =
|
|
119
|
+
* await monitoredEntitiesCustomTagsClient.postTags({
|
|
120
|
+
* entitySelector: "...",
|
|
121
|
+
* from: "...",
|
|
122
|
+
* to: "...",
|
|
123
|
+
* body: {} as AddEntityTags,
|
|
124
|
+
* });
|
|
102
125
|
*/
|
|
103
126
|
postTags(config: {
|
|
104
127
|
body: AddEntityTags;
|
|
@@ -179,7 +202,21 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
179
202
|
* Deletes the specified tag from the specified entities
|
|
180
203
|
*
|
|
181
204
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings
|
|
205
|
+
*
|
|
182
206
|
* @returns Success
|
|
207
|
+
*
|
|
208
|
+
* @example <caption>Code example</caption>
|
|
209
|
+
* import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
210
|
+
*
|
|
211
|
+
* const data =
|
|
212
|
+
* await monitoredEntitiesCustomTagsClient.deleteTags({
|
|
213
|
+
* key: "...",
|
|
214
|
+
* value: "...",
|
|
215
|
+
* deleteAllWithKey: true,
|
|
216
|
+
* entitySelector: "...",
|
|
217
|
+
* from: "...",
|
|
218
|
+
* to: "...",
|
|
219
|
+
* });
|
|
183
220
|
*/
|
|
184
221
|
deleteTags(config: {
|
|
185
222
|
/**
|
|
@@ -15,7 +15,16 @@ export declare class MonitoredEntitiesMonitoringStateClient {
|
|
|
15
15
|
* Lists monitoring states of entities
|
|
16
16
|
*
|
|
17
17
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer<br/><br/>Only process group instances are supported.
|
|
18
|
+
*
|
|
18
19
|
* @returns Success
|
|
20
|
+
*
|
|
21
|
+
* @example <caption>Code example</caption>
|
|
22
|
+
* import { monitoredEntitiesMonitoringStateClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
23
|
+
*
|
|
24
|
+
* const data =
|
|
25
|
+
* await monitoredEntitiesMonitoringStateClient.getStates({
|
|
26
|
+
* entitySelector: "...",
|
|
27
|
+
* });
|
|
19
28
|
*/
|
|
20
29
|
getStates(config: {
|
|
21
30
|
/**
|
|
@@ -20,7 +20,15 @@ export declare class NetworkZonesClient {
|
|
|
20
20
|
* Gets parameters of the specified network zone
|
|
21
21
|
*
|
|
22
22
|
* **Required scope:** environment-api:network-zones:read<br/>**Required permission:** environment:roles:viewer
|
|
23
|
+
*
|
|
23
24
|
* @returns Success
|
|
25
|
+
*
|
|
26
|
+
* @example <caption>Code example</caption>
|
|
27
|
+
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28
|
+
*
|
|
29
|
+
* const data = await networkZonesClient.getSingleNetworkZone({
|
|
30
|
+
* id: "...",
|
|
31
|
+
* });
|
|
24
32
|
*/
|
|
25
33
|
getSingleNetworkZone(config: {
|
|
26
34
|
/** The ID of the required network zone. */ id: string;
|
|
@@ -32,7 +40,17 @@ export declare class NetworkZonesClient {
|
|
|
32
40
|
* **Required scope:** environment-api:network-zones:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>If the network zone with the specified ID does not exist, a new network zone is created.
|
|
33
41
|
*
|
|
34
42
|
* The ID is not case sensitive. Dynatrace stores the ID in lowercase.
|
|
43
|
+
*
|
|
35
44
|
* @returns Success. The new network zone has been created. The response body contains the ID of the new network zone.
|
|
45
|
+
*
|
|
46
|
+
* @example <caption>Code example</caption>
|
|
47
|
+
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
48
|
+
*
|
|
49
|
+
* const data =
|
|
50
|
+
* await networkZonesClient.createOrUpdateNetworkZone({
|
|
51
|
+
* id: "...",
|
|
52
|
+
* body: {} as NetworkZone,
|
|
53
|
+
* });
|
|
36
54
|
*/
|
|
37
55
|
createOrUpdateNetworkZone(config: {
|
|
38
56
|
body: NetworkZone;
|
|
@@ -51,6 +69,13 @@ export declare class NetworkZonesClient {
|
|
|
51
69
|
* **Required scope:** environment-api:network-zones:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>You can only delete an empty network zone (a zone that no ActiveGate or OneAgent is using).
|
|
52
70
|
*
|
|
53
71
|
* If the network zone is used as an alternative zone for any OneAgent, it will be automatically removed from the list of possible alternatives.
|
|
72
|
+
*
|
|
73
|
+
* @example <caption>Code example</caption>
|
|
74
|
+
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
75
|
+
*
|
|
76
|
+
* const data = await networkZonesClient.deleteNetworkZone({
|
|
77
|
+
* id: "...",
|
|
78
|
+
* });
|
|
54
79
|
*/
|
|
55
80
|
deleteNetworkZone(config: {
|
|
56
81
|
/** The ID of the network zone to be deleted. */ id: string;
|
|
@@ -60,14 +85,29 @@ export declare class NetworkZonesClient {
|
|
|
60
85
|
* Lists all existing network zones
|
|
61
86
|
*
|
|
62
87
|
* **Required scope:** environment-api:network-zones:read<br/>**Required permission:** environment:roles:viewer
|
|
88
|
+
*
|
|
63
89
|
* @returns Success
|
|
90
|
+
*
|
|
91
|
+
* @example <caption>Code example</caption>
|
|
92
|
+
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
93
|
+
*
|
|
94
|
+
* const data = await networkZonesClient.getAllNetworkZones();
|
|
64
95
|
*/
|
|
65
96
|
getAllNetworkZones(abortSignal?: AbortSignal): Promise<NetworkZoneList>;
|
|
66
97
|
/**
|
|
67
98
|
* Gets the statistics about hosts using the network zone
|
|
68
99
|
*
|
|
69
100
|
* **Required scope:** environment-api:network-zones:read<br/>**Required permission:** environment:roles:manage-settings
|
|
101
|
+
*
|
|
70
102
|
* @returns Success
|
|
103
|
+
*
|
|
104
|
+
* @example <caption>Code example</caption>
|
|
105
|
+
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
106
|
+
*
|
|
107
|
+
* const data = await networkZonesClient.getHostStats({
|
|
108
|
+
* id: "...",
|
|
109
|
+
* filter: {} as GetHostStatsQueryFilter,
|
|
110
|
+
* });
|
|
71
111
|
*/
|
|
72
112
|
getHostStats(config: {
|
|
73
113
|
/** The ID of the required network zone. */ id: string;
|
|
@@ -88,13 +128,28 @@ export declare class NetworkZonesClient {
|
|
|
88
128
|
* Gets the global configuration of network zones
|
|
89
129
|
*
|
|
90
130
|
* **Required scope:** environment-api:network-zones:read<br/>**Required permission:** environment:roles:viewer
|
|
131
|
+
*
|
|
91
132
|
* @returns Success
|
|
133
|
+
*
|
|
134
|
+
* @example <caption>Code example</caption>
|
|
135
|
+
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
136
|
+
*
|
|
137
|
+
* const data =
|
|
138
|
+
* await networkZonesClient.getNetworkZoneSettings();
|
|
92
139
|
*/
|
|
93
140
|
getNetworkZoneSettings(abortSignal?: AbortSignal): Promise<NetworkZoneSettings>;
|
|
94
141
|
/**
|
|
95
142
|
* Updates the global configuration of network zones
|
|
96
143
|
*
|
|
97
144
|
* **Required scope:** environment-api:network-zones:write<br/>**Required permission:** environment:roles:manage-settings
|
|
145
|
+
*
|
|
146
|
+
* @example <caption>Code example</caption>
|
|
147
|
+
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
148
|
+
*
|
|
149
|
+
* const data =
|
|
150
|
+
* await networkZonesClient.updateNetworkZoneSettings({
|
|
151
|
+
* body: {} as NetworkZoneSettings,
|
|
152
|
+
* });
|
|
98
153
|
*/
|
|
99
154
|
updateNetworkZoneSettings(config: {
|
|
100
155
|
body: NetworkZoneSettings;
|
|
@@ -21,7 +21,16 @@ export declare class ProblemsClient {
|
|
|
21
21
|
* Closes the specified problem and adds a closing comment on it
|
|
22
22
|
*
|
|
23
23
|
* **Required scope:** environment-api:problems:write<br/>**Required permission:** environment:roles:manage-settings
|
|
24
|
+
*
|
|
24
25
|
* @returns Success
|
|
26
|
+
*
|
|
27
|
+
* @example <caption>Code example</caption>
|
|
28
|
+
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
29
|
+
*
|
|
30
|
+
* const data = await problemsClient.closeProblem({
|
|
31
|
+
* problemId: "...",
|
|
32
|
+
* body: {} as ProblemCloseRequestDtoImpl,
|
|
33
|
+
* });
|
|
25
34
|
*/
|
|
26
35
|
closeProblem(config: {
|
|
27
36
|
body: ProblemCloseRequestDtoImpl;
|
|
@@ -32,7 +41,17 @@ export declare class ProblemsClient {
|
|
|
32
41
|
* Gets all comments on the specified problem
|
|
33
42
|
*
|
|
34
43
|
* **Required scope:** environment-api:problems:read<br/>**Required permission:** environment:roles:viewer
|
|
44
|
+
*
|
|
35
45
|
* @returns Success
|
|
46
|
+
*
|
|
47
|
+
* @example <caption>Code example</caption>
|
|
48
|
+
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
49
|
+
*
|
|
50
|
+
* const data = await problemsClient.getComments({
|
|
51
|
+
* problemId: "...",
|
|
52
|
+
* nextPageKey: "...",
|
|
53
|
+
* pageSize: 123,
|
|
54
|
+
* });
|
|
36
55
|
*/
|
|
37
56
|
getComments(config: {
|
|
38
57
|
/** The ID of the required problem. */ problemId: string;
|
|
@@ -56,6 +75,14 @@ export declare class ProblemsClient {
|
|
|
56
75
|
* Adds a new comment on the specified problem
|
|
57
76
|
*
|
|
58
77
|
* **Required scope:** environment-api:problems:write<br/>**Required permission:** environment:roles:viewer
|
|
78
|
+
*
|
|
79
|
+
* @example <caption>Code example</caption>
|
|
80
|
+
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
81
|
+
*
|
|
82
|
+
* const data = await problemsClient.createComment({
|
|
83
|
+
* problemId: "...",
|
|
84
|
+
* body: {} as CommentRequestDtoImpl,
|
|
85
|
+
* });
|
|
59
86
|
*/
|
|
60
87
|
createComment(config: {
|
|
61
88
|
body: CommentRequestDtoImpl;
|
|
@@ -66,7 +93,16 @@ export declare class ProblemsClient {
|
|
|
66
93
|
* Gets the specified comment on a problem
|
|
67
94
|
*
|
|
68
95
|
* **Required scope:** environment-api:problems:read<br/>**Required permission:** environment:roles:viewer
|
|
96
|
+
*
|
|
69
97
|
* @returns Success
|
|
98
|
+
*
|
|
99
|
+
* @example <caption>Code example</caption>
|
|
100
|
+
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
101
|
+
*
|
|
102
|
+
* const data = await problemsClient.getComment({
|
|
103
|
+
* problemId: "...",
|
|
104
|
+
* commentId: "...",
|
|
105
|
+
* });
|
|
70
106
|
*/
|
|
71
107
|
getComment(config: {
|
|
72
108
|
/** The ID of the required problem. */ problemId: string;
|
|
@@ -77,6 +113,15 @@ export declare class ProblemsClient {
|
|
|
77
113
|
* Updates the specified comment on a problem
|
|
78
114
|
*
|
|
79
115
|
* **Required scope:** environment-api:problems:write<br/>**Required permission:** environment:roles:viewer
|
|
116
|
+
*
|
|
117
|
+
* @example <caption>Code example</caption>
|
|
118
|
+
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
119
|
+
*
|
|
120
|
+
* const data = await problemsClient.updateComment({
|
|
121
|
+
* problemId: "...",
|
|
122
|
+
* commentId: "...",
|
|
123
|
+
* body: {} as CommentRequestDtoImpl,
|
|
124
|
+
* });
|
|
80
125
|
*/
|
|
81
126
|
updateComment(config: {
|
|
82
127
|
body: CommentRequestDtoImpl;
|
|
@@ -88,6 +133,14 @@ export declare class ProblemsClient {
|
|
|
88
133
|
* Deletes the specified comment from a problem
|
|
89
134
|
*
|
|
90
135
|
* **Required scope:** environment-api:problems:write<br/>**Required permission:** environment:roles:viewer
|
|
136
|
+
*
|
|
137
|
+
* @example <caption>Code example</caption>
|
|
138
|
+
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
139
|
+
*
|
|
140
|
+
* const data = await problemsClient.deleteComment({
|
|
141
|
+
* problemId: "...",
|
|
142
|
+
* commentId: "...",
|
|
143
|
+
* });
|
|
91
144
|
*/
|
|
92
145
|
deleteComment(config: {
|
|
93
146
|
/** The ID of the required problem. */ problemId: string;
|
|
@@ -98,7 +151,16 @@ export declare class ProblemsClient {
|
|
|
98
151
|
* Gets the properties of the specified problem
|
|
99
152
|
*
|
|
100
153
|
* **Required scope:** environment-api:problems:read<br/>**Required permission:** environment:roles:viewer
|
|
154
|
+
*
|
|
101
155
|
* @returns Success
|
|
156
|
+
*
|
|
157
|
+
* @example <caption>Code example</caption>
|
|
158
|
+
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
159
|
+
*
|
|
160
|
+
* const data = await problemsClient.getProblem({
|
|
161
|
+
* problemId: "...",
|
|
162
|
+
* fields: "...",
|
|
163
|
+
* });
|
|
102
164
|
*/
|
|
103
165
|
getProblem(config: {
|
|
104
166
|
/** The ID of the required problem. */ problemId: string;
|
|
@@ -119,7 +181,22 @@ export declare class ProblemsClient {
|
|
|
119
181
|
* Lists problems observed within the specified timeframe
|
|
120
182
|
*
|
|
121
183
|
* **Required scope:** environment-api:problems:read<br/>**Required permission:** environment:roles:viewer
|
|
184
|
+
*
|
|
122
185
|
* @returns Success
|
|
186
|
+
*
|
|
187
|
+
* @example <caption>Code example</caption>
|
|
188
|
+
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
189
|
+
*
|
|
190
|
+
* const data = await problemsClient.getProblems({
|
|
191
|
+
* fields: "...",
|
|
192
|
+
* nextPageKey: "...",
|
|
193
|
+
* pageSize: 123,
|
|
194
|
+
* from: "...",
|
|
195
|
+
* to: "...",
|
|
196
|
+
* problemSelector: "...",
|
|
197
|
+
* entitySelector: "...",
|
|
198
|
+
* sort: "...",
|
|
199
|
+
* });
|
|
123
200
|
*/
|
|
124
201
|
getProblems(config?: {
|
|
125
202
|
/**
|
|
@@ -15,7 +15,21 @@ export declare class ReleasesClient {
|
|
|
15
15
|
* Returns all releases
|
|
16
16
|
*
|
|
17
17
|
* **Required scope:** environment-api:releases:read<br/>**Required permission:** environment:roles:viewer
|
|
18
|
+
*
|
|
18
19
|
* @returns Success
|
|
20
|
+
*
|
|
21
|
+
* @example <caption>Code example</caption>
|
|
22
|
+
* import { releasesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
23
|
+
*
|
|
24
|
+
* const data = await releasesClient.getReleases({
|
|
25
|
+
* from: "...",
|
|
26
|
+
* to: "...",
|
|
27
|
+
* nextPageKey: "...",
|
|
28
|
+
* pageSize: 123,
|
|
29
|
+
* demo: true,
|
|
30
|
+
* releasesSelector: "...",
|
|
31
|
+
* sort: "...",
|
|
32
|
+
* });
|
|
19
33
|
*/
|
|
20
34
|
getReleases(config?: {
|
|
21
35
|
/**
|