@dynatrace-sdk/client-classic-environment-v2 1.13.2 → 2.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 +16 -0
- package/README.md +477 -132
- package/cjs/index.js +1738 -936
- package/esm/index.js +1660 -850
- 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/index.d.ts +2 -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 +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-privacy-operations-sync-api-api.d.ts +64 -0
- 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/models/active-gate-token-create.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create-scopes-item.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-create.d.ts +1 -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 +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/api-token-update.d.ts +1 -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/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/index.d.ts +20 -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/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/paginated-personal-data-response-data.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response-data.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/paginated-personal-data-response.transformation.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/personal-data-request.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/personal-data-request.transformation.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/pii-relationships-item.d.ts +6 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/pii-relationships-item.transformation.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/pii.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/pii.transformation.d.ts +7 -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/schema.d.ts +18 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema.transformation.d.ts +9 -0
- 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 +70 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/settings-object-by-object-id-response.transformation.d.ts +20 -0
- 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/types/packages/client/classic-environment-v2/src/lib/models/value.d.ts +15 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/value.transformation.d.ts +9 -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
|
*/
|
|
@@ -22,7 +22,9 @@ 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';
|
|
27
|
+
export * from './settings-privacy-operations-sync-api-api';
|
|
26
28
|
export * from './settings-schemas-api';
|
|
27
29
|
export * from './synthetic-http-monitor-executions-api';
|
|
28
30
|
export * from './synthetic-locations-nodes-and-configuration-api';
|
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,7 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { EffectiveSettingsValuesList } from '../models/effective-settings-values-list';
|
|
3
3
|
import { ObjectsList } from '../models/objects-list';
|
|
4
|
-
import {
|
|
4
|
+
import { SettingsObjectByObjectIdResponse } from '../models/settings-object-by-object-id-response';
|
|
5
5
|
import { SettingsObjectCreate } from '../models/settings-object-create';
|
|
6
6
|
import { SettingsObjectResponse } from '../models/settings-object-response';
|
|
7
7
|
import { SettingsObjectUpdate } from '../models/settings-object-update';
|
|
@@ -220,7 +220,7 @@ export declare class SettingsObjectsClient {
|
|
|
220
220
|
getSettingsObjectByObjectId(config: {
|
|
221
221
|
/** The ID of the required settings object. */ objectId: string;
|
|
222
222
|
abortSignal?: AbortSignal;
|
|
223
|
-
}): Promise<
|
|
223
|
+
}): Promise<SettingsObjectByObjectIdResponse>;
|
|
224
224
|
/**
|
|
225
225
|
* Updates an existing settings object
|
|
226
226
|
*
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
|
+
import { PaginatedPersonalDataResponse } from '../models/paginated-personal-data-response';
|
|
3
|
+
import { PersonalDataRequest } from '../models/personal-data-request';
|
|
4
|
+
/**
|
|
5
|
+
* Enables synchronous export and deletion of personal data from Settings 2.0 Platform
|
|
6
|
+
*/
|
|
7
|
+
export declare class SettingsPrivacyOperationsSyncApiClient {
|
|
8
|
+
private httpClient;
|
|
9
|
+
/**
|
|
10
|
+
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SettingsPrivacyOperationsSyncApiClient. Custom http client should implement {HttpClient} interface.
|
|
11
|
+
* @example
|
|
12
|
+
* const settingsPrivacyOperationsSyncApiClientNodeJs = new SettingsPrivacyOperationsSyncApiClient(yourCustomImplementation);
|
|
13
|
+
*/
|
|
14
|
+
constructor(httpClientImplementation: HttpClient);
|
|
15
|
+
/**
|
|
16
|
+
* Export all internal personal data the Settings 2.0 Platform stores for the specified user
|
|
17
|
+
*
|
|
18
|
+
* **Required scope:** settings:operations.privacy:read<br/>**Required permission:** settings:operations.privacy:read<br/><br/>Export all internal personal data the Settings 2.0 Platform stores for the specified user in a paged response.
|
|
19
|
+
* The amount of elements in a single response page is limited to 100.
|
|
20
|
+
*
|
|
21
|
+
* @returns Success
|
|
22
|
+
*
|
|
23
|
+
* @example <caption>Code example</caption>
|
|
24
|
+
* import { settingsPrivacyOperationsSyncApiClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
25
|
+
*
|
|
26
|
+
* const data =
|
|
27
|
+
* await settingsPrivacyOperationsSyncApiClient.exportPersonalDataSync(
|
|
28
|
+
* {
|
|
29
|
+
* body: {
|
|
30
|
+
* email: "user@foo.com",
|
|
31
|
+
* userId: "da7d78b7-4e94-46d4-b76d-934eff92af9a",
|
|
32
|
+
* },
|
|
33
|
+
* },
|
|
34
|
+
* );
|
|
35
|
+
*/
|
|
36
|
+
exportPersonalDataSync(config: {
|
|
37
|
+
body: PersonalDataRequest;
|
|
38
|
+
/** The page to retrieve (optional; if not set, a PersonalDataRequestDto must be provided and the first page of data will be returned) */ pageKey?: string;
|
|
39
|
+
abortSignal?: AbortSignal;
|
|
40
|
+
}): Promise<PaginatedPersonalDataResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Delete all internal personal data the Settings 2.0 Platform stores for the specified user
|
|
43
|
+
*
|
|
44
|
+
* **Required scope:** settings:operations.privacy:write<br/>**Required permission:** settings:operations.privacy:write
|
|
45
|
+
*
|
|
46
|
+
* @example <caption>Code example</caption>
|
|
47
|
+
* import { settingsPrivacyOperationsSyncApiClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
48
|
+
*
|
|
49
|
+
* const data =
|
|
50
|
+
* await settingsPrivacyOperationsSyncApiClient.deletePersonalDataSync(
|
|
51
|
+
* {
|
|
52
|
+
* body: {
|
|
53
|
+
* email: "user@foo.com",
|
|
54
|
+
* userId: "da7d78b7-4e94-46d4-b76d-934eff92af9a",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* );
|
|
58
|
+
*/
|
|
59
|
+
deletePersonalDataSync(config: {
|
|
60
|
+
body: PersonalDataRequest;
|
|
61
|
+
abortSignal?: AbortSignal;
|
|
62
|
+
}): Promise<void>;
|
|
63
|
+
}
|
|
64
|
+
export declare const settingsPrivacyOperationsSyncApiClient: SettingsPrivacyOperationsSyncApiClient;
|
|
@@ -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.
|
|
@@ -83,5 +83,6 @@ export declare enum ApiTokenCreateScopesItem {
|
|
|
83
83
|
JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
|
|
84
84
|
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
|
|
85
85
|
ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write",
|
|
86
|
+
RumCookieNamesRead = "rumCookieNames.read",
|
|
86
87
|
AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read"
|
|
87
88
|
}
|
|
@@ -119,6 +119,7 @@ export interface ApiTokenCreate {
|
|
|
119
119
|
* * `javaScriptMappingFiles.read`: Read JavaScript mapping files.
|
|
120
120
|
* * `javaScriptMappingFiles.write`: Write JavaScript mapping files.
|
|
121
121
|
* * `extensionConfigurationActions.write`: Actions for extension monitoring configurations.
|
|
122
|
+
* * `rumCookieNames.read`: Read RUM cookie names.
|
|
122
123
|
* * `adaptiveTrafficManagement.read`: Read sampling configuration for Adaptive Traffic Management.
|
|
123
124
|
*/
|
|
124
125
|
scopes: ApiTokenCreateScopesItem[];
|
package/types/packages/client/classic-environment-v2/src/lib/models/api-token-scopes-item.d.ts
CHANGED
|
@@ -77,8 +77,11 @@ export declare enum ApiTokenScopesItem {
|
|
|
77
77
|
ProblemsRead = "problems.read",
|
|
78
78
|
ProblemsWrite = "problems.write",
|
|
79
79
|
ReleasesRead = "releases.read",
|
|
80
|
+
RumCookieNamesRead = "rumCookieNames.read",
|
|
80
81
|
SecurityProblemsRead = "securityProblems.read",
|
|
81
82
|
SecurityProblemsWrite = "securityProblems.write",
|
|
83
|
+
SettingsPrivacyRead = "settings.privacy.read",
|
|
84
|
+
SettingsPrivacyWrite = "settings.privacy.write",
|
|
82
85
|
SettingsRead = "settings.read",
|
|
83
86
|
SettingsWrite = "settings.write",
|
|
84
87
|
SloRead = "slo.read",
|
|
@@ -83,5 +83,6 @@ export declare enum ApiTokenUpdateScopesItem {
|
|
|
83
83
|
JavaScriptMappingFilesRead = "javaScriptMappingFiles.read",
|
|
84
84
|
JavaScriptMappingFilesWrite = "javaScriptMappingFiles.write",
|
|
85
85
|
ExtensionConfigurationActionsWrite = "extensionConfigurationActions.write",
|
|
86
|
+
RumCookieNamesRead = "rumCookieNames.read",
|
|
86
87
|
AdaptiveTrafficManagementRead = "adaptiveTrafficManagement.read"
|
|
87
88
|
}
|
|
@@ -100,6 +100,7 @@ export interface ApiTokenUpdate {
|
|
|
100
100
|
* * `javaScriptMappingFiles.read`: Read JavaScript mapping files.
|
|
101
101
|
* * `javaScriptMappingFiles.write`: Write JavaScript mapping files.
|
|
102
102
|
* * `extensionConfigurationActions.write`: Actions for extension monitoring configurations.
|
|
103
|
+
* * `rumCookieNames.read`: Read RUM cookie names.
|
|
103
104
|
* * `adaptiveTrafficManagement.read`: Read sampling configuration for Adaptive Traffic Management.
|
|
104
105
|
*/
|
|
105
106
|
scopes?: ApiTokenUpdateScopesItem[];
|
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;
|
|
@@ -466,6 +466,8 @@ export * from './get-extension-monitoring-configuration-events-query-status';
|
|
|
466
466
|
export * as _GetExtensionMonitoringConfigurationEventsQueryStatusTransformation from './get-extension-monitoring-configuration-events-query-status.transformation';
|
|
467
467
|
export * from './get-host-stats-query-filter';
|
|
468
468
|
export * as _GetHostStatsQueryFilterTransformation from './get-host-stats-query-filter.transformation';
|
|
469
|
+
export * from './get-locations-query-capability';
|
|
470
|
+
export * as _GetLocationsQueryCapabilityTransformation from './get-locations-query-capability.transformation';
|
|
469
471
|
export * from './get-locations-query-cloud-platform';
|
|
470
472
|
export * as _GetLocationsQueryCloudPlatformTransformation from './get-locations-query-cloud-platform.transformation';
|
|
471
473
|
export * from './get-locations-query-type';
|
|
@@ -554,6 +556,8 @@ export * from './maintenance-window-evidence';
|
|
|
554
556
|
export * as _MaintenanceWindowEvidenceTransformation from './maintenance-window-evidence.transformation';
|
|
555
557
|
export * from './management-zone';
|
|
556
558
|
export * as _ManagementZoneTransformation from './management-zone.transformation';
|
|
559
|
+
export * from './management-zone-details';
|
|
560
|
+
export * as _ManagementZoneDetailsTransformation from './management-zone-details.transformation';
|
|
557
561
|
export * from './metric-data';
|
|
558
562
|
export * as _MetricDataTransformation from './metric-data.transformation';
|
|
559
563
|
export * from './metric-default-aggregation';
|
|
@@ -652,6 +656,16 @@ export * from './object-node';
|
|
|
652
656
|
export * as _ObjectNodeTransformation from './object-node.transformation';
|
|
653
657
|
export * from './objects-list';
|
|
654
658
|
export * as _ObjectsListTransformation from './objects-list.transformation';
|
|
659
|
+
export * from './paginated-personal-data-response';
|
|
660
|
+
export * as _PaginatedPersonalDataResponseTransformation from './paginated-personal-data-response.transformation';
|
|
661
|
+
export * from './paginated-personal-data-response-data';
|
|
662
|
+
export * as _PaginatedPersonalDataResponseDataTransformation from './paginated-personal-data-response-data.transformation';
|
|
663
|
+
export * from './personal-data-request';
|
|
664
|
+
export * as _PersonalDataRequestTransformation from './personal-data-request.transformation';
|
|
665
|
+
export * from './pii';
|
|
666
|
+
export * as _PiiTransformation from './pii.transformation';
|
|
667
|
+
export * from './pii-relationships-item';
|
|
668
|
+
export * as _PiiRelationshipsItemTransformation from './pii-relationships-item.transformation';
|
|
655
669
|
export * from './precondition';
|
|
656
670
|
export * as _PreconditionTransformation from './precondition.transformation';
|
|
657
671
|
export * from './precondition-type';
|
|
@@ -838,6 +852,8 @@ export * from './slo-status';
|
|
|
838
852
|
export * as _SLOStatusTransformation from './slo-status.transformation';
|
|
839
853
|
export * from './sl-os';
|
|
840
854
|
export * as _SLOsTransformation from './sl-os.transformation';
|
|
855
|
+
export * from './schema';
|
|
856
|
+
export * as _SchemaTransformation from './schema.transformation';
|
|
841
857
|
export * from './schema-constraint-rest-dto';
|
|
842
858
|
export * as _SchemaConstraintRestDtoTransformation from './schema-constraint-rest-dto.transformation';
|
|
843
859
|
export * from './schema-constraint-rest-dto-type';
|
|
@@ -924,6 +940,8 @@ export * from './service-impact';
|
|
|
924
940
|
export * as _ServiceImpactTransformation from './service-impact.transformation';
|
|
925
941
|
export * from './settings-object';
|
|
926
942
|
export * as _SettingsObjectTransformation from './settings-object.transformation';
|
|
943
|
+
export * from './settings-object-by-object-id-response';
|
|
944
|
+
export * as _SettingsObjectByObjectIdResponseTransformation from './settings-object-by-object-id-response.transformation';
|
|
927
945
|
export * from './settings-object-create';
|
|
928
946
|
export * as _SettingsObjectCreateTransformation from './settings-object-create.transformation';
|
|
929
947
|
export * from './settings-object-response';
|
|
@@ -1122,6 +1140,8 @@ export * from './user-password-credentials';
|
|
|
1122
1140
|
export * as _UserPasswordCredentialsTransformation from './user-password-credentials.transformation';
|
|
1123
1141
|
export * from './validation-response';
|
|
1124
1142
|
export * as _ValidationResponseTransformation from './validation-response.transformation';
|
|
1143
|
+
export * from './value';
|
|
1144
|
+
export * as _ValueTransformation from './value.transformation';
|
|
1125
1145
|
export * from './vulnerability';
|
|
1126
1146
|
export * as _VulnerabilityTransformation from './vulnerability.transformation';
|
|
1127
1147
|
export * from './vulnerable-component';
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The log message in JSON format. Use one object representing a single event or an array of objects representing multiple events.
|
|
3
3
|
|
|
4
|
-
The object might contain the following types of
|
|
4
|
+
The object might contain the following types of keys (the possible key values are listed below):
|
|
5
5
|
|
|
6
6
|
* **Timestamp:**
|
|
7
7
|
* The earliest timestamp for a log event is the current time minus 24 hours. If the log event contains a timestamp earlier than the current time minus 24 hours, the event is dropped.
|
|
8
8
|
* The timestamp for a log event is not limited to future time. If the log event contains a timestamp later than 10 minutes in the future, the timestamp of the event will be overridden by the current time on the server.
|
|
9
|
-
* The following formats are supported: UTC milliseconds, RFC3339, and RFC3164. For the missing timestamp, the current timestamp is used. For the unsupported timestamp format, the current timestamp is used, and the value of the unsupported timestamp format is stored in the
|
|
9
|
+
* The following formats are supported: UTC milliseconds, RFC3339, and RFC3164. For the missing timestamp, the current timestamp is used. For the unsupported timestamp format, the current timestamp is used, and the value of the unsupported timestamp format is stored in the `unparsed_timestamp` attribute (for Log Monitoring Classic, this attribute isn't indexed).
|
|
10
10
|
* **Severity.** If not set, `NONE` is used.
|
|
11
11
|
* **Content.** If the content key is not set, the whole JSON is parsed as the content.
|
|
12
|
-
* **
|
|
12
|
+
* **Attributes.** * Logs on Grail with OpenPipeline custom processing (Dynatrace SaaS version 1.295+, Environment ActiveGate version 1.295+): All JSON data types (string, number, boolean, null) are supported. All attributes are indexed and can be used in queries. Keys are case-sensitive.
|
|
13
|
+
* Logs on Grail without OpenPipeline custom processing: Only values of the `string` type are supported. All attributes are indexed and can be used in queries. Keys are case-insensitive (lowercased).
|
|
14
|
+
* Log Monitoring Classic: Only values of the `string` type are supported. Semantic attributes are indexed and can be used in queries. If an unsupported key occurs, it is not indexed and can't be used in indexing and aggregations. Keys are case-insensitive (lowercased).
|
|
15
|
+
* **Semantic attributes.** are displayed in aggregations (facets) in Log and Events Viewer. Refer to the [Semantic Dictionary documentation page](https://docs.dynatrace.com/docs/platform/semantic-dictionary) for more details.
|
|
13
16
|
* **Automatic attribute.** The dt.auth.origin attribute is automatically added to every log record ingested via API. This attribute is the public part of the API key that the log source authorizes to connect to the generic log ingest API.
|
|
14
17
|
|
|
15
18
|
<br/>
|
|
@@ -56,7 +59,7 @@ Complex objects are flattened facilitating ease of handling, and a simpler repre
|
|
|
56
59
|
|
|
57
60
|
**Limitations**
|
|
58
61
|
|
|
59
|
-
The object value can be a single constant or
|
|
62
|
+
The object value can be a single constant or an array of constants. The length of the value is limited. Any content exceeding the limit is trimmed. Default limits:
|
|
60
63
|
|
|
61
64
|
* Attributes: up to 50 attributes.
|
|
62
65
|
* Content: Grail tenants: 65,536 bytes, other tenants: 8,192 bytes.
|
|
@@ -242,6 +245,7 @@ The object value can be a single constant or, in case of semantic attribute, an
|
|
|
242
245
|
* k8s.statefulset.name
|
|
243
246
|
* k8s.statefulset.uid
|
|
244
247
|
* log.source
|
|
248
|
+
* log.source.origin
|
|
245
249
|
* net.host.ip
|
|
246
250
|
* net.host.name
|
|
247
251
|
* net.host.port
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Schema } from './schema';
|
|
2
|
+
/**
|
|
3
|
+
* The data of the response payload to the personal data request.
|
|
4
|
+
*/
|
|
5
|
+
export interface PaginatedPersonalDataResponseData {
|
|
6
|
+
/**
|
|
7
|
+
* The list of settings schemas containing personal data.
|
|
8
|
+
*/
|
|
9
|
+
schemas: Schema[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PaginatedPersonalDataResponseData } from './paginated-personal-data-response-data';
|
|
2
|
+
import * as _SchemaTransformation from './schema.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
schemas: _SchemaTransformation.AsJson[];
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): PaginatedPersonalDataResponseData;
|
|
7
|
+
export declare function toJson($model: PaginatedPersonalDataResponseData): AsJson;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PaginatedPersonalDataResponseData } from './paginated-personal-data-response-data';
|
|
2
|
+
/**
|
|
3
|
+
* The response payload to the personal data request.
|
|
4
|
+
*/
|
|
5
|
+
export interface PaginatedPersonalDataResponse {
|
|
6
|
+
data: PaginatedPersonalDataResponseData;
|
|
7
|
+
/**
|
|
8
|
+
* In case of paginated results, this contains the pageKey for the next page.
|
|
9
|
+
*/
|
|
10
|
+
nextPageKey?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PaginatedPersonalDataResponse } from './paginated-personal-data-response';
|
|
2
|
+
import * as _PaginatedPersonalDataResponseDataTransformation from './paginated-personal-data-response-data.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
data: _PaginatedPersonalDataResponseDataTransformation.AsJson;
|
|
5
|
+
nextPageKey?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function fromJson($model: AsJson): PaginatedPersonalDataResponse;
|
|
8
|
+
export declare function toJson($model: PaginatedPersonalDataResponse): AsJson;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PersonalDataRequest } from './personal-data-request';
|
|
2
|
+
export interface AsJson {
|
|
3
|
+
email: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): PersonalDataRequest;
|
|
7
|
+
export declare function toJson($model: PersonalDataRequest): AsJson;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PiiRelationshipsItem } from './pii-relationships-item';
|
|
2
|
+
/**
|
|
3
|
+
* The information about relationships of the user to the settings object.
|
|
4
|
+
*/
|
|
5
|
+
export interface Pii {
|
|
6
|
+
/**
|
|
7
|
+
* A list of user relationships.
|
|
8
|
+
*/
|
|
9
|
+
relationships: PiiRelationshipsItem[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Pii } from './pii';
|
|
2
|
+
import * as _PiiRelationshipsItemTransformation from './pii-relationships-item.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
relationships: _PiiRelationshipsItemTransformation.AsJson[];
|
|
5
|
+
}
|
|
6
|
+
export declare function fromJson($model: AsJson): Pii;
|
|
7
|
+
export declare function toJson($model: Pii): AsJson;
|
|
@@ -5,13 +5,21 @@ export interface SchemaStub {
|
|
|
5
5
|
/**
|
|
6
6
|
* The name of the schema.
|
|
7
7
|
*/
|
|
8
|
-
displayName
|
|
8
|
+
displayName?: string;
|
|
9
9
|
/**
|
|
10
10
|
* The most recent version of the schema.
|
|
11
11
|
*/
|
|
12
|
-
latestSchemaVersion
|
|
12
|
+
latestSchemaVersion?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Multi-object flag. `True` if the schema is a multi-object schema
|
|
15
|
+
*/
|
|
16
|
+
multiObject?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Ordered flag. `True` if the schema is an ordered multi-object schema.
|
|
19
|
+
*/
|
|
20
|
+
ordered?: boolean;
|
|
13
21
|
/**
|
|
14
22
|
* The ID of the schema.
|
|
15
23
|
*/
|
|
16
|
-
schemaId
|
|
24
|
+
schemaId?: string;
|
|
17
25
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.transformation.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { SchemaStub } from './schema-stub';
|
|
2
2
|
export interface AsJson {
|
|
3
|
-
displayName
|
|
4
|
-
latestSchemaVersion
|
|
5
|
-
|
|
3
|
+
displayName?: string;
|
|
4
|
+
latestSchemaVersion?: string;
|
|
5
|
+
multiObject?: boolean;
|
|
6
|
+
ordered?: boolean;
|
|
7
|
+
schemaId?: string;
|
|
6
8
|
}
|
|
7
9
|
export declare function fromJson($model: AsJson): SchemaStub;
|
|
8
10
|
export declare function toJson($model: SchemaStub): AsJson;
|