@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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Value } from './value';
|
|
2
|
+
/**
|
|
3
|
+
* The information about settings schema containing personal data.
|
|
4
|
+
*/
|
|
5
|
+
export interface Schema {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the schema.
|
|
8
|
+
*/
|
|
9
|
+
displayName: string;
|
|
10
|
+
/**
|
|
11
|
+
* The ID of the schema.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* The list of settings values containing personal data.
|
|
16
|
+
*/
|
|
17
|
+
values: Value[];
|
|
18
|
+
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/schema.transformation.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Schema } from './schema';
|
|
2
|
+
import * as _ValueTransformation from './value.transformation';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
displayName: string;
|
|
5
|
+
id: string;
|
|
6
|
+
values: _ValueTransformation.AsJson[];
|
|
7
|
+
}
|
|
8
|
+
export declare function fromJson($model: AsJson): Schema;
|
|
9
|
+
export declare function toJson($model: Schema): AsJson;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { AnyValue } from './any-value';
|
|
2
|
+
/**
|
|
3
|
+
* The response to a get by objectId request.
|
|
4
|
+
*/
|
|
5
|
+
export interface SettingsObjectByObjectIdResponse {
|
|
6
|
+
/**
|
|
7
|
+
* The user (identified by a user ID or a public token ID) who performed that most recent modification.
|
|
8
|
+
*/
|
|
9
|
+
author?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The timestamp of the creation.
|
|
12
|
+
*/
|
|
13
|
+
created?: number;
|
|
14
|
+
/**
|
|
15
|
+
* The unique identifier of the user who created the settings object.
|
|
16
|
+
*/
|
|
17
|
+
createdBy?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The external identifier of the settings object.
|
|
20
|
+
*/
|
|
21
|
+
externalId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The timestamp of the last modification.
|
|
24
|
+
*/
|
|
25
|
+
modified?: number;
|
|
26
|
+
/**
|
|
27
|
+
* The unique identifier of the user who performed the most recent modification.
|
|
28
|
+
*/
|
|
29
|
+
modifiedBy?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the settings object.
|
|
32
|
+
*/
|
|
33
|
+
objectId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The schema on which the object is based.
|
|
36
|
+
*/
|
|
37
|
+
schemaId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The version of the schema on which the object is based.
|
|
40
|
+
*/
|
|
41
|
+
schemaVersion?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The scope that the object targets. For more details, please see [Dynatrace Documentation](https://dt-url.net/ky03459).
|
|
44
|
+
*/
|
|
45
|
+
scope?: string;
|
|
46
|
+
/**
|
|
47
|
+
* A searchable summary string of the setting value. Plain text without Markdown.
|
|
48
|
+
*/
|
|
49
|
+
searchSummary?: string;
|
|
50
|
+
/**
|
|
51
|
+
* A short summary of settings. This can contain Markdown and will be escaped accordingly.
|
|
52
|
+
*/
|
|
53
|
+
summary?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The update token of the object. You can use it to detect simultaneous modifications by different users.
|
|
56
|
+
*
|
|
57
|
+
* It is generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.
|
|
58
|
+
*
|
|
59
|
+
* If omitted on update/deletion, the operation overrides the current value or deletes it without any checks.
|
|
60
|
+
*/
|
|
61
|
+
updateToken?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The value of the setting.
|
|
64
|
+
*
|
|
65
|
+
* It defines the actual values of settings' parameters.
|
|
66
|
+
*
|
|
67
|
+
* The actual content depends on the object's schema.
|
|
68
|
+
*/
|
|
69
|
+
value?: AnyValue;
|
|
70
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as _AnyValueTransformation from './any-value.transformation';
|
|
2
|
+
import { SettingsObjectByObjectIdResponse } from './settings-object-by-object-id-response';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
author?: string;
|
|
5
|
+
created?: number;
|
|
6
|
+
createdBy?: string;
|
|
7
|
+
externalId?: string;
|
|
8
|
+
modified?: number;
|
|
9
|
+
modifiedBy?: string;
|
|
10
|
+
objectId?: string;
|
|
11
|
+
schemaId?: string;
|
|
12
|
+
schemaVersion?: string;
|
|
13
|
+
scope?: string;
|
|
14
|
+
searchSummary?: string;
|
|
15
|
+
summary?: string;
|
|
16
|
+
updateToken?: string;
|
|
17
|
+
value?: _AnyValueTransformation.AsJson;
|
|
18
|
+
}
|
|
19
|
+
export declare function fromJson($model: AsJson): SettingsObjectByObjectIdResponse;
|
|
20
|
+
export declare function toJson($model: SettingsObjectByObjectIdResponse): AsJson;
|
|
@@ -7,14 +7,14 @@ import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
|
7
7
|
* Network Availability monitor.
|
|
8
8
|
*/
|
|
9
9
|
export interface SyntheticMultiProtocolMonitorDto {
|
|
10
|
-
/**
|
|
11
|
-
* If false, the monitor is disabled.
|
|
12
|
-
*/
|
|
13
|
-
active?: boolean;
|
|
14
10
|
/**
|
|
15
11
|
* Monitor description
|
|
16
12
|
*/
|
|
17
13
|
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* If true, the monitor is enabled.
|
|
16
|
+
*/
|
|
17
|
+
enabled?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* The entity id of the monitor.
|
|
20
20
|
*/
|
|
@@ -27,6 +27,10 @@ export interface SyntheticMultiProtocolMonitorDto {
|
|
|
27
27
|
* The locations to which the monitor is assigned.
|
|
28
28
|
*/
|
|
29
29
|
locations: string[];
|
|
30
|
+
/**
|
|
31
|
+
* The timestamp of the last modification
|
|
32
|
+
*/
|
|
33
|
+
modificationTimestamp?: number;
|
|
30
34
|
/**
|
|
31
35
|
* The name of the monitor.
|
|
32
36
|
*/
|
|
@@ -5,11 +5,12 @@ import * as _SyntheticMultiProtocolMonitorDtoTypeTransformation from './syntheti
|
|
|
5
5
|
import * as _SyntheticMultiProtocolMonitorStepDtoTransformation from './synthetic-multi-protocol-monitor-step-dto.transformation';
|
|
6
6
|
import * as _SyntheticTagWithSourceDtoTransformation from './synthetic-tag-with-source-dto.transformation';
|
|
7
7
|
export interface AsJson {
|
|
8
|
-
active?: boolean;
|
|
9
8
|
description?: string;
|
|
9
|
+
enabled?: boolean;
|
|
10
10
|
entityId: string;
|
|
11
11
|
frequencyMin: number;
|
|
12
12
|
locations: string[];
|
|
13
|
+
modificationTimestamp?: number;
|
|
13
14
|
name: string;
|
|
14
15
|
performanceThresholds?: _SyntheticMonitorPerformanceThresholdsDtoTransformation.AsJson;
|
|
15
16
|
steps: _SyntheticMultiProtocolMonitorStepDtoTransformation.AsJson[];
|
|
@@ -7,14 +7,14 @@ import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
|
7
7
|
* Network availability monitor.
|
|
8
8
|
*/
|
|
9
9
|
export interface SyntheticMultiProtocolMonitorUpdateDto {
|
|
10
|
-
/**
|
|
11
|
-
* If false, the monitor is disabled.
|
|
12
|
-
*/
|
|
13
|
-
active?: boolean;
|
|
14
10
|
/**
|
|
15
11
|
* Monitor description
|
|
16
12
|
*/
|
|
17
13
|
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* If true, the monitor is enabled.
|
|
16
|
+
*/
|
|
17
|
+
enabled?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* The frequency of the monitor, in minutes.
|
|
20
20
|
*/
|
|
@@ -5,8 +5,8 @@ import { SyntheticMultiProtocolMonitorUpdateDto } from './synthetic-multi-protoc
|
|
|
5
5
|
import * as _SyntheticMultiProtocolMonitorUpdateDtoTypeTransformation from './synthetic-multi-protocol-monitor-update-dto-type.transformation';
|
|
6
6
|
import * as _SyntheticTagWithSourceDtoTransformation from './synthetic-tag-with-source-dto.transformation';
|
|
7
7
|
export interface AsJson {
|
|
8
|
-
active?: boolean;
|
|
9
8
|
description?: string;
|
|
9
|
+
enabled?: boolean;
|
|
10
10
|
frequencyMin?: number;
|
|
11
11
|
locations: string[];
|
|
12
12
|
name: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Pii } from './pii';
|
|
2
|
+
/**
|
|
3
|
+
* The information about settings value containing personal data.
|
|
4
|
+
*/
|
|
5
|
+
export interface Value {
|
|
6
|
+
/**
|
|
7
|
+
* A short summary of the settings object. This can contain Markdown and will be escaped accordingly.
|
|
8
|
+
*/
|
|
9
|
+
displayName?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The ID of the settings object.
|
|
12
|
+
*/
|
|
13
|
+
objectId: string;
|
|
14
|
+
pii: Pii;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as _PiiTransformation from './pii.transformation';
|
|
2
|
+
import { Value } from './value';
|
|
3
|
+
export interface AsJson {
|
|
4
|
+
displayName?: string;
|
|
5
|
+
objectId: string;
|
|
6
|
+
pii: _PiiTransformation.AsJson;
|
|
7
|
+
}
|
|
8
|
+
export declare function fromJson($model: AsJson): Value;
|
|
9
|
+
export declare function toJson($model: Value): AsJson;
|