@dynatrace-sdk/client-classic-environment-v2 3.0.0 → 3.3.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 +37 -0
- package/README.md +3741 -960
- package/cjs/index.js +12427 -7375
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +12629 -7397
- package/package.json +3 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +28 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +34 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +27 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-active-gate-groups-api.d.ts +36 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +12 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +61 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +34 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +12 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +12 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +7 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +35 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +46 -8
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +158 -26
- package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +25 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +30 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +18 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +42 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +18 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +42 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +46 -7
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +45 -5
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +114 -18
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +42 -4
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +62 -10
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +12 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +6 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +103 -16
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +28 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +54 -5
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-gateway-errors-handler.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/biz-event-ingest-result-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-envelope-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +6 -8
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-array-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/validation-response-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/abstract-slo-alert-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-auto-update-config.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-global-auto-update-config.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group.transformation.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-create.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-info-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/affected-entities.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/any-value.d.ts +2 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/any-value.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/applied-filter.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attack.d.ts +30 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/attacker.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/code-location.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-type.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-type.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials.transformation.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-device-creation.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-allowed-location-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/davis-security-advice.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-stub.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/evidence.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-step.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-event-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/identity-type.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/identity-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/identity.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/identity.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/impact.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/list-credentials-query-type.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-definition.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-metadata-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-metadata-dto.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-value-type.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitoring-configuration-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitoring-configuration-update-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/mute-state.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +24 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/related-service.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-mute-state-change.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-mute-state.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-progress-entity-assessment.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-progress-entity.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/request-information.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-changes.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.d.ts +26 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +20 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +39 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-mute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-unmute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +23 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.d.ts +30 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.transformation.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location-update.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location.d.ts +15 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-constraint-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-failed-execution-status.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-tag-with-source-dto.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/token-credentials.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-customization.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/user-password-credentials.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-process-groups.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/utils/encoding.d.ts +1 -1
- package/types/packages/http-client/src/lib/types/binary.d.ts +2 -2
- package/types/packages/http-client/src/lib/types/http-client-response.d.ts +2 -2
- package/types/packages/shared-errors/src/api-client-error.d.ts +23 -0
- package/types/packages/shared-errors/src/api-gateway-error.d.ts +37 -0
- package/types/packages/shared-errors/src/client-request-error.d.ts +39 -0
- package/types/packages/shared-errors/src/index.d.ts +5 -0
- package/types/packages/shared-errors/src/invalid-response-error.d.ts +26 -0
- package/types/packages/shared-errors/src/types.d.ts +88 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +0 -11
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/client-request-error.d.ts +0 -9
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +0 -9
|
@@ -25,7 +25,7 @@ export declare class MetricsClient {
|
|
|
25
25
|
*
|
|
26
26
|
* 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.
|
|
27
27
|
*
|
|
28
|
-
* @returns Success
|
|
28
|
+
* @returns {Promise<MetricDescriptorCollection>} Success
|
|
29
29
|
*
|
|
30
30
|
* @example <caption>Code example</caption>
|
|
31
31
|
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -33,6 +33,11 @@ export declare class MetricsClient {
|
|
|
33
33
|
* const data = await metricsClient.allMetrics({
|
|
34
34
|
* acceptType: "application/json; charset=utf-8",
|
|
35
35
|
* });
|
|
36
|
+
*
|
|
37
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
38
|
+
* @throws {InvalidResponseError}
|
|
39
|
+
* @throws {ApiClientError}
|
|
40
|
+
* @throws {ClientRequestError}
|
|
36
41
|
*/
|
|
37
42
|
allMetrics(config: {
|
|
38
43
|
/**
|
|
@@ -153,7 +158,7 @@ export declare class MetricsClient {
|
|
|
153
158
|
*
|
|
154
159
|
* **Required scope:** storage:metrics:write<br/>**Required permission:** storage:metrics:write
|
|
155
160
|
*
|
|
156
|
-
* @returns The provided metric data points are accepted and will be processed in the background.
|
|
161
|
+
* @returns {Promise<ValidationResponse>} The provided metric data points are accepted and will be processed in the background.
|
|
157
162
|
*
|
|
158
163
|
* @example <caption>Code example</caption>
|
|
159
164
|
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -161,6 +166,12 @@ export declare class MetricsClient {
|
|
|
161
166
|
* const data = await metricsClient.ingest({
|
|
162
167
|
* body: "server.cpu.temperature,cpu.id=0 42",
|
|
163
168
|
* });
|
|
169
|
+
*
|
|
170
|
+
* @throws {ValidationResponseError} Some data points are invalid. Valid data points are accepted and will be processed in the background.
|
|
171
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
172
|
+
* @throws {InvalidResponseError}
|
|
173
|
+
* @throws {ApiClientError}
|
|
174
|
+
* @throws {ClientRequestError}
|
|
164
175
|
*/
|
|
165
176
|
ingest(config: {
|
|
166
177
|
body: string;
|
|
@@ -178,7 +189,7 @@ export declare class MetricsClient {
|
|
|
178
189
|
* 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.
|
|
179
190
|
* The **dimensionCountRatio** specifies the ratio of queried dimension tuples divided by the maximum number of dimension tuples allowed in a single query.
|
|
180
191
|
*
|
|
181
|
-
* @returns Success
|
|
192
|
+
* @returns {Promise<MetricData>} Success
|
|
182
193
|
*
|
|
183
194
|
* @example <caption>Code example</caption>
|
|
184
195
|
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -186,6 +197,11 @@ export declare class MetricsClient {
|
|
|
186
197
|
* const data = await metricsClient.query({
|
|
187
198
|
* acceptType: "application/json; charset=utf-8",
|
|
188
199
|
* });
|
|
200
|
+
*
|
|
201
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
202
|
+
* @throws {InvalidResponseError}
|
|
203
|
+
* @throws {ApiClientError}
|
|
204
|
+
* @throws {ClientRequestError}
|
|
189
205
|
*/
|
|
190
206
|
query(config: {
|
|
191
207
|
/**
|
|
@@ -321,7 +337,7 @@ export declare class MetricsClient {
|
|
|
321
337
|
*
|
|
322
338
|
* **Required scope:** environment-api:metrics:read<br/>**Required permission:** environment:roles:viewer
|
|
323
339
|
*
|
|
324
|
-
* @returns Success
|
|
340
|
+
* @returns {Promise<MetricDescriptor>} Success
|
|
325
341
|
*
|
|
326
342
|
* @example <caption>Code example</caption>
|
|
327
343
|
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -330,6 +346,11 @@ export declare class MetricsClient {
|
|
|
330
346
|
* acceptType: "application/json; charset=utf-8",
|
|
331
347
|
* metricKey: "...",
|
|
332
348
|
* });
|
|
349
|
+
*
|
|
350
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
351
|
+
* @throws {InvalidResponseError}
|
|
352
|
+
* @throws {ApiClientError}
|
|
353
|
+
* @throws {ClientRequestError}
|
|
333
354
|
*/
|
|
334
355
|
metric(config: {
|
|
335
356
|
/**
|
|
@@ -351,6 +372,11 @@ export declare class MetricsClient {
|
|
|
351
372
|
* const data = await metricsClient.delete({
|
|
352
373
|
* metricKey: "...",
|
|
353
374
|
* });
|
|
375
|
+
*
|
|
376
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
377
|
+
* @throws {InvalidResponseError}
|
|
378
|
+
* @throws {ApiClientError}
|
|
379
|
+
* @throws {ClientRequestError}
|
|
354
380
|
*/
|
|
355
381
|
delete(config: {
|
|
356
382
|
/** The key of the required metric. */ metricKey: string;
|
|
@@ -18,12 +18,17 @@ export declare class MetricsUnitsClient {
|
|
|
18
18
|
*
|
|
19
19
|
* **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.
|
|
20
20
|
*
|
|
21
|
-
* @returns Success
|
|
21
|
+
* @returns {Promise<UnitList>} Success
|
|
22
22
|
*
|
|
23
23
|
* @example <caption>Code example</caption>
|
|
24
24
|
* import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
25
25
|
*
|
|
26
26
|
* const data = await metricsUnitsClient.allUnits();
|
|
27
|
+
*
|
|
28
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
29
|
+
* @throws {InvalidResponseError}
|
|
30
|
+
* @throws {ApiClientError}
|
|
31
|
+
* @throws {ClientRequestError}
|
|
27
32
|
*/
|
|
28
33
|
allUnits(config?: {
|
|
29
34
|
/**
|
|
@@ -52,7 +57,7 @@ export declare class MetricsUnitsClient {
|
|
|
52
57
|
*
|
|
53
58
|
* **Required scope:** environment-api:metrics:read<br/>**Required permission:** environment:roles:viewer
|
|
54
59
|
*
|
|
55
|
-
* @returns Success
|
|
60
|
+
* @returns {Promise<Unit>} Success
|
|
56
61
|
*
|
|
57
62
|
* @example <caption>Code example</caption>
|
|
58
63
|
* import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -60,6 +65,11 @@ export declare class MetricsUnitsClient {
|
|
|
60
65
|
* const data = await metricsUnitsClient.unit({
|
|
61
66
|
* unitId: "...",
|
|
62
67
|
* });
|
|
68
|
+
*
|
|
69
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
70
|
+
* @throws {InvalidResponseError}
|
|
71
|
+
* @throws {ApiClientError}
|
|
72
|
+
* @throws {ClientRequestError}
|
|
63
73
|
*/
|
|
64
74
|
unit(config: {
|
|
65
75
|
unitId: string;
|
|
@@ -70,7 +80,7 @@ export declare class MetricsUnitsClient {
|
|
|
70
80
|
*
|
|
71
81
|
* **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).
|
|
72
82
|
*
|
|
73
|
-
* @returns Success
|
|
83
|
+
* @returns {Promise<UnitConversionResult>} Success
|
|
74
84
|
*
|
|
75
85
|
* @example <caption>Code example</caption>
|
|
76
86
|
* import { metricsUnitsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -79,6 +89,11 @@ export declare class MetricsUnitsClient {
|
|
|
79
89
|
* unitId: "...",
|
|
80
90
|
* value: 10,
|
|
81
91
|
* });
|
|
92
|
+
*
|
|
93
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
94
|
+
* @throws {InvalidResponseError}
|
|
95
|
+
* @throws {ApiClientError}
|
|
96
|
+
* @throws {ClientRequestError}
|
|
82
97
|
*/
|
|
83
98
|
convert(config: {
|
|
84
99
|
/** The ID of the source unit. */ unitId: string;
|
package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts
CHANGED
|
@@ -33,12 +33,17 @@ export declare class MonitoredEntitiesClient {
|
|
|
33
33
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
34
34
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
35
35
|
*
|
|
36
|
-
* @returns Success
|
|
36
|
+
* @returns {Promise<EntitiesList>} Success
|
|
37
37
|
*
|
|
38
38
|
* @example <caption>Code example</caption>
|
|
39
39
|
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
40
40
|
*
|
|
41
41
|
* const data = await monitoredEntitiesClient.getEntities();
|
|
42
|
+
*
|
|
43
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
44
|
+
* @throws {InvalidResponseError}
|
|
45
|
+
* @throws {ApiClientError}
|
|
46
|
+
* @throws {ClientRequestError}
|
|
42
47
|
*/
|
|
43
48
|
getEntities(config?: {
|
|
44
49
|
/**
|
|
@@ -149,7 +154,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
149
154
|
*
|
|
150
155
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings
|
|
151
156
|
*
|
|
152
|
-
* @returns Success
|
|
157
|
+
* @returns {Promise<CustomDeviceCreationResult | void>} Success
|
|
153
158
|
*
|
|
154
159
|
* @example <caption>Code example</caption>
|
|
155
160
|
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -157,6 +162,11 @@ export declare class MonitoredEntitiesClient {
|
|
|
157
162
|
* const data = await monitoredEntitiesClient.pushCustomDevice(
|
|
158
163
|
* { body: { customDeviceId: "...", displayName: "..." } },
|
|
159
164
|
* );
|
|
165
|
+
*
|
|
166
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
167
|
+
* @throws {InvalidResponseError}
|
|
168
|
+
* @throws {ApiClientError}
|
|
169
|
+
* @throws {ClientRequestError}
|
|
160
170
|
*/
|
|
161
171
|
pushCustomDevice(config: {
|
|
162
172
|
body: CustomDeviceCreation;
|
|
@@ -174,7 +184,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
174
184
|
* This endpoint does not create a new management zone, if there is no management zone with the provided name.
|
|
175
185
|
* Automatic management zone rules will not apply to entities with a set security context. It will need to be removed, to have them apply again.
|
|
176
186
|
*
|
|
177
|
-
* @returns Success
|
|
187
|
+
* @returns {Promise<SecurityContextResultDto>} Success
|
|
178
188
|
*
|
|
179
189
|
* @example <caption>Code example</caption>
|
|
180
190
|
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -184,6 +194,11 @@ export declare class MonitoredEntitiesClient {
|
|
|
184
194
|
* entitySelector: "...",
|
|
185
195
|
* body: {},
|
|
186
196
|
* });
|
|
197
|
+
*
|
|
198
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
199
|
+
* @throws {InvalidResponseError}
|
|
200
|
+
* @throws {ApiClientError}
|
|
201
|
+
* @throws {ClientRequestError}
|
|
187
202
|
*/
|
|
188
203
|
setSecurityContext(config: {
|
|
189
204
|
body: SecurityContextDtoImpl;
|
|
@@ -269,7 +284,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
269
284
|
*
|
|
270
285
|
* <br/><br/>Automatic management zone rules will apply again to entities without a security context.
|
|
271
286
|
*
|
|
272
|
-
* @returns Success
|
|
287
|
+
* @returns {Promise<SecurityContextResultDto>} Success
|
|
273
288
|
*
|
|
274
289
|
* @example <caption>Code example</caption>
|
|
275
290
|
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -278,6 +293,11 @@ export declare class MonitoredEntitiesClient {
|
|
|
278
293
|
* await monitoredEntitiesClient.deleteSecurityContext({
|
|
279
294
|
* entitySelector: "...",
|
|
280
295
|
* });
|
|
296
|
+
*
|
|
297
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
298
|
+
* @throws {InvalidResponseError}
|
|
299
|
+
* @throws {ApiClientError}
|
|
300
|
+
* @throws {ClientRequestError}
|
|
281
301
|
*/
|
|
282
302
|
deleteSecurityContext(config: {
|
|
283
303
|
/**
|
|
@@ -358,7 +378,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
358
378
|
*
|
|
359
379
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
360
380
|
*
|
|
361
|
-
* @returns Success
|
|
381
|
+
* @returns {Promise<Entity>} Success
|
|
362
382
|
*
|
|
363
383
|
* @example <caption>Code example</caption>
|
|
364
384
|
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -366,6 +386,11 @@ export declare class MonitoredEntitiesClient {
|
|
|
366
386
|
* const data = await monitoredEntitiesClient.getEntity({
|
|
367
387
|
* entityId: "...",
|
|
368
388
|
* });
|
|
389
|
+
*
|
|
390
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
391
|
+
* @throws {InvalidResponseError}
|
|
392
|
+
* @throws {ApiClientError}
|
|
393
|
+
* @throws {ClientRequestError}
|
|
369
394
|
*/
|
|
370
395
|
getEntity(config: {
|
|
371
396
|
/** The ID of the required entity. */ entityId: string;
|
|
@@ -423,12 +448,17 @@ export declare class MonitoredEntitiesClient {
|
|
|
423
448
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
424
449
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
425
450
|
*
|
|
426
|
-
* @returns Success
|
|
451
|
+
* @returns {Promise<EntityTypeList>} Success
|
|
427
452
|
*
|
|
428
453
|
* @example <caption>Code example</caption>
|
|
429
454
|
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
430
455
|
*
|
|
431
456
|
* const data = await monitoredEntitiesClient.getEntityTypes();
|
|
457
|
+
*
|
|
458
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
459
|
+
* @throws {InvalidResponseError}
|
|
460
|
+
* @throws {ApiClientError}
|
|
461
|
+
* @throws {ClientRequestError}
|
|
432
462
|
*/
|
|
433
463
|
getEntityTypes(config?: {
|
|
434
464
|
/**
|
|
@@ -452,7 +482,7 @@ export declare class MonitoredEntitiesClient {
|
|
|
452
482
|
*
|
|
453
483
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
454
484
|
*
|
|
455
|
-
* @returns Success
|
|
485
|
+
* @returns {Promise<EntityType>} Success
|
|
456
486
|
*
|
|
457
487
|
* @example <caption>Code example</caption>
|
|
458
488
|
* import { monitoredEntitiesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -460,6 +490,11 @@ export declare class MonitoredEntitiesClient {
|
|
|
460
490
|
* const data = await monitoredEntitiesClient.getEntityType({
|
|
461
491
|
* type: "...",
|
|
462
492
|
* });
|
|
493
|
+
*
|
|
494
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
495
|
+
* @throws {InvalidResponseError}
|
|
496
|
+
* @throws {ApiClientError}
|
|
497
|
+
* @throws {ClientRequestError}
|
|
463
498
|
*/
|
|
464
499
|
getEntityType(config: {
|
|
465
500
|
/** The required entity type. */ type: string;
|
|
@@ -19,7 +19,7 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
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
|
|
22
|
+
* @returns {Promise<CustomEntityTags>} Success
|
|
23
23
|
*
|
|
24
24
|
* @example <caption>Code example</caption>
|
|
25
25
|
* import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -28,6 +28,11 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
28
28
|
* await monitoredEntitiesCustomTagsClient.getTags({
|
|
29
29
|
* entitySelector: "...",
|
|
30
30
|
* });
|
|
31
|
+
*
|
|
32
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
33
|
+
* @throws {InvalidResponseError}
|
|
34
|
+
* @throws {ApiClientError}
|
|
35
|
+
* @throws {ClientRequestError}
|
|
31
36
|
*/
|
|
32
37
|
getTags(config: {
|
|
33
38
|
/**
|
|
@@ -108,7 +113,7 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
108
113
|
*
|
|
109
114
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>All existing tags remain unaffected.
|
|
110
115
|
*
|
|
111
|
-
* @returns Success
|
|
116
|
+
* @returns {Promise<AddedEntityTags>} Success
|
|
112
117
|
*
|
|
113
118
|
* @example <caption>Code example</caption>
|
|
114
119
|
* import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -118,6 +123,11 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
118
123
|
* entitySelector: "...",
|
|
119
124
|
* body: { tags: [{ key: "..." }] },
|
|
120
125
|
* });
|
|
126
|
+
*
|
|
127
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
128
|
+
* @throws {InvalidResponseError}
|
|
129
|
+
* @throws {ApiClientError}
|
|
130
|
+
* @throws {ClientRequestError}
|
|
121
131
|
*/
|
|
122
132
|
postTags(config: {
|
|
123
133
|
body: AddEntityTags;
|
|
@@ -199,7 +209,7 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
199
209
|
*
|
|
200
210
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings
|
|
201
211
|
*
|
|
202
|
-
* @returns Success
|
|
212
|
+
* @returns {Promise<DeletedEntityTags>} Success
|
|
203
213
|
*
|
|
204
214
|
* @example <caption>Code example</caption>
|
|
205
215
|
* import { monitoredEntitiesCustomTagsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -209,6 +219,11 @@ export declare class MonitoredEntitiesCustomTagsClient {
|
|
|
209
219
|
* key: "...",
|
|
210
220
|
* entitySelector: "...",
|
|
211
221
|
* });
|
|
222
|
+
*
|
|
223
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
224
|
+
* @throws {InvalidResponseError}
|
|
225
|
+
* @throws {ApiClientError}
|
|
226
|
+
* @throws {ClientRequestError}
|
|
212
227
|
*/
|
|
213
228
|
deleteTags(config: {
|
|
214
229
|
/**
|
|
@@ -16,13 +16,18 @@ export declare class MonitoredEntitiesMonitoringStateClient {
|
|
|
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
|
|
19
|
+
* @returns {Promise<MonitoredStates>} Success
|
|
20
20
|
*
|
|
21
21
|
* @example <caption>Code example</caption>
|
|
22
22
|
* import { monitoredEntitiesMonitoringStateClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
23
23
|
*
|
|
24
24
|
* const data =
|
|
25
25
|
* await monitoredEntitiesMonitoringStateClient.getStates();
|
|
26
|
+
*
|
|
27
|
+
* @throws {ErrorEnvelopeError} Unavailable | Client side error. | Server side error.
|
|
28
|
+
* @throws {InvalidResponseError}
|
|
29
|
+
* @throws {ApiClientError}
|
|
30
|
+
* @throws {ClientRequestError}
|
|
26
31
|
*/
|
|
27
32
|
getStates(config?: {
|
|
28
33
|
/**
|
|
@@ -74,6 +79,42 @@ export declare class MonitoredEntitiesMonitoringStateClient {
|
|
|
74
79
|
*
|
|
75
80
|
* The maximum string length is 2,000 characters.
|
|
76
81
|
*/ entitySelector?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The start of the requested timeframe.
|
|
84
|
+
*
|
|
85
|
+
* You can use one of the following formats:
|
|
86
|
+
* * Timestamp in UTC milliseconds.
|
|
87
|
+
* * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
|
|
88
|
+
* * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
|
|
89
|
+
* You can also specify relative timeframe without an alignment: `now-NU`.
|
|
90
|
+
* Supported time units for the relative timeframe are:
|
|
91
|
+
* * `m`: minutes
|
|
92
|
+
* * `h`: hours
|
|
93
|
+
* * `d`: days
|
|
94
|
+
* * `w`: weeks
|
|
95
|
+
* * `M`: months
|
|
96
|
+
* * `y`: years
|
|
97
|
+
*
|
|
98
|
+
* If not set, the relative timeframe of 24 hours is used (`now-24h`).
|
|
99
|
+
*/ from?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The end of the requested timeframe.
|
|
102
|
+
*
|
|
103
|
+
* You can use one of the following formats:
|
|
104
|
+
* * Timestamp in UTC milliseconds.
|
|
105
|
+
* * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
|
|
106
|
+
* * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
|
|
107
|
+
* You can also specify relative timeframe without an alignment: `now-NU`.
|
|
108
|
+
* Supported time units for the relative timeframe are:
|
|
109
|
+
* * `m`: minutes
|
|
110
|
+
* * `h`: hours
|
|
111
|
+
* * `d`: days
|
|
112
|
+
* * `w`: weeks
|
|
113
|
+
* * `M`: months
|
|
114
|
+
* * `y`: years
|
|
115
|
+
*
|
|
116
|
+
* If not set, the current timestamp is used.
|
|
117
|
+
*/ to?: string;
|
|
77
118
|
abortSignal?: AbortSignal;
|
|
78
119
|
}): Promise<MonitoredStates>;
|
|
79
120
|
}
|
|
@@ -21,15 +21,22 @@ export declare class NetworkZonesClient {
|
|
|
21
21
|
*
|
|
22
22
|
* **Required scope:** environment-api:network-zones:read<br/>**Required permission:** environment:roles:viewer
|
|
23
23
|
*
|
|
24
|
-
* @returns Success
|
|
24
|
+
* @returns {Promise<NetworkZoneSettings>} Success
|
|
25
25
|
*
|
|
26
26
|
* @example <caption>Code example</caption>
|
|
27
27
|
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28
28
|
*
|
|
29
29
|
* const data =
|
|
30
30
|
* await networkZonesClient.getNetworkZoneSettings();
|
|
31
|
+
*
|
|
32
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
33
|
+
* @throws {InvalidResponseError}
|
|
34
|
+
* @throws {ApiClientError}
|
|
35
|
+
* @throws {ClientRequestError}
|
|
31
36
|
*/
|
|
32
|
-
getNetworkZoneSettings(
|
|
37
|
+
getNetworkZoneSettings(config?: {
|
|
38
|
+
abortSignal?: AbortSignal;
|
|
39
|
+
} | AbortSignal): Promise<NetworkZoneSettings>;
|
|
33
40
|
/**
|
|
34
41
|
* Updates the global configuration of network zones
|
|
35
42
|
*
|
|
@@ -42,6 +49,11 @@ export declare class NetworkZonesClient {
|
|
|
42
49
|
* await networkZonesClient.updateNetworkZoneSettings({
|
|
43
50
|
* body: {},
|
|
44
51
|
* });
|
|
52
|
+
*
|
|
53
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
54
|
+
* @throws {InvalidResponseError}
|
|
55
|
+
* @throws {ApiClientError}
|
|
56
|
+
* @throws {ClientRequestError}
|
|
45
57
|
*/
|
|
46
58
|
updateNetworkZoneSettings(config: {
|
|
47
59
|
body: NetworkZoneSettings;
|
|
@@ -52,20 +64,27 @@ export declare class NetworkZonesClient {
|
|
|
52
64
|
*
|
|
53
65
|
* **Required scope:** environment-api:network-zones:read<br/>**Required permission:** environment:roles:viewer
|
|
54
66
|
*
|
|
55
|
-
* @returns Success
|
|
67
|
+
* @returns {Promise<NetworkZoneList>} Success
|
|
56
68
|
*
|
|
57
69
|
* @example <caption>Code example</caption>
|
|
58
70
|
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
59
71
|
*
|
|
60
72
|
* const data = await networkZonesClient.getAllNetworkZones();
|
|
73
|
+
*
|
|
74
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
75
|
+
* @throws {InvalidResponseError}
|
|
76
|
+
* @throws {ApiClientError}
|
|
77
|
+
* @throws {ClientRequestError}
|
|
61
78
|
*/
|
|
62
|
-
getAllNetworkZones(
|
|
79
|
+
getAllNetworkZones(config?: {
|
|
80
|
+
abortSignal?: AbortSignal;
|
|
81
|
+
} | AbortSignal): Promise<NetworkZoneList>;
|
|
63
82
|
/**
|
|
64
83
|
* Gets parameters of the specified network zone
|
|
65
84
|
*
|
|
66
85
|
* **Required scope:** environment-api:network-zones:read<br/>**Required permission:** environment:roles:viewer
|
|
67
86
|
*
|
|
68
|
-
* @returns Success
|
|
87
|
+
* @returns {Promise<NetworkZone>} Success
|
|
69
88
|
*
|
|
70
89
|
* @example <caption>Code example</caption>
|
|
71
90
|
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -73,6 +92,11 @@ export declare class NetworkZonesClient {
|
|
|
73
92
|
* const data = await networkZonesClient.getSingleNetworkZone({
|
|
74
93
|
* id: "...",
|
|
75
94
|
* });
|
|
95
|
+
*
|
|
96
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
97
|
+
* @throws {InvalidResponseError}
|
|
98
|
+
* @throws {ApiClientError}
|
|
99
|
+
* @throws {ClientRequestError}
|
|
76
100
|
*/
|
|
77
101
|
getSingleNetworkZone(config: {
|
|
78
102
|
/** The ID of the required network zone. */ id: string;
|
|
@@ -85,7 +109,7 @@ export declare class NetworkZonesClient {
|
|
|
85
109
|
*
|
|
86
110
|
* The ID is not case sensitive. Dynatrace stores the ID in lowercase.
|
|
87
111
|
*
|
|
88
|
-
* @returns Success. The new network zone has been created. The response body contains the ID of the new network zone.
|
|
112
|
+
* @returns {Promise<EntityShortRepresentation | void>} Success. The new network zone has been created. The response body contains the ID of the new network zone.
|
|
89
113
|
*
|
|
90
114
|
* @example <caption>Code example</caption>
|
|
91
115
|
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -95,6 +119,11 @@ export declare class NetworkZonesClient {
|
|
|
95
119
|
* id: "...",
|
|
96
120
|
* body: {},
|
|
97
121
|
* });
|
|
122
|
+
*
|
|
123
|
+
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
|
|
124
|
+
* @throws {InvalidResponseError}
|
|
125
|
+
* @throws {ApiClientError}
|
|
126
|
+
* @throws {ClientRequestError}
|
|
98
127
|
*/
|
|
99
128
|
createOrUpdateNetworkZone(config: {
|
|
100
129
|
body: NetworkZone;
|
|
@@ -120,6 +149,11 @@ export declare class NetworkZonesClient {
|
|
|
120
149
|
* const data = await networkZonesClient.deleteNetworkZone({
|
|
121
150
|
* id: "...",
|
|
122
151
|
* });
|
|
152
|
+
*
|
|
153
|
+
* @throws {ErrorEnvelopeError} Failed. See error message in the response body for details. | Client side error. | Server side error.
|
|
154
|
+
* @throws {InvalidResponseError}
|
|
155
|
+
* @throws {ApiClientError}
|
|
156
|
+
* @throws {ClientRequestError}
|
|
123
157
|
*/
|
|
124
158
|
deleteNetworkZone(config: {
|
|
125
159
|
/** The ID of the network zone to be deleted. */ id: string;
|
|
@@ -130,7 +164,7 @@ export declare class NetworkZonesClient {
|
|
|
130
164
|
*
|
|
131
165
|
* **Required scope:** environment-api:network-zones:read<br/>**Required permission:** environment:roles:manage-settings
|
|
132
166
|
*
|
|
133
|
-
* @returns Success
|
|
167
|
+
* @returns {Promise<NetworkZoneConnectionStatistics>} Success
|
|
134
168
|
*
|
|
135
169
|
* @example <caption>Code example</caption>
|
|
136
170
|
* import { networkZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -138,6 +172,11 @@ export declare class NetworkZonesClient {
|
|
|
138
172
|
* const data = await networkZonesClient.getHostStats({
|
|
139
173
|
* id: "...",
|
|
140
174
|
* });
|
|
175
|
+
*
|
|
176
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
177
|
+
* @throws {InvalidResponseError}
|
|
178
|
+
* @throws {ApiClientError}
|
|
179
|
+
* @throws {ClientRequestError}
|
|
141
180
|
*/
|
|
142
181
|
getHostStats(config: {
|
|
143
182
|
/** The ID of the required network zone. */ id: string;
|