@dynatrace-sdk/client-classic-environment-v2 1.1.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -6
- package/README.md +15 -44
- package/cjs/index.js +1831 -1657
- package/docs/DOCS.md +4054 -11777
- package/dynatrace-metadata.json +2 -5
- package/esm/index.js +1831 -1657
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +36 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +60 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +33 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +48 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +75 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +19 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +25 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +54 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +18 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +63 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +231 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +53 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +52 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +50 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +37 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +55 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +77 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +173 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +78 -8
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +97 -9
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +23 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +14 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +31 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +64 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +12 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-created.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +6 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/comment.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/comment.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/comments-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-entity-tags.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-value.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-settings-values-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-icon.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-type.transformation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/entity.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-segment-type.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-segment-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-source-type.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment-source-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point-usage-segment.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-point.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-points.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entry-points.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/enum-value.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/error.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/error.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-result.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-results.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-properties-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/event-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event.d.ts +26 -26
- package/types/packages/client/classic-environment-v2/src/lib/models/event.transformation.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/execution-simple-results.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-assets-dto.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/filter.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/invocation.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/item.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/item.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-data.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-default-aggregation.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-collection.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +55 -55
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.transformation.d.ts +14 -14
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-dimension-cardinality.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-ingest-error.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-collection.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.d.ts +29 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-severity.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +10 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.transformation.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/objects-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/precondition.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/problem-close-result.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +24 -24
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +11 -11
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.d.ts +18 -18
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition.transformation.d.ts +9 -9
- package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/release-instance.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/release.d.ts +16 -16
- package/types/packages/client/classic-environment-v2/src/lib/models/release.transformation.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/releases.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.d.ts +8 -8
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-snapshot.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/rollup.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-events-list.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-create.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-response.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.d.ts +12 -12
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-update.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +19 -17
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +7 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/sl-os.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.d.ts +10 -10
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-burn-rate.transformation.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.d.ts +23 -23
- package/types/packages/client/classic-environment-v2/src/lib/models/slo-config-item-dto-impl.transformation.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.d.ts +58 -53
- package/types/packages/client/classic-environment-v2/src/lib/models/slo.transformation.d.ts +19 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/software-techs.transformation.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/success.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/success.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-triggering-problem-details.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/tenant-token-config.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-button-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-expandable-section-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-tab-group-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-column-customization.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/ui-table-column-customization.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job-list.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job-list.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.d.ts +19 -19
- package/types/packages/client/classic-environment-v2/src/lib/models/update-job.transformation.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-response.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-response.transformation.d.ts +1 -1
package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts
CHANGED
|
@@ -14,8 +14,25 @@ export declare class DavisSecurityAdvisorClient {
|
|
|
14
14
|
/**
|
|
15
15
|
* Provides advice for security problems.
|
|
16
16
|
*
|
|
17
|
-
* **Required scope:** environment-api:security-problems:read<br/>**
|
|
17
|
+
* **Required scope:** environment-api:security-problems:read<br/>**One of the following permissions is required:**
|
|
18
|
+
* + environment:roles:manage-security-problems
|
|
19
|
+
* + environment:roles:view-security-problems
|
|
20
|
+
*
|
|
21
|
+
* <br/><br/>You can narrow down the output by providing the management zone and pagination. If you specify a management zone, only problems originating from that zone are included to the request.
|
|
22
|
+
*
|
|
18
23
|
* @returns Success
|
|
24
|
+
*
|
|
25
|
+
* @example <caption>Code example</caption>
|
|
26
|
+
* import { davisSecurityAdvisorClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
27
|
+
*
|
|
28
|
+
* const data =
|
|
29
|
+
* await davisSecurityAdvisorClient.getAdviceForSecurityProblems(
|
|
30
|
+
* {
|
|
31
|
+
* managementZoneFilter: "...",
|
|
32
|
+
* nextPageKey: "...",
|
|
33
|
+
* pageSize: 123,
|
|
34
|
+
* }
|
|
35
|
+
* );
|
|
19
36
|
*/
|
|
20
37
|
getAdviceForSecurityProblems(config?: {
|
|
21
38
|
/**
|
|
@@ -30,7 +30,15 @@ export declare class EventsClient {
|
|
|
30
30
|
* + storage:events:write
|
|
31
31
|
*
|
|
32
32
|
* <br/><br/>The ingestion of custom events consumes [Davis Data Units](https://dt-url.net/ddu) (DDUs) from the events pool.
|
|
33
|
+
*
|
|
33
34
|
* @returns The event ingest request was received by the server. The response body indicates for each event whether its creation was successful.
|
|
35
|
+
*
|
|
36
|
+
* @example <caption>Code example</caption>
|
|
37
|
+
* import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
38
|
+
*
|
|
39
|
+
* const data = await eventsClient.createEvent({
|
|
40
|
+
* body: {} as EventIngest,
|
|
41
|
+
* });
|
|
34
42
|
*/
|
|
35
43
|
createEvent(config: {
|
|
36
44
|
body: EventIngest;
|
|
@@ -40,7 +48,15 @@ export declare class EventsClient {
|
|
|
40
48
|
* Gets the properties of an event
|
|
41
49
|
*
|
|
42
50
|
* **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
|
|
51
|
+
*
|
|
43
52
|
* @returns Success. The response contains the configuration of the event.
|
|
53
|
+
*
|
|
54
|
+
* @example <caption>Code example</caption>
|
|
55
|
+
* import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
56
|
+
*
|
|
57
|
+
* const data = await eventsClient.getEvent({
|
|
58
|
+
* eventId: "...",
|
|
59
|
+
* });
|
|
44
60
|
*/
|
|
45
61
|
getEvent(config: {
|
|
46
62
|
/** The ID of the required event. */ eventId: string;
|
|
@@ -50,7 +66,16 @@ export declare class EventsClient {
|
|
|
50
66
|
* Lists all event properties
|
|
51
67
|
*
|
|
52
68
|
* **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
|
|
69
|
+
*
|
|
53
70
|
* @returns Success
|
|
71
|
+
*
|
|
72
|
+
* @example <caption>Code example</caption>
|
|
73
|
+
* import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
74
|
+
*
|
|
75
|
+
* const data = await eventsClient.getEventProperties({
|
|
76
|
+
* nextPageKey: "...",
|
|
77
|
+
* pageSize: 123,
|
|
78
|
+
* });
|
|
54
79
|
*/
|
|
55
80
|
getEventProperties(config?: {
|
|
56
81
|
/**
|
|
@@ -73,7 +98,15 @@ export declare class EventsClient {
|
|
|
73
98
|
* Gets the details of an event property
|
|
74
99
|
*
|
|
75
100
|
* **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
|
|
101
|
+
*
|
|
76
102
|
* @returns Success
|
|
103
|
+
*
|
|
104
|
+
* @example <caption>Code example</caption>
|
|
105
|
+
* import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
106
|
+
*
|
|
107
|
+
* const data = await eventsClient.getEventProperty({
|
|
108
|
+
* propertyKey: "...",
|
|
109
|
+
* });
|
|
77
110
|
*/
|
|
78
111
|
getEventProperty(config: {
|
|
79
112
|
/** The event property key you're inquiring. */ propertyKey: string;
|
|
@@ -83,7 +116,15 @@ export declare class EventsClient {
|
|
|
83
116
|
* Gets the properties of an event type
|
|
84
117
|
*
|
|
85
118
|
* **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
|
|
119
|
+
*
|
|
86
120
|
* @returns Success
|
|
121
|
+
*
|
|
122
|
+
* @example <caption>Code example</caption>
|
|
123
|
+
* import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
124
|
+
*
|
|
125
|
+
* const data = await eventsClient.getEventType({
|
|
126
|
+
* eventType: "...",
|
|
127
|
+
* });
|
|
87
128
|
*/
|
|
88
129
|
getEventType(config: {
|
|
89
130
|
/** The event type you're inquiring. */ eventType: string;
|
|
@@ -93,7 +134,16 @@ export declare class EventsClient {
|
|
|
93
134
|
* Lists all event types
|
|
94
135
|
*
|
|
95
136
|
* **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
|
|
137
|
+
*
|
|
96
138
|
* @returns Success
|
|
139
|
+
*
|
|
140
|
+
* @example <caption>Code example</caption>
|
|
141
|
+
* import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
142
|
+
*
|
|
143
|
+
* const data = await eventsClient.getEventTypes({
|
|
144
|
+
* nextPageKey: "...",
|
|
145
|
+
* pageSize: 123,
|
|
146
|
+
* });
|
|
97
147
|
*/
|
|
98
148
|
getEventTypes(config?: {
|
|
99
149
|
/**
|
|
@@ -116,7 +166,20 @@ export declare class EventsClient {
|
|
|
116
166
|
* Lists events within the specified timeframe
|
|
117
167
|
*
|
|
118
168
|
* **Required scope:** environment-api:events:read<br/>**Required permission:** environment:roles:viewer
|
|
169
|
+
*
|
|
119
170
|
* @returns Success. The response contains the list of events.
|
|
171
|
+
*
|
|
172
|
+
* @example <caption>Code example</caption>
|
|
173
|
+
* import { eventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
174
|
+
*
|
|
175
|
+
* const data = await eventsClient.getEvents({
|
|
176
|
+
* nextPageKey: "...",
|
|
177
|
+
* pageSize: 123,
|
|
178
|
+
* from: "...",
|
|
179
|
+
* to: "...",
|
|
180
|
+
* eventSelector: "...",
|
|
181
|
+
* entitySelector: "...",
|
|
182
|
+
* });
|
|
120
183
|
*/
|
|
121
184
|
getEvents(config?: {
|
|
122
185
|
/**
|
|
@@ -33,7 +33,16 @@ export declare class Extensions_2_0Client {
|
|
|
33
33
|
* Gets the active environment configuration version of the specified extension 2.0
|
|
34
34
|
*
|
|
35
35
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
36
|
+
*
|
|
36
37
|
* @returns Success
|
|
38
|
+
*
|
|
39
|
+
* @example <caption>Code example</caption>
|
|
40
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
41
|
+
*
|
|
42
|
+
* const data =
|
|
43
|
+
* await extensions_2_0Client.getActiveEnvironmentConfiguration(
|
|
44
|
+
* { extensionName: "..." }
|
|
45
|
+
* );
|
|
37
46
|
*/
|
|
38
47
|
getActiveEnvironmentConfiguration(config: {
|
|
39
48
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -43,7 +52,19 @@ export declare class Extensions_2_0Client {
|
|
|
43
52
|
* Updates the active environment configuration version of the extension 2.0
|
|
44
53
|
*
|
|
45
54
|
* **Required scope:** environment-api:extensions:write<br/>**Required permission:** environment:roles:manage-settings
|
|
55
|
+
*
|
|
46
56
|
* @returns Success. Environment configuration updated.
|
|
57
|
+
*
|
|
58
|
+
* @example <caption>Code example</caption>
|
|
59
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
60
|
+
*
|
|
61
|
+
* const data =
|
|
62
|
+
* await extensions_2_0Client.updateExtensionEnvironmentConfiguration(
|
|
63
|
+
* {
|
|
64
|
+
* extensionName: "...",
|
|
65
|
+
* body: {} as ExtensionEnvironmentConfigurationVersion,
|
|
66
|
+
* }
|
|
67
|
+
* );
|
|
47
68
|
*/
|
|
48
69
|
updateExtensionEnvironmentConfiguration(config: {
|
|
49
70
|
body: ExtensionEnvironmentConfigurationVersion;
|
|
@@ -54,7 +75,19 @@ export declare class Extensions_2_0Client {
|
|
|
54
75
|
* Activates the environment configuration from the specified version of the extension 2.0
|
|
55
76
|
*
|
|
56
77
|
* **Required scope:** environment-api:extensions:write<br/>**Required permission:** environment:roles:manage-settings
|
|
78
|
+
*
|
|
57
79
|
* @returns Success. Environment configuration created.
|
|
80
|
+
*
|
|
81
|
+
* @example <caption>Code example</caption>
|
|
82
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
83
|
+
*
|
|
84
|
+
* const data =
|
|
85
|
+
* await extensions_2_0Client.activateExtensionEnvironmentConfiguration(
|
|
86
|
+
* {
|
|
87
|
+
* extensionName: "...",
|
|
88
|
+
* body: {} as ExtensionEnvironmentConfigurationVersion,
|
|
89
|
+
* }
|
|
90
|
+
* );
|
|
58
91
|
*/
|
|
59
92
|
activateExtensionEnvironmentConfiguration(config: {
|
|
60
93
|
body: ExtensionEnvironmentConfigurationVersion;
|
|
@@ -65,7 +98,16 @@ export declare class Extensions_2_0Client {
|
|
|
65
98
|
* Deactivates the environment configuration of the specified extension 2.0
|
|
66
99
|
*
|
|
67
100
|
* **Required scope:** environment-api:extensions:write<br/>**Required permission:** environment:roles:manage-settings
|
|
101
|
+
*
|
|
68
102
|
* @returns Success. Environment configuration deactivated.
|
|
103
|
+
*
|
|
104
|
+
* @example <caption>Code example</caption>
|
|
105
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
106
|
+
*
|
|
107
|
+
* const data =
|
|
108
|
+
* await extensions_2_0Client.deleteEnvironmentConfiguration(
|
|
109
|
+
* { extensionName: "..." }
|
|
110
|
+
* );
|
|
69
111
|
*/
|
|
70
112
|
deleteEnvironmentConfiguration(config: {
|
|
71
113
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -75,7 +117,22 @@ export declare class Extensions_2_0Client {
|
|
|
75
117
|
* Lists all the monitoring configurations of the specified extension 2.0
|
|
76
118
|
*
|
|
77
119
|
* **Required scope:** environment-api:extension-configurations:read<br/>**Required permission:** environment:roles:manage-settings
|
|
120
|
+
*
|
|
78
121
|
* @returns Success
|
|
122
|
+
*
|
|
123
|
+
* @example <caption>Code example</caption>
|
|
124
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
125
|
+
*
|
|
126
|
+
* const data =
|
|
127
|
+
* await extensions_2_0Client.extensionMonitoringConfigurations(
|
|
128
|
+
* {
|
|
129
|
+
* extensionName: "...",
|
|
130
|
+
* nextPageKey: "...",
|
|
131
|
+
* pageSize: 123,
|
|
132
|
+
* version: "...",
|
|
133
|
+
* active: true,
|
|
134
|
+
* }
|
|
135
|
+
* );
|
|
79
136
|
*/
|
|
80
137
|
extensionMonitoringConfigurations(config: {
|
|
81
138
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -101,7 +158,17 @@ export declare class Extensions_2_0Client {
|
|
|
101
158
|
* Creates new monitoring configuration for the specified extension 2.0
|
|
102
159
|
*
|
|
103
160
|
* **Required scope:** environment-api:extension-configurations:write<br/>**Required permission:** environment:roles:manage-settings
|
|
161
|
+
*
|
|
104
162
|
* @returns Success | Multi-Status, if not all requests resulted in the same status
|
|
163
|
+
*
|
|
164
|
+
* @example <caption>Code example</caption>
|
|
165
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
166
|
+
*
|
|
167
|
+
* const data =
|
|
168
|
+
* await extensions_2_0Client.createMonitoringConfiguration({
|
|
169
|
+
* extensionName: "...",
|
|
170
|
+
* body: {} as MonitoringConfigurationDto[],
|
|
171
|
+
* });
|
|
105
172
|
*/
|
|
106
173
|
createMonitoringConfiguration(config: {
|
|
107
174
|
body: MonitoringConfigurationDto[];
|
|
@@ -117,7 +184,17 @@ export declare class Extensions_2_0Client {
|
|
|
117
184
|
* Gets the configuration schema of the specified version of the extension 2.0
|
|
118
185
|
*
|
|
119
186
|
* **Required scope:** environment-api:extension-configurations:read<br/>**Required permission:** environment:roles:manage-settings
|
|
187
|
+
*
|
|
120
188
|
* @returns Success
|
|
189
|
+
*
|
|
190
|
+
* @example <caption>Code example</caption>
|
|
191
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
192
|
+
*
|
|
193
|
+
* const data =
|
|
194
|
+
* await extensions_2_0Client.extensionConfigurationSchema({
|
|
195
|
+
* extensionName: "...",
|
|
196
|
+
* extensionVersion: "...",
|
|
197
|
+
* });
|
|
121
198
|
*/
|
|
122
199
|
extensionConfigurationSchema(config: {
|
|
123
200
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -128,7 +205,16 @@ export declare class Extensions_2_0Client {
|
|
|
128
205
|
* Gets details of the specified version of the extension 2.0
|
|
129
206
|
*
|
|
130
207
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
208
|
+
*
|
|
131
209
|
* @returns Success
|
|
210
|
+
*
|
|
211
|
+
* @example <caption>Code example</caption>
|
|
212
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
213
|
+
*
|
|
214
|
+
* const data = await extensions_2_0Client.extensionDetails({
|
|
215
|
+
* extensionName: "...",
|
|
216
|
+
* extensionVersion: "...",
|
|
217
|
+
* });
|
|
132
218
|
*/
|
|
133
219
|
extensionDetails(config: {
|
|
134
220
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -140,7 +226,16 @@ export declare class Extensions_2_0Client {
|
|
|
140
226
|
* Deletes the specified version of the extension 2.0
|
|
141
227
|
*
|
|
142
228
|
* **Required scope:** environment-api:extensions:write<br/>**Required permission:** environment:roles:manage-settings
|
|
229
|
+
*
|
|
143
230
|
* @returns Success. The extension 2.0 version has been deleted.
|
|
231
|
+
*
|
|
232
|
+
* @example <caption>Code example</caption>
|
|
233
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
234
|
+
*
|
|
235
|
+
* const data = await extensions_2_0Client.removeExtension({
|
|
236
|
+
* extensionName: "...",
|
|
237
|
+
* extensionVersion: "...",
|
|
238
|
+
* });
|
|
144
239
|
*/
|
|
145
240
|
removeExtension(config: {
|
|
146
241
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -151,7 +246,16 @@ export declare class Extensions_2_0Client {
|
|
|
151
246
|
* Gets the information about assets in an active extension 2.0
|
|
152
247
|
*
|
|
153
248
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
249
|
+
*
|
|
154
250
|
* @returns Success
|
|
251
|
+
*
|
|
252
|
+
* @example <caption>Code example</caption>
|
|
253
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
254
|
+
*
|
|
255
|
+
* const data =
|
|
256
|
+
* await extensions_2_0Client.getEnvironmentConfigurationAssetsInfo(
|
|
257
|
+
* { extensionName: "..." }
|
|
258
|
+
* );
|
|
155
259
|
*/
|
|
156
260
|
getEnvironmentConfigurationAssetsInfo(config: {
|
|
157
261
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -163,7 +267,23 @@ export declare class Extensions_2_0Client {
|
|
|
163
267
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
164
268
|
*
|
|
165
269
|
* @deprecated
|
|
270
|
+
*
|
|
166
271
|
* @returns List of the latest extension environment configuration events
|
|
272
|
+
*
|
|
273
|
+
* @example <caption>Code example</caption>
|
|
274
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
275
|
+
*
|
|
276
|
+
* const data =
|
|
277
|
+
* await extensions_2_0Client.getEnvironmentConfigurationEvents(
|
|
278
|
+
* {
|
|
279
|
+
* extensionName: "...",
|
|
280
|
+
* from: "...",
|
|
281
|
+
* to: "...",
|
|
282
|
+
* content: "...",
|
|
283
|
+
* status:
|
|
284
|
+
* {} as GetEnvironmentConfigurationEventsQueryStatus,
|
|
285
|
+
* }
|
|
286
|
+
* );
|
|
167
287
|
*/
|
|
168
288
|
getEnvironmentConfigurationEvents(config: {
|
|
169
289
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -213,7 +333,27 @@ export declare class Extensions_2_0Client {
|
|
|
213
333
|
* **Required scope:** environment-api:extension-configurations:read<br/>**Required permission:** environment:roles:manage-settings
|
|
214
334
|
*
|
|
215
335
|
* @deprecated
|
|
336
|
+
*
|
|
216
337
|
* @returns Success
|
|
338
|
+
*
|
|
339
|
+
* @example <caption>Code example</caption>
|
|
340
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
341
|
+
*
|
|
342
|
+
* const data =
|
|
343
|
+
* await extensions_2_0Client.getExtensionMonitoringConfigurationEvents(
|
|
344
|
+
* {
|
|
345
|
+
* extensionName: "...",
|
|
346
|
+
* configurationId: "...",
|
|
347
|
+
* from: "...",
|
|
348
|
+
* to: "...",
|
|
349
|
+
* dtEntityHost: "...",
|
|
350
|
+
* dtActiveGateId: "...",
|
|
351
|
+
* dtExtensionDs: "...",
|
|
352
|
+
* content: "...",
|
|
353
|
+
* status:
|
|
354
|
+
* {} as GetExtensionMonitoringConfigurationEventsQueryStatus,
|
|
355
|
+
* }
|
|
356
|
+
* );
|
|
217
357
|
*/
|
|
218
358
|
getExtensionMonitoringConfigurationEvents(config: {
|
|
219
359
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -277,7 +417,16 @@ export declare class Extensions_2_0Client {
|
|
|
277
417
|
* Gets the most recent status of the execution of given monitoring configuration
|
|
278
418
|
*
|
|
279
419
|
* **Required scope:** environment-api:extension-configurations:read<br/>**Required permission:** environment:roles:manage-settings
|
|
420
|
+
*
|
|
280
421
|
* @returns Success
|
|
422
|
+
*
|
|
423
|
+
* @example <caption>Code example</caption>
|
|
424
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
425
|
+
*
|
|
426
|
+
* const data =
|
|
427
|
+
* await extensions_2_0Client.getExtensionMonitoringConfigurationStatus(
|
|
428
|
+
* { extensionName: "...", configurationId: "..." }
|
|
429
|
+
* );
|
|
281
430
|
*/
|
|
282
431
|
getExtensionMonitoringConfigurationStatus(config: {
|
|
283
432
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -288,7 +437,16 @@ export declare class Extensions_2_0Client {
|
|
|
288
437
|
* Gets the extension 2.0 schema file in the specified version
|
|
289
438
|
*
|
|
290
439
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
440
|
+
*
|
|
291
441
|
* @returns Success
|
|
442
|
+
*
|
|
443
|
+
* @example <caption>Code example</caption>
|
|
444
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
445
|
+
*
|
|
446
|
+
* const data = await extensions_2_0Client.getSchemaFile({
|
|
447
|
+
* schemaVersion: "...",
|
|
448
|
+
* fileName: "...",
|
|
449
|
+
* });
|
|
292
450
|
*/
|
|
293
451
|
getSchemaFile(config: {
|
|
294
452
|
/** The version of the schema. */ schemaVersion: string;
|
|
@@ -299,7 +457,18 @@ export declare class Extensions_2_0Client {
|
|
|
299
457
|
* Lists all versions of the extension 2.0
|
|
300
458
|
*
|
|
301
459
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
460
|
+
*
|
|
302
461
|
* @returns Success
|
|
462
|
+
*
|
|
463
|
+
* @example <caption>Code example</caption>
|
|
464
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
465
|
+
*
|
|
466
|
+
* const data =
|
|
467
|
+
* await extensions_2_0Client.listExtensionVersions({
|
|
468
|
+
* extensionName: "...",
|
|
469
|
+
* nextPageKey: "...",
|
|
470
|
+
* pageSize: 123,
|
|
471
|
+
* });
|
|
303
472
|
*/
|
|
304
473
|
listExtensionVersions(config: {
|
|
305
474
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -323,7 +492,17 @@ export declare class Extensions_2_0Client {
|
|
|
323
492
|
* Lists all the extensions 2.0 available in your environment
|
|
324
493
|
*
|
|
325
494
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
495
|
+
*
|
|
326
496
|
* @returns Success
|
|
497
|
+
*
|
|
498
|
+
* @example <caption>Code example</caption>
|
|
499
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
500
|
+
*
|
|
501
|
+
* const data = await extensions_2_0Client.listExtensions({
|
|
502
|
+
* nextPageKey: "...",
|
|
503
|
+
* pageSize: 123,
|
|
504
|
+
* name: "...",
|
|
505
|
+
* });
|
|
327
506
|
*/
|
|
328
507
|
listExtensions(config?: {
|
|
329
508
|
/**
|
|
@@ -347,7 +526,16 @@ export declare class Extensions_2_0Client {
|
|
|
347
526
|
* Uploads or verifies a new extension 2.0
|
|
348
527
|
*
|
|
349
528
|
* **Required scope:** environment-api:extensions:write<br/>**Required permission:** environment:roles:manage-settings
|
|
529
|
+
*
|
|
350
530
|
* @returns The extension is valid | Success. The extension 2.0 has been uploaded.
|
|
531
|
+
*
|
|
532
|
+
* @example <caption>Code example</caption>
|
|
533
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
534
|
+
*
|
|
535
|
+
* const data = await extensions_2_0Client.uploadExtension({
|
|
536
|
+
* validateOnly: true,
|
|
537
|
+
* body: {} as Binary,
|
|
538
|
+
* });
|
|
351
539
|
*/
|
|
352
540
|
uploadExtension(config: {
|
|
353
541
|
body: Blob;
|
|
@@ -359,7 +547,15 @@ export declare class Extensions_2_0Client {
|
|
|
359
547
|
* Lists all the files available for the specified extension 2.0 schema version
|
|
360
548
|
*
|
|
361
549
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
550
|
+
*
|
|
362
551
|
* @returns Success
|
|
552
|
+
*
|
|
553
|
+
* @example <caption>Code example</caption>
|
|
554
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
555
|
+
*
|
|
556
|
+
* const data = await extensions_2_0Client.listSchemaFiles({
|
|
557
|
+
* schemaVersion: "...",
|
|
558
|
+
* });
|
|
363
559
|
*/
|
|
364
560
|
listSchemaFiles(config: {
|
|
365
561
|
/** The version of the schema. */ schemaVersion: string;
|
|
@@ -370,14 +566,29 @@ export declare class Extensions_2_0Client {
|
|
|
370
566
|
* Lists all the extension 2.0 schemas versions available in your environment
|
|
371
567
|
*
|
|
372
568
|
* **Required scope:** environment-api:extensions:read<br/>**Required permission:** environment:roles:manage-settings
|
|
569
|
+
*
|
|
373
570
|
* @returns Success
|
|
571
|
+
*
|
|
572
|
+
* @example <caption>Code example</caption>
|
|
573
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
574
|
+
*
|
|
575
|
+
* const data = await extensions_2_0Client.listSchemas();
|
|
374
576
|
*/
|
|
375
577
|
listSchemas(abortSignal?: AbortSignal): Promise<SchemasList>;
|
|
376
578
|
/**
|
|
377
579
|
* Gets the details of the specified monitoring configuration
|
|
378
580
|
*
|
|
379
581
|
* **Required scope:** environment-api:extension-configurations:read<br/>**Required permission:** environment:roles:manage-settings
|
|
582
|
+
*
|
|
380
583
|
* @returns Success
|
|
584
|
+
*
|
|
585
|
+
* @example <caption>Code example</caption>
|
|
586
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
587
|
+
*
|
|
588
|
+
* const data =
|
|
589
|
+
* await extensions_2_0Client.monitoringConfigurationDetails(
|
|
590
|
+
* { extensionName: "...", configurationId: "..." }
|
|
591
|
+
* );
|
|
381
592
|
*/
|
|
382
593
|
monitoringConfigurationDetails(config: {
|
|
383
594
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -388,7 +599,18 @@ export declare class Extensions_2_0Client {
|
|
|
388
599
|
* Updates the specified monitoring configuration
|
|
389
600
|
*
|
|
390
601
|
* **Required scope:** environment-api:extension-configurations:write<br/>**Required permission:** environment:roles:manage-settings
|
|
602
|
+
*
|
|
391
603
|
* @returns Success
|
|
604
|
+
*
|
|
605
|
+
* @example <caption>Code example</caption>
|
|
606
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
607
|
+
*
|
|
608
|
+
* const data =
|
|
609
|
+
* await extensions_2_0Client.updateMonitoringConfiguration({
|
|
610
|
+
* extensionName: "...",
|
|
611
|
+
* configurationId: "...",
|
|
612
|
+
* body: {} as MonitoringConfigurationUpdateDto,
|
|
613
|
+
* });
|
|
392
614
|
*/
|
|
393
615
|
updateMonitoringConfiguration(config: {
|
|
394
616
|
body: MonitoringConfigurationUpdateDto;
|
|
@@ -400,6 +622,15 @@ export declare class Extensions_2_0Client {
|
|
|
400
622
|
* Deletes the specified monitoring configuration
|
|
401
623
|
*
|
|
402
624
|
* **Required scope:** environment-api:extension-configurations:write<br/>**Required permission:** environment:roles:manage-settings
|
|
625
|
+
*
|
|
626
|
+
* @example <caption>Code example</caption>
|
|
627
|
+
* import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
628
|
+
*
|
|
629
|
+
* const data =
|
|
630
|
+
* await extensions_2_0Client.removeMonitoringConfiguration({
|
|
631
|
+
* extensionName: "...",
|
|
632
|
+
* configurationId: "...",
|
|
633
|
+
* });
|
|
403
634
|
*/
|
|
404
635
|
removeMonitoringConfiguration(config: {
|
|
405
636
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
@@ -54,7 +54,15 @@ export declare class LogsClient {
|
|
|
54
54
|
* **High-cardinality attributes:**
|
|
55
55
|
*
|
|
56
56
|
* Unique log data attributes (high-cardinality attributes) such as `span_id` and `trace_id` generate unnecessarily excessive facet lists that may impact log viewer performance. Because of this, they aren't listed in log viewer facets. You can still use them in a log viewer advanced search query.
|
|
57
|
+
*
|
|
57
58
|
* @returns Only a part of input events were ingested due to event invalidity. For details, check the response body.
|
|
59
|
+
*
|
|
60
|
+
* @example <caption>Code example</caption>
|
|
61
|
+
* import { logsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
62
|
+
*
|
|
63
|
+
* const data = await logsClient.storeLog({
|
|
64
|
+
* body: {} as LogMessageJson,
|
|
65
|
+
* });
|
|
58
66
|
*/
|
|
59
67
|
storeLog(config: ({
|
|
60
68
|
body: LogMessageJson;
|
|
@@ -73,7 +81,22 @@ export declare class LogsClient {
|
|
|
73
81
|
* Unlike the **search** API, this API does not split the result into slices and has no limit for the total number of records. Log records are sorted by the criteria specified in the **sort** query parameter.
|
|
74
82
|
*
|
|
75
83
|
* In order to fetch large amount of records (exceeding the **pageSize** value), one should repeat the **export** call with **nextPageKey** param.
|
|
84
|
+
*
|
|
85
|
+
* Disabled on *Log Management and Analytics, powered by Grail*.
|
|
86
|
+
*
|
|
76
87
|
* @returns Success
|
|
88
|
+
*
|
|
89
|
+
* @example <caption>Code example</caption>
|
|
90
|
+
* import { logsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
91
|
+
*
|
|
92
|
+
* const data = await logsClient.exportLogRecords({
|
|
93
|
+
* from: "...",
|
|
94
|
+
* to: "...",
|
|
95
|
+
* nextPageKey: "...",
|
|
96
|
+
* pageSize: 123,
|
|
97
|
+
* query: "...",
|
|
98
|
+
* sort: "...",
|
|
99
|
+
* });
|
|
77
100
|
*/
|
|
78
101
|
exportLogRecords(config?: {
|
|
79
102
|
/**
|
|
@@ -142,7 +165,22 @@ export declare class LogsClient {
|
|
|
142
165
|
* **Required scope:** storage:logs:read<br/>**Required permission:** environment:roles:logviewer<br/><br/>Returns the aggregated number of occurrences of log values divided into time slots.
|
|
143
166
|
*
|
|
144
167
|
* It is possible that the timeframe covered by results exceeds the specified timeframe. In that case the request returns fewer time slots than specified in the **timeBuckets** query parameter.
|
|
168
|
+
*
|
|
169
|
+
* If *Log Management and Analytics, powered by Grail* is enabled, then an OAuth token is required with *storage:logs:read* and *storage:buckets:read* scopes.
|
|
170
|
+
*
|
|
145
171
|
* @returns Success
|
|
172
|
+
*
|
|
173
|
+
* @example <caption>Code example</caption>
|
|
174
|
+
* import { logsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
175
|
+
*
|
|
176
|
+
* const data = await logsClient.getLogHistogramData({
|
|
177
|
+
* from: "...",
|
|
178
|
+
* to: "...",
|
|
179
|
+
* query: "...",
|
|
180
|
+
* timeBuckets: 123,
|
|
181
|
+
* maxGroupValues: 123,
|
|
182
|
+
* groupBy: [],
|
|
183
|
+
* });
|
|
146
184
|
*/
|
|
147
185
|
getLogHistogramData(config?: {
|
|
148
186
|
/**
|
|
@@ -221,7 +259,22 @@ export declare class LogsClient {
|
|
|
221
259
|
* If the query is too large to be processed in a single request, it is divided into slices. In that case the first response contains the **nextSliceKey** cursor for the second slice. Use it in the **nextSliceKey** query parameter to obtain the second slice, which contains **nextSliceKey** cursor for the third slice, and so on.
|
|
222
260
|
*
|
|
223
261
|
* Results can be distributed unevenly between slices and some slices might be empty.
|
|
262
|
+
*
|
|
263
|
+
* If *Log Management and Analytics, powered by Grail* is enabled, then an OAuth token is required with *storage:logs:read* and *storage:buckets:read* scopes.
|
|
264
|
+
*
|
|
224
265
|
* @returns Success
|
|
266
|
+
*
|
|
267
|
+
* @example <caption>Code example</caption>
|
|
268
|
+
* import { logsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
269
|
+
*
|
|
270
|
+
* const data = await logsClient.getLogRecords({
|
|
271
|
+
* from: "...",
|
|
272
|
+
* to: "...",
|
|
273
|
+
* limit: 123,
|
|
274
|
+
* query: "...",
|
|
275
|
+
* sort: "...",
|
|
276
|
+
* nextSliceKey: "...",
|
|
277
|
+
* });
|
|
225
278
|
*/
|
|
226
279
|
getLogRecords(config?: {
|
|
227
280
|
/**
|