@dynatrace-sdk/client-classic-environment-v2 1.13.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/README.md +593 -108
- package/cjs/index.js +2633 -1592
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +2647 -1602
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/index.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +38 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +75 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +10 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-client-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/biz-event-ingest-result-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/client-request-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/error-envelope-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/invalid-response-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-array-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/settings-object-response-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/validation-response-error.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-token-create.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log.transformation.d.ts +1 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update-scopes-item.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details-reduced-reasons-item.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details-reduced-reasons-item.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-category.d.ts +1 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-event-type.d.ts +0 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-scope.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-response-element-scopes-item.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scope.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scopes-item.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/davis-security-advice-technology.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission-granted.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission-granted.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/effective-permission.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/exported-log-record-list.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-info.transformation.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/get-locations-query-capability.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-locations-query-capability.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/history-modification-info.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +34 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +8 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/log-records-list.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-records-list.transformation.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/management-zone-details.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/management-zone-details.transformation.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/modification-info.transformation.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/modification.d.ts +21 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/modification.transformation.d.ts +9 -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/permission-context.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/permission-context.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/problem.transformation.d.ts +3 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-assessment.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resolution-request.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resolution-request.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context-operations-item.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context-operations-item.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/resource-context.transformation.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-page.d.ts +28 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-page.transformation.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-type.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff-type.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +34 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.transformation.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment-details.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/risk-assessment.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +11 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.transformation.d.ts +5 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-details-technology.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-technology.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.d.ts +72 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.transformation.d.ts +22 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object.transformation.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/single-permission-request.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-aggregation.d.ts +1 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +8 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.transformation.d.ts +2 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.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/package.json
CHANGED
|
@@ -62,7 +62,7 @@ export declare class CredentialVaultClient {
|
|
|
62
62
|
* const data = await credentialVaultClient.createCredentials({
|
|
63
63
|
* body: {
|
|
64
64
|
* name: "...",
|
|
65
|
-
* scopes: [CredentialsScopesItem.
|
|
65
|
+
* scopes: [CredentialsScopesItem.AppEngine],
|
|
66
66
|
* },
|
|
67
67
|
* });
|
|
68
68
|
*/
|
|
@@ -102,7 +102,7 @@ export declare class CredentialVaultClient {
|
|
|
102
102
|
* id: "...",
|
|
103
103
|
* body: {
|
|
104
104
|
* name: "...",
|
|
105
|
-
* scopes: [CredentialsScopesItem.
|
|
105
|
+
* scopes: [CredentialsScopesItem.AppEngine],
|
|
106
106
|
* },
|
|
107
107
|
* });
|
|
108
108
|
*/
|
|
@@ -189,7 +189,7 @@ export declare class EventsClient {
|
|
|
189
189
|
* * Notifications are suppressed (true, false): `suppressAlert(true)`.
|
|
190
190
|
* * Problem creation is suppressed (true, false): `suppressProblem(true)`.
|
|
191
191
|
* * Frequent event (true, false): `frequentEvent(true)`.
|
|
192
|
-
* * Event property: `property.<key>("value-1", "value-2")`.
|
|
192
|
+
* * Event property: `property.<key>("value-1", "value-2")`. Only properties with the **filterable** property set to `true` can be used. You can check event properties via the [GET event properties](https://dt-url.net/es03nwo) call.
|
|
193
193
|
*
|
|
194
194
|
* To set several criteria, separate them with commas (`,`). Only results matching **all** criteria are included in the response.
|
|
195
195
|
*/ eventSelector?: string;
|
|
@@ -22,6 +22,7 @@ export * from './problems-api';
|
|
|
22
22
|
export * from './releases-api';
|
|
23
23
|
export * from './security-problems-api';
|
|
24
24
|
export * from './service-level-objectives-api';
|
|
25
|
+
export * from './settings-management-zones-api';
|
|
25
26
|
export * from './settings-objects-api';
|
|
26
27
|
export * from './settings-schemas-api';
|
|
27
28
|
export * from './synthetic-http-monitor-executions-api';
|
package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts
CHANGED
|
@@ -280,6 +280,14 @@ export declare class SecurityProblemsClient {
|
|
|
280
280
|
*
|
|
281
281
|
* To add properties, specify them in a comma-separated list and prefix each property with a plus (for example, `+riskAssessment,+managementZones`).
|
|
282
282
|
*/ fields?: string;
|
|
283
|
+
/**
|
|
284
|
+
* To specify management zones, use one of the options listed below. For each option you can specify multiple comma-separated values. If several values are specified, the **OR** logic applies. All values are case-sensitive and must be quoted.
|
|
285
|
+
*
|
|
286
|
+
* * Management zone ID: ids("mzId-1", "mzId-2").
|
|
287
|
+
* * Management zone names: names("mz-1", "mz-2").
|
|
288
|
+
*
|
|
289
|
+
* You can specify several comma-separated criteria (for example, `names("myMz"),ids("9130632296508575249")`).
|
|
290
|
+
*/ managementZoneFilter?: string;
|
|
283
291
|
/**
|
|
284
292
|
* Based on the timeframe start the affected-, related- and vulnerable entities are being calculated.
|
|
285
293
|
* You can use one of the following formats:
|
package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { ManagementZoneDetails } from '../models/management-zone-details';
|
|
3
|
+
/**
|
|
4
|
+
* View management zone details
|
|
5
|
+
*/
|
|
6
|
+
export declare class SettingsManagementZonesClient {
|
|
7
|
+
private httpClient;
|
|
8
|
+
/**
|
|
9
|
+
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SettingsManagementZonesClient. Custom http client should implement {HttpClient} interface.
|
|
10
|
+
* @example
|
|
11
|
+
* const settingsManagementZonesClientNodeJs = new SettingsManagementZonesClient(yourCustomImplementation);
|
|
12
|
+
*/
|
|
13
|
+
constructor(httpClientImplementation: HttpClient);
|
|
14
|
+
/**
|
|
15
|
+
* Reads management zone details.
|
|
16
|
+
*
|
|
17
|
+
* **Required scope:** settings:objects:read<br/>**One of the following permissions is required:**
|
|
18
|
+
* + environment:roles:manage-settings
|
|
19
|
+
* + settings:objects:read
|
|
20
|
+
*
|
|
21
|
+
* <br/><br/>Allows to convert from an objectId to the ID of the management zone, and can serve as a replacement for [the old config endpoint](index.jsp?urls.primaryName=Configuration%20API#/Management%20zones) for that purpose.
|
|
22
|
+
*
|
|
23
|
+
* @returns Success
|
|
24
|
+
*
|
|
25
|
+
* @example <caption>Code example</caption>
|
|
26
|
+
* import { settingsManagementZonesClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
27
|
+
*
|
|
28
|
+
* const data =
|
|
29
|
+
* await settingsManagementZonesClient.getManagementZoneDetails(
|
|
30
|
+
* { objectId: "..." },
|
|
31
|
+
* );
|
|
32
|
+
*/
|
|
33
|
+
getManagementZoneDetails(config: {
|
|
34
|
+
/** The ID of the required settings object. */ objectId: string;
|
|
35
|
+
abortSignal?: AbortSignal;
|
|
36
|
+
}): Promise<ManagementZoneDetails>;
|
|
37
|
+
}
|
|
38
|
+
export declare const settingsManagementZonesClient: SettingsManagementZonesClient;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { EffectivePermission } from '../models/effective-permission';
|
|
2
3
|
import { EffectiveSettingsValuesList } from '../models/effective-settings-values-list';
|
|
3
4
|
import { ObjectsList } from '../models/objects-list';
|
|
4
|
-
import {
|
|
5
|
+
import { ResolutionRequest } from '../models/resolution-request';
|
|
6
|
+
import { RevisionDiffPage } from '../models/revision-diff-page';
|
|
7
|
+
import { SettingsObjectByObjectIdResponse } from '../models/settings-object-by-object-id-response';
|
|
5
8
|
import { SettingsObjectCreate } from '../models/settings-object-create';
|
|
6
9
|
import { SettingsObjectResponse } from '../models/settings-object-response';
|
|
7
10
|
import { SettingsObjectUpdate } from '../models/settings-object-update';
|
|
@@ -16,6 +19,32 @@ export declare class SettingsObjectsClient {
|
|
|
16
19
|
* const settingsObjectsClientNodeJs = new SettingsObjectsClient(yourCustomImplementation);
|
|
17
20
|
*/
|
|
18
21
|
constructor(httpClientImplementation: HttpClient);
|
|
22
|
+
/**
|
|
23
|
+
* Get the effective settings permissions of the calling user in the environment
|
|
24
|
+
*
|
|
25
|
+
* **One of the following scopes is required:**
|
|
26
|
+
* + settings:objects:write
|
|
27
|
+
* + settings:objects:read
|
|
28
|
+
* + settings:schemas:read
|
|
29
|
+
*
|
|
30
|
+
* <br/>**One of the following permissions is required:**
|
|
31
|
+
* + environment:roles:viewer
|
|
32
|
+
* + settings:schemas:read
|
|
33
|
+
*
|
|
34
|
+
* @returns Success
|
|
35
|
+
*
|
|
36
|
+
* @example <caption>Code example</caption>
|
|
37
|
+
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
38
|
+
*
|
|
39
|
+
* const data =
|
|
40
|
+
* await settingsObjectsClient.resolveEffectivePermissions({
|
|
41
|
+
* body: {},
|
|
42
|
+
* });
|
|
43
|
+
*/
|
|
44
|
+
resolveEffectivePermissions(config: {
|
|
45
|
+
body: ResolutionRequest;
|
|
46
|
+
abortSignal?: AbortSignal;
|
|
47
|
+
}): Promise<EffectivePermission[]>;
|
|
19
48
|
/**
|
|
20
49
|
* Lists effective settings values
|
|
21
50
|
*
|
|
@@ -73,6 +102,49 @@ export declare class SettingsObjectsClient {
|
|
|
73
102
|
*/ pageSize?: number;
|
|
74
103
|
abortSignal?: AbortSignal;
|
|
75
104
|
}): Promise<EffectiveSettingsValuesList>;
|
|
105
|
+
/**
|
|
106
|
+
* Gets the history of settings objects
|
|
107
|
+
*
|
|
108
|
+
* **Required scope:** settings:objects:read<br/>**One of the following permissions is required:**
|
|
109
|
+
* + environment:roles:manage-settings
|
|
110
|
+
* + settings:objects:read
|
|
111
|
+
*
|
|
112
|
+
* @returns Success
|
|
113
|
+
*
|
|
114
|
+
* @example <caption>Code example</caption>
|
|
115
|
+
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
116
|
+
*
|
|
117
|
+
* const data =
|
|
118
|
+
* await settingsObjectsClient.getSettingsHistory();
|
|
119
|
+
*/
|
|
120
|
+
getSettingsHistory(config?: {
|
|
121
|
+
/** Schema ID to which the requested revisions belong. */ schemaId?: string;
|
|
122
|
+
/**
|
|
123
|
+
* The scope that the requested history objects target.
|
|
124
|
+
*
|
|
125
|
+
* The selection only matches revisions 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).
|
|
126
|
+
*
|
|
127
|
+
* To load the first page, when the **nextPageKey** is not set, this parameter is required.
|
|
128
|
+
*/ scope?: string;
|
|
129
|
+
/** The filter parameter, as explained [here](https://dt-url.net/platform-services-filtering). Filtering is supported on the following fields: * `objectId` * `modificationInfo.lastModifiedTime`, and the fields can only be combined with `and` as a boolean operator. If this parameter is omitted or does not include a range for **modificationInfo.lastModifiedTime**, only revisions of the last 2 weeks are returned. (optional) */ filter?: string;
|
|
130
|
+
/** The sort parameter, as explained [here](https://dt-url.net/platform-services-filtering). Sorting is supported on the following fields: * `modificationInfo.lastModifiedTime` (optional, default to -modificationInfo.lastModifiedTime) */ sort?: string;
|
|
131
|
+
/** A list of fields to be included to the response.Specify the required top-level fields, separated by commas (for example, **revision,modificationInfo**). Supported fields: **revision**, **jsonPatch**, **jsonBefore**, **jsonAfter**, **objectId**, **type**, **schemaVersion**, **modificationInfo**.(optional, default to revision, modificationInfo) */ fields?: string;
|
|
132
|
+
/**
|
|
133
|
+
* The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
|
|
134
|
+
*
|
|
135
|
+
* The first page is always returned if you don't specify the **nextPageKey** query parameter.
|
|
136
|
+
*
|
|
137
|
+
* When the **nextPageKey** is set to obtain subsequent pages, you must omit all other query parameters.
|
|
138
|
+
*/ nextPageKey?: string;
|
|
139
|
+
/**
|
|
140
|
+
* The amount of settings objects in a single response payload.
|
|
141
|
+
*
|
|
142
|
+
* The maximal allowed page size is 500.
|
|
143
|
+
*
|
|
144
|
+
* If not set, 100 is used.
|
|
145
|
+
*/ pageSize?: number;
|
|
146
|
+
abortSignal?: AbortSignal;
|
|
147
|
+
}): Promise<RevisionDiffPage>;
|
|
76
148
|
/**
|
|
77
149
|
* Lists persisted settings objects
|
|
78
150
|
*
|
|
@@ -123,7 +195,7 @@ export declare class SettingsObjectsClient {
|
|
|
123
195
|
*
|
|
124
196
|
* Specify the required top-level fields, separated by commas (for example, `objectId,value`).
|
|
125
197
|
*
|
|
126
|
-
* Supported fields: `objectId`, `summary`, `searchSummary`, `created`, `modified`, `createdBy`, `modifiedBy`, `author`, `updateToken`, `scope`, `modificationInfo`, `schemaId`, `schemaVersion`, `value`, `externalId`.
|
|
198
|
+
* Supported fields: `objectId`, `summary`, `searchSummary`, `created`, `modified`, `createdBy`, `modifiedBy`, `author`, `updateToken`, `scope`, `modificationInfo` (deprecated), `resourceContext`, `schemaId`, `schemaVersion`, `value`, `externalId`.
|
|
127
199
|
*/ fields?: string;
|
|
128
200
|
/**
|
|
129
201
|
* The filter parameter, as explained [here](https://dt-url.net/platform-services-filtering).
|
|
@@ -220,7 +292,7 @@ export declare class SettingsObjectsClient {
|
|
|
220
292
|
getSettingsObjectByObjectId(config: {
|
|
221
293
|
/** The ID of the required settings object. */ objectId: string;
|
|
222
294
|
abortSignal?: AbortSignal;
|
|
223
|
-
}): Promise<
|
|
295
|
+
}): Promise<SettingsObjectByObjectIdResponse>;
|
|
224
296
|
/**
|
|
225
297
|
* Updates an existing settings object
|
|
226
298
|
*
|
|
@@ -27,7 +27,16 @@ export declare class SettingsSchemasClient {
|
|
|
27
27
|
* const data =
|
|
28
28
|
* await settingsSchemasClient.getAvailableSchemaDefinitions();
|
|
29
29
|
*/
|
|
30
|
-
getAvailableSchemaDefinitions(
|
|
30
|
+
getAvailableSchemaDefinitions(config?: {
|
|
31
|
+
/**
|
|
32
|
+
* A list of fields to be included to the response. The provided set of fields replaces the default set.
|
|
33
|
+
*
|
|
34
|
+
* Specify the required top-level fields, separated by commas (for example, `schemaId,displayName`).
|
|
35
|
+
*
|
|
36
|
+
* Supported fields: `schemaId`, `displayName`, `latestSchemaVersion`, `multiObject`, `ordered`.
|
|
37
|
+
*/ fields?: string;
|
|
38
|
+
abortSignal?: AbortSignal;
|
|
39
|
+
}): Promise<SchemaList>;
|
|
31
40
|
/**
|
|
32
41
|
* Gets parameters of the specified settings schema
|
|
33
42
|
*
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { GetLocationsQueryCapability } from '../models/get-locations-query-capability';
|
|
2
3
|
import { GetLocationsQueryCloudPlatform } from '../models/get-locations-query-cloud-platform';
|
|
3
4
|
import { GetLocationsQueryType } from '../models/get-locations-query-type';
|
|
4
5
|
import { Node } from '../models/node';
|
|
@@ -67,6 +68,7 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
67
68
|
getLocations(config?: {
|
|
68
69
|
/** Filters the resulting set of locations to those which are hosted on a specific cloud platform. */ cloudPlatform?: GetLocationsQueryCloudPlatform;
|
|
69
70
|
/** Filters the resulting set of locations to those of a specific type. */ type?: GetLocationsQueryType;
|
|
71
|
+
/** Filters the resulting set of locations to those which support specific capability. */ capability?: GetLocationsQueryCapability;
|
|
70
72
|
abortSignal?: AbortSignal;
|
|
71
73
|
}): Promise<SyntheticLocations>;
|
|
72
74
|
/**
|
|
@@ -37,7 +37,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
37
37
|
* * Synthetic Location ME ID: `location(SYNTHETIC_LOCATION-123)`.
|
|
38
38
|
* * Monitored host ME ID: `monitoredEntity(HOST-123)`.
|
|
39
39
|
* * Monitor tags: `tag([context]key:value,key:value,key)`. Tags in `[context]key:value`, `key:value`, and `key` formats are detected and parsed automatically. If a key-only tag has a colon (`:`) in it, you must escape the colon with a backslash(`\`). Otherwise, the tag will be parsed as a `key:value tag`. All tag values are case-sensitive.
|
|
40
|
-
* * Monitor
|
|
40
|
+
* * Monitor enablement: `enabled(true)`.
|
|
41
41
|
*
|
|
42
42
|
* To set several criteria, separate them with a comma (`,`).
|
|
43
43
|
* Only results matching **all** criteria are included in the response.
|
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
import { ClientRequestError } from './client-request-error';
|
|
5
5
|
import { BizEventIngestResult } from '../models';
|
|
6
6
|
export declare class BizEventIngestResultError extends ClientRequestError<BizEventIngestResult> {
|
|
7
|
+
readonly isBizEventIngestResultError = true;
|
|
7
8
|
}
|
|
8
9
|
export declare function isBizEventIngestResultError(e: any): e is BizEventIngestResultError;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpClientResponse } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { ApiClientError } from './api-client-error';
|
|
3
3
|
export declare class ClientRequestError<DTO> extends ApiClientError {
|
|
4
|
+
readonly isClientRequestError = true;
|
|
4
5
|
body: DTO;
|
|
5
6
|
response: HttpClientResponse;
|
|
6
7
|
constructor(name: string, response: HttpClientResponse, body: DTO, message?: string, cause?: any);
|
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
import { ClientRequestError } from './client-request-error';
|
|
5
5
|
import { ErrorEnvelope } from '../models';
|
|
6
6
|
export declare class ErrorEnvelopeError extends ClientRequestError<ErrorEnvelope> {
|
|
7
|
+
readonly isErrorEnvelopeError = true;
|
|
7
8
|
}
|
|
8
9
|
export declare function isErrorEnvelopeError(e: any): e is ErrorEnvelopeError;
|
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
import { ClientRequestError } from './client-request-error';
|
|
5
5
|
import { SettingsObjectResponse } from '../models';
|
|
6
6
|
export declare class SettingsObjectResponseArrayError extends ClientRequestError<SettingsObjectResponse[]> {
|
|
7
|
+
readonly isSettingsObjectResponseArrayError = true;
|
|
7
8
|
}
|
|
8
9
|
export declare function isSettingsObjectResponseArrayError(e: any): e is SettingsObjectResponseArrayError;
|
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
import { ClientRequestError } from './client-request-error';
|
|
5
5
|
import { SettingsObjectResponse } from '../models';
|
|
6
6
|
export declare class SettingsObjectResponseError extends ClientRequestError<SettingsObjectResponse> {
|
|
7
|
+
readonly isSettingsObjectResponseError = true;
|
|
7
8
|
}
|
|
8
9
|
export declare function isSettingsObjectResponseError(e: any): e is SettingsObjectResponseError;
|
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
import { ClientRequestError } from './client-request-error';
|
|
5
5
|
import { ValidationResponse } from '../models';
|
|
6
6
|
export declare class ValidationResponseError extends ClientRequestError<ValidationResponse> {
|
|
7
|
+
readonly isValidationResponseError = true;
|
|
7
8
|
}
|
|
8
9
|
export declare function isValidationResponseError(e: any): e is ValidationResponseError;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { FormDataRequestBody, FormDataResponseBody } from '@dynatrace-sdk/http-client';
|
|
2
1
|
import { AggregatedLog } from './aggregated-log';
|
|
3
2
|
import * as _AggregatedLogAggregationResultTransformation from './aggregated-log-aggregation-result.transformation';
|
|
4
3
|
export interface AsJson {
|
|
5
4
|
aggregationResult?: _AggregatedLogAggregationResultTransformation.AsJson;
|
|
5
|
+
warnings?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare function fromJson($model: AsJson): AggregatedLog;
|
|
8
8
|
export declare function toJson($model: AggregatedLog): AsJson;
|
|
9
|
-
export declare function fromFormData(formData: FormDataResponseBody): AggregatedLog;
|
|
10
|
-
export declare function toFormData($model: AggregatedLog): FormDataRequestBody;
|
|
@@ -36,6 +36,8 @@ export declare enum ApiTokenCreateScopesItem {
|
|
|
36
36
|
OpenpipelineEventsCustom = "openpipeline.events.custom",
|
|
37
37
|
OpenpipelineEventsSecurity = "openpipeline.events_security",
|
|
38
38
|
OpenpipelineEventsSecurityCustom = "openpipeline.events_security.custom",
|
|
39
|
+
OpenpipelineEventsSdlc = "openpipeline.events_sdlc",
|
|
40
|
+
OpenpipelineEventsSdlcCustom = "openpipeline.events_sdlc.custom",
|
|
39
41
|
BizeventsIngest = "bizevents.ingest",
|
|
40
42
|
AnalyzersRead = "analyzers.read",
|
|
41
43
|
AnalyzersWrite = "analyzers.write",
|
|
@@ -83,5 +85,6 @@ export declare enum ApiTokenCreateScopesItem {
|
|
|
83
85
|
JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
|
|
84
86
|
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
|
|
85
87
|
ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write",
|
|
88
|
+
RumCookieNamesRead = "rumCookieNames.read",
|
|
86
89
|
AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read"
|
|
87
90
|
}
|
|
@@ -72,6 +72,8 @@ export interface ApiTokenCreate {
|
|
|
72
72
|
* * `openpipeline.events.custom`: OpenPipeline - Ingest Events (Custom).
|
|
73
73
|
* * `openpipeline.events_security`: OpenPipeline - Ingest Events, Application Security.
|
|
74
74
|
* * `openpipeline.events_security.custom`: OpenPipeline - Ingest Events, Application Security (Custom).
|
|
75
|
+
* * `openpipeline.events_sdlc`: OpenPipeline - Ingest Events, Software Development Lifecycle.
|
|
76
|
+
* * `openpipeline.events_sdlc.custom`: OpenPipeline - Ingest Events, Software Development Lifecycle (Custom).
|
|
75
77
|
* * `bizevents.ingest`: Ingest bizevents.
|
|
76
78
|
* * `analyzers.read`: Read analyzers.
|
|
77
79
|
* * `analyzers.write`: Write & execute analyzers.
|
|
@@ -119,6 +121,7 @@ export interface ApiTokenCreate {
|
|
|
119
121
|
* * `javaScriptMappingFiles.read`: Read JavaScript mapping files.
|
|
120
122
|
* * `javaScriptMappingFiles.write`: Write JavaScript mapping files.
|
|
121
123
|
* * `extensionConfigurationActions.write`: Actions for extension monitoring configurations.
|
|
124
|
+
* * `rumCookieNames.read`: Read RUM cookie names.
|
|
122
125
|
* * `adaptiveTrafficManagement.read`: Read sampling configuration for Adaptive Traffic Management.
|
|
123
126
|
*/
|
|
124
127
|
scopes: ApiTokenCreateScopesItem[];
|
package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts
CHANGED
|
@@ -72,11 +72,14 @@ export declare enum ApiTokenScopesItem {
|
|
|
72
72
|
OpenTelemetryTraceIngest = "openTelemetryTrace.ingest",
|
|
73
73
|
OpenpipelineEvents = "openpipeline.events",
|
|
74
74
|
OpenpipelineEventsCustom = "openpipeline.events.custom",
|
|
75
|
+
OpenpipelineEventsSdlc = "openpipeline.events_sdlc",
|
|
76
|
+
OpenpipelineEventsSdlcCustom = "openpipeline.events_sdlc.custom",
|
|
75
77
|
OpenpipelineEventsSecurity = "openpipeline.events_security",
|
|
76
78
|
OpenpipelineEventsSecurityCustom = "openpipeline.events_security.custom",
|
|
77
79
|
ProblemsRead = "problems.read",
|
|
78
80
|
ProblemsWrite = "problems.write",
|
|
79
81
|
ReleasesRead = "releases.read",
|
|
82
|
+
RumCookieNamesRead = "rumCookieNames.read",
|
|
80
83
|
SecurityProblemsRead = "securityProblems.read",
|
|
81
84
|
SecurityProblemsWrite = "securityProblems.write",
|
|
82
85
|
SettingsRead = "settings.read",
|
|
@@ -36,6 +36,8 @@ export declare enum ApiTokenUpdateScopesItem {
|
|
|
36
36
|
OpenpipelineEventsCustom = "openpipeline.events.custom",
|
|
37
37
|
OpenpipelineEventsSecurity = "openpipeline.events_security",
|
|
38
38
|
OpenpipelineEventsSecurityCustom = "openpipeline.events_security.custom",
|
|
39
|
+
OpenpipelineEventsSdlc = "openpipeline.events_sdlc",
|
|
40
|
+
OpenpipelineEventsSdlcCustom = "openpipeline.events_sdlc.custom",
|
|
39
41
|
BizeventsIngest = "bizevents.ingest",
|
|
40
42
|
AnalyzersRead = "analyzers.read",
|
|
41
43
|
AnalyzersWrite = "analyzers.write",
|
|
@@ -83,5 +85,6 @@ export declare enum ApiTokenUpdateScopesItem {
|
|
|
83
85
|
JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
|
|
84
86
|
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
|
|
85
87
|
ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write",
|
|
88
|
+
RumCookieNamesRead = "rumCookieNames.read",
|
|
86
89
|
AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read"
|
|
87
90
|
}
|
|
@@ -53,6 +53,8 @@ export interface ApiTokenUpdate {
|
|
|
53
53
|
* * `openpipeline.events.custom`: OpenPipeline - Ingest Events (Custom).
|
|
54
54
|
* * `openpipeline.events_security`: OpenPipeline - Ingest Events, Application Security.
|
|
55
55
|
* * `openpipeline.events_security.custom`: OpenPipeline - Ingest Events, Application Security (Custom).
|
|
56
|
+
* * `openpipeline.events_sdlc`: OpenPipeline - Ingest Events, Software Development Lifecycle.
|
|
57
|
+
* * `openpipeline.events_sdlc.custom`: OpenPipeline - Ingest Events, Software Development Lifecycle (Custom).
|
|
56
58
|
* * `bizevents.ingest`: Ingest bizevents.
|
|
57
59
|
* * `analyzers.read`: Read analyzers.
|
|
58
60
|
* * `analyzers.write`: Write & execute analyzers.
|
|
@@ -100,6 +102,7 @@ export interface ApiTokenUpdate {
|
|
|
100
102
|
* * `javaScriptMappingFiles.read`: Read JavaScript mapping files.
|
|
101
103
|
* * `javaScriptMappingFiles.write`: Write JavaScript mapping files.
|
|
102
104
|
* * `extensionConfigurationActions.write`: Actions for extension monitoring configurations.
|
|
105
|
+
* * `rumCookieNames.read`: Read RUM cookie names.
|
|
103
106
|
* * `adaptiveTrafficManagement.read`: Read sampling configuration for Adaptive Traffic Management.
|
|
104
107
|
*/
|
|
105
108
|
scopes?: ApiTokenUpdateScopesItem[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AssessmentAccuracyDetailsReducedReasonsItem } from './assessment-accuracy-details-reduced-reasons-item';
|
|
2
|
+
export type AsJson = string;
|
|
3
|
+
export declare function fromJson($model: AsJson): AssessmentAccuracyDetailsReducedReasonsItem;
|
|
4
|
+
export declare function toJson($model: AssessmentAccuracyDetailsReducedReasonsItem): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/assessment-accuracy-details.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AssessmentAccuracyDetailsReducedReasonsItem } from './assessment-accuracy-details-reduced-reasons-item';
|
|
2
|
+
/**
|
|
3
|
+
* The assessment accuracy details.
|
|
4
|
+
*/
|
|
5
|
+
export interface AssessmentAccuracyDetails {
|
|
6
|
+
/**
|
|
7
|
+
* The reasons for a reduced assessment accuracy.
|
|
8
|
+
*/
|
|
9
|
+
reducedReasons?: AssessmentAccuracyDetailsReducedReasonsItem[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AssessmentAccuracyDetails } from './assessment-accuracy-details';
|
|
2
|
+
import * as _AssessmentAccuracyDetailsReducedReasonsItemTransformation from './assessment-accuracy-details-reduced-reasons-item.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
reducedReasons?: _AssessmentAccuracyDetailsReducedReasonsItemTransformation.AsJson[];
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): AssessmentAccuracyDetails;
|
|
7
|
+
export declare function toJson($model: AssessmentAccuracyDetails): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/audit-log-entry-category.d.ts
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
* The category of the recorded operation.
|
|
3
3
|
*/
|
|
4
4
|
export declare enum AuditLogEntryCategory {
|
|
5
|
-
|
|
6
|
-
Agent = "AGENT",
|
|
5
|
+
ActivegateToken = "ACTIVEGATE_TOKEN",
|
|
7
6
|
Config = "CONFIG",
|
|
8
|
-
DebugUi = "DEBUG_UI",
|
|
9
7
|
ManualTaggingService = "MANUAL_TAGGING_SERVICE",
|
|
10
8
|
Token = "TOKEN",
|
|
11
9
|
WebUi = "WEB_UI"
|
package/types/packages/client/classic-environment-v2/src/lib/models/credentials-scopes-item.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The set of scopes of the credentials set.
|
|
3
|
+
*
|
|
4
|
+
* Limitations: `CredentialsScope.APP_ENGINE` is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.
|
|
3
5
|
*/
|
|
4
6
|
export declare enum CredentialsScopesItem {
|
|
7
|
+
AppEngine = "APP_ENGINE",
|
|
5
8
|
Extension = "EXTENSION",
|
|
6
9
|
Synthetic = "SYNTHETIC"
|
|
7
10
|
}
|
|
@@ -35,6 +35,8 @@ export interface Credentials {
|
|
|
35
35
|
scope?: CredentialsScope;
|
|
36
36
|
/**
|
|
37
37
|
* The set of scopes of the credentials set.
|
|
38
|
+
*
|
|
39
|
+
* Limitations: `CredentialsScope.APP_ENGINE` is only available on the new Dynatrace SaaS platform - it's not available on managed or non-Grail SaaS environments.
|
|
38
40
|
*/
|
|
39
41
|
scopes: CredentialsScopesItem[];
|
|
40
42
|
type?: CredentialsType;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EffectivePermission } from './effective-permission';
|
|
2
|
+
import * as _EffectivePermissionGrantedTransformation from './effective-permission-granted.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
granted?: _EffectivePermissionGrantedTransformation.AsJson;
|
|
5
|
+
permission?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function fromJson($model: AsJson): EffectivePermission;
|
|
8
|
+
export declare function toJson($model: EffectivePermission): AsJson;
|
package/types/packages/client/classic-environment-v2/src/lib/models/event-property-details.d.ts
CHANGED
|
@@ -10,6 +10,11 @@ export interface EventPropertyDetails {
|
|
|
10
10
|
* The display name of the event property.
|
|
11
11
|
*/
|
|
12
12
|
displayName?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The property can (`true`) or cannot (`false`) be used for filtering in the event selector.
|
|
15
|
+
* Usage in event selector: `property.<key>("value-1", "value-2")`
|
|
16
|
+
*/
|
|
17
|
+
filterable?: boolean;
|
|
13
18
|
/**
|
|
14
19
|
* The key of the event property.
|
|
15
20
|
*/
|