@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.
Files changed (226) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +3741 -960
  3. package/cjs/index.js +12427 -7375
  4. package/dynatrace-metadata.json +2 -2
  5. package/esm/index.js +12629 -7397
  6. package/package.json +3 -2
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +28 -4
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +34 -4
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +27 -6
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-active-gate-groups-api.d.ts +36 -0
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +12 -2
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +61 -7
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +34 -4
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +12 -2
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +12 -2
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +7 -1
  17. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +35 -5
  18. package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +6 -1
  19. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +46 -8
  20. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +158 -26
  21. package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
  22. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +25 -5
  23. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +30 -4
  24. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +18 -3
  25. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +42 -7
  26. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +18 -3
  27. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +42 -1
  28. package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +46 -7
  29. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +45 -5
  30. package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +6 -1
  31. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +114 -18
  32. package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +42 -4
  33. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +6 -1
  34. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +62 -10
  35. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +12 -2
  36. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +6 -1
  37. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +103 -16
  38. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +28 -3
  39. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +54 -5
  40. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-gateway-errors-handler.d.ts +2 -0
  41. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/biz-event-ingest-result-error.d.ts +1 -1
  42. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-envelope-error.d.ts +1 -1
  43. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/index.d.ts +6 -8
  44. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-array-error.d.ts +1 -1
  45. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-error.d.ts +1 -1
  46. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/validation-response-error.d.ts +1 -1
  47. package/types/packages/client/classic-environment-v2/src/lib/models/abstract-credentials-response-element.d.ts +14 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/abstract-slo-alert-dto.d.ts +6 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-auto-update-config.d.ts +10 -0
  50. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-global-auto-update-config.d.ts +8 -0
  51. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group.d.ts +9 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-group.transformation.d.ts +6 -0
  53. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups.d.ts +10 -0
  54. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-groups.transformation.d.ts +7 -0
  55. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +6 -0
  56. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-create.d.ts +3 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-info-dto.d.ts +3 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token.d.ts +3 -0
  59. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate.d.ts +21 -0
  60. package/types/packages/client/classic-environment-v2/src/lib/models/affected-entities.d.ts +6 -0
  61. package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.d.ts +3 -0
  62. package/types/packages/client/classic-environment-v2/src/lib/models/any-value.d.ts +2 -3
  63. package/types/packages/client/classic-environment-v2/src/lib/models/any-value.transformation.d.ts +3 -3
  64. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +5 -5
  65. package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +5 -5
  66. package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +6 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/applied-filter.d.ts +3 -0
  68. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +6 -0
  69. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint-payload-item.d.ts +3 -0
  70. package/types/packages/client/classic-environment-v2/src/lib/models/attack-entrypoint.d.ts +6 -0
  71. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem-assessment-dto.d.ts +6 -0
  72. package/types/packages/client/classic-environment-v2/src/lib/models/attack-security-problem.d.ts +3 -0
  73. package/types/packages/client/classic-environment-v2/src/lib/models/attack.d.ts +30 -0
  74. package/types/packages/client/classic-environment-v2/src/lib/models/attacker.d.ts +3 -0
  75. package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry.d.ts +25 -0
  76. package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.d.ts +18 -0
  77. package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.transformation.d.ts +9 -0
  78. package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts +14 -0
  79. package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.transformation.d.ts +8 -0
  80. package/types/packages/client/classic-environment-v2/src/lib/models/code-level-vulnerability-details.d.ts +6 -0
  81. package/types/packages/client/classic-environment-v2/src/lib/models/code-location.d.ts +3 -0
  82. package/types/packages/client/classic-environment-v2/src/lib/models/complex-constraint.d.ts +3 -0
  83. package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +3 -0
  84. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-type.d.ts +3 -0
  85. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element.d.ts +9 -0
  86. package/types/packages/client/classic-environment-v2/src/lib/models/credentials-type.d.ts +6 -0
  87. package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +16 -0
  88. package/types/packages/client/classic-environment-v2/src/lib/models/credentials.transformation.d.ts +6 -0
  89. package/types/packages/client/classic-environment-v2/src/lib/models/custom-device-creation.d.ts +3 -0
  90. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-allowed-location-dto.d.ts +1 -1
  91. package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +1 -1
  92. package/types/packages/client/classic-environment-v2/src/lib/models/datasource-definition.d.ts +3 -0
  93. package/types/packages/client/classic-environment-v2/src/lib/models/davis-security-advice.d.ts +6 -0
  94. package/types/packages/client/classic-environment-v2/src/lib/models/entity-stub.d.ts +3 -0
  95. package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +12 -0
  96. package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.d.ts +6 -0
  97. package/types/packages/client/classic-environment-v2/src/lib/models/entrypoint-payload.d.ts +3 -0
  98. package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +3 -0
  99. package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +3 -0
  100. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.d.ts +3 -0
  101. package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest.d.ts +14 -0
  102. package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +3 -0
  103. package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +6 -0
  104. package/types/packages/client/classic-environment-v2/src/lib/models/evidence.d.ts +15 -0
  105. package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto.d.ts +3 -0
  106. package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +2 -0
  107. package/types/packages/client/classic-environment-v2/src/lib/models/execution-step.d.ts +6 -0
  108. package/types/packages/client/classic-environment-v2/src/lib/models/extension-event-dto.d.ts +3 -0
  109. package/types/packages/client/classic-environment-v2/src/lib/models/extension-monitoring-configuration.d.ts +3 -0
  110. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto.d.ts +3 -0
  111. package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto.d.ts +6 -0
  112. package/types/packages/client/classic-environment-v2/src/lib/models/extension.d.ts +6 -0
  113. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault-config.d.ts +9 -0
  114. package/types/packages/client/classic-environment-v2/src/lib/models/external-vault.d.ts +9 -0
  115. package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +26 -0
  116. package/types/packages/client/classic-environment-v2/src/lib/models/function-definition.d.ts +3 -0
  117. package/types/packages/client/classic-environment-v2/src/lib/models/http-protocol-details.d.ts +6 -0
  118. package/types/packages/client/classic-environment-v2/src/lib/models/identity-type.d.ts +8 -0
  119. package/types/packages/client/classic-environment-v2/src/lib/models/identity-type.transformation.d.ts +4 -0
  120. package/types/packages/client/classic-environment-v2/src/lib/models/identity.d.ts +14 -0
  121. package/types/packages/client/classic-environment-v2/src/lib/models/identity.transformation.d.ts +8 -0
  122. package/types/packages/client/classic-environment-v2/src/lib/models/impact.d.ts +11 -0
  123. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +14 -0
  124. package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +9 -0
  125. package/types/packages/client/classic-environment-v2/src/lib/models/list-credentials-query-type.d.ts +4 -1
  126. package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +14 -0
  127. package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +9 -0
  128. package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +3 -0
  129. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +17 -0
  130. package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-definition.d.ts +3 -0
  131. package/types/packages/client/classic-environment-v2/src/lib/models/metric-dto.d.ts +3 -0
  132. package/types/packages/client/classic-environment-v2/src/lib/models/metric-metadata-dto.d.ts +4 -0
  133. package/types/packages/client/classic-environment-v2/src/lib/models/metric-metadata-dto.transformation.d.ts +1 -0
  134. package/types/packages/client/classic-environment-v2/src/lib/models/metric-query-dql-translation.d.ts +3 -0
  135. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +3 -0
  136. package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +2 -0
  137. package/types/packages/client/classic-environment-v2/src/lib/models/metric-value-type.d.ts +3 -0
  138. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +6 -0
  139. package/types/packages/client/classic-environment-v2/src/lib/models/monitoring-configuration-dto.d.ts +3 -0
  140. package/types/packages/client/classic-environment-v2/src/lib/models/monitoring-configuration-update-dto.d.ts +3 -0
  141. package/types/packages/client/classic-environment-v2/src/lib/models/mute-state.d.ts +3 -0
  142. package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +3 -0
  143. package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +6 -0
  144. package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +3 -0
  145. package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +24 -0
  146. package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -0
  147. package/types/packages/client/classic-environment-v2/src/lib/models/protocol-details.d.ts +3 -0
  148. package/types/packages/client/classic-environment-v2/src/lib/models/related-service.d.ts +3 -0
  149. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +15 -0
  150. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-details-item.d.ts +12 -0
  151. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-mute-state-change.d.ts +3 -0
  152. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-mute-state.d.ts +3 -0
  153. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item-muting-summary.d.ts +3 -0
  154. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-item.d.ts +12 -0
  155. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-mute.d.ts +3 -0
  156. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-unmute.d.ts +3 -0
  157. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto.d.ts +7 -0
  158. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-progress-entity-assessment.d.ts +3 -0
  159. package/types/packages/client/classic-environment-v2/src/lib/models/remediation-progress-entity.d.ts +6 -0
  160. package/types/packages/client/classic-environment-v2/src/lib/models/request-information.d.ts +3 -0
  161. package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.d.ts +3 -0
  162. package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +6 -0
  163. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-changes.d.ts +9 -0
  164. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.d.ts +26 -0
  165. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.d.ts +17 -0
  166. package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.d.ts +26 -0
  167. package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +3 -0
  168. package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +20 -0
  169. package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +6 -0
  170. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-bulk-muting-summary.d.ts +3 -0
  171. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +39 -0
  172. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts +9 -0
  173. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-mute.d.ts +3 -0
  174. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-unmute.d.ts +3 -0
  175. package/types/packages/client/classic-environment-v2/src/lib/models/security-problem.d.ts +18 -0
  176. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-mute.d.ts +3 -0
  177. package/types/packages/client/classic-environment-v2/src/lib/models/security-problems-bulk-unmute.d.ts +3 -0
  178. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.d.ts +8 -0
  179. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.transformation.d.ts +2 -0
  180. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +13 -0
  181. package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -0
  182. package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.d.ts +3 -0
  183. package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +5 -0
  184. package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +14 -0
  185. package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +23 -0
  186. package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.d.ts +30 -0
  187. package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.transformation.d.ts +12 -0
  188. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location-update.d.ts +6 -0
  189. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location.d.ts +15 -1
  190. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-location.transformation.d.ts +1 -1
  191. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +3 -0
  192. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-constraint-dto.d.ts +3 -0
  193. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +6 -0
  194. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto.d.ts +6 -0
  195. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +9 -0
  196. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status.d.ts +6 -0
  197. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-monitor.d.ts +6 -0
  198. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request.d.ts +9 -0
  199. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution.d.ts +21 -0
  200. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-failed-execution-status.d.ts +3 -0
  201. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-tag-with-source-dto.d.ts +3 -0
  202. package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.d.ts +6 -0
  203. package/types/packages/client/classic-environment-v2/src/lib/models/token-credentials.d.ts +3 -0
  204. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-attack-request-header.d.ts +3 -0
  205. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-http-request-parameter.d.ts +3 -0
  206. package/types/packages/client/classic-environment-v2/src/lib/models/truncatable-list-string.d.ts +3 -0
  207. package/types/packages/client/classic-environment-v2/src/lib/models/ui-customization.d.ts +12 -0
  208. package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-customization.d.ts +3 -0
  209. package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +12 -0
  210. package/types/packages/client/classic-environment-v2/src/lib/models/user-password-credentials.d.ts +3 -0
  211. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerability.d.ts +9 -0
  212. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input-segment.d.ts +3 -0
  213. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-input.d.ts +3 -0
  214. package/types/packages/client/classic-environment-v2/src/lib/models/vulnerable-function-process-groups.d.ts +9 -0
  215. package/types/packages/client/classic-environment-v2/src/lib/utils/encoding.d.ts +1 -1
  216. package/types/packages/http-client/src/lib/types/binary.d.ts +2 -2
  217. package/types/packages/http-client/src/lib/types/http-client-response.d.ts +2 -2
  218. package/types/packages/shared-errors/src/api-client-error.d.ts +23 -0
  219. package/types/packages/shared-errors/src/api-gateway-error.d.ts +37 -0
  220. package/types/packages/shared-errors/src/client-request-error.d.ts +39 -0
  221. package/types/packages/shared-errors/src/index.d.ts +5 -0
  222. package/types/packages/shared-errors/src/invalid-response-error.d.ts +26 -0
  223. package/types/packages/shared-errors/src/types.d.ts +88 -0
  224. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +0 -11
  225. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/client-request-error.d.ts +0 -9
  226. 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;
@@ -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(abortSignal?: AbortSignal): Promise<NetworkZoneSettings>;
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(abortSignal?: AbortSignal): Promise<NetworkZoneList>;
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;