@dynatrace-sdk/client-classic-environment-v2 3.6.7 → 3.7.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 +19 -0
- package/README.md +65 -71
- package/cjs/index.js +867 -776
- package/dynatrace-metadata.json +5 -4
- package/esm/index.js +867 -776
- package/package.json +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-agent-tokens-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-active-gate-groups-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +6 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/api-client-options.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +19 -26
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +6 -3
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +9 -6
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +4 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module-type.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/constraint.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/feature-set-details.d.ts +12 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-disabled-module-item.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-enabled-module-item.d.ts +1 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +4 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-plain.d.ts +8 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-constraint-dto-properties.d.ts → synthetic-monitor-constraint-dto-properties.d.ts} +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-constraint-dto.d.ts +14 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-thresholds-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto-type.d.ts +4 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-dto.d.ts +5 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-update-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-request-configuration-dto.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-constraint-dto.d.ts +0 -14
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { Releases } from '../models/releases';
|
|
3
|
+
import { ApiClientOptions } from './api-client-options';
|
|
3
4
|
/**
|
|
4
5
|
* Analyze your deployed components
|
|
5
6
|
*/
|
|
6
7
|
export declare class ReleasesClient {
|
|
7
8
|
private httpClient;
|
|
9
|
+
private shouldTransformDates;
|
|
8
10
|
/**
|
|
9
11
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ReleasesClient. Custom http client should implement {HttpClient} interface.
|
|
12
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
10
13
|
* @example
|
|
11
14
|
* const releasesClientNodeJs = new ReleasesClient(yourCustomImplementation);
|
|
12
15
|
*/
|
|
13
|
-
constructor(httpClientImplementation: HttpClient);
|
|
16
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
14
17
|
/**
|
|
15
18
|
* Returns all releases
|
|
16
19
|
*
|
package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts
CHANGED
|
@@ -18,17 +18,20 @@ import { SecurityProblemsBulkMuteResponse } from '../models/security-problems-bu
|
|
|
18
18
|
import { SecurityProblemsBulkUnmute } from '../models/security-problems-bulk-unmute';
|
|
19
19
|
import { SecurityProblemsBulkUnmuteResponse } from '../models/security-problems-bulk-unmute-response';
|
|
20
20
|
import { VulnerableFunctionsContainer } from '../models/vulnerable-functions-container';
|
|
21
|
+
import { ApiClientOptions } from './api-client-options';
|
|
21
22
|
/**
|
|
22
23
|
* Manage security problems
|
|
23
24
|
*/
|
|
24
25
|
export declare class SecurityProblemsClient {
|
|
25
26
|
private httpClient;
|
|
27
|
+
private shouldTransformDates;
|
|
26
28
|
/**
|
|
27
29
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SecurityProblemsClient. Custom http client should implement {HttpClient} interface.
|
|
30
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
28
31
|
* @example
|
|
29
32
|
* const securityProblemsClientNodeJs = new SecurityProblemsClient(yourCustomImplementation);
|
|
30
33
|
*/
|
|
31
|
-
constructor(httpClientImplementation: HttpClient);
|
|
34
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
32
35
|
/**
|
|
33
36
|
* Lists all security problems
|
|
34
37
|
*
|
package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts
CHANGED
|
@@ -4,17 +4,20 @@ import { EntityShortRepresentation } from '../models/entity-short-representation
|
|
|
4
4
|
import { SLOs } from '../models/sl-os';
|
|
5
5
|
import { SLO } from '../models/slo';
|
|
6
6
|
import { SloConfigItemDtoImpl } from '../models/slo-config-item-dto-impl';
|
|
7
|
+
import { ApiClientOptions } from './api-client-options';
|
|
7
8
|
/**
|
|
8
9
|
* Manage SLOs
|
|
9
10
|
*/
|
|
10
11
|
export declare class ServiceLevelObjectivesClient {
|
|
11
12
|
private httpClient;
|
|
13
|
+
private shouldTransformDates;
|
|
12
14
|
/**
|
|
13
15
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ServiceLevelObjectivesClient. Custom http client should implement {HttpClient} interface.
|
|
16
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
14
17
|
* @example
|
|
15
18
|
* const serviceLevelObjectivesClientNodeJs = new ServiceLevelObjectivesClient(yourCustomImplementation);
|
|
16
19
|
*/
|
|
17
|
-
constructor(httpClientImplementation: HttpClient);
|
|
20
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
18
21
|
/**
|
|
19
22
|
* Lists all available SLOs along with calculated values
|
|
20
23
|
*
|
package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { ManagementZoneDetails } from '../models/management-zone-details';
|
|
3
|
+
import { ApiClientOptions } from './api-client-options';
|
|
3
4
|
/**
|
|
4
5
|
* View management zone details
|
|
5
6
|
*/
|
|
6
7
|
export declare class SettingsManagementZonesClient {
|
|
7
8
|
private httpClient;
|
|
9
|
+
private shouldTransformDates;
|
|
8
10
|
/**
|
|
9
11
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SettingsManagementZonesClient. Custom http client should implement {HttpClient} interface.
|
|
12
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
10
13
|
* @example
|
|
11
14
|
* const settingsManagementZonesClientNodeJs = new SettingsManagementZonesClient(yourCustomImplementation);
|
|
12
15
|
*/
|
|
13
|
-
constructor(httpClientImplementation: HttpClient);
|
|
16
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
14
17
|
/**
|
|
15
18
|
* Reads management zone details.
|
|
16
19
|
*
|
|
@@ -12,17 +12,20 @@ import { SettingsObjectResponse } from '../models/settings-object-response';
|
|
|
12
12
|
import { SettingsObjectUpdate } from '../models/settings-object-update';
|
|
13
13
|
import { TransferOwnershipRequest } from '../models/transfer-ownership-request';
|
|
14
14
|
import { UpdatePermissionsRequest } from '../models/update-permissions-request';
|
|
15
|
+
import { ApiClientOptions } from './api-client-options';
|
|
15
16
|
/**
|
|
16
17
|
* Manage settings objects
|
|
17
18
|
*/
|
|
18
19
|
export declare class SettingsObjectsClient {
|
|
19
20
|
private httpClient;
|
|
21
|
+
private shouldTransformDates;
|
|
20
22
|
/**
|
|
21
23
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SettingsObjectsClient. Custom http client should implement {HttpClient} interface.
|
|
24
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
22
25
|
* @example
|
|
23
26
|
* const settingsObjectsClientNodeJs = new SettingsObjectsClient(yourCustomImplementation);
|
|
24
27
|
*/
|
|
25
|
-
constructor(httpClientImplementation: HttpClient);
|
|
28
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
26
29
|
/**
|
|
27
30
|
* Get the effective settings permissions of the calling user in the environment
|
|
28
31
|
*
|
|
@@ -425,7 +428,7 @@ export declare class SettingsObjectsClient {
|
|
|
425
428
|
*
|
|
426
429
|
* **Required scope:** settings:objects:read<br/>**Required permission:** settings:objects:read<br/><br/>Get current permissions on this object.
|
|
427
430
|
*
|
|
428
|
-
* @returns {Promise<AccessorPermissionsList
|
|
431
|
+
* @returns {Promise<AccessorPermissionsList>} Success
|
|
429
432
|
*
|
|
430
433
|
* @example <caption>Code example</caption>
|
|
431
434
|
* import { settingsObjectsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -443,7 +446,7 @@ export declare class SettingsObjectsClient {
|
|
|
443
446
|
/** The ID of the required settings object. */ objectId: string;
|
|
444
447
|
/** If set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects */ adminAccess?: boolean;
|
|
445
448
|
abortSignal?: AbortSignal;
|
|
446
|
-
}): Promise<AccessorPermissionsList
|
|
449
|
+
}): Promise<AccessorPermissionsList>;
|
|
447
450
|
/**
|
|
448
451
|
* Add the permissions for a single accessor on this object.
|
|
449
452
|
*
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { SchemaDefinitionRestDto } from '../models/schema-definition-rest-dto';
|
|
3
3
|
import { SchemaList } from '../models/schema-list';
|
|
4
|
+
import { ApiClientOptions } from './api-client-options';
|
|
4
5
|
/**
|
|
5
6
|
* View settings schemas
|
|
6
7
|
*/
|
|
7
8
|
export declare class SettingsSchemasClient {
|
|
8
9
|
private httpClient;
|
|
10
|
+
private shouldTransformDates;
|
|
9
11
|
/**
|
|
10
12
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SettingsSchemasClient. Custom http client should implement {HttpClient} interface.
|
|
13
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
11
14
|
* @example
|
|
12
15
|
* const settingsSchemasClientNodeJs = new SettingsSchemasClient(yourCustomImplementation);
|
|
13
16
|
*/
|
|
14
|
-
constructor(httpClientImplementation: HttpClient);
|
|
17
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
15
18
|
/**
|
|
16
19
|
* Lists available settings schemas
|
|
17
20
|
*
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { MonitorExecutionResults } from '../models/monitor-execution-results';
|
|
3
|
+
import { ApiClientOptions } from './api-client-options';
|
|
3
4
|
export declare class SyntheticHttpMonitorExecutionsClient {
|
|
4
5
|
private httpClient;
|
|
6
|
+
private shouldTransformDates;
|
|
5
7
|
/**
|
|
6
8
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticHttpMonitorExecutionsClient. Custom http client should implement {HttpClient} interface.
|
|
9
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
7
10
|
* @example
|
|
8
11
|
* const syntheticHttpMonitorExecutionsClientNodeJs = new SyntheticHttpMonitorExecutionsClient(yourCustomImplementation);
|
|
9
12
|
*/
|
|
10
|
-
constructor(httpClientImplementation: HttpClient);
|
|
13
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
11
14
|
/**
|
|
12
15
|
* Gets detailed information about the last execution of the specified HTTP monitor
|
|
13
16
|
*
|
|
@@ -8,14 +8,17 @@ import { SyntheticLocationIdsDto } from '../models/synthetic-location-ids-dto';
|
|
|
8
8
|
import { SyntheticLocationUpdate } from '../models/synthetic-location-update';
|
|
9
9
|
import { SyntheticLocations } from '../models/synthetic-locations';
|
|
10
10
|
import { SyntheticPublicLocationsStatus } from '../models/synthetic-public-locations-status';
|
|
11
|
+
import { ApiClientOptions } from './api-client-options';
|
|
11
12
|
export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
12
13
|
private httpClient;
|
|
14
|
+
private shouldTransformDates;
|
|
13
15
|
/**
|
|
14
16
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticLocationsNodesAndConfigurationClient. Custom http client should implement {HttpClient} interface.
|
|
17
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
15
18
|
* @example
|
|
16
19
|
* const syntheticLocationsNodesAndConfigurationClientNodeJs = new SyntheticLocationsNodesAndConfigurationClient(yourCustomImplementation);
|
|
17
20
|
*/
|
|
18
|
-
constructor(httpClientImplementation: HttpClient);
|
|
21
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
19
22
|
/**
|
|
20
23
|
* Gets set of synthetic related parameters defined for whole tenant (affects all monitors and all private locations). | maturity=EARLY_ADOPTER
|
|
21
24
|
*
|
|
@@ -3,21 +3,24 @@ import { MonitorEntityIdDto } from '../models/monitor-entity-id-dto';
|
|
|
3
3
|
import { SyntheticMonitorListDto } from '../models/synthetic-monitor-list-dto';
|
|
4
4
|
import { SyntheticMultiProtocolMonitorDto } from '../models/synthetic-multi-protocol-monitor-dto';
|
|
5
5
|
import { SyntheticMultiProtocolMonitorUpdateDto } from '../models/synthetic-multi-protocol-monitor-update-dto';
|
|
6
|
+
import { ApiClientOptions } from './api-client-options';
|
|
6
7
|
/**
|
|
7
8
|
* Create, read, update and delete synthetic monitors. Currently network availability monitors only.
|
|
8
9
|
*/
|
|
9
10
|
export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
10
11
|
private httpClient;
|
|
12
|
+
private shouldTransformDates;
|
|
11
13
|
/**
|
|
12
14
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticNetworkAvailabilityMonitorsClient. Custom http client should implement {HttpClient} interface.
|
|
15
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
13
16
|
* @example
|
|
14
17
|
* const syntheticNetworkAvailabilityMonitorsClientNodeJs = new SyntheticNetworkAvailabilityMonitorsClient(yourCustomImplementation);
|
|
15
18
|
*/
|
|
16
|
-
constructor(httpClientImplementation: HttpClient);
|
|
19
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
17
20
|
/**
|
|
18
21
|
* Gets all synthetic monitors. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
19
22
|
*
|
|
20
|
-
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:
|
|
23
|
+
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
21
24
|
*
|
|
22
25
|
* @returns {Promise<SyntheticMonitorListDto>} Success
|
|
23
26
|
*
|
|
@@ -52,7 +55,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
52
55
|
/**
|
|
53
56
|
* Creates a synthetic monitor definition. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
54
57
|
*
|
|
55
|
-
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:
|
|
58
|
+
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
56
59
|
*
|
|
57
60
|
* @returns {Promise<MonitorEntityIdDto>} Success
|
|
58
61
|
*
|
|
@@ -76,7 +79,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
76
79
|
/**
|
|
77
80
|
* Gets a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
78
81
|
*
|
|
79
|
-
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:
|
|
82
|
+
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
80
83
|
*
|
|
81
84
|
* @returns {Promise<SyntheticMultiProtocolMonitorDto>} Success
|
|
82
85
|
*
|
|
@@ -100,7 +103,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
100
103
|
/**
|
|
101
104
|
* Updates a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
102
105
|
*
|
|
103
|
-
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:
|
|
106
|
+
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
104
107
|
*
|
|
105
108
|
* @example <caption>Code example</caption>
|
|
106
109
|
* import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -123,7 +126,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
123
126
|
/**
|
|
124
127
|
* Deletes a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
125
128
|
*
|
|
126
|
-
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:
|
|
129
|
+
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
127
130
|
*
|
|
128
131
|
* @example <caption>Code example</caption>
|
|
129
132
|
* import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -4,17 +4,20 @@ import { SyntheticOnDemandExecution } from '../models/synthetic-on-demand-execut
|
|
|
4
4
|
import { SyntheticOnDemandExecutionRequest } from '../models/synthetic-on-demand-execution-request';
|
|
5
5
|
import { SyntheticOnDemandExecutionResult } from '../models/synthetic-on-demand-execution-result';
|
|
6
6
|
import { SyntheticOnDemandExecutions } from '../models/synthetic-on-demand-executions';
|
|
7
|
+
import { ApiClientOptions } from './api-client-options';
|
|
7
8
|
/**
|
|
8
9
|
* Trigger and view information about on-demand synthetic monitor executions
|
|
9
10
|
*/
|
|
10
11
|
export declare class SyntheticOnDemandMonitorExecutionsClient {
|
|
11
12
|
private httpClient;
|
|
13
|
+
private shouldTransformDates;
|
|
12
14
|
/**
|
|
13
15
|
* @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a SyntheticOnDemandMonitorExecutionsClient. Custom http client should implement {HttpClient} interface.
|
|
16
|
+
* @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
|
|
14
17
|
* @example
|
|
15
18
|
* const syntheticOnDemandMonitorExecutionsClientNodeJs = new SyntheticOnDemandMonitorExecutionsClient(yourCustomImplementation);
|
|
16
19
|
*/
|
|
17
|
-
constructor(httpClientImplementation: HttpClient);
|
|
20
|
+
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
18
21
|
/**
|
|
19
22
|
* Gets the list of all on-demand executions of synthetic monitors
|
|
20
23
|
*
|
package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module-type.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare enum ActiveGateModuleType {
|
|
|
9
9
|
BeaconForwarder = "BEACON_FORWARDER",
|
|
10
10
|
CloudFoundry = "CLOUD_FOUNDRY",
|
|
11
11
|
DbInsight = "DB_INSIGHT",
|
|
12
|
+
Debugging = "DEBUGGING",
|
|
12
13
|
ExtensionsV1 = "EXTENSIONS_V1",
|
|
13
14
|
ExtensionsV2 = "EXTENSIONS_V2",
|
|
14
15
|
Kubernetes = "KUBERNETES",
|
|
@@ -18,7 +18,7 @@ export interface ActiveGateModule {
|
|
|
18
18
|
/**
|
|
19
19
|
* The type of ActiveGate module.
|
|
20
20
|
*/
|
|
21
|
-
type?: 'AWS' | 'AZURE' | 'BEACON_FORWARDER' | 'CLOUD_FOUNDRY' | 'DB_INSIGHT' | 'EXTENSIONS_V1' | 'EXTENSIONS_V2' | 'KUBERNETES' | 'LOGS' | 'MEMORY_DUMPS' | 'METRIC_API' | 'ONE_AGENT_ROUTING' | 'OTLP_INGEST' | 'REST_API' | 'SYNTHETIC' | 'VMWARE' | 'Z_OS';
|
|
21
|
+
type?: 'AWS' | 'AZURE' | 'BEACON_FORWARDER' | 'CLOUD_FOUNDRY' | 'DB_INSIGHT' | 'DEBUGGING' | 'EXTENSIONS_V1' | 'EXTENSIONS_V2' | 'KUBERNETES' | 'LOGS' | 'MEMORY_DUMPS' | 'METRIC_API' | 'ONE_AGENT_ROUTING' | 'OTLP_INGEST' | 'REST_API' | 'SYNTHETIC' | 'VMWARE' | 'Z_OS';
|
|
22
22
|
/**
|
|
23
23
|
* The version of the ActiveGate module.
|
|
24
24
|
*/
|
|
@@ -10,6 +10,10 @@ export interface Constraint {
|
|
|
10
10
|
* The ID of a custom validator.
|
|
11
11
|
*/
|
|
12
12
|
customValidatorId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether to disallow usage of dangerous regexes
|
|
15
|
+
*/
|
|
16
|
+
disallowDangerousRegex?: boolean;
|
|
13
17
|
/**
|
|
14
18
|
* The maximum allowed length of string values.
|
|
15
19
|
*/
|
package/types/packages/client/classic-environment-v2/src/lib/models/feature-set-details.d.ts
CHANGED
|
@@ -3,6 +3,18 @@ import { MetricDto } from './metric-dto';
|
|
|
3
3
|
* Additional information about a Feature Set
|
|
4
4
|
*/
|
|
5
5
|
export interface FeatureSetDetails {
|
|
6
|
+
/**
|
|
7
|
+
* Optional description for the FeatureSet
|
|
8
|
+
*/
|
|
9
|
+
description?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional display name of the FeatureSet
|
|
12
|
+
*/
|
|
13
|
+
displayName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Marks the feature set as recommended (selected by default during activation)
|
|
16
|
+
*/
|
|
17
|
+
isRecommended?: boolean;
|
|
6
18
|
/**
|
|
7
19
|
* Feature set metrics
|
|
8
20
|
*/
|
|
@@ -7,6 +7,7 @@ export declare enum GetAllActiveGatesQueryDisabledModuleItem {
|
|
|
7
7
|
BeaconForwarder = "BEACON_FORWARDER",
|
|
8
8
|
CloudFoundry = "CLOUD_FOUNDRY",
|
|
9
9
|
DbInsight = "DB_INSIGHT",
|
|
10
|
+
Debugging = "DEBUGGING",
|
|
10
11
|
ExtensionsV1 = "EXTENSIONS_V1",
|
|
11
12
|
ExtensionsV2 = "EXTENSIONS_V2",
|
|
12
13
|
Kubernetes = "KUBERNETES",
|
|
@@ -7,6 +7,7 @@ export declare enum GetAllActiveGatesQueryEnabledModuleItem {
|
|
|
7
7
|
BeaconForwarder = "BEACON_FORWARDER",
|
|
8
8
|
CloudFoundry = "CLOUD_FOUNDRY",
|
|
9
9
|
DbInsight = "DB_INSIGHT",
|
|
10
|
+
Debugging = "DEBUGGING",
|
|
10
11
|
ExtensionsV1 = "EXTENSIONS_V1",
|
|
11
12
|
ExtensionsV2 = "EXTENSIONS_V2",
|
|
12
13
|
Kubernetes = "KUBERNETES",
|
|
@@ -517,6 +517,8 @@ export * from './synthetic-location-type';
|
|
|
517
517
|
export * from './synthetic-location-update';
|
|
518
518
|
export * from './synthetic-location-update-type';
|
|
519
519
|
export * from './synthetic-locations';
|
|
520
|
+
export * from './synthetic-monitor-constraint-dto';
|
|
521
|
+
export * from './synthetic-monitor-constraint-dto-properties';
|
|
520
522
|
export * from './synthetic-monitor-list-dto';
|
|
521
523
|
export * from './synthetic-monitor-outage-handling-settings-dto';
|
|
522
524
|
export * from './synthetic-monitor-performance-threshold-dto';
|
|
@@ -524,8 +526,6 @@ export * from './synthetic-monitor-performance-threshold-dto-aggregation';
|
|
|
524
526
|
export * from './synthetic-monitor-performance-thresholds-dto';
|
|
525
527
|
export * from './synthetic-monitor-summary-dto';
|
|
526
528
|
export * from './synthetic-monitor-summary-dto-type';
|
|
527
|
-
export * from './synthetic-multi-protocol-monitor-constraint-dto';
|
|
528
|
-
export * from './synthetic-multi-protocol-monitor-constraint-dto-properties';
|
|
529
529
|
export * from './synthetic-multi-protocol-monitor-dto';
|
|
530
530
|
export * from './synthetic-multi-protocol-monitor-dto-type';
|
|
531
531
|
export * from './synthetic-multi-protocol-monitor-step-dto';
|
|
@@ -62,13 +62,11 @@ Complex objects are flattened facilitating ease of handling, and a simpler repre
|
|
|
62
62
|
|
|
63
63
|
**Limitations**
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
Please refer to the following documentation pages:
|
|
66
|
+
* [Grail tenant limits](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-limits)
|
|
67
|
+
* [LM v2 SaaS tenant limits](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/log-monitoring-limits)
|
|
68
|
+
* [LM v2 Managed tenant limits](https://docs.dynatrace.com/managed/analyze-explore-automate/log-monitoring/log-monitoring-limits)
|
|
66
69
|
|
|
67
|
-
* Attributes: up to 50 attributes.
|
|
68
|
-
* Content: Grail tenants: 65,536 bytes, other tenants: 8,192 bytes.
|
|
69
|
-
* Semantic attribute: 250 bytes per value, up to 32 attribute values.
|
|
70
|
-
* The maximum payload size of a single request is 10 MB.
|
|
71
|
-
* 50000 log events per payload.
|
|
72
70
|
|
|
73
71
|
<br/> **Supported timestamp keys:**
|
|
74
72
|
* @timestamp
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The log message in plain text.
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
<br/>
|
|
5
|
+
|
|
6
|
+
For limitations, please refer to the following documentation pages:
|
|
7
|
+
* [Grail tenant limits](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-limits)
|
|
8
|
+
* [LM v2 SaaS tenant limits](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/log-monitoring-limits)
|
|
9
|
+
* [LM v2 Managed tenant limits](https://docs.dynatrace.com/managed/analyze-explore-automate/log-monitoring/log-monitoring-limits)
|
|
10
|
+
|
|
11
|
+
|
|
5
12
|
* This is just an alias for a type Record<string, any>.
|
|
6
13
|
* @typedef {Record<string, any>} LogMessagePlain
|
|
7
14
|
*/
|
package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts
CHANGED
|
@@ -21,6 +21,13 @@ export interface PrivateSyntheticLocation {
|
|
|
21
21
|
* Notifications for location and node outage are enabled (`true`) or disabled (`false`). Supported only for private Synthetic locations.
|
|
22
22
|
*/
|
|
23
23
|
availabilityNotificationsEnabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Boolean value describes if browser monitors will be executed on this location:
|
|
26
|
+
*
|
|
27
|
+
* * `false`: Browser monitor executions disabled.
|
|
28
|
+
* * `true`: Browser monitor executions enabled.
|
|
29
|
+
*/
|
|
30
|
+
browserExecutionSupported?: boolean;
|
|
24
31
|
/**
|
|
25
32
|
* The city of the location.
|
|
26
33
|
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SyntheticMonitorConstraintDtoProperties } from './synthetic-monitor-constraint-dto-properties';
|
|
2
|
+
/**
|
|
3
|
+
* Synthetic monitor constraint.
|
|
4
|
+
*/
|
|
5
|
+
export interface SyntheticMonitorConstraintDto {
|
|
6
|
+
/**
|
|
7
|
+
* The properties of the constraint.
|
|
8
|
+
*/
|
|
9
|
+
properties: SyntheticMonitorConstraintDtoProperties;
|
|
10
|
+
/**
|
|
11
|
+
* Constraint type.
|
|
12
|
+
*/
|
|
13
|
+
type: string;
|
|
14
|
+
}
|
|
@@ -5,11 +5,11 @@ export interface SyntheticMonitorOutageHandlingSettingsDto {
|
|
|
5
5
|
/**
|
|
6
6
|
* Number of consecutive failures for all locations.
|
|
7
7
|
*/
|
|
8
|
-
globalConsecutiveOutageCountThreshold
|
|
8
|
+
globalConsecutiveOutageCountThreshold: number;
|
|
9
9
|
/**
|
|
10
10
|
* Generate a problem and send an alert when the monitor is unavailable at all configured locations.
|
|
11
11
|
*/
|
|
12
|
-
globalOutages
|
|
12
|
+
globalOutages: boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Number of consecutive failures.
|
|
15
15
|
*/
|
|
@@ -21,5 +21,5 @@ export interface SyntheticMonitorOutageHandlingSettingsDto {
|
|
|
21
21
|
/**
|
|
22
22
|
* Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location.
|
|
23
23
|
*/
|
|
24
|
-
localOutages
|
|
24
|
+
localOutages: boolean;
|
|
25
25
|
}
|
|
@@ -17,11 +17,11 @@ export interface SyntheticMonitorPerformanceThresholdDto {
|
|
|
17
17
|
/**
|
|
18
18
|
* Specify the step's index to which a threshold applies.
|
|
19
19
|
*/
|
|
20
|
-
stepIndex
|
|
20
|
+
stepIndex: number;
|
|
21
21
|
/**
|
|
22
22
|
* Notify if monitor request takes longer than *X* milliseconds to execute.
|
|
23
23
|
*/
|
|
24
|
-
threshold
|
|
24
|
+
threshold: number;
|
|
25
25
|
/**
|
|
26
26
|
* Number of violating request executions in analyzed sliding window
|
|
27
27
|
*/
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Monitor type.
|
|
3
|
+
*
|
|
2
4
|
* @deprecated Use literal values.
|
|
3
5
|
*/
|
|
4
6
|
export declare enum SyntheticMultiProtocolMonitorDtoType {
|
|
5
|
-
Browser = "BROWSER",
|
|
6
|
-
Http = "HTTP",
|
|
7
7
|
MultiProtocol = "MULTI_PROTOCOL",
|
|
8
|
-
|
|
8
|
+
Browser = "BROWSER",
|
|
9
|
+
Http = "HTTP"
|
|
9
10
|
}
|
|
@@ -45,12 +45,15 @@ export interface SyntheticMultiProtocolMonitorDto {
|
|
|
45
45
|
/**
|
|
46
46
|
* Outage handling configuration.
|
|
47
47
|
*/
|
|
48
|
-
syntheticMonitorOutageHandlingSettings
|
|
48
|
+
syntheticMonitorOutageHandlingSettings: SyntheticMonitorOutageHandlingSettingsDto;
|
|
49
49
|
/**
|
|
50
50
|
* A set of tags assigned to the monitor.
|
|
51
51
|
*
|
|
52
52
|
* You can specify only the value of the tag here and the `CONTEXTLESS` context and source 'USER' will be added automatically. But preferred option is usage of SyntheticTagWithSourceDto model.
|
|
53
53
|
*/
|
|
54
54
|
tags?: SyntheticTagWithSourceDto[];
|
|
55
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Monitor type.
|
|
57
|
+
*/
|
|
58
|
+
type: 'MULTI_PROTOCOL' | 'BROWSER' | 'HTTP';
|
|
56
59
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SyntheticMonitorConstraintDto } from './synthetic-monitor-constraint-dto';
|
|
2
2
|
import { SyntheticMultiProtocolMonitorStepDtoProperties } from './synthetic-multi-protocol-monitor-step-dto-properties';
|
|
3
3
|
import { SyntheticMultiProtocolRequestConfigurationDto } from './synthetic-multi-protocol-request-configuration-dto';
|
|
4
4
|
/**
|
|
@@ -8,7 +8,7 @@ export interface SyntheticMultiProtocolMonitorStepDto {
|
|
|
8
8
|
/**
|
|
9
9
|
* The list of constraints which apply to all requests in the step.
|
|
10
10
|
*/
|
|
11
|
-
constraints:
|
|
11
|
+
constraints: SyntheticMonitorConstraintDto[];
|
|
12
12
|
/**
|
|
13
13
|
* Step name.
|
|
14
14
|
*/
|
|
@@ -32,5 +32,5 @@ export interface SyntheticMultiProtocolMonitorStepDto {
|
|
|
32
32
|
/**
|
|
33
33
|
* Target list.
|
|
34
34
|
*/
|
|
35
|
-
targetList
|
|
35
|
+
targetList?: string[];
|
|
36
36
|
}
|
|
@@ -3,7 +3,7 @@ import { SyntheticMonitorPerformanceThresholdsDto } from './synthetic-monitor-pe
|
|
|
3
3
|
import { SyntheticMultiProtocolMonitorStepDto } from './synthetic-multi-protocol-monitor-step-dto';
|
|
4
4
|
import { SyntheticTagWithSourceDto } from './synthetic-tag-with-source-dto';
|
|
5
5
|
/**
|
|
6
|
-
* Network
|
|
6
|
+
* Network Availability monitor.
|
|
7
7
|
*/
|
|
8
8
|
export interface SyntheticMultiProtocolMonitorUpdateDto {
|
|
9
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SyntheticMonitorConstraintDto } from './synthetic-monitor-constraint-dto';
|
|
2
2
|
/**
|
|
3
3
|
* The configuration of a network availability monitor request.
|
|
4
4
|
*/
|
|
@@ -6,5 +6,5 @@ export interface SyntheticMultiProtocolRequestConfigurationDto {
|
|
|
6
6
|
/**
|
|
7
7
|
* Request constraints.
|
|
8
8
|
*/
|
|
9
|
-
constraints:
|
|
9
|
+
constraints: SyntheticMonitorConstraintDto[];
|
|
10
10
|
}
|
|
@@ -19,6 +19,13 @@ export interface SyntheticPrivateLocationUpdate extends SyntheticLocationUpdate
|
|
|
19
19
|
* Notifications for location and node outage are enabled (`true`) or disabled (`false`). Supported only for private Synthetic locations.
|
|
20
20
|
*/
|
|
21
21
|
availabilityNotificationsEnabled?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Boolean value describes if browser monitors will be executed on this location:
|
|
24
|
+
*
|
|
25
|
+
* * `false`: Browser monitor executions disabled.
|
|
26
|
+
* * `true`: Browser monitor executions enabled.
|
|
27
|
+
*/
|
|
28
|
+
browserExecutionSupported?: boolean;
|
|
22
29
|
/**
|
|
23
30
|
* The city of the location.
|
|
24
31
|
*/
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SyntheticMultiProtocolMonitorConstraintDtoProperties } from './synthetic-multi-protocol-monitor-constraint-dto-properties';
|
|
2
|
-
/**
|
|
3
|
-
* The network availability monitor constraint.
|
|
4
|
-
*/
|
|
5
|
-
export interface SyntheticMultiProtocolMonitorConstraintDto {
|
|
6
|
-
/**
|
|
7
|
-
* The properties of the constraint.
|
|
8
|
-
*/
|
|
9
|
-
properties: SyntheticMultiProtocolMonitorConstraintDtoProperties;
|
|
10
|
-
/**
|
|
11
|
-
* Constraint type.
|
|
12
|
-
*/
|
|
13
|
-
type: string;
|
|
14
|
-
}
|