@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/security-problems-api.d.ts
CHANGED
|
@@ -29,10 +29,20 @@ export declare class SecurityProblemsClient {
|
|
|
29
29
|
*/
|
|
30
30
|
constructor(httpClientImplementation: HttpClient);
|
|
31
31
|
/**
|
|
32
|
-
* Mutes several remediation items
|
|
32
|
+
* Mutes several remediation items
|
|
33
33
|
*
|
|
34
34
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
35
|
+
*
|
|
35
36
|
* @returns Success. The remediation item(s) have been muted.
|
|
37
|
+
*
|
|
38
|
+
* @example <caption>Code example</caption>
|
|
39
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
40
|
+
*
|
|
41
|
+
* const data =
|
|
42
|
+
* await securityProblemsClient.bulkMuteRemediationItems({
|
|
43
|
+
* id: "...",
|
|
44
|
+
* body: {} as RemediationItemsBulkMute,
|
|
45
|
+
* });
|
|
36
46
|
*/
|
|
37
47
|
bulkMuteRemediationItems(config: {
|
|
38
48
|
body: RemediationItemsBulkMute;
|
|
@@ -40,20 +50,39 @@ export declare class SecurityProblemsClient {
|
|
|
40
50
|
abortSignal?: AbortSignal;
|
|
41
51
|
}): Promise<RemediationItemsBulkMuteResponse>;
|
|
42
52
|
/**
|
|
43
|
-
* Mutes several security problems
|
|
53
|
+
* Mutes several security problems
|
|
44
54
|
*
|
|
45
55
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
56
|
+
*
|
|
46
57
|
* @returns Success. The security problem(s) have been muted.
|
|
58
|
+
*
|
|
59
|
+
* @example <caption>Code example</caption>
|
|
60
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
61
|
+
*
|
|
62
|
+
* const data =
|
|
63
|
+
* await securityProblemsClient.bulkMuteSecurityProblems({
|
|
64
|
+
* body: {} as SecurityProblemsBulkMute,
|
|
65
|
+
* });
|
|
47
66
|
*/
|
|
48
67
|
bulkMuteSecurityProblems(config: {
|
|
49
68
|
body: SecurityProblemsBulkMute;
|
|
50
69
|
abortSignal?: AbortSignal;
|
|
51
70
|
}): Promise<SecurityProblemsBulkMuteResponse>;
|
|
52
71
|
/**
|
|
53
|
-
* Un-mutes several remediation items
|
|
72
|
+
* Un-mutes several remediation items
|
|
54
73
|
*
|
|
55
74
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
75
|
+
*
|
|
56
76
|
* @returns Success. The remediation item(s) have been un-muted.
|
|
77
|
+
*
|
|
78
|
+
* @example <caption>Code example</caption>
|
|
79
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
80
|
+
*
|
|
81
|
+
* const data =
|
|
82
|
+
* await securityProblemsClient.bulkUnmuteRemediationItems({
|
|
83
|
+
* id: "...",
|
|
84
|
+
* body: {} as RemediationItemsBulkUnmute,
|
|
85
|
+
* });
|
|
57
86
|
*/
|
|
58
87
|
bulkUnmuteRemediationItems(config: {
|
|
59
88
|
body: RemediationItemsBulkUnmute;
|
|
@@ -61,10 +90,19 @@ export declare class SecurityProblemsClient {
|
|
|
61
90
|
abortSignal?: AbortSignal;
|
|
62
91
|
}): Promise<RemediationItemsBulkUnmuteResponse>;
|
|
63
92
|
/**
|
|
64
|
-
* Un-mutes several security problems
|
|
93
|
+
* Un-mutes several security problems
|
|
65
94
|
*
|
|
66
95
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
96
|
+
*
|
|
67
97
|
* @returns Success. The security problem(s) have been un-muted.
|
|
98
|
+
*
|
|
99
|
+
* @example <caption>Code example</caption>
|
|
100
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
101
|
+
*
|
|
102
|
+
* const data =
|
|
103
|
+
* await securityProblemsClient.bulkUnmuteSecurityProblems({
|
|
104
|
+
* body: {} as SecurityProblemsBulkUnmute,
|
|
105
|
+
* });
|
|
68
106
|
*/
|
|
69
107
|
bulkUnmuteSecurityProblems(config: {
|
|
70
108
|
body: SecurityProblemsBulkUnmute;
|
|
@@ -73,8 +111,21 @@ export declare class SecurityProblemsClient {
|
|
|
73
111
|
/**
|
|
74
112
|
* Lists all events of a security problem
|
|
75
113
|
*
|
|
76
|
-
* **Required scope:** environment-api:security-problems:read<br/>**
|
|
114
|
+
* **Required scope:** environment-api:security-problems:read<br/>**One of the following permissions is required:**
|
|
115
|
+
* + environment:roles:manage-security-problems
|
|
116
|
+
* + environment:roles:view-security-problems
|
|
117
|
+
*
|
|
77
118
|
* @returns Success. The response contains the list of security problem events.
|
|
119
|
+
*
|
|
120
|
+
* @example <caption>Code example</caption>
|
|
121
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
122
|
+
*
|
|
123
|
+
* const data =
|
|
124
|
+
* await securityProblemsClient.getEventsForSecurityProblem({
|
|
125
|
+
* id: "...",
|
|
126
|
+
* from: "...",
|
|
127
|
+
* to: "...",
|
|
128
|
+
* });
|
|
78
129
|
*/
|
|
79
130
|
getEventsForSecurityProblem(config: {
|
|
80
131
|
/** The ID of the required security problem. */ id: string;
|
|
@@ -119,8 +170,20 @@ export declare class SecurityProblemsClient {
|
|
|
119
170
|
/**
|
|
120
171
|
* Gets parameters of a remediation item of a security problem | maturity=EARLY_ADOPTER
|
|
121
172
|
*
|
|
122
|
-
* **Required scope:** environment-api:security-problems:read<br/>**
|
|
173
|
+
* **Required scope:** environment-api:security-problems:read<br/>**One of the following permissions is required:**
|
|
174
|
+
* + environment:roles:manage-security-problems
|
|
175
|
+
* + environment:roles:view-security-problems
|
|
176
|
+
*
|
|
123
177
|
* @returns Success. The response contains details of a single remediation item of a security problem.
|
|
178
|
+
*
|
|
179
|
+
* @example <caption>Code example</caption>
|
|
180
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
181
|
+
*
|
|
182
|
+
* const data =
|
|
183
|
+
* await securityProblemsClient.getRemediationItem({
|
|
184
|
+
* id: "...",
|
|
185
|
+
* remediationItemId: "...",
|
|
186
|
+
* });
|
|
124
187
|
*/
|
|
125
188
|
getRemediationItem(config: {
|
|
126
189
|
/** The ID of the required third-party security problem. */ id: string;
|
|
@@ -130,8 +193,20 @@ export declare class SecurityProblemsClient {
|
|
|
130
193
|
/**
|
|
131
194
|
* Lists remediation items of a third-party security problem
|
|
132
195
|
*
|
|
133
|
-
* **Required scope:** environment-api:security-problems:read<br/>**
|
|
196
|
+
* **Required scope:** environment-api:security-problems:read<br/>**One of the following permissions is required:**
|
|
197
|
+
* + environment:roles:manage-security-problems
|
|
198
|
+
* + environment:roles:view-security-problems
|
|
199
|
+
*
|
|
134
200
|
* @returns Success. The response contains the list of remediation items of a problem.
|
|
201
|
+
*
|
|
202
|
+
* @example <caption>Code example</caption>
|
|
203
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
204
|
+
*
|
|
205
|
+
* const data =
|
|
206
|
+
* await securityProblemsClient.getRemediationItems({
|
|
207
|
+
* id: "...",
|
|
208
|
+
* remediationItemSelector: "...",
|
|
209
|
+
* });
|
|
135
210
|
*/
|
|
136
211
|
getRemediationItems(config: {
|
|
137
212
|
/** The ID of the required third-party security problem. */ id: string;
|
|
@@ -160,8 +235,23 @@ export declare class SecurityProblemsClient {
|
|
|
160
235
|
/**
|
|
161
236
|
* Lists remediation progress entities | maturity=EARLY_ADOPTER
|
|
162
237
|
*
|
|
163
|
-
* **Required scope:** environment-api:security-problems:read<br/>**
|
|
238
|
+
* **Required scope:** environment-api:security-problems:read<br/>**One of the following permissions is required:**
|
|
239
|
+
* + environment:roles:manage-security-problems
|
|
240
|
+
* + environment:roles:view-security-problems
|
|
241
|
+
*
|
|
164
242
|
* @returns Success. The response contains a list of remediation progress entities of a remediation item of a security problem. The number of entities returned is limited.
|
|
243
|
+
*
|
|
244
|
+
* @example <caption>Code example</caption>
|
|
245
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
246
|
+
*
|
|
247
|
+
* const data =
|
|
248
|
+
* await securityProblemsClient.getRemediationProgressEntities(
|
|
249
|
+
* {
|
|
250
|
+
* id: "...",
|
|
251
|
+
* remediationItemId: "...",
|
|
252
|
+
* remediationProgressEntitySelector: "...",
|
|
253
|
+
* }
|
|
254
|
+
* );
|
|
165
255
|
*/
|
|
166
256
|
getRemediationProgressEntities(config: {
|
|
167
257
|
/** The ID of the required third-party security problem. */ id: string;
|
|
@@ -187,8 +277,21 @@ export declare class SecurityProblemsClient {
|
|
|
187
277
|
/**
|
|
188
278
|
* Gets parameters of a security problem
|
|
189
279
|
*
|
|
190
|
-
* **Required scope:** environment-api:security-problems:read<br/>**
|
|
280
|
+
* **Required scope:** environment-api:security-problems:read<br/>**One of the following permissions is required:**
|
|
281
|
+
* + environment:roles:manage-security-problems
|
|
282
|
+
* + environment:roles:view-security-problems
|
|
283
|
+
*
|
|
191
284
|
* @returns Success. The response contains parameters of the security problem.
|
|
285
|
+
*
|
|
286
|
+
* @example <caption>Code example</caption>
|
|
287
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
288
|
+
*
|
|
289
|
+
* const data =
|
|
290
|
+
* await securityProblemsClient.getSecurityProblem({
|
|
291
|
+
* id: "...",
|
|
292
|
+
* fields: "...",
|
|
293
|
+
* from: "...",
|
|
294
|
+
* });
|
|
192
295
|
*/
|
|
193
296
|
getSecurityProblem(config: {
|
|
194
297
|
/** The ID of the required security problem. */ id: string;
|
|
@@ -211,6 +314,7 @@ export declare class SecurityProblemsClient {
|
|
|
211
314
|
* * `relatedEntities`: A list of related entities of the security problem within the provided filter range.
|
|
212
315
|
* * `relatedContainerImages`: A list of related container images of the security problem within the provided filter range.
|
|
213
316
|
* * `relatedAttacks`: A list of attacks detected on the exposed security problem.
|
|
317
|
+
* * `entryPoints`: A list of entry points and a flag which indicates whether this list was truncated or not.
|
|
214
318
|
*
|
|
215
319
|
* To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, `+riskAssessment,+managementZones`).
|
|
216
320
|
*/ fields?: string;
|
|
@@ -238,8 +342,25 @@ export declare class SecurityProblemsClient {
|
|
|
238
342
|
/**
|
|
239
343
|
* Lists all security problems
|
|
240
344
|
*
|
|
241
|
-
* **Required scope:** environment-api:security-problems:read<br/>**
|
|
345
|
+
* **Required scope:** environment-api:security-problems:read<br/>**One of the following permissions is required:**
|
|
346
|
+
* + environment:roles:manage-security-problems
|
|
347
|
+
* + environment:roles:view-security-problems
|
|
348
|
+
*
|
|
242
349
|
* @returns Success. The response contains the list of security problems.
|
|
350
|
+
*
|
|
351
|
+
* @example <caption>Code example</caption>
|
|
352
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
353
|
+
*
|
|
354
|
+
* const data =
|
|
355
|
+
* await securityProblemsClient.getSecurityProblems({
|
|
356
|
+
* nextPageKey: "...",
|
|
357
|
+
* pageSize: 123,
|
|
358
|
+
* securityProblemSelector: "...",
|
|
359
|
+
* sort: "...",
|
|
360
|
+
* fields: "...",
|
|
361
|
+
* from: "...",
|
|
362
|
+
* to: "...",
|
|
363
|
+
* });
|
|
243
364
|
*/
|
|
244
365
|
getSecurityProblems(config?: {
|
|
245
366
|
/**
|
|
@@ -397,8 +518,21 @@ export declare class SecurityProblemsClient {
|
|
|
397
518
|
/**
|
|
398
519
|
* Lists all vulnerable functions and their usage for a third-party security problem
|
|
399
520
|
*
|
|
400
|
-
* **Required scope:** environment-api:security-problems:read<br/>**
|
|
521
|
+
* **Required scope:** environment-api:security-problems:read<br/>**One of the following permissions is required:**
|
|
522
|
+
* + environment:roles:manage-security-problems
|
|
523
|
+
* + environment:roles:view-security-problems
|
|
524
|
+
*
|
|
401
525
|
* @returns Success. The response contains the list of vulnerable functions.
|
|
526
|
+
*
|
|
527
|
+
* @example <caption>Code example</caption>
|
|
528
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
529
|
+
*
|
|
530
|
+
* const data =
|
|
531
|
+
* await securityProblemsClient.getVulnerableFunctions({
|
|
532
|
+
* id: "...",
|
|
533
|
+
* vulnerableFunctionsSelector: "...",
|
|
534
|
+
* groupBy: "...",
|
|
535
|
+
* });
|
|
402
536
|
*/
|
|
403
537
|
getVulnerableFunctions(config: {
|
|
404
538
|
/** The ID of the required third-party security problem. */ id: string;
|
|
@@ -430,6 +564,15 @@ export declare class SecurityProblemsClient {
|
|
|
430
564
|
* Mutes a security problem
|
|
431
565
|
*
|
|
432
566
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
567
|
+
*
|
|
568
|
+
* @example <caption>Code example</caption>
|
|
569
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
570
|
+
*
|
|
571
|
+
* const data =
|
|
572
|
+
* await securityProblemsClient.muteSecurityProblem({
|
|
573
|
+
* id: "...",
|
|
574
|
+
* body: {} as SecurityProblemMute,
|
|
575
|
+
* });
|
|
433
576
|
*/
|
|
434
577
|
muteSecurityProblem(config: {
|
|
435
578
|
body: SecurityProblemMute;
|
|
@@ -440,6 +583,16 @@ export declare class SecurityProblemsClient {
|
|
|
440
583
|
* Sets the mute state of a remediation item | maturity=EARLY_ADOPTER
|
|
441
584
|
*
|
|
442
585
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
586
|
+
*
|
|
587
|
+
* @example <caption>Code example</caption>
|
|
588
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
589
|
+
*
|
|
590
|
+
* const data =
|
|
591
|
+
* await securityProblemsClient.setRemediationItemMuteState({
|
|
592
|
+
* id: "...",
|
|
593
|
+
* remediationItemId: "...",
|
|
594
|
+
* body: {} as RemediationItemMuteStateChange,
|
|
595
|
+
* });
|
|
443
596
|
*/
|
|
444
597
|
setRemediationItemMuteState(config: {
|
|
445
598
|
body: RemediationItemMuteStateChange;
|
|
@@ -451,6 +604,15 @@ export declare class SecurityProblemsClient {
|
|
|
451
604
|
* Un-mutes a security problem
|
|
452
605
|
*
|
|
453
606
|
* **Required scope:** environment-api:security-problems:write<br/>**Required permission:** environment:roles:manage-security-problems
|
|
607
|
+
*
|
|
608
|
+
* @example <caption>Code example</caption>
|
|
609
|
+
* import { securityProblemsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
610
|
+
*
|
|
611
|
+
* const data =
|
|
612
|
+
* await securityProblemsClient.unmuteSecurityProblem({
|
|
613
|
+
* id: "...",
|
|
614
|
+
* body: {} as SecurityProblemUnmute,
|
|
615
|
+
* });
|
|
454
616
|
*/
|
|
455
617
|
unmuteSecurityProblem(config: {
|
|
456
618
|
body: SecurityProblemUnmute;
|
package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts
CHANGED
|
@@ -24,7 +24,21 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
24
24
|
* Creates an alert of the provided alert type for an SLO
|
|
25
25
|
*
|
|
26
26
|
* **Required scope:** environment-api:slo:write<br/>**Required permission:** environment:roles:manage-settings
|
|
27
|
+
*
|
|
27
28
|
* @returns Success. The new alert has been created. The response contains the parameters of the new alert. The **location** response header contains the ID of the new alert.
|
|
29
|
+
*
|
|
30
|
+
* @example <caption>Code example</caption>
|
|
31
|
+
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
32
|
+
*
|
|
33
|
+
* const data = await serviceLevelObjectivesClient.createAlert(
|
|
34
|
+
* {
|
|
35
|
+
* id: "...",
|
|
36
|
+
* from: "...",
|
|
37
|
+
* to: "...",
|
|
38
|
+
* timeFrame: {} as CreateAlertQueryTimeFrame,
|
|
39
|
+
* body: {} as AbstractSloAlertDto,
|
|
40
|
+
* }
|
|
41
|
+
* );
|
|
28
42
|
*/
|
|
29
43
|
createAlert(config: {
|
|
30
44
|
body: AbstractSloAlertDto;
|
|
@@ -82,7 +96,25 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
82
96
|
*
|
|
83
97
|
* 1. Set the **timeFrame** parameter to `GTF`.
|
|
84
98
|
* 2. Provide the timeframe in **from** and **to** parameters.
|
|
99
|
+
*
|
|
85
100
|
* @returns Success. The response contains the parameters and calculated values of the requested SLO.
|
|
101
|
+
*
|
|
102
|
+
* @example <caption>Code example</caption>
|
|
103
|
+
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
104
|
+
*
|
|
105
|
+
* const data = await serviceLevelObjectivesClient.getSlo({
|
|
106
|
+
* nextPageKey: "...",
|
|
107
|
+
* pageSize: 123,
|
|
108
|
+
* from: "...",
|
|
109
|
+
* to: "...",
|
|
110
|
+
* sloSelector: "...",
|
|
111
|
+
* sort: "...",
|
|
112
|
+
* timeFrame: {} as GetSloQueryTimeFrame,
|
|
113
|
+
* demo: true,
|
|
114
|
+
* evaluate: {} as GetSloQueryEvaluate,
|
|
115
|
+
* enabledSlos: {} as GetSloQueryEnabledSlos,
|
|
116
|
+
* showGlobalSlos: true,
|
|
117
|
+
* });
|
|
86
118
|
*/
|
|
87
119
|
getSlo(config?: {
|
|
88
120
|
/**
|
|
@@ -139,16 +171,20 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
139
171
|
* The scope of the query. Only SLOs matching the provided criteria are included in the response.
|
|
140
172
|
*
|
|
141
173
|
* You can add one or several of the criteria listed below.
|
|
142
|
-
* * SLO ID: id("id-1","id-2")
|
|
143
|
-
* * Name: name("name")
|
|
144
|
-
* * Health state: healthState("HEALTHY") or healthState("UNHEALTHY"). You can specify only one health state.
|
|
145
|
-
* * Text: text("value")
|
|
146
|
-
* * Problem: problemDisplayName("value")
|
|
174
|
+
* * SLO ID: `id("id-1","id-2")`.
|
|
175
|
+
* * Name: `name("name")`. Filters for an SLO with the given name. The filter is case-sensitive.
|
|
176
|
+
* * Health state: `healthState("HEALTHY")` or `healthState("UNHEALTHY")`. Filters for SLOs that have no related open problems (`HEALTHY`) or SLOs that have related open problems (`UNHEALTHY`). You can specify only one health state.
|
|
177
|
+
* * Text: `text("value")`. Filters for all SLOs that contain the given value in their name or description. The filter is case-insensitive.
|
|
178
|
+
* * Problem: `problemDisplayName("value")`. Filters for all SLOs that are related to a given problem display name (e.g. P-12345).
|
|
179
|
+
* * Management zone name: `managementZone("MZ-A")`. Filters for all SLOs that are related to the given management zone name.
|
|
180
|
+
* * Management zone ID: `managementZoneID("123")`. Filters for all SLOs that are related to the given management zone ID.
|
|
147
181
|
*
|
|
148
|
-
* To set several criteria, separate them with comma (
|
|
149
|
-
*
|
|
182
|
+
* To set several criteria, separate them with comma (`,`). Only SLOs matching all criteria are included in the response. Examples:
|
|
183
|
+
* * .../api/v2/slo?sloSelector=name("Service Availability")
|
|
184
|
+
* * .../api/v2/slo?sloSelector=id("id")
|
|
185
|
+
* * .../api/v2/slo?sloSelector=text("Description"),healthState("HEALTHY").
|
|
150
186
|
*
|
|
151
|
-
* The special characters
|
|
187
|
+
* The special characters `~` and `"` need to be escaped using a `~` (e.g. double quote search `text("~"")`).
|
|
152
188
|
*/ sloSelector?: string;
|
|
153
189
|
/**
|
|
154
190
|
* The sorting of SLO entries:
|
|
@@ -175,6 +211,13 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
175
211
|
* Creates a new SLO
|
|
176
212
|
*
|
|
177
213
|
* **Required scope:** environment-api:slo:write<br/>**Required permission:** environment:roles:manage-settings
|
|
214
|
+
*
|
|
215
|
+
* @example <caption>Code example</caption>
|
|
216
|
+
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
217
|
+
*
|
|
218
|
+
* const data = await serviceLevelObjectivesClient.createSlo({
|
|
219
|
+
* body: {} as SloConfigItemDtoImpl,
|
|
220
|
+
* });
|
|
178
221
|
*/
|
|
179
222
|
createSlo(config: {
|
|
180
223
|
body: SloConfigItemDtoImpl;
|
|
@@ -184,7 +227,18 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
184
227
|
* Gets parameters and calculated values of a specific SLO
|
|
185
228
|
*
|
|
186
229
|
* **Required scope:** environment-api:slo:read<br/>**Required permission:** environment:roles:viewer<br/><br/>If **from** and **to** parameters are provided, the SLO is calculated for that timeframe; otherwise the SLO's own timeframe is used.
|
|
230
|
+
*
|
|
187
231
|
* @returns Success. The response contains the parameters and calculated values of the requested SLO.
|
|
232
|
+
*
|
|
233
|
+
* @example <caption>Code example</caption>
|
|
234
|
+
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
235
|
+
*
|
|
236
|
+
* const data = await serviceLevelObjectivesClient.getSloById({
|
|
237
|
+
* id: "...",
|
|
238
|
+
* from: "...",
|
|
239
|
+
* to: "...",
|
|
240
|
+
* timeFrame: {} as GetSloByIdQueryTimeFrame,
|
|
241
|
+
* });
|
|
188
242
|
*/
|
|
189
243
|
getSloById(config: {
|
|
190
244
|
/** The ID of the required SLO. */ id: string;
|
|
@@ -238,6 +292,15 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
238
292
|
* Updates an existing SLO
|
|
239
293
|
*
|
|
240
294
|
* **Required scope:** environment-api:slo:write<br/>**Required permission:** environment:roles:manage-settings
|
|
295
|
+
*
|
|
296
|
+
* @example <caption>Code example</caption>
|
|
297
|
+
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
298
|
+
*
|
|
299
|
+
* const data =
|
|
300
|
+
* await serviceLevelObjectivesClient.updateSloById({
|
|
301
|
+
* id: "...",
|
|
302
|
+
* body: {} as SloConfigItemDtoImpl,
|
|
303
|
+
* });
|
|
241
304
|
*/
|
|
242
305
|
updateSloById(config: {
|
|
243
306
|
body: SloConfigItemDtoImpl;
|
|
@@ -248,6 +311,13 @@ export declare class ServiceLevelObjectivesClient {
|
|
|
248
311
|
* Deletes an SLO
|
|
249
312
|
*
|
|
250
313
|
* **Required scope:** environment-api:slo:write<br/>**Required permission:** environment:roles:manage-settings
|
|
314
|
+
*
|
|
315
|
+
* @example <caption>Code example</caption>
|
|
316
|
+
* import { serviceLevelObjectivesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
317
|
+
*
|
|
318
|
+
* const data = await serviceLevelObjectivesClient.deleteSlo({
|
|
319
|
+
* id: "...",
|
|
320
|
+
* });
|
|
251
321
|
*/
|
|
252
322
|
deleteSlo(config: {
|
|
253
323
|
id: string;
|
|
@@ -19,8 +19,19 @@ export declare class SettingsObjectsClient {
|
|
|
19
19
|
/**
|
|
20
20
|
* Gets the specified settings object
|
|
21
21
|
*
|
|
22
|
-
* **Required scope:** settings:objects:read
|
|
22
|
+
* **Required scope:** settings:objects:read<br/>**One of the following permissions is required:**
|
|
23
|
+
* + environment:roles:manage-settings
|
|
24
|
+
* + settings:objects:read
|
|
25
|
+
*
|
|
23
26
|
* @returns Success
|
|
27
|
+
*
|
|
28
|
+
* @example <caption>Code example</caption>
|
|
29
|
+
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
30
|
+
*
|
|
31
|
+
* const data =
|
|
32
|
+
* await settingsObjectsClient.getSettingsObjectByObjectId({
|
|
33
|
+
* objectId: "...",
|
|
34
|
+
* });
|
|
24
35
|
*/
|
|
25
36
|
getSettingsObjectByObjectId(config: {
|
|
26
37
|
/** The ID of the required settings object. */ objectId: string;
|
|
@@ -29,8 +40,20 @@ export declare class SettingsObjectsClient {
|
|
|
29
40
|
/**
|
|
30
41
|
* Updates an existing settings object
|
|
31
42
|
*
|
|
32
|
-
* **Required scope:** settings:objects:write
|
|
43
|
+
* **Required scope:** settings:objects:write<br/>**One of the following permissions is required:**
|
|
44
|
+
* + environment:roles:manage-settings
|
|
45
|
+
* + settings:objects:write
|
|
46
|
+
*
|
|
33
47
|
* @returns Success
|
|
48
|
+
*
|
|
49
|
+
* @example <caption>Code example</caption>
|
|
50
|
+
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
51
|
+
*
|
|
52
|
+
* const data =
|
|
53
|
+
* await settingsObjectsClient.putSettingsObjectByObjectId({
|
|
54
|
+
* objectId: "...",
|
|
55
|
+
* body: {} as SettingsObjectUpdate,
|
|
56
|
+
* });
|
|
34
57
|
*/
|
|
35
58
|
putSettingsObjectByObjectId(config: {
|
|
36
59
|
body: SettingsObjectUpdate;
|
|
@@ -40,7 +63,17 @@ export declare class SettingsObjectsClient {
|
|
|
40
63
|
/**
|
|
41
64
|
* Deletes the specified settings object
|
|
42
65
|
*
|
|
43
|
-
* **Required scope:** settings:objects:write
|
|
66
|
+
* **Required scope:** settings:objects:write<br/>**One of the following permissions is required:**
|
|
67
|
+
* + environment:roles:manage-settings
|
|
68
|
+
* + settings:objects:write
|
|
69
|
+
*
|
|
70
|
+
* @example <caption>Code example</caption>
|
|
71
|
+
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
72
|
+
*
|
|
73
|
+
* const data =
|
|
74
|
+
* await settingsObjectsClient.deleteSettingsObjectByObjectId(
|
|
75
|
+
* { objectId: "...", updateToken: "..." }
|
|
76
|
+
* );
|
|
44
77
|
*/
|
|
45
78
|
deleteSettingsObjectByObjectId(config: {
|
|
46
79
|
/** The ID of the required settings object. */ objectId: string;
|
|
@@ -56,12 +89,29 @@ export declare class SettingsObjectsClient {
|
|
|
56
89
|
/**
|
|
57
90
|
* Lists effective settings values
|
|
58
91
|
*
|
|
59
|
-
* **Required scope:** settings:objects:read<br
|
|
92
|
+
* **Required scope:** settings:objects:read<br/>**One of the following permissions is required:**
|
|
93
|
+
* + environment:roles:manage-settings
|
|
94
|
+
* + settings:objects:read
|
|
95
|
+
*
|
|
96
|
+
* <br/><br/>Lists effective settings values for selected schemas at a selected scope (or entity). This operation evaluates the hierarchy of persisted objects (see [/settings/objects](#/Settings%20-%20Objects/getSettingsObjects))
|
|
60
97
|
*
|
|
61
98
|
* It will always return a result for a schema/scope combination, even if the schema would not be relevant to the given scope/entity.
|
|
62
99
|
*
|
|
63
100
|
* If no object along the hierarchy is persisted, the default value as defined in the schema will be returned.
|
|
101
|
+
*
|
|
64
102
|
* @returns Success
|
|
103
|
+
*
|
|
104
|
+
* @example <caption>Code example</caption>
|
|
105
|
+
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
106
|
+
*
|
|
107
|
+
* const data =
|
|
108
|
+
* await settingsObjectsClient.getEffectiveSettingsValues({
|
|
109
|
+
* schemaIds: "...",
|
|
110
|
+
* scope: "...",
|
|
111
|
+
* fields: "...",
|
|
112
|
+
* nextPageKey: "...",
|
|
113
|
+
* pageSize: 123,
|
|
114
|
+
* });
|
|
65
115
|
*/
|
|
66
116
|
getEffectiveSettingsValues(config?: {
|
|
67
117
|
/**
|
|
@@ -72,7 +122,7 @@ export declare class SettingsObjectsClient {
|
|
|
72
122
|
/**
|
|
73
123
|
* The scope that the requested objects target.
|
|
74
124
|
*
|
|
75
|
-
* The selection only matches objects directly targeting the specified scope. For example, `environment` will not match objects that target a host within environment.
|
|
125
|
+
* The selection only matches objects directly targeting the specified scope. For example, `environment` will not match objects that target a host within environment. For more details, please see [Dynatrace Documentation](https://dt-url.net/ky03459).
|
|
76
126
|
*
|
|
77
127
|
* To load the first page, when the **nextPageKey** is not set, this parameter is required.
|
|
78
128
|
*/ scope?: string;
|
|
@@ -102,12 +152,31 @@ export declare class SettingsObjectsClient {
|
|
|
102
152
|
/**
|
|
103
153
|
* Lists persisted settings objects
|
|
104
154
|
*
|
|
105
|
-
* **Required scope:** settings:objects:read<br
|
|
155
|
+
* **Required scope:** settings:objects:read<br/>**One of the following permissions is required:**
|
|
156
|
+
* + environment:roles:manage-settings
|
|
157
|
+
* + settings:objects:read
|
|
158
|
+
*
|
|
159
|
+
* <br/><br/>Lists persisted settings objects for selected schemas at selected scopes (or entities).
|
|
106
160
|
*
|
|
107
161
|
* If nothing is persisted or if all persisted settings objects are not accessible due to missing permissions, no items will be returned.
|
|
108
162
|
*
|
|
109
163
|
* To query the effective values (including schema defaults) please see [/settings/effectiveValues](#/Settings%20-%20Objects/getEffectiveSettingsValues).
|
|
164
|
+
*
|
|
110
165
|
* @returns Success. Accessible objects returned.
|
|
166
|
+
*
|
|
167
|
+
* @example <caption>Code example</caption>
|
|
168
|
+
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
169
|
+
*
|
|
170
|
+
* const data = await settingsObjectsClient.getSettingsObjects(
|
|
171
|
+
* {
|
|
172
|
+
* schemaIds: "...",
|
|
173
|
+
* scopes: "...",
|
|
174
|
+
* externalIds: "...",
|
|
175
|
+
* fields: "...",
|
|
176
|
+
* nextPageKey: "...",
|
|
177
|
+
* pageSize: 123,
|
|
178
|
+
* }
|
|
179
|
+
* );
|
|
111
180
|
*/
|
|
112
181
|
getSettingsObjects(config?: {
|
|
113
182
|
/**
|
|
@@ -120,18 +189,23 @@ export declare class SettingsObjectsClient {
|
|
|
120
189
|
/**
|
|
121
190
|
* A list of comma-separated scopes, that the requested objects target.
|
|
122
191
|
*
|
|
123
|
-
* The selection only matches objects directly targeting the specified scopes. For example, `environment` will not match objects that target a host within environment.
|
|
192
|
+
* The selection only matches objects directly targeting the specified scopes. For example, `environment` will not match objects that target a host within environment. For more details, please see [Dynatrace Documentation](https://dt-url.net/ky03459).
|
|
124
193
|
*
|
|
125
194
|
* To load the first page, when the **nextPageKey** is not set, either this parameter or **schemaIds** is required.
|
|
126
195
|
*
|
|
127
196
|
* To load all objects belonging to the given scopes leave the **schemaIds** parameter empty.
|
|
128
197
|
*/ scopes?: string;
|
|
198
|
+
/**
|
|
199
|
+
* A list of comma-separated external IDs that the requested objects have.
|
|
200
|
+
*
|
|
201
|
+
* Only considered on load of the first page, when the **nextPageKey** is not set.
|
|
202
|
+
*/ externalIds?: string;
|
|
129
203
|
/**
|
|
130
204
|
* A list of fields to be included to the response. The provided set of fields replaces the default set.
|
|
131
205
|
*
|
|
132
206
|
* Specify the required top-level fields, separated by commas (for example, `objectId,value`).
|
|
133
207
|
*
|
|
134
|
-
* Supported fields: `objectId`, `summary`, `searchSummary`, `created`, `modified`, `author`, `updateToken`, `scope`, `schemaId`, `schemaVersion`, `value`, `externalId`.
|
|
208
|
+
* Supported fields: `objectId`, `summary`, `searchSummary`, `created`, `modified`, `author`, `updateToken`, `scope`, `modificationInfo`, `schemaId`, `schemaVersion`, `value`, `externalId`.
|
|
135
209
|
*/ fields?: string;
|
|
136
210
|
/**
|
|
137
211
|
* The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
|
|
@@ -152,8 +226,22 @@ export declare class SettingsObjectsClient {
|
|
|
152
226
|
/**
|
|
153
227
|
* Creates a new settings object
|
|
154
228
|
*
|
|
155
|
-
* **Required scope:** settings:objects:write<br
|
|
229
|
+
* **Required scope:** settings:objects:write<br/>**One of the following permissions is required:**
|
|
230
|
+
* + environment:roles:manage-settings
|
|
231
|
+
* + settings:objects:write
|
|
232
|
+
*
|
|
233
|
+
* <br/><br/>You can upload several objects at once. In that case each object returns its own response code. Check the response body for details.
|
|
234
|
+
*
|
|
156
235
|
* @returns Success | Multi-status: different objects in the payload resulted in different statuses.
|
|
236
|
+
*
|
|
237
|
+
* @example <caption>Code example</caption>
|
|
238
|
+
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
239
|
+
*
|
|
240
|
+
* const data =
|
|
241
|
+
* await settingsObjectsClient.postSettingsObjects({
|
|
242
|
+
* validateOnly: true,
|
|
243
|
+
* body: {} as SettingsObjectCreate[],
|
|
244
|
+
* });
|
|
157
245
|
*/
|
|
158
246
|
postSettingsObjects(config: {
|
|
159
247
|
body: SettingsObjectCreate[];
|
|
@@ -15,15 +15,36 @@ export declare class SettingsSchemasClient {
|
|
|
15
15
|
/**
|
|
16
16
|
* Lists available settings schemas
|
|
17
17
|
*
|
|
18
|
-
* **Required scope:** settings:schemas:read
|
|
18
|
+
* **Required scope:** settings:schemas:read<br/>**One of the following permissions is required:**
|
|
19
|
+
* + environment:roles:manage-settings
|
|
20
|
+
* + settings:schemas:read
|
|
21
|
+
*
|
|
19
22
|
* @returns Success
|
|
23
|
+
*
|
|
24
|
+
* @example <caption>Code example</caption>
|
|
25
|
+
* import { settingsSchemasClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
26
|
+
*
|
|
27
|
+
* const data =
|
|
28
|
+
* await settingsSchemasClient.getAvailableSchemaDefinitions();
|
|
20
29
|
*/
|
|
21
30
|
getAvailableSchemaDefinitions(abortSignal?: AbortSignal): Promise<SchemaList>;
|
|
22
31
|
/**
|
|
23
32
|
* Gets parameters of the specified settings schema
|
|
24
33
|
*
|
|
25
|
-
* **Required scope:** settings:schemas:read
|
|
34
|
+
* **Required scope:** settings:schemas:read<br/>**One of the following permissions is required:**
|
|
35
|
+
* + environment:roles:manage-settings
|
|
36
|
+
* + settings:schemas:read
|
|
37
|
+
*
|
|
26
38
|
* @returns Success
|
|
39
|
+
*
|
|
40
|
+
* @example <caption>Code example</caption>
|
|
41
|
+
* import { settingsSchemasClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
42
|
+
*
|
|
43
|
+
* const data =
|
|
44
|
+
* await settingsSchemasClient.getSchemaDefinition({
|
|
45
|
+
* schemaId: "...",
|
|
46
|
+
* schemaVersion: "...",
|
|
47
|
+
* });
|
|
27
48
|
*/
|
|
28
49
|
getSchemaDefinition(config: {
|
|
29
50
|
/** The ID of the required schema. */ schemaId: string;
|