@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/package.json
CHANGED
|
@@ -20,7 +20,17 @@ export declare class AccessTokensActiveGateTokensClient {
|
|
|
20
20
|
* **Required scope:** environment-api:activegate-tokens:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>You can limit the output by using pagination:
|
|
21
21
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
22
22
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
23
|
+
*
|
|
23
24
|
* @returns Success. The response contains the list of ActiveGate tokens.
|
|
25
|
+
*
|
|
26
|
+
* @example <caption>Code example</caption>
|
|
27
|
+
* import { accessTokensActiveGateTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28
|
+
*
|
|
29
|
+
* const data =
|
|
30
|
+
* await accessTokensActiveGateTokensClient.listTokens({
|
|
31
|
+
* nextPageKey: "...",
|
|
32
|
+
* pageSize: 123,
|
|
33
|
+
* });
|
|
24
34
|
*/
|
|
25
35
|
listTokens(config?: {
|
|
26
36
|
/**
|
|
@@ -47,7 +57,16 @@ export declare class AccessTokensActiveGateTokensClient {
|
|
|
47
57
|
* + environment-api:activegate-tokens:write
|
|
48
58
|
*
|
|
49
59
|
* <br/>**Required permission:** environment:roles:manage-settings<br/><br/>The newly created token will be owned by the same user who owns the token used for authentication of the call.
|
|
60
|
+
*
|
|
50
61
|
* @returns Success. The token has been created. The body of the response contains the token secret.
|
|
62
|
+
*
|
|
63
|
+
* @example <caption>Code example</caption>
|
|
64
|
+
* import { accessTokensActiveGateTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
65
|
+
*
|
|
66
|
+
* const data =
|
|
67
|
+
* await accessTokensActiveGateTokensClient.createToken({
|
|
68
|
+
* body: {} as ActiveGateTokenCreate,
|
|
69
|
+
* });
|
|
51
70
|
*/
|
|
52
71
|
createToken(config: {
|
|
53
72
|
body: ActiveGateTokenCreate;
|
|
@@ -57,7 +76,16 @@ export declare class AccessTokensActiveGateTokensClient {
|
|
|
57
76
|
* Gets metadata of an ActiveGate token
|
|
58
77
|
*
|
|
59
78
|
* **Required scope:** environment-api:activegate-tokens:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>The token secret is **not** exposed.
|
|
79
|
+
*
|
|
60
80
|
* @returns Success. The response contains the metadata of the tokens.
|
|
81
|
+
*
|
|
82
|
+
* @example <caption>Code example</caption>
|
|
83
|
+
* import { accessTokensActiveGateTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
84
|
+
*
|
|
85
|
+
* const data =
|
|
86
|
+
* await accessTokensActiveGateTokensClient.getToken({
|
|
87
|
+
* activeGateTokenIdentifier: "...",
|
|
88
|
+
* });
|
|
61
89
|
*/
|
|
62
90
|
getToken(config: {
|
|
63
91
|
/** The ActiveGate token identifier, consisting of [prefix and public part](https://dt-url.net/rn00tjg) of the token. */ activeGateTokenIdentifier: string;
|
|
@@ -67,6 +95,14 @@ export declare class AccessTokensActiveGateTokensClient {
|
|
|
67
95
|
* Deletes an ActiveGate token
|
|
68
96
|
*
|
|
69
97
|
* **Required scope:** environment-api:activegate-tokens:write<br/>**Required permission:** environment:roles:manage-settings
|
|
98
|
+
*
|
|
99
|
+
* @example <caption>Code example</caption>
|
|
100
|
+
* import { accessTokensActiveGateTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
101
|
+
*
|
|
102
|
+
* const data =
|
|
103
|
+
* await accessTokensActiveGateTokensClient.revokeToken({
|
|
104
|
+
* activeGateTokenIdentifier: "...",
|
|
105
|
+
* });
|
|
70
106
|
*/
|
|
71
107
|
revokeToken(config: {
|
|
72
108
|
/** The ActiveGate token identifier, consisting of [prefix and public part](https://dt-url.net/rn00tjg) of the token to be deleted. */ activeGateTokenIdentifier: string;
|
package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts
CHANGED
|
@@ -22,7 +22,22 @@ export declare class AccessTokensApiTokensClient {
|
|
|
22
22
|
* **Required scope:** environment-api:api-tokens:read<br/>**Required permission:** environment:roles:viewer<br/><br/>You can limit the output by using pagination:
|
|
23
23
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
24
24
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
25
|
+
*
|
|
25
26
|
* @returns Success
|
|
27
|
+
*
|
|
28
|
+
* @example <caption>Code example</caption>
|
|
29
|
+
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
30
|
+
*
|
|
31
|
+
* const data =
|
|
32
|
+
* await accessTokensApiTokensClient.listApiTokens({
|
|
33
|
+
* nextPageKey: "...",
|
|
34
|
+
* pageSize: 123,
|
|
35
|
+
* apiTokenSelector: "...",
|
|
36
|
+
* fields: "...",
|
|
37
|
+
* from: "...",
|
|
38
|
+
* to: "...",
|
|
39
|
+
* sort: "...",
|
|
40
|
+
* });
|
|
26
41
|
*/
|
|
27
42
|
listApiTokens(config?: {
|
|
28
43
|
/**
|
|
@@ -137,7 +152,18 @@ export declare class AccessTokensApiTokensClient {
|
|
|
137
152
|
* Creates a new API token
|
|
138
153
|
*
|
|
139
154
|
* **Required scope:** environment-api:api-tokens:write<br/>**Required permission:** environment:roles:viewer<br/><br/>The newly created token will be owned by the same user who owns the token used for authentication of the call.
|
|
155
|
+
*
|
|
156
|
+
* Creating personal access tokens requires the `environment:roles:viewer` permission. Creating access tokens requires the `environment:roles:manage-settings` permission.
|
|
157
|
+
*
|
|
140
158
|
* @returns Success. The token has been created. The body of the response contains the token secret.
|
|
159
|
+
*
|
|
160
|
+
* @example <caption>Code example</caption>
|
|
161
|
+
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
162
|
+
*
|
|
163
|
+
* const data =
|
|
164
|
+
* await accessTokensApiTokensClient.createApiToken({
|
|
165
|
+
* body: {} as ApiTokenCreate,
|
|
166
|
+
* });
|
|
141
167
|
*/
|
|
142
168
|
createApiToken(config: {
|
|
143
169
|
body: ApiTokenCreate;
|
|
@@ -147,7 +173,15 @@ export declare class AccessTokensApiTokensClient {
|
|
|
147
173
|
* Gets API token metadata by token ID
|
|
148
174
|
*
|
|
149
175
|
* **Required scope:** environment-api:api-tokens:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The token secret is **not** exposed.
|
|
176
|
+
*
|
|
150
177
|
* @returns Success
|
|
178
|
+
*
|
|
179
|
+
* @example <caption>Code example</caption>
|
|
180
|
+
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
181
|
+
*
|
|
182
|
+
* const data = await accessTokensApiTokensClient.getApiToken({
|
|
183
|
+
* id: "...",
|
|
184
|
+
* });
|
|
151
185
|
*/
|
|
152
186
|
getApiToken(config: {
|
|
153
187
|
id: string;
|
|
@@ -157,6 +191,15 @@ export declare class AccessTokensApiTokensClient {
|
|
|
157
191
|
* Updates an API token
|
|
158
192
|
*
|
|
159
193
|
* **Required scope:** environment-api:api-tokens:write<br/>**Required permission:** environment:roles:viewer
|
|
194
|
+
*
|
|
195
|
+
* @example <caption>Code example</caption>
|
|
196
|
+
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
197
|
+
*
|
|
198
|
+
* const data =
|
|
199
|
+
* await accessTokensApiTokensClient.updateApiToken({
|
|
200
|
+
* id: "...",
|
|
201
|
+
* body: {} as ApiTokenUpdate,
|
|
202
|
+
* });
|
|
160
203
|
*/
|
|
161
204
|
updateApiToken(config: {
|
|
162
205
|
body: ApiTokenUpdate;
|
|
@@ -171,6 +214,14 @@ export declare class AccessTokensApiTokensClient {
|
|
|
171
214
|
* Deletes an API token
|
|
172
215
|
*
|
|
173
216
|
* **Required scope:** environment-api:api-tokens:write<br/>**Required permission:** environment:roles:viewer
|
|
217
|
+
*
|
|
218
|
+
* @example <caption>Code example</caption>
|
|
219
|
+
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
220
|
+
*
|
|
221
|
+
* const data =
|
|
222
|
+
* await accessTokensApiTokensClient.deleteApiToken({
|
|
223
|
+
* id: "...",
|
|
224
|
+
* });
|
|
174
225
|
*/
|
|
175
226
|
deleteApiToken(config: {
|
|
176
227
|
/**
|
|
@@ -186,7 +237,16 @@ export declare class AccessTokensApiTokensClient {
|
|
|
186
237
|
* Gets API token metadata by token secret
|
|
187
238
|
*
|
|
188
239
|
* **Required scope:** environment-api:api-tokens:read<br/>**Required permission:** environment:roles:viewer
|
|
240
|
+
*
|
|
189
241
|
* @returns Success
|
|
242
|
+
*
|
|
243
|
+
* @example <caption>Code example</caption>
|
|
244
|
+
* import { accessTokensApiTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
245
|
+
*
|
|
246
|
+
* const data =
|
|
247
|
+
* await accessTokensApiTokensClient.lookupApiToken({
|
|
248
|
+
* body: {} as ApiTokenSecret,
|
|
249
|
+
* });
|
|
190
250
|
*/
|
|
191
251
|
lookupApiToken(config: {
|
|
192
252
|
body: ApiTokenSecret;
|
|
@@ -15,21 +15,42 @@ export declare class AccessTokensTenantTokensClient {
|
|
|
15
15
|
* Cancels tenant token rotation
|
|
16
16
|
*
|
|
17
17
|
* **Required scope:** environment-api:tenant-token-rotation:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>To learn how to rotate tokens, see [Token rotation](https://dt-url.net/1543sf6) in Dynatrace Documentation.
|
|
18
|
+
*
|
|
18
19
|
* @returns Success. Rotation process has been cancelled. The current tenant token remains valid.
|
|
20
|
+
*
|
|
21
|
+
* @example <caption>Code example</caption>
|
|
22
|
+
* import { accessTokensTenantTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
23
|
+
*
|
|
24
|
+
* const data =
|
|
25
|
+
* await accessTokensTenantTokensClient.cancelRotation();
|
|
19
26
|
*/
|
|
20
27
|
cancelRotation(abortSignal?: AbortSignal): Promise<TenantTokenConfig>;
|
|
21
28
|
/**
|
|
22
29
|
* Finishes tenant token rotation
|
|
23
30
|
*
|
|
24
31
|
* **Required scope:** environment-api:tenant-token-rotation:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>To learn how to rotate tokens, see [Token rotation](https://dt-url.net/1543sf6) in Dynatrace Documentation.
|
|
32
|
+
*
|
|
25
33
|
* @returns Success. The rotation process is completed. The **active** field of the response contains the new tenant token.
|
|
34
|
+
*
|
|
35
|
+
* @example <caption>Code example</caption>
|
|
36
|
+
* import { accessTokensTenantTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
37
|
+
*
|
|
38
|
+
* const data =
|
|
39
|
+
* await accessTokensTenantTokensClient.finishRotation();
|
|
26
40
|
*/
|
|
27
41
|
finishRotation(abortSignal?: AbortSignal): Promise<TenantTokenConfig>;
|
|
28
42
|
/**
|
|
29
43
|
* Starts tenant token rotation
|
|
30
44
|
*
|
|
31
45
|
* **Required scope:** environment-api:tenant-token-rotation:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>To learn how to rotate tokens, see [Token rotation](https://dt-url.net/1543sf6) in Dynatrace Documentation.
|
|
46
|
+
*
|
|
32
47
|
* @returns Success. The new tenant token is created and will replace the old one. The **active** field of the response contains the new tenant token.
|
|
48
|
+
*
|
|
49
|
+
* @example <caption>Code example</caption>
|
|
50
|
+
* import { accessTokensTenantTokensClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
51
|
+
*
|
|
52
|
+
* const data =
|
|
53
|
+
* await accessTokensTenantTokensClient.startRotation();
|
|
33
54
|
*/
|
|
34
55
|
startRotation(abortSignal?: AbortSignal): Promise<TenantTokenConfig>;
|
|
35
56
|
}
|
|
@@ -24,7 +24,32 @@ export declare class ActiveGatesClient {
|
|
|
24
24
|
* Lists all available ActiveGates
|
|
25
25
|
*
|
|
26
26
|
* **Required scope:** environment-api:activegates:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>The response includes all ActiveGates that are currently connected to the environment or have been connected during last 2 hours.
|
|
27
|
+
*
|
|
27
28
|
* @returns Success
|
|
29
|
+
*
|
|
30
|
+
* @example <caption>Code example</caption>
|
|
31
|
+
* import { activeGatesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
32
|
+
*
|
|
33
|
+
* const data = await activeGatesClient.getAllActiveGates({
|
|
34
|
+
* hostname: "...",
|
|
35
|
+
* osType: {} as GetAllActiveGatesQueryOsType,
|
|
36
|
+
* networkAddress: "...",
|
|
37
|
+
* loadBalancerAddress: "...",
|
|
38
|
+
* type: {} as GetAllActiveGatesQueryType,
|
|
39
|
+
* networkZone: "...",
|
|
40
|
+
* updateStatus: {} as GetAllActiveGatesQueryUpdateStatus,
|
|
41
|
+
* versionCompareType:
|
|
42
|
+
* {} as GetAllActiveGatesQueryVersionCompareType,
|
|
43
|
+
* version: "...",
|
|
44
|
+
* autoUpdate: {} as GetAllActiveGatesQueryAutoUpdate,
|
|
45
|
+
* group: "...",
|
|
46
|
+
* online: true,
|
|
47
|
+
* enabledModule: [],
|
|
48
|
+
* disabledModule: [],
|
|
49
|
+
* containerized: true,
|
|
50
|
+
* tokenState: {} as GetAllActiveGatesQueryTokenState,
|
|
51
|
+
* tokenExpirationSet: true,
|
|
52
|
+
* });
|
|
28
53
|
*/
|
|
29
54
|
getAllActiveGates(config?: {
|
|
30
55
|
/**
|
|
@@ -78,7 +103,15 @@ export declare class ActiveGatesClient {
|
|
|
78
103
|
* Gets the details of the specified ActiveGate
|
|
79
104
|
*
|
|
80
105
|
* **Required scope:** environment-api:activegates:read<br/>**Required permission:** environment:roles:manage-settings
|
|
106
|
+
*
|
|
81
107
|
* @returns Success
|
|
108
|
+
*
|
|
109
|
+
* @example <caption>Code example</caption>
|
|
110
|
+
* import { activeGatesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
111
|
+
*
|
|
112
|
+
* const data = await activeGatesClient.getOneActiveGateById({
|
|
113
|
+
* agId: "...",
|
|
114
|
+
* });
|
|
82
115
|
*/
|
|
83
116
|
getOneActiveGateById(config: {
|
|
84
117
|
/** The ID of the required ActiveGate. */ agId: string;
|
|
@@ -16,7 +16,16 @@ export declare class ActiveGatesAutoUpdateConfigurationClient {
|
|
|
16
16
|
* Gets the configuration of auto-update for the specified ActiveGate
|
|
17
17
|
*
|
|
18
18
|
* **Required scope:** environment-api:activegates:read<br/>**Required permission:** environment:roles:manage-settings
|
|
19
|
+
*
|
|
19
20
|
* @returns Success
|
|
21
|
+
*
|
|
22
|
+
* @example <caption>Code example</caption>
|
|
23
|
+
* import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
24
|
+
*
|
|
25
|
+
* const data =
|
|
26
|
+
* await activeGatesAutoUpdateConfigurationClient.getAutoUpdateConfigById(
|
|
27
|
+
* { agId: "..." }
|
|
28
|
+
* );
|
|
20
29
|
*/
|
|
21
30
|
getAutoUpdateConfigById(config: {
|
|
22
31
|
/** The ID of the required ActiveGate. */ agId: string;
|
|
@@ -26,6 +35,14 @@ export declare class ActiveGatesAutoUpdateConfigurationClient {
|
|
|
26
35
|
* Updates the configuration of auto-update for the specified ActiveGate
|
|
27
36
|
*
|
|
28
37
|
* **Required scope:** environment-api:activegates:write<br/>**Required permission:** environment:roles:manage-settings
|
|
38
|
+
*
|
|
39
|
+
* @example <caption>Code example</caption>
|
|
40
|
+
* import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
41
|
+
*
|
|
42
|
+
* const data =
|
|
43
|
+
* await activeGatesAutoUpdateConfigurationClient.putAutoUpdateConfigById(
|
|
44
|
+
* { agId: "...", body: {} as ActiveGateAutoUpdateConfig }
|
|
45
|
+
* );
|
|
29
46
|
*/
|
|
30
47
|
putAutoUpdateConfigById(config: {
|
|
31
48
|
body: ActiveGateAutoUpdateConfig;
|
|
@@ -36,6 +53,14 @@ export declare class ActiveGatesAutoUpdateConfigurationClient {
|
|
|
36
53
|
* Validates the payload for the `POST /activeGates/{agId}/autoUpdate` request.
|
|
37
54
|
*
|
|
38
55
|
* **Required scope:** environment-api:activegates:write<br/>**Required permission:** environment:roles:manage-settings
|
|
56
|
+
*
|
|
57
|
+
* @example <caption>Code example</caption>
|
|
58
|
+
* import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
59
|
+
*
|
|
60
|
+
* const data =
|
|
61
|
+
* await activeGatesAutoUpdateConfigurationClient.validateAutoUpdateConfigById(
|
|
62
|
+
* { agId: "...", body: {} as ActiveGateAutoUpdateConfig }
|
|
63
|
+
* );
|
|
39
64
|
*/
|
|
40
65
|
validateAutoUpdateConfigById(config: {
|
|
41
66
|
body: ActiveGateAutoUpdateConfig;
|
|
@@ -46,13 +71,28 @@ export declare class ActiveGatesAutoUpdateConfigurationClient {
|
|
|
46
71
|
* Gets the global auto-update configuration of environment ActiveGates.
|
|
47
72
|
*
|
|
48
73
|
* **Required scope:** environment-api:activegates:read<br/>**Required permission:** environment:roles:manage-settings
|
|
74
|
+
*
|
|
49
75
|
* @returns Success
|
|
76
|
+
*
|
|
77
|
+
* @example <caption>Code example</caption>
|
|
78
|
+
* import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
79
|
+
*
|
|
80
|
+
* const data =
|
|
81
|
+
* await activeGatesAutoUpdateConfigurationClient.getGlobalAutoUpdateConfigForTenant();
|
|
50
82
|
*/
|
|
51
83
|
getGlobalAutoUpdateConfigForTenant(abortSignal?: AbortSignal): Promise<ActiveGateGlobalAutoUpdateConfig>;
|
|
52
84
|
/**
|
|
53
85
|
* Puts the global auto-update configuration of environment ActiveGates.
|
|
54
86
|
*
|
|
55
87
|
* **Required scope:** environment-api:activegates:write<br/>**Required permission:** environment:roles:manage-settings
|
|
88
|
+
*
|
|
89
|
+
* @example <caption>Code example</caption>
|
|
90
|
+
* import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
91
|
+
*
|
|
92
|
+
* const data =
|
|
93
|
+
* await activeGatesAutoUpdateConfigurationClient.putGlobalAutoUpdateConfigForTenant(
|
|
94
|
+
* { body: {} as ActiveGateGlobalAutoUpdateConfig }
|
|
95
|
+
* );
|
|
56
96
|
*/
|
|
57
97
|
putGlobalAutoUpdateConfigForTenant(config: {
|
|
58
98
|
body: ActiveGateGlobalAutoUpdateConfig;
|
|
@@ -62,6 +102,14 @@ export declare class ActiveGatesAutoUpdateConfigurationClient {
|
|
|
62
102
|
* Validates the payload for the `POST /activeGates/autoUpdate` request.
|
|
63
103
|
*
|
|
64
104
|
* **Required scope:** environment-api:activegates:write<br/>**Required permission:** environment:roles:manage-settings
|
|
105
|
+
*
|
|
106
|
+
* @example <caption>Code example</caption>
|
|
107
|
+
* import { activeGatesAutoUpdateConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
108
|
+
*
|
|
109
|
+
* const data =
|
|
110
|
+
* await activeGatesAutoUpdateConfigurationClient.validateGlobalAutoUpdateConfigForTenant(
|
|
111
|
+
* { body: {} as ActiveGateGlobalAutoUpdateConfig }
|
|
112
|
+
* );
|
|
65
113
|
*/
|
|
66
114
|
validateGlobalAutoUpdateConfigForTenant(config: {
|
|
67
115
|
body: ActiveGateGlobalAutoUpdateConfig;
|
|
@@ -23,7 +23,27 @@ export declare class ActiveGatesAutoUpdateJobsClient {
|
|
|
23
23
|
* List ActiveGates with update jobs
|
|
24
24
|
*
|
|
25
25
|
* **Required scope:** environment-api:activegates:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>The response includes ActiveGates that have both completed (successful and failed) jobs and jobs in progress.
|
|
26
|
+
*
|
|
26
27
|
* @returns Success
|
|
28
|
+
*
|
|
29
|
+
* @example <caption>Code example</caption>
|
|
30
|
+
* import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
31
|
+
*
|
|
32
|
+
* const data =
|
|
33
|
+
* await activeGatesAutoUpdateJobsClient.getAllUpdateJobList(
|
|
34
|
+
* {
|
|
35
|
+
* from: "...",
|
|
36
|
+
* to: "...",
|
|
37
|
+
* startVersionCompareType:
|
|
38
|
+
* {} as GetAllUpdateJobListQueryStartVersionCompareType,
|
|
39
|
+
* startVersion: "...",
|
|
40
|
+
* updateType: "ACTIVE_GATE",
|
|
41
|
+
* targetVersionCompareType:
|
|
42
|
+
* {} as GetAllUpdateJobListQueryTargetVersionCompareType,
|
|
43
|
+
* targetVersion: "...",
|
|
44
|
+
* lastUpdates: true,
|
|
45
|
+
* }
|
|
46
|
+
* );
|
|
27
47
|
*/
|
|
28
48
|
getAllUpdateJobList(config?: {
|
|
29
49
|
/**
|
|
@@ -84,7 +104,28 @@ export declare class ActiveGatesAutoUpdateJobsClient {
|
|
|
84
104
|
* Lists update jobs for the specified ActiveGate
|
|
85
105
|
*
|
|
86
106
|
* **Required scope:** environment-api:activegates:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>The job can update the ActiveGate to the specified version or the latest available one.
|
|
107
|
+
*
|
|
87
108
|
* @returns Success
|
|
109
|
+
*
|
|
110
|
+
* @example <caption>Code example</caption>
|
|
111
|
+
* import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
112
|
+
*
|
|
113
|
+
* const data =
|
|
114
|
+
* await activeGatesAutoUpdateJobsClient.getUpdateJobListByAgId(
|
|
115
|
+
* {
|
|
116
|
+
* agId: "...",
|
|
117
|
+
* from: "...",
|
|
118
|
+
* to: "...",
|
|
119
|
+
* startVersionCompareType:
|
|
120
|
+
* {} as GetUpdateJobListByAgIdQueryStartVersionCompareType,
|
|
121
|
+
* startVersion: "...",
|
|
122
|
+
* updateType: "ACTIVE_GATE",
|
|
123
|
+
* targetVersionCompareType:
|
|
124
|
+
* {} as GetUpdateJobListByAgIdQueryTargetVersionCompareType,
|
|
125
|
+
* targetVersion: "...",
|
|
126
|
+
* lastUpdates: true,
|
|
127
|
+
* }
|
|
128
|
+
* );
|
|
88
129
|
*/
|
|
89
130
|
getUpdateJobListByAgId(config: {
|
|
90
131
|
/** The ID of the required ActiveGate. */ agId: string;
|
|
@@ -146,7 +187,16 @@ export declare class ActiveGatesAutoUpdateJobsClient {
|
|
|
146
187
|
* Creates a new update job for the specified ActiveGate
|
|
147
188
|
*
|
|
148
189
|
* **Required scope:** environment-api:activegates:write<br/>**Required permission:** environment:roles:manage-settings
|
|
190
|
+
*
|
|
149
191
|
* @returns Success. The update-job have been created.
|
|
192
|
+
*
|
|
193
|
+
* @example <caption>Code example</caption>
|
|
194
|
+
* import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
195
|
+
*
|
|
196
|
+
* const data =
|
|
197
|
+
* await activeGatesAutoUpdateJobsClient.createUpdateJobForAg(
|
|
198
|
+
* { agId: "...", body: {} as UpdateJob }
|
|
199
|
+
* );
|
|
150
200
|
*/
|
|
151
201
|
createUpdateJobForAg(config: {
|
|
152
202
|
body: UpdateJob;
|
|
@@ -157,7 +207,16 @@ export declare class ActiveGatesAutoUpdateJobsClient {
|
|
|
157
207
|
* Gets the parameters of the specified update job
|
|
158
208
|
*
|
|
159
209
|
* **Required scope:** environment-api:activegates:read<br/>**Required permission:** environment:roles:manage-settings
|
|
210
|
+
*
|
|
160
211
|
* @returns Success
|
|
212
|
+
*
|
|
213
|
+
* @example <caption>Code example</caption>
|
|
214
|
+
* import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
215
|
+
*
|
|
216
|
+
* const data =
|
|
217
|
+
* await activeGatesAutoUpdateJobsClient.getUpdateJobByJobIdForAg(
|
|
218
|
+
* { agId: "...", jobId: "..." }
|
|
219
|
+
* );
|
|
161
220
|
*/
|
|
162
221
|
getUpdateJobByJobIdForAg(config: {
|
|
163
222
|
/** The ID of the required ActiveGate. */ agId: string;
|
|
@@ -168,6 +227,14 @@ export declare class ActiveGatesAutoUpdateJobsClient {
|
|
|
168
227
|
* Deletes the specified update job
|
|
169
228
|
*
|
|
170
229
|
* **Required scope:** environment-api:activegates:write<br/>**Required permission:** environment:roles:manage-settings
|
|
230
|
+
*
|
|
231
|
+
* @example <caption>Code example</caption>
|
|
232
|
+
* import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
233
|
+
*
|
|
234
|
+
* const data =
|
|
235
|
+
* await activeGatesAutoUpdateJobsClient.deleteUpdateJobByJobIdForAg(
|
|
236
|
+
* { agId: "...", jobId: "..." }
|
|
237
|
+
* );
|
|
171
238
|
*/
|
|
172
239
|
deleteUpdateJobByJobIdForAg(config: {
|
|
173
240
|
/** The ID of the required ActiveGate. */ agId: string;
|
|
@@ -178,6 +245,14 @@ export declare class ActiveGatesAutoUpdateJobsClient {
|
|
|
178
245
|
* Validates the payload for the `POST /activeGates/{agId}/updateJobs` request.
|
|
179
246
|
*
|
|
180
247
|
* **Required scope:** environment-api:activegates:write<br/>**Required permission:** environment:roles:manage-settings
|
|
248
|
+
*
|
|
249
|
+
* @example <caption>Code example</caption>
|
|
250
|
+
* import { activeGatesAutoUpdateJobsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
251
|
+
*
|
|
252
|
+
* const data =
|
|
253
|
+
* await activeGatesAutoUpdateJobsClient.validateUpdateJobForAg(
|
|
254
|
+
* { agId: "...", body: {} as UpdateJob }
|
|
255
|
+
* );
|
|
181
256
|
*/
|
|
182
257
|
validateUpdateJobForAg(config: {
|
|
183
258
|
body: UpdateJob;
|
|
@@ -16,7 +16,13 @@ export declare class AuditLogsClient {
|
|
|
16
16
|
* Gets the specified entry of the audit log | maturity=EARLY_ADOPTER
|
|
17
17
|
*
|
|
18
18
|
* **Required scope:** environment-api:audit-logs:read<br/>**Required permission:** environment:roles:manage-settings
|
|
19
|
+
*
|
|
19
20
|
* @returns Success
|
|
21
|
+
*
|
|
22
|
+
* @example <caption>Code example</caption>
|
|
23
|
+
* import { auditLogsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
24
|
+
*
|
|
25
|
+
* const data = await auditLogsClient.getLog({ id: "..." });
|
|
20
26
|
*/
|
|
21
27
|
getLog(config: {
|
|
22
28
|
/** The ID of the required log entry. */ id: string;
|
|
@@ -28,7 +34,20 @@ export declare class AuditLogsClient {
|
|
|
28
34
|
* **Required scope:** environment-api:audit-logs:read<br/>**Required permission:** environment:roles:manage-settings<br/><br/>You can limit the output by using pagination:
|
|
29
35
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
30
36
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
37
|
+
*
|
|
31
38
|
* @returns Success
|
|
39
|
+
*
|
|
40
|
+
* @example <caption>Code example</caption>
|
|
41
|
+
* import { auditLogsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
42
|
+
*
|
|
43
|
+
* const data = await auditLogsClient.getLogs({
|
|
44
|
+
* nextPageKey: "...",
|
|
45
|
+
* pageSize: 123,
|
|
46
|
+
* filter: "...",
|
|
47
|
+
* from: "...",
|
|
48
|
+
* to: "...",
|
|
49
|
+
* sort: "...",
|
|
50
|
+
* });
|
|
32
51
|
*/
|
|
33
52
|
getLogs(config?: {
|
|
34
53
|
/**
|
|
@@ -13,7 +13,32 @@ export declare class BusinessEventsClient {
|
|
|
13
13
|
* Ingests a business event
|
|
14
14
|
*
|
|
15
15
|
* **Required scope:** storage:events:write<br/>**Required permission:** storage:events:write<br/><br/>The ingestion of business events consumes [Davis Data Units](https://dt-url.net/ddu) (DDUs) from the business events pool.
|
|
16
|
+
*
|
|
16
17
|
* @returns The provided business events are all accepted and will be processed.
|
|
18
|
+
*
|
|
19
|
+
* @example <caption>Code example</caption>
|
|
20
|
+
* import { businessEventsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
21
|
+
*
|
|
22
|
+
* const data = await businessEventsClient.ingest({
|
|
23
|
+
* body: {
|
|
24
|
+
* specversion: "1.0",
|
|
25
|
+
* id: "1",
|
|
26
|
+
* source: "custom.source",
|
|
27
|
+
* type: "com.mycompany.shop.checkout",
|
|
28
|
+
* dtcontext:
|
|
29
|
+
* 'dt.session_id="234234234324235345345",dt.entity.rum_application="APPLICATION-53453458340758",host.name="123.123.123.123"',
|
|
30
|
+
* dataschema:
|
|
31
|
+
* "http://dynatrace.com/schema/bizevents/generic/1.0",
|
|
32
|
+
* traceparent:
|
|
33
|
+
* "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-00",
|
|
34
|
+
* data: {
|
|
35
|
+
* id: "OR-838475",
|
|
36
|
+
* paymentType: "paypal",
|
|
37
|
+
* plannedDeliveryDate: "01.01.2021",
|
|
38
|
+
* total: 234,
|
|
39
|
+
* },
|
|
40
|
+
* } as CloudEvent,
|
|
41
|
+
* });
|
|
17
42
|
*/
|
|
18
43
|
ingest(config: ({
|
|
19
44
|
body: CloudEvent;
|
|
@@ -20,7 +20,20 @@ export declare class CredentialVaultClient {
|
|
|
20
20
|
* Lists all sets of credentials for synthetic monitors stored in your environment.
|
|
21
21
|
*
|
|
22
22
|
* **Required scope:** environment-api:credentials:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The credentials set itself (username/certificate and password) is not included in the response.
|
|
23
|
+
*
|
|
23
24
|
* @returns Success
|
|
25
|
+
*
|
|
26
|
+
* @example <caption>Code example</caption>
|
|
27
|
+
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
28
|
+
*
|
|
29
|
+
* const data = await credentialVaultClient.listCredentials({
|
|
30
|
+
* type: {} as ListCredentialsQueryType,
|
|
31
|
+
* name: "...",
|
|
32
|
+
* user: "...",
|
|
33
|
+
* scope: "...",
|
|
34
|
+
* nextPageKey: "...",
|
|
35
|
+
* pageSize: 123,
|
|
36
|
+
* });
|
|
24
37
|
*/
|
|
25
38
|
listCredentials(config?: {
|
|
26
39
|
/** Filters the result by the specified credentials type. */ type?: ListCredentialsQueryType;
|
|
@@ -47,7 +60,15 @@ export declare class CredentialVaultClient {
|
|
|
47
60
|
* Creates a new credentials set.
|
|
48
61
|
*
|
|
49
62
|
* **Required scope:** environment-api:credentials:write<br/>**Required permission:** environment:roles:viewer<br/><br/>The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.
|
|
63
|
+
*
|
|
50
64
|
* @returns Success. The new credentials set has been created. The response contains the ID of the set.
|
|
65
|
+
*
|
|
66
|
+
* @example <caption>Code example</caption>
|
|
67
|
+
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
68
|
+
*
|
|
69
|
+
* const data = await credentialVaultClient.createCredentials({
|
|
70
|
+
* body: {} as Credentials,
|
|
71
|
+
* });
|
|
51
72
|
*/
|
|
52
73
|
createCredentials(config: {
|
|
53
74
|
body: Credentials;
|
|
@@ -57,7 +78,15 @@ export declare class CredentialVaultClient {
|
|
|
57
78
|
* Gets the metadata of the specified credentials set.
|
|
58
79
|
*
|
|
59
80
|
* **Required scope:** environment-api:credentials:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The credentials set itself (e.g. username/certificate and password) is not included in the response.
|
|
81
|
+
*
|
|
60
82
|
* @returns Success. The response contains the metadata of the credentials set.
|
|
83
|
+
*
|
|
84
|
+
* @example <caption>Code example</caption>
|
|
85
|
+
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
86
|
+
*
|
|
87
|
+
* const data = await credentialVaultClient.getCredentials({
|
|
88
|
+
* id: "...",
|
|
89
|
+
* });
|
|
61
90
|
*/
|
|
62
91
|
getCredentials(config: {
|
|
63
92
|
/** The Dynatrace entity ID of the required credentials set. */ id: string;
|
|
@@ -67,7 +96,16 @@ export declare class CredentialVaultClient {
|
|
|
67
96
|
* Updates the specified credentials set.
|
|
68
97
|
*
|
|
69
98
|
* **Required scope:** environment-api:credentials:write<br/>**Required permission:** environment:roles:viewer<br/><br/>The body must not provide an ID. The ID should be provided in the path.
|
|
99
|
+
*
|
|
70
100
|
* @returns Success. The new credentials set has been created. The response contains the ID of the set.
|
|
101
|
+
*
|
|
102
|
+
* @example <caption>Code example</caption>
|
|
103
|
+
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
104
|
+
*
|
|
105
|
+
* const data = await credentialVaultClient.updateCredentials({
|
|
106
|
+
* id: "...",
|
|
107
|
+
* body: {} as Credentials,
|
|
108
|
+
* });
|
|
71
109
|
*/
|
|
72
110
|
updateCredentials(config: {
|
|
73
111
|
body: Credentials;
|
|
@@ -78,6 +116,13 @@ export declare class CredentialVaultClient {
|
|
|
78
116
|
* Deletes the specified credentials set
|
|
79
117
|
*
|
|
80
118
|
* **Required scope:** environment-api:credentials:write<br/>**Required permission:** environment:roles:viewer<br/><br/>Provide credential ID in the path.
|
|
119
|
+
*
|
|
120
|
+
* @example <caption>Code example</caption>
|
|
121
|
+
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
122
|
+
*
|
|
123
|
+
* const data = await credentialVaultClient.removeCredentials({
|
|
124
|
+
* id: "...",
|
|
125
|
+
* });
|
|
81
126
|
*/
|
|
82
127
|
removeCredentials(config: {
|
|
83
128
|
/** The ID of the credentials set to be deleted. */ id: string;
|
|
@@ -87,7 +132,16 @@ export declare class CredentialVaultClient {
|
|
|
87
132
|
* Gets the details of the specified credentials set.
|
|
88
133
|
*
|
|
89
134
|
* **Required scope:** environment-api:credentials:read<br/><br/>The credentials set including username/certificate, password or token is included in the response.
|
|
135
|
+
*
|
|
90
136
|
* @returns Success. The response contains the details of the credentials set.
|
|
137
|
+
*
|
|
138
|
+
* @example <caption>Code example</caption>
|
|
139
|
+
* import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
140
|
+
*
|
|
141
|
+
* const data =
|
|
142
|
+
* await credentialVaultClient.getCredentialsDetails({
|
|
143
|
+
* id: "...",
|
|
144
|
+
* });
|
|
91
145
|
*/
|
|
92
146
|
getCredentialsDetails(config: {
|
|
93
147
|
/** The Dynatrace entity ID of the required credentials set. */ id: string;
|