@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
|
@@ -22,12 +22,17 @@ export declare class ProblemsClient {
|
|
|
22
22
|
*
|
|
23
23
|
* **Required scope:** environment-api:problems:read<br/>**Required permission:** environment:roles:viewer
|
|
24
24
|
*
|
|
25
|
-
* @returns Success
|
|
25
|
+
* @returns {Promise<Problems>} Success
|
|
26
26
|
*
|
|
27
27
|
* @example <caption>Code example</caption>
|
|
28
28
|
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
29
29
|
*
|
|
30
30
|
* const data = await problemsClient.getProblems();
|
|
31
|
+
*
|
|
32
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
33
|
+
* @throws {InvalidResponseError}
|
|
34
|
+
* @throws {ApiClientError}
|
|
35
|
+
* @throws {ClientRequestError}
|
|
31
36
|
*/
|
|
32
37
|
getProblems(config?: {
|
|
33
38
|
/**
|
|
@@ -172,7 +177,7 @@ export declare class ProblemsClient {
|
|
|
172
177
|
*
|
|
173
178
|
* **Required scope:** environment-api:problems:read<br/>**Required permission:** environment:roles:viewer
|
|
174
179
|
*
|
|
175
|
-
* @returns Success
|
|
180
|
+
* @returns {Promise<Problem>} Success
|
|
176
181
|
*
|
|
177
182
|
* @example <caption>Code example</caption>
|
|
178
183
|
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -180,6 +185,11 @@ export declare class ProblemsClient {
|
|
|
180
185
|
* const data = await problemsClient.getProblem({
|
|
181
186
|
* problemId: "...",
|
|
182
187
|
* });
|
|
188
|
+
*
|
|
189
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
190
|
+
* @throws {InvalidResponseError}
|
|
191
|
+
* @throws {ApiClientError}
|
|
192
|
+
* @throws {ClientRequestError}
|
|
183
193
|
*/
|
|
184
194
|
getProblem(config: {
|
|
185
195
|
/** The ID of the required problem. */ problemId: string;
|
|
@@ -201,7 +211,7 @@ export declare class ProblemsClient {
|
|
|
201
211
|
*
|
|
202
212
|
* **Required scope:** environment-api:problems:write<br/>**Required permission:** environment:roles:viewer
|
|
203
213
|
*
|
|
204
|
-
* @returns Success
|
|
214
|
+
* @returns {Promise<ProblemCloseResult | void>} Success
|
|
205
215
|
*
|
|
206
216
|
* @example <caption>Code example</caption>
|
|
207
217
|
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -210,6 +220,11 @@ export declare class ProblemsClient {
|
|
|
210
220
|
* problemId: "...",
|
|
211
221
|
* body: { message: "..." },
|
|
212
222
|
* });
|
|
223
|
+
*
|
|
224
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
225
|
+
* @throws {InvalidResponseError}
|
|
226
|
+
* @throws {ApiClientError}
|
|
227
|
+
* @throws {ClientRequestError}
|
|
213
228
|
*/
|
|
214
229
|
closeProblem(config: {
|
|
215
230
|
body: ProblemCloseRequestDtoImpl;
|
|
@@ -221,7 +236,7 @@ export declare class ProblemsClient {
|
|
|
221
236
|
*
|
|
222
237
|
* **Required scope:** environment-api:problems:read<br/>**Required permission:** environment:roles:viewer
|
|
223
238
|
*
|
|
224
|
-
* @returns Success
|
|
239
|
+
* @returns {Promise<CommentsList>} Success
|
|
225
240
|
*
|
|
226
241
|
* @example <caption>Code example</caption>
|
|
227
242
|
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -229,6 +244,11 @@ export declare class ProblemsClient {
|
|
|
229
244
|
* const data = await problemsClient.getComments({
|
|
230
245
|
* problemId: "...",
|
|
231
246
|
* });
|
|
247
|
+
*
|
|
248
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
249
|
+
* @throws {InvalidResponseError}
|
|
250
|
+
* @throws {ApiClientError}
|
|
251
|
+
* @throws {ClientRequestError}
|
|
232
252
|
*/
|
|
233
253
|
getComments(config: {
|
|
234
254
|
/** The ID of the required problem. */ problemId: string;
|
|
@@ -260,6 +280,11 @@ export declare class ProblemsClient {
|
|
|
260
280
|
* problemId: "...",
|
|
261
281
|
* body: { message: "..." },
|
|
262
282
|
* });
|
|
283
|
+
*
|
|
284
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
285
|
+
* @throws {InvalidResponseError}
|
|
286
|
+
* @throws {ApiClientError}
|
|
287
|
+
* @throws {ClientRequestError}
|
|
263
288
|
*/
|
|
264
289
|
createComment(config: {
|
|
265
290
|
body: CommentRequestDtoImpl;
|
|
@@ -271,7 +296,7 @@ export declare class ProblemsClient {
|
|
|
271
296
|
*
|
|
272
297
|
* **Required scope:** environment-api:problems:read<br/>**Required permission:** environment:roles:viewer
|
|
273
298
|
*
|
|
274
|
-
* @returns Success
|
|
299
|
+
* @returns {Promise<Comment>} Success
|
|
275
300
|
*
|
|
276
301
|
* @example <caption>Code example</caption>
|
|
277
302
|
* import { problemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -280,6 +305,11 @@ export declare class ProblemsClient {
|
|
|
280
305
|
* problemId: "...",
|
|
281
306
|
* commentId: "...",
|
|
282
307
|
* });
|
|
308
|
+
*
|
|
309
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
310
|
+
* @throws {InvalidResponseError}
|
|
311
|
+
* @throws {ApiClientError}
|
|
312
|
+
* @throws {ClientRequestError}
|
|
283
313
|
*/
|
|
284
314
|
getComment(config: {
|
|
285
315
|
/** The ID of the required problem. */ problemId: string;
|
|
@@ -299,6 +329,11 @@ export declare class ProblemsClient {
|
|
|
299
329
|
* commentId: "...",
|
|
300
330
|
* body: { message: "..." },
|
|
301
331
|
* });
|
|
332
|
+
*
|
|
333
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
334
|
+
* @throws {InvalidResponseError}
|
|
335
|
+
* @throws {ApiClientError}
|
|
336
|
+
* @throws {ClientRequestError}
|
|
302
337
|
*/
|
|
303
338
|
updateComment(config: {
|
|
304
339
|
body: CommentRequestDtoImpl;
|
|
@@ -318,6 +353,11 @@ export declare class ProblemsClient {
|
|
|
318
353
|
* problemId: "...",
|
|
319
354
|
* commentId: "...",
|
|
320
355
|
* });
|
|
356
|
+
*
|
|
357
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
358
|
+
* @throws {InvalidResponseError}
|
|
359
|
+
* @throws {ApiClientError}
|
|
360
|
+
* @throws {ClientRequestError}
|
|
321
361
|
*/
|
|
322
362
|
deleteComment(config: {
|
|
323
363
|
/** The ID of the required problem. */ problemId: string;
|
|
@@ -16,12 +16,17 @@ export declare class ReleasesClient {
|
|
|
16
16
|
*
|
|
17
17
|
* **Required scope:** environment-api:releases:read<br/>**Required permission:** environment:roles:viewer
|
|
18
18
|
*
|
|
19
|
-
* @returns Success
|
|
19
|
+
* @returns {Promise<Releases>} Success
|
|
20
20
|
*
|
|
21
21
|
* @example <caption>Code example</caption>
|
|
22
22
|
* import { releasesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
23
23
|
*
|
|
24
24
|
* const data = await releasesClient.getReleases();
|
|
25
|
+
*
|
|
26
|
+
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
|
|
27
|
+
* @throws {InvalidResponseError}
|
|
28
|
+
* @throws {ApiClientError}
|
|
29
|
+
* @throws {ClientRequestError}
|
|
25
30
|
*/
|
|
26
31
|
getReleases(config?: {
|
|
27
32
|
/**
|
package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts
CHANGED
|
@@ -36,13 +36,18 @@ export declare class SecurityProblemsClient {
|
|
|
36
36
|
* + environment:roles:manage-security-problems
|
|
37
37
|
* + environment:roles:view-security-problems
|
|
38
38
|
*
|
|
39
|
-
* @returns Success. The response contains the list of security problems.
|
|
39
|
+
* @returns {Promise<SecurityProblemList>} Success. The response contains the list of security problems.
|
|
40
40
|
*
|
|
41
41
|
* @example <caption>Code example</caption>
|
|
42
42
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
43
43
|
*
|
|
44
44
|
* const data =
|
|
45
45
|
* await securityProblemsClient.getSecurityProblems();
|
|
46
|
+
*
|
|
47
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
48
|
+
* @throws {InvalidResponseError}
|
|
49
|
+
* @throws {ApiClientError}
|
|
50
|
+
* @throws {ClientRequestError}
|
|
46
51
|
*/
|
|
47
52
|
getSecurityProblems(config?: {
|
|
48
53
|
/**
|
|
@@ -204,15 +209,24 @@ export declare class SecurityProblemsClient {
|
|
|
204
209
|
*
|
|
205
210
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
206
211
|
*
|
|
207
|
-
* @returns Success. The security problem(s) have been muted.
|
|
212
|
+
* @returns {Promise<SecurityProblemsBulkMuteResponse>} Success. The security problem(s) have been muted.
|
|
208
213
|
*
|
|
209
214
|
* @example <caption>Code example</caption>
|
|
210
215
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
211
216
|
*
|
|
212
217
|
* const data =
|
|
213
218
|
* await securityProblemsClient.bulkMuteSecurityProblems({
|
|
214
|
-
* body: {
|
|
219
|
+
* body: {
|
|
220
|
+
* reason:
|
|
221
|
+
* SecurityProblemsBulkMuteReason.ConfigurationNotAffected,
|
|
222
|
+
* securityProblemIds: ["..."],
|
|
223
|
+
* },
|
|
215
224
|
* });
|
|
225
|
+
*
|
|
226
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
227
|
+
* @throws {InvalidResponseError}
|
|
228
|
+
* @throws {ApiClientError}
|
|
229
|
+
* @throws {ClientRequestError}
|
|
216
230
|
*/
|
|
217
231
|
bulkMuteSecurityProblems(config: {
|
|
218
232
|
body: SecurityProblemsBulkMute;
|
|
@@ -223,15 +237,23 @@ export declare class SecurityProblemsClient {
|
|
|
223
237
|
*
|
|
224
238
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
225
239
|
*
|
|
226
|
-
* @returns Success. The security problem(s) have been un-muted.
|
|
240
|
+
* @returns {Promise<SecurityProblemsBulkUnmuteResponse>} Success. The security problem(s) have been un-muted.
|
|
227
241
|
*
|
|
228
242
|
* @example <caption>Code example</caption>
|
|
229
243
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
230
244
|
*
|
|
231
245
|
* const data =
|
|
232
246
|
* await securityProblemsClient.bulkUnmuteSecurityProblems({
|
|
233
|
-
* body: {
|
|
247
|
+
* body: {
|
|
248
|
+
* reason: SecurityProblemsBulkUnmuteReason.Affected,
|
|
249
|
+
* securityProblemIds: ["..."],
|
|
250
|
+
* },
|
|
234
251
|
* });
|
|
252
|
+
*
|
|
253
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
254
|
+
* @throws {InvalidResponseError}
|
|
255
|
+
* @throws {ApiClientError}
|
|
256
|
+
* @throws {ClientRequestError}
|
|
235
257
|
*/
|
|
236
258
|
bulkUnmuteSecurityProblems(config: {
|
|
237
259
|
body: SecurityProblemsBulkUnmute;
|
|
@@ -244,7 +266,7 @@ export declare class SecurityProblemsClient {
|
|
|
244
266
|
* + environment:roles:manage-security-problems
|
|
245
267
|
* + environment:roles:view-security-problems
|
|
246
268
|
*
|
|
247
|
-
* @returns Success. The response contains parameters of the security problem.
|
|
269
|
+
* @returns {Promise<SecurityProblemDetails>} Success. The response contains parameters of the security problem.
|
|
248
270
|
*
|
|
249
271
|
* @example <caption>Code example</caption>
|
|
250
272
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -253,6 +275,11 @@ export declare class SecurityProblemsClient {
|
|
|
253
275
|
* await securityProblemsClient.getSecurityProblem({
|
|
254
276
|
* id: "...",
|
|
255
277
|
* });
|
|
278
|
+
*
|
|
279
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
280
|
+
* @throws {InvalidResponseError}
|
|
281
|
+
* @throws {ApiClientError}
|
|
282
|
+
* @throws {ClientRequestError}
|
|
256
283
|
*/
|
|
257
284
|
getSecurityProblem(config: {
|
|
258
285
|
/** The ID of the requested security problem. */ id: string;
|
|
@@ -316,7 +343,7 @@ export declare class SecurityProblemsClient {
|
|
|
316
343
|
* + environment:roles:manage-security-problems
|
|
317
344
|
* + environment:roles:view-security-problems
|
|
318
345
|
*
|
|
319
|
-
* @returns Success. The response contains the list of security problem events.
|
|
346
|
+
* @returns {Promise<SecurityProblemEventsList>} Success. The response contains the list of security problem events.
|
|
320
347
|
*
|
|
321
348
|
* @example <caption>Code example</caption>
|
|
322
349
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -325,6 +352,11 @@ export declare class SecurityProblemsClient {
|
|
|
325
352
|
* await securityProblemsClient.getEventsForSecurityProblem({
|
|
326
353
|
* id: "...",
|
|
327
354
|
* });
|
|
355
|
+
*
|
|
356
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
357
|
+
* @throws {InvalidResponseError}
|
|
358
|
+
* @throws {ApiClientError}
|
|
359
|
+
* @throws {ClientRequestError}
|
|
328
360
|
*/
|
|
329
361
|
getEventsForSecurityProblem(config: {
|
|
330
362
|
/** The ID of the requested security problem. */ id: string;
|
|
@@ -377,8 +409,16 @@ export declare class SecurityProblemsClient {
|
|
|
377
409
|
* const data =
|
|
378
410
|
* await securityProblemsClient.muteSecurityProblem({
|
|
379
411
|
* id: "...",
|
|
380
|
-
* body: {
|
|
412
|
+
* body: {
|
|
413
|
+
* reason:
|
|
414
|
+
* SecurityProblemMuteReason.ConfigurationNotAffected,
|
|
415
|
+
* },
|
|
381
416
|
* });
|
|
417
|
+
*
|
|
418
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
419
|
+
* @throws {InvalidResponseError}
|
|
420
|
+
* @throws {ApiClientError}
|
|
421
|
+
* @throws {ClientRequestError}
|
|
382
422
|
*/
|
|
383
423
|
muteSecurityProblem(config: {
|
|
384
424
|
body: SecurityProblemMute;
|
|
@@ -392,7 +432,7 @@ export declare class SecurityProblemsClient {
|
|
|
392
432
|
* + environment:roles:manage-security-problems
|
|
393
433
|
* + environment:roles:view-security-problems
|
|
394
434
|
*
|
|
395
|
-
* @returns Success. The response contains the list of remediation items of a problem.
|
|
435
|
+
* @returns {Promise<RemediationItemList>} Success. The response contains the list of remediation items of a problem.
|
|
396
436
|
*
|
|
397
437
|
* @example <caption>Code example</caption>
|
|
398
438
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -401,6 +441,11 @@ export declare class SecurityProblemsClient {
|
|
|
401
441
|
* await securityProblemsClient.getRemediationItems({
|
|
402
442
|
* id: "...",
|
|
403
443
|
* });
|
|
444
|
+
*
|
|
445
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
446
|
+
* @throws {InvalidResponseError}
|
|
447
|
+
* @throws {ApiClientError}
|
|
448
|
+
* @throws {ClientRequestError}
|
|
404
449
|
*/
|
|
405
450
|
getRemediationItems(config: {
|
|
406
451
|
/** The ID of the requested third-party security problem. */ id: string;
|
|
@@ -433,7 +478,7 @@ export declare class SecurityProblemsClient {
|
|
|
433
478
|
*
|
|
434
479
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
435
480
|
*
|
|
436
|
-
* @returns Success. The remediation item(s) have been muted.
|
|
481
|
+
* @returns {Promise<RemediationItemsBulkMuteResponse>} Success. The remediation item(s) have been muted.
|
|
437
482
|
*
|
|
438
483
|
* @example <caption>Code example</caption>
|
|
439
484
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -441,8 +486,17 @@ export declare class SecurityProblemsClient {
|
|
|
441
486
|
* const data =
|
|
442
487
|
* await securityProblemsClient.bulkMuteRemediationItems({
|
|
443
488
|
* id: "...",
|
|
444
|
-
* body: {
|
|
489
|
+
* body: {
|
|
490
|
+
* reason:
|
|
491
|
+
* RemediationItemsBulkMuteReason.ConfigurationNotAffected,
|
|
492
|
+
* remediationItemIds: ["..."],
|
|
493
|
+
* },
|
|
445
494
|
* });
|
|
495
|
+
*
|
|
496
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
497
|
+
* @throws {InvalidResponseError}
|
|
498
|
+
* @throws {ApiClientError}
|
|
499
|
+
* @throws {ClientRequestError}
|
|
446
500
|
*/
|
|
447
501
|
bulkMuteRemediationItems(config: {
|
|
448
502
|
body: RemediationItemsBulkMute;
|
|
@@ -461,6 +515,11 @@ export declare class SecurityProblemsClient {
|
|
|
461
515
|
* await securityProblemsClient.trackingLinkBulkUpdateAndDelete(
|
|
462
516
|
* { id: "...", body: {} },
|
|
463
517
|
* );
|
|
518
|
+
*
|
|
519
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
520
|
+
* @throws {InvalidResponseError}
|
|
521
|
+
* @throws {ApiClientError}
|
|
522
|
+
* @throws {ClientRequestError}
|
|
464
523
|
*/
|
|
465
524
|
trackingLinkBulkUpdateAndDelete(config: {
|
|
466
525
|
body: RemediationItemsBulkUpdateDeleteDto;
|
|
@@ -472,7 +531,7 @@ export declare class SecurityProblemsClient {
|
|
|
472
531
|
*
|
|
473
532
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
474
533
|
*
|
|
475
|
-
* @returns Success. The remediation item(s) have been un-muted.
|
|
534
|
+
* @returns {Promise<RemediationItemsBulkUnmuteResponse>} Success. The remediation item(s) have been un-muted.
|
|
476
535
|
*
|
|
477
536
|
* @example <caption>Code example</caption>
|
|
478
537
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -480,8 +539,16 @@ export declare class SecurityProblemsClient {
|
|
|
480
539
|
* const data =
|
|
481
540
|
* await securityProblemsClient.bulkUnmuteRemediationItems({
|
|
482
541
|
* id: "...",
|
|
483
|
-
* body: {
|
|
542
|
+
* body: {
|
|
543
|
+
* reason: RemediationItemsBulkUnmuteReason.Affected,
|
|
544
|
+
* remediationItemIds: ["..."],
|
|
545
|
+
* },
|
|
484
546
|
* });
|
|
547
|
+
*
|
|
548
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
549
|
+
* @throws {InvalidResponseError}
|
|
550
|
+
* @throws {ApiClientError}
|
|
551
|
+
* @throws {ClientRequestError}
|
|
485
552
|
*/
|
|
486
553
|
bulkUnmuteRemediationItems(config: {
|
|
487
554
|
body: RemediationItemsBulkUnmute;
|
|
@@ -495,7 +562,7 @@ export declare class SecurityProblemsClient {
|
|
|
495
562
|
* + environment:roles:manage-security-problems
|
|
496
563
|
* + environment:roles:view-security-problems
|
|
497
564
|
*
|
|
498
|
-
* @returns Success. The response contains details of a single remediation item of a security problem.
|
|
565
|
+
* @returns {Promise<RemediationDetailsItem>} Success. The response contains details of a single remediation item of a security problem.
|
|
499
566
|
*
|
|
500
567
|
* @example <caption>Code example</caption>
|
|
501
568
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -505,6 +572,11 @@ export declare class SecurityProblemsClient {
|
|
|
505
572
|
* id: "...",
|
|
506
573
|
* remediationItemId: "...",
|
|
507
574
|
* });
|
|
575
|
+
*
|
|
576
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
577
|
+
* @throws {InvalidResponseError}
|
|
578
|
+
* @throws {ApiClientError}
|
|
579
|
+
* @throws {ClientRequestError}
|
|
508
580
|
*/
|
|
509
581
|
getRemediationItem(config: {
|
|
510
582
|
/** The ID of the requested third-party security problem. */ id: string;
|
|
@@ -523,8 +595,17 @@ export declare class SecurityProblemsClient {
|
|
|
523
595
|
* await securityProblemsClient.setRemediationItemMuteState({
|
|
524
596
|
* id: "...",
|
|
525
597
|
* remediationItemId: "...",
|
|
526
|
-
* body: {
|
|
598
|
+
* body: {
|
|
599
|
+
* comment: "...",
|
|
600
|
+
* muted: false,
|
|
601
|
+
* reason: RemediationItemMuteStateChangeReason.Ignore,
|
|
602
|
+
* },
|
|
527
603
|
* });
|
|
604
|
+
*
|
|
605
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
606
|
+
* @throws {InvalidResponseError}
|
|
607
|
+
* @throws {ApiClientError}
|
|
608
|
+
* @throws {ClientRequestError}
|
|
528
609
|
*/
|
|
529
610
|
setRemediationItemMuteState(config: {
|
|
530
611
|
body: RemediationItemMuteStateChange;
|
|
@@ -539,7 +620,7 @@ export declare class SecurityProblemsClient {
|
|
|
539
620
|
* + environment:roles:manage-security-problems
|
|
540
621
|
* + environment:roles:view-security-problems
|
|
541
622
|
*
|
|
542
|
-
* @returns Success. The response contains a list of remediation progress entities of a remediation item of a security problem. The number of entities returned is limited.
|
|
623
|
+
* @returns {Promise<RemediationProgressEntityList>} Success. The response contains a list of remediation progress entities of a remediation item of a security problem. The number of entities returned is limited.
|
|
543
624
|
*
|
|
544
625
|
* @example <caption>Code example</caption>
|
|
545
626
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -548,6 +629,11 @@ export declare class SecurityProblemsClient {
|
|
|
548
629
|
* await securityProblemsClient.getRemediationProgressEntities(
|
|
549
630
|
* { id: "...", remediationItemId: "..." },
|
|
550
631
|
* );
|
|
632
|
+
*
|
|
633
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
634
|
+
* @throws {InvalidResponseError}
|
|
635
|
+
* @throws {ApiClientError}
|
|
636
|
+
* @throws {ClientRequestError}
|
|
551
637
|
*/
|
|
552
638
|
getRemediationProgressEntities(config: {
|
|
553
639
|
/** The ID of the requested third-party security problem. */ id: string;
|
|
@@ -582,8 +668,13 @@ export declare class SecurityProblemsClient {
|
|
|
582
668
|
* const data =
|
|
583
669
|
* await securityProblemsClient.unmuteSecurityProblem({
|
|
584
670
|
* id: "...",
|
|
585
|
-
* body: {},
|
|
671
|
+
* body: { reason: SecurityProblemUnmuteReason.Affected },
|
|
586
672
|
* });
|
|
673
|
+
*
|
|
674
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
675
|
+
* @throws {InvalidResponseError}
|
|
676
|
+
* @throws {ApiClientError}
|
|
677
|
+
* @throws {ClientRequestError}
|
|
587
678
|
*/
|
|
588
679
|
unmuteSecurityProblem(config: {
|
|
589
680
|
body: SecurityProblemUnmute;
|
|
@@ -597,7 +688,7 @@ export declare class SecurityProblemsClient {
|
|
|
597
688
|
* + environment:roles:manage-security-problems
|
|
598
689
|
* + environment:roles:view-security-problems
|
|
599
690
|
*
|
|
600
|
-
* @returns Success. The response contains the list of vulnerable functions.
|
|
691
|
+
* @returns {Promise<VulnerableFunctionsContainer>} Success. The response contains the list of vulnerable functions.
|
|
601
692
|
*
|
|
602
693
|
* @example <caption>Code example</caption>
|
|
603
694
|
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -606,6 +697,11 @@ export declare class SecurityProblemsClient {
|
|
|
606
697
|
* await securityProblemsClient.getVulnerableFunctions({
|
|
607
698
|
* id: "...",
|
|
608
699
|
* });
|
|
700
|
+
*
|
|
701
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
702
|
+
* @throws {InvalidResponseError}
|
|
703
|
+
* @throws {ApiClientError}
|
|
704
|
+
* @throws {ClientRequestError}
|
|
609
705
|
*/
|
|
610
706
|
getVulnerableFunctions(config: {
|
|
611
707
|
/** The ID of the requested third-party security problem. */ id: string;
|
package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts
CHANGED
|
@@ -32,12 +32,17 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
32
32
|
* 1. Set the **timeFrame** parameter to `GTF`.
|
|
33
33
|
* 2. Provide the timeframe in **from** and **to** parameters.
|
|
34
34
|
*
|
|
35
|
-
* @returns Success. The response contains the parameters and calculated values of the requested SLO.
|
|
35
|
+
* @returns {Promise<SLOs>} Success. The response contains the parameters and calculated values of the requested SLO.
|
|
36
36
|
*
|
|
37
37
|
* @example <caption>Code example</caption>
|
|
38
38
|
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
39
39
|
*
|
|
40
40
|
* const data = await serviceLevelObjectivesClient.getSlo();
|
|
41
|
+
*
|
|
42
|
+
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
|
|
43
|
+
* @throws {InvalidResponseError}
|
|
44
|
+
* @throws {ApiClientError}
|
|
45
|
+
* @throws {ClientRequestError}
|
|
41
46
|
*/
|
|
42
47
|
getSlo(config?: {
|
|
43
48
|
/**
|
|
@@ -142,12 +147,19 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
142
147
|
*
|
|
143
148
|
* const data = await serviceLevelObjectivesClient.createSlo({
|
|
144
149
|
* body: {
|
|
150
|
+
* evaluationType:
|
|
151
|
+
* SloConfigItemDtoImplEvaluationType.Aggregate,
|
|
145
152
|
* name: "Payment service availability",
|
|
146
153
|
* target: 95,
|
|
147
154
|
* timeframe: "-1d",
|
|
148
155
|
* warning: 97.5,
|
|
149
156
|
* },
|
|
150
157
|
* });
|
|
158
|
+
*
|
|
159
|
+
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Failed. Conflicting resource. | Internal server error. | Client side error. | Server side error.
|
|
160
|
+
* @throws {InvalidResponseError}
|
|
161
|
+
* @throws {ApiClientError}
|
|
162
|
+
* @throws {ClientRequestError}
|
|
151
163
|
*/
|
|
152
164
|
createSlo(config: {
|
|
153
165
|
body: SloConfigItemDtoImpl;
|
|
@@ -162,7 +174,7 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
162
174
|
*
|
|
163
175
|
* <br/><br/>If **from** and **to** parameters are provided, the SLO is calculated for that timeframe; otherwise the SLO's own timeframe is used.
|
|
164
176
|
*
|
|
165
|
-
* @returns Success. The response contains the parameters and calculated values of the requested SLO.
|
|
177
|
+
* @returns {Promise<SLO>} Success. The response contains the parameters and calculated values of the requested SLO.
|
|
166
178
|
*
|
|
167
179
|
* @example <caption>Code example</caption>
|
|
168
180
|
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -170,6 +182,11 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
170
182
|
* const data = await serviceLevelObjectivesClient.getSloById({
|
|
171
183
|
* id: "...",
|
|
172
184
|
* });
|
|
185
|
+
*
|
|
186
|
+
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Failed. The requested resource doesn't exist. | Client side error. | Server side error.
|
|
187
|
+
* @throws {InvalidResponseError}
|
|
188
|
+
* @throws {ApiClientError}
|
|
189
|
+
* @throws {ClientRequestError}
|
|
173
190
|
*/
|
|
174
191
|
getSloById(config: {
|
|
175
192
|
/** The ID of the required SLO. */ id: string;
|
|
@@ -233,12 +250,19 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
233
250
|
* await serviceLevelObjectivesClient.updateSloById({
|
|
234
251
|
* id: "...",
|
|
235
252
|
* body: {
|
|
253
|
+
* evaluationType:
|
|
254
|
+
* SloConfigItemDtoImplEvaluationType.Aggregate,
|
|
236
255
|
* name: "Payment service availability",
|
|
237
256
|
* target: 95,
|
|
238
257
|
* timeframe: "-1d",
|
|
239
258
|
* warning: 97.5,
|
|
240
259
|
* },
|
|
241
260
|
* });
|
|
261
|
+
*
|
|
262
|
+
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Internal server error. | Client side error. | Server side error.
|
|
263
|
+
* @throws {InvalidResponseError}
|
|
264
|
+
* @throws {ApiClientError}
|
|
265
|
+
* @throws {ClientRequestError}
|
|
242
266
|
*/
|
|
243
267
|
updateSloById(config: {
|
|
244
268
|
body: SloConfigItemDtoImpl;
|
|
@@ -258,6 +282,11 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
258
282
|
* const data = await serviceLevelObjectivesClient.deleteSlo({
|
|
259
283
|
* id: "...",
|
|
260
284
|
* });
|
|
285
|
+
*
|
|
286
|
+
* @throws {ErrorEnvelopeError} Failed. The requested resource doesn't exist. | Failed. Conflicting resource. | Internal server error. | Client side error. | Server side error.
|
|
287
|
+
* @throws {InvalidResponseError}
|
|
288
|
+
* @throws {ApiClientError}
|
|
289
|
+
* @throws {ClientRequestError}
|
|
261
290
|
*/
|
|
262
291
|
deleteSlo(config: {
|
|
263
292
|
id: string;
|
|
@@ -270,7 +299,7 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
270
299
|
* + environment:roles:manage-settings
|
|
271
300
|
* + settings:objects:write
|
|
272
301
|
*
|
|
273
|
-
* @returns Success. The new alert has been created. The response contains the parameters of the new alert. The **location** response header contains the ID of the new alert.
|
|
302
|
+
* @returns {Promise<EntityShortRepresentation>} Success. The new alert has been created. The response contains the parameters of the new alert. The **location** response header contains the ID of the new alert.
|
|
274
303
|
*
|
|
275
304
|
* @example <caption>Code example</caption>
|
|
276
305
|
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -278,9 +307,18 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
278
307
|
* const data = await serviceLevelObjectivesClient.createAlert(
|
|
279
308
|
* {
|
|
280
309
|
* id: "...",
|
|
281
|
-
* body: {
|
|
310
|
+
* body: {
|
|
311
|
+
* alertName: "...",
|
|
312
|
+
* alertThreshold: 10,
|
|
313
|
+
* alertType: AbstractSloAlertDtoAlertType.BurnRate,
|
|
314
|
+
* },
|
|
282
315
|
* },
|
|
283
316
|
* );
|
|
317
|
+
*
|
|
318
|
+
* @throws {ErrorEnvelopeError} Failed. The input is invalid. | Failed. The requested resource doesn't exist. | Precondition for creating an SLO alert not fulfilled. The SLO func metric cannot be created or is not created by the SLO. | Internal server error. | Client side error. | Server side error.
|
|
319
|
+
* @throws {InvalidResponseError}
|
|
320
|
+
* @throws {ApiClientError}
|
|
321
|
+
* @throws {ClientRequestError}
|
|
284
322
|
*/
|
|
285
323
|
createAlert(config: {
|
|
286
324
|
body: AbstractSloAlertDto;
|
package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare class SettingsManagementZonesClient {
|
|
|
20
20
|
*
|
|
21
21
|
* <br/><br/>Allows to convert from an objectId to the ID of the management zone, and can serve as a replacement for [the old config endpoint](index.jsp?urls.primaryName=Configuration%20API#/Management%20zones) for that purpose.
|
|
22
22
|
*
|
|
23
|
-
* @returns Success
|
|
23
|
+
* @returns {Promise<ManagementZoneDetails>} Success
|
|
24
24
|
*
|
|
25
25
|
* @example <caption>Code example</caption>
|
|
26
26
|
* import { settingsManagementZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -29,6 +29,11 @@ export declare class SettingsManagementZonesClient {
|
|
|
29
29
|
* await settingsManagementZonesClient.getManagementZoneDetails(
|
|
30
30
|
* { objectId: "..." },
|
|
31
31
|
* );
|
|
32
|
+
*
|
|
33
|
+
* @throws {ErrorEnvelopeError} Failed. Forbidden. | No object available for the given objectId | Client side error. | Server side error.
|
|
34
|
+
* @throws {InvalidResponseError}
|
|
35
|
+
* @throws {ApiClientError}
|
|
36
|
+
* @throws {ClientRequestError}
|
|
32
37
|
*/
|
|
33
38
|
getManagementZoneDetails(config: {
|
|
34
39
|
/** The ID of the required settings object. */ objectId: string;
|