@dynatrace-sdk/client-classic-environment-v2 3.7.2 → 4.1.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.
Files changed (84) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +1069 -817
  3. package/cjs/index.js +4159 -3871
  4. package/dynatrace-metadata.json +2 -2
  5. package/esm/index.js +2638 -2153
  6. package/package.json +3 -3
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +2 -3
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-agent-tokens-api.d.ts +1 -1
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +1 -1
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +1 -1
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-active-gate-groups-api.d.ts +1 -1
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +3 -2
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +5 -27
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +1 -1
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +1 -1
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +1 -1
  17. package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +1 -1
  18. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +5 -3
  19. package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +1 -1
  20. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +2 -5
  21. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +146 -2
  22. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +2 -2
  23. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +1 -1
  24. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +1 -1
  25. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +1 -1
  26. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +1 -1
  27. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +1 -1
  28. package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +1 -1
  29. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +1 -1
  30. package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +1 -1
  31. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +8 -13
  32. package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +4 -6
  33. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +1 -1
  34. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +10 -6
  35. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +2 -2
  36. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +2 -5
  37. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +4 -8
  38. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +7 -7
  39. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +1 -1
  40. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-os-architecture.d.ts +2 -1
  41. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate.d.ts +5 -1
  42. package/types/packages/client/classic-environment-v2/src/lib/models/alert-template-dto.d.ts +3 -0
  43. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +2 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +1 -1
  45. package/types/packages/client/classic-environment-v2/src/lib/models/certificate-credentials.d.ts +3 -3
  46. package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +1 -1
  47. package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint-type.d.ts +10 -0
  48. package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +5 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto-status.d.ts +3 -1
  50. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto.d.ts +2 -2
  51. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto-status.d.ts +12 -0
  52. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto.d.ts +14 -0
  53. package/types/packages/client/classic-environment-v2/src/lib/models/feature-set-details.d.ts +3 -3
  54. package/types/packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-os-architecture.d.ts +2 -1
  55. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +9 -4
  56. package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +6 -0
  57. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-transformations-item.d.ts +1 -0
  58. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +1 -1
  59. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
  60. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +1 -1
  61. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +4 -4
  62. package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto-type.d.ts +1 -0
  63. package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +5 -1
  64. package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +4 -0
  65. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +1 -1
  66. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.d.ts +9 -0
  67. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +5 -1
  68. package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-update-dto-type.d.ts → synthetic-multi-protocol-monitor-request-type.d.ts} +1 -1
  69. package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-update-dto.d.ts → synthetic-multi-protocol-monitor-request.d.ts} +1 -1
  70. package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-dto-type.d.ts → synthetic-multi-protocol-monitor-response-type.d.ts} +1 -1
  71. package/types/packages/client/classic-environment-v2/src/lib/models/{synthetic-multi-protocol-monitor-dto.d.ts → synthetic-multi-protocol-monitor-response.d.ts} +1 -1
  72. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +21 -4
  73. package/types/packages/{client/classic-environment-v2/src/lib/apis → shared-client-utils/src}/api-client-options.d.ts +1 -1
  74. package/types/packages/shared-client-utils/src/api-gateway-errors-handler.d.ts +9 -0
  75. package/types/packages/shared-client-utils/src/encoding.d.ts +17 -0
  76. package/types/packages/shared-client-utils/src/get-error-message.d.ts +8 -0
  77. package/types/packages/shared-client-utils/src/index.d.ts +6 -0
  78. package/types/packages/shared-client-utils/src/transformations.d.ts +64 -0
  79. package/types/packages/shared-client-utils/src/url-helpers.d.ts +12 -0
  80. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/api-gateway-errors-handler.d.ts +0 -2
  81. package/types/packages/client/classic-environment-v2/src/lib/error-envelopes/get-error-message.d.ts +0 -1
  82. package/types/packages/client/classic-environment-v2/src/lib/utils/encoding.d.ts +0 -10
  83. package/types/packages/client/classic-environment-v2/src/lib/utils/transformations.d.ts +0 -8
  84. package/types/packages/client/classic-environment-v2/src/lib/utils/url-helpers.d.ts +0 -6
@@ -1,4 +1,5 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { RemediationDetailsItem } from '../models/remediation-details-item';
3
4
  import { RemediationItemList } from '../models/remediation-item-list';
4
5
  import { RemediationItemMuteStateChange } from '../models/remediation-item-mute-state-change';
@@ -18,7 +19,6 @@ import { SecurityProblemsBulkMuteResponse } from '../models/security-problems-bu
18
19
  import { SecurityProblemsBulkUnmute } from '../models/security-problems-bulk-unmute';
19
20
  import { SecurityProblemsBulkUnmuteResponse } from '../models/security-problems-bulk-unmute-response';
20
21
  import { VulnerableFunctionsContainer } from '../models/vulnerable-functions-container';
21
- import { ApiClientOptions } from './api-client-options';
22
22
  /**
23
23
  * Manage security problems
24
24
  */
@@ -220,8 +220,7 @@ export declare class SecurityProblemsClient {
220
220
  * const data =
221
221
  * await securityProblemsClient.bulkMuteSecurityProblems({
222
222
  * body: {
223
- * reason:
224
- * SecurityProblemsBulkMuteReason.ConfigurationNotAffected,
223
+ * reason: "CONFIGURATION_NOT_AFFECTED",
225
224
  * securityProblemIds: ["..."],
226
225
  * },
227
226
  * });
@@ -248,7 +247,7 @@ export declare class SecurityProblemsClient {
248
247
  * const data =
249
248
  * await securityProblemsClient.bulkUnmuteSecurityProblems({
250
249
  * body: {
251
- * reason: SecurityProblemsBulkUnmuteReason.Affected,
250
+ * reason: "AFFECTED",
252
251
  * securityProblemIds: ["..."],
253
252
  * },
254
253
  * });
@@ -412,10 +411,7 @@ export declare class SecurityProblemsClient {
412
411
  * const data =
413
412
  * await securityProblemsClient.muteSecurityProblem({
414
413
  * id: "...",
415
- * body: {
416
- * reason:
417
- * SecurityProblemMuteReason.ConfigurationNotAffected,
418
- * },
414
+ * body: { reason: "CONFIGURATION_NOT_AFFECTED" },
419
415
  * });
420
416
  *
421
417
  * @throws {ErrorEnvelopeError} Client side error. | Server side error.
@@ -490,8 +486,7 @@ export declare class SecurityProblemsClient {
490
486
  * await securityProblemsClient.bulkMuteRemediationItems({
491
487
  * id: "...",
492
488
  * body: {
493
- * reason:
494
- * RemediationItemsBulkMuteReason.ConfigurationNotAffected,
489
+ * reason: "CONFIGURATION_NOT_AFFECTED",
495
490
  * remediationItemIds: ["..."],
496
491
  * },
497
492
  * });
@@ -543,7 +538,7 @@ export declare class SecurityProblemsClient {
543
538
  * await securityProblemsClient.bulkUnmuteRemediationItems({
544
539
  * id: "...",
545
540
  * body: {
546
- * reason: RemediationItemsBulkUnmuteReason.Affected,
541
+ * reason: "AFFECTED",
547
542
  * remediationItemIds: ["..."],
548
543
  * },
549
544
  * });
@@ -601,7 +596,7 @@ export declare class SecurityProblemsClient {
601
596
  * body: {
602
597
  * comment: "...",
603
598
  * muted: false,
604
- * reason: RemediationItemMuteStateChangeReason.Ignore,
599
+ * reason: "IGNORE",
605
600
  * },
606
601
  * });
607
602
  *
@@ -671,7 +666,7 @@ export declare class SecurityProblemsClient {
671
666
  * const data =
672
667
  * await securityProblemsClient.unmuteSecurityProblem({
673
668
  * id: "...",
674
- * body: { reason: SecurityProblemUnmuteReason.Affected },
669
+ * body: { reason: "AFFECTED" },
675
670
  * });
676
671
  *
677
672
  * @throws {ErrorEnvelopeError} Client side error. | Server side error.
@@ -1,10 +1,10 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { AbstractSloAlertDto } from '../models/abstract-slo-alert-dto';
3
4
  import { EntityShortRepresentation } from '../models/entity-short-representation';
4
5
  import { SLOs } from '../models/sl-os';
5
6
  import { SLO } from '../models/slo';
6
7
  import { SloConfigItemDtoImpl } from '../models/slo-config-item-dto-impl';
7
- import { ApiClientOptions } from './api-client-options';
8
8
  /**
9
9
  * Manage SLOs
10
10
  */
@@ -145,8 +145,7 @@ export declare class ServiceLevelObjectivesClient {
145
145
  *
146
146
  * const data = await serviceLevelObjectivesClient.createSlo({
147
147
  * body: {
148
- * evaluationType:
149
- * SloConfigItemDtoImplEvaluationType.Aggregate,
148
+ * evaluationType: "AGGREGATE",
150
149
  * name: "Payment service availability",
151
150
  * target: 95,
152
151
  * timeframe: "-1d",
@@ -248,8 +247,7 @@ export declare class ServiceLevelObjectivesClient {
248
247
  * await serviceLevelObjectivesClient.updateSloById({
249
248
  * id: "...",
250
249
  * body: {
251
- * evaluationType:
252
- * SloConfigItemDtoImplEvaluationType.Aggregate,
250
+ * evaluationType: "AGGREGATE",
253
251
  * name: "Payment service availability",
254
252
  * target: 95,
255
253
  * timeframe: "-1d",
@@ -308,7 +306,7 @@ export declare class ServiceLevelObjectivesClient {
308
306
  * body: {
309
307
  * alertName: "...",
310
308
  * alertThreshold: 10,
311
- * alertType: AbstractSloAlertDtoAlertType.BurnRate,
309
+ * alertType: "BURN_RATE",
312
310
  * },
313
311
  * },
314
312
  * );
@@ -1,6 +1,6 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { ManagementZoneDetails } from '../models/management-zone-details';
3
- import { ApiClientOptions } from './api-client-options';
4
4
  /**
5
5
  * View management zone details
6
6
  */
@@ -1,4 +1,5 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { AccessorPermissions } from '../models/accessor-permissions';
3
4
  import { AccessorPermissionsList } from '../models/accessor-permissions-list';
4
5
  import { EffectivePermission } from '../models/effective-permission';
@@ -12,7 +13,6 @@ import { SettingsObjectResponse } from '../models/settings-object-response';
12
13
  import { SettingsObjectUpdate } from '../models/settings-object-update';
13
14
  import { TransferOwnershipRequest } from '../models/transfer-ownership-request';
14
15
  import { UpdatePermissionsRequest } from '../models/update-permissions-request';
15
- import { ApiClientOptions } from './api-client-options';
16
16
  /**
17
17
  * Manage settings objects
18
18
  */
@@ -80,6 +80,8 @@ export declare class SettingsObjectsClient {
80
80
  *
81
81
  * If no object along the hierarchy is persisted, the default value as defined in the schema will be returned.
82
82
  *
83
+ * **Deprecation notice:** The ability to query values of any schema by leaving out the `schemaIds` parameter in the first-page query is deprecated and will eventually be removed.
84
+ *
83
85
  * @returns {Promise<EffectiveSettingsValuesList>} Success
84
86
  *
85
87
  * @example <caption>Code example</caption>
@@ -199,6 +201,8 @@ export declare class SettingsObjectsClient {
199
201
  *
200
202
  * If nothing is persisted or if all persisted settings objects are not accessible due to missing permissions, no items will be returned.
201
203
  *
204
+ * **Deprecation notice:** The ability to query values of any schema by leaving out the `schemaIds` parameter in the first-page query is deprecated and will eventually be removed.
205
+ *
202
206
  * To query the effective values (including schema defaults) please see [/settings/effectiveValues](#/Settings%20-%20Objects/getEffectiveSettingsValues).
203
207
  *
204
208
  * @returns {Promise<ObjectsList>} Success. Accessible objects returned.
@@ -459,7 +463,7 @@ export declare class SettingsObjectsClient {
459
463
  *
460
464
  * const data = await settingsObjectsClient.addPermission({
461
465
  * objectId: "...",
462
- * body: { accessor: { type: IdentityType.User } },
466
+ * body: { accessor: { type: "user" } },
463
467
  * });
464
468
  *
465
469
  * @throws {ErrorEnvelopeError} If accessor id already exists. | Failed. Forbidden. | No object available for the given objectId. | Client side error. | Server side error.
@@ -558,7 +562,7 @@ export declare class SettingsObjectsClient {
558
562
  *
559
563
  * const data = await settingsObjectsClient.getPermission({
560
564
  * objectId: "...",
561
- * accessorType: GetPermissionPathAccessorType.Group,
565
+ * accessorType: "group",
562
566
  * accessorId: "...",
563
567
  * });
564
568
  *
@@ -584,7 +588,7 @@ export declare class SettingsObjectsClient {
584
588
  *
585
589
  * const data = await settingsObjectsClient.updatePermission({
586
590
  * objectId: "...",
587
- * accessorType: UpdatePermissionPathAccessorType.Group,
591
+ * accessorType: "group",
588
592
  * accessorId: "...",
589
593
  * body: {},
590
594
  * });
@@ -612,7 +616,7 @@ export declare class SettingsObjectsClient {
612
616
  *
613
617
  * const data = await settingsObjectsClient.removePermission({
614
618
  * objectId: "...",
615
- * accessorType: RemovePermissionPathAccessorType.Group,
619
+ * accessorType: "group",
616
620
  * accessorId: "...",
617
621
  * });
618
622
  *
@@ -638,7 +642,7 @@ export declare class SettingsObjectsClient {
638
642
  *
639
643
  * const data = await settingsObjectsClient.transferOwnership({
640
644
  * objectId: "...",
641
- * body: { newOwner: { type: IdentityType.User } },
645
+ * body: { newOwner: { type: "user" } },
642
646
  * });
643
647
  *
644
648
  * @throws {ErrorEnvelopeError} Failed. The input is invalid. | Failed. Forbidden. | No object available for the given objectId. | Client side error. | Server side error.
@@ -1,7 +1,7 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { SchemaDefinitionRestDto } from '../models/schema-definition-rest-dto';
3
4
  import { SchemaList } from '../models/schema-list';
4
- import { ApiClientOptions } from './api-client-options';
5
5
  /**
6
6
  * View settings schemas
7
7
  */
@@ -41,7 +41,7 @@ export declare class SettingsSchemasClient {
41
41
  *
42
42
  * Specify the required top-level fields, separated by commas (for example, `schemaId,displayName`).
43
43
  *
44
- * Supported fields: `schemaId`, `displayName`, `latestSchemaVersion`, `multiObject`, `ordered`.
44
+ * Supported fields: `schemaId`, `displayName`, `latestSchemaVersion`, `multiObject`, `ordered`, `ownerBasedAccessControl`.
45
45
  */ fields?: string;
46
46
  abortSignal?: AbortSignal;
47
47
  }): Promise<SchemaList>;
@@ -1,6 +1,6 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { MonitorExecutionResults } from '../models/monitor-execution-results';
3
- import { ApiClientOptions } from './api-client-options';
4
4
  export declare class SyntheticHttpMonitorExecutionsClient {
5
5
  private httpClient;
6
6
  private shouldTransformDates;
@@ -23,10 +23,7 @@ export declare class SyntheticHttpMonitorExecutionsClient {
23
23
  *
24
24
  * const data =
25
25
  * await syntheticHttpMonitorExecutionsClient.getExecutionResult(
26
- * {
27
- * monitorId: "...",
28
- * resultType: GetExecutionResultPathResultType.Success,
29
- * },
26
+ * { monitorId: "...", resultType: "SUCCESS" },
30
27
  * );
31
28
  *
32
29
  * @throws {ErrorEnvelopeError} Client side error. | Server side error.
@@ -1,4 +1,5 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { Node } from '../models/node';
3
4
  import { Nodes } from '../models/nodes';
4
5
  import { PrivateSyntheticLocation } from '../models/private-synthetic-location';
@@ -8,7 +9,6 @@ import { SyntheticLocationIdsDto } from '../models/synthetic-location-ids-dto';
8
9
  import { SyntheticLocationUpdate } from '../models/synthetic-location-update';
9
10
  import { SyntheticLocations } from '../models/synthetic-locations';
10
11
  import { SyntheticPublicLocationsStatus } from '../models/synthetic-public-locations-status';
11
- import { ApiClientOptions } from './api-client-options';
12
12
  export declare class SyntheticLocationsNodesAndConfigurationClient {
13
13
  private httpClient;
14
14
  private shouldTransformDates;
@@ -67,7 +67,7 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
67
67
  /**
68
68
  * Lists all synthetic locations (both public and private) available for your environment
69
69
  *
70
- * **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
70
+ * **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:viewer
71
71
  *
72
72
  * @returns {Promise<SyntheticLocations>} Success
73
73
  *
@@ -106,7 +106,7 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
106
106
  * longitude: 10,
107
107
  * name: "...",
108
108
  * nodes: ["..."],
109
- * type: PrivateSyntheticLocationType.Cluster,
109
+ * type: "CLUSTER",
110
110
  * },
111
111
  * },
112
112
  * );
@@ -221,10 +221,7 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
221
221
  *
222
222
  * const data =
223
223
  * await syntheticLocationsNodesAndConfigurationClient.updateLocation(
224
- * {
225
- * locationId: "...",
226
- * body: { type: SyntheticLocationUpdateType.Private },
227
- * },
224
+ * { locationId: "...", body: { type: "PRIVATE" } },
228
225
  * );
229
226
  *
230
227
  * @throws {ErrorEnvelopeError} Client side error. | Server side error.
@@ -308,7 +305,6 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
308
305
  */
309
306
  getLocationDeploymentYaml(config: {
310
307
  /** The Dynatrace entity ID of the required location. */ locationId: string;
311
- /** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
312
308
  /** Active gate name */ activeGateName?: string;
313
309
  /** Namespace */ namespace?: string;
314
310
  /** Custom images registry prefix - this will replace 'dynatrace' in image URLs in generated yaml. */ customRegistry?: string;
@@ -1,9 +1,9 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { MonitorEntityIdDto } from '../models/monitor-entity-id-dto';
3
4
  import { SyntheticMonitorListDto } from '../models/synthetic-monitor-list-dto';
4
- import { SyntheticMultiProtocolMonitorDto } from '../models/synthetic-multi-protocol-monitor-dto';
5
- import { SyntheticMultiProtocolMonitorUpdateDto } from '../models/synthetic-multi-protocol-monitor-update-dto';
6
- import { ApiClientOptions } from './api-client-options';
5
+ import { SyntheticMultiProtocolMonitorRequest } from '../models/synthetic-multi-protocol-monitor-request';
6
+ import { SyntheticMultiProtocolMonitorResponse } from '../models/synthetic-multi-protocol-monitor-response';
7
7
  /**
8
8
  * Create, read, update and delete synthetic monitors. Currently network availability monitors only.
9
9
  */
@@ -73,7 +73,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
73
73
  * @throws {ClientRequestError}
74
74
  */
75
75
  createMonitor(config: {
76
- body: SyntheticMultiProtocolMonitorUpdateDto;
76
+ body: SyntheticMultiProtocolMonitorRequest;
77
77
  abortSignal?: AbortSignal;
78
78
  }): Promise<MonitorEntityIdDto>;
79
79
  /**
@@ -81,7 +81,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
81
81
  *
82
82
  * **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
83
83
  *
84
- * @returns {Promise<SyntheticMultiProtocolMonitorDto>} Success
84
+ * @returns {Promise<SyntheticMultiProtocolMonitorResponse>} Success
85
85
  *
86
86
  * @example <caption>Code example</caption>
87
87
  * import { syntheticNetworkAvailabilityMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v2";
@@ -99,7 +99,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
99
99
  getMonitor(config: {
100
100
  /** The identifier of the monitor. */ monitorId: string;
101
101
  abortSignal?: AbortSignal;
102
- }): Promise<SyntheticMultiProtocolMonitorDto>;
102
+ }): Promise<SyntheticMultiProtocolMonitorResponse>;
103
103
  /**
104
104
  * Updates a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
105
105
  *
@@ -119,7 +119,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
119
119
  * @throws {ClientRequestError}
120
120
  */
121
121
  updateMonitor(config: {
122
- body: SyntheticMultiProtocolMonitorUpdateDto;
122
+ body: SyntheticMultiProtocolMonitorRequest;
123
123
  /** The identifier of the monitor. */ monitorId: string;
124
124
  abortSignal?: AbortSignal;
125
125
  }): Promise<void>;
@@ -1,10 +1,10 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
+ import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
2
3
  import { SyntheticOnDemandBatchStatus } from '../models/synthetic-on-demand-batch-status';
3
4
  import { SyntheticOnDemandExecution } from '../models/synthetic-on-demand-execution';
4
5
  import { SyntheticOnDemandExecutionRequest } from '../models/synthetic-on-demand-execution-request';
5
6
  import { SyntheticOnDemandExecutionResult } from '../models/synthetic-on-demand-execution-result';
6
7
  import { SyntheticOnDemandExecutions } from '../models/synthetic-on-demand-executions';
7
- import { ApiClientOptions } from './api-client-options';
8
8
  /**
9
9
  * Trigger and view information about on-demand synthetic monitor executions
10
10
  */
@@ -6,5 +6,6 @@
6
6
  export declare enum ActiveGateOsArchitecture {
7
7
  S390 = "S390",
8
8
  X86 = "X86",
9
- Arm = "ARM"
9
+ Arm = "ARM",
10
+ Ppcle = "PPCLE"
10
11
  }
@@ -30,6 +30,10 @@ export interface ActiveGate {
30
30
  * A list of environments (specified by IDs) the ActiveGate can connect to.
31
31
  */
32
32
  environments?: string[];
33
+ /**
34
+ * ActiveGate is running in FIPS compliant mode (`true`) or not (`false`).
35
+ */
36
+ fipsMode?: boolean;
33
37
  /**
34
38
  * The group of the ActiveGate.
35
39
  */
@@ -71,7 +75,7 @@ export interface ActiveGate {
71
75
  /**
72
76
  * The OS architecture that the ActiveGate is running on.
73
77
  */
74
- osArchitecture?: 'S390' | 'X86' | 'ARM';
78
+ osArchitecture?: 'S390' | 'X86' | 'ARM' | 'PPCLE';
75
79
  /**
76
80
  * The OS bitness that the ActiveGate is running on.
77
81
  */
@@ -0,0 +1,3 @@
1
+ export interface AlertTemplateDto {
2
+ templateJson?: string;
3
+ }
@@ -5,6 +5,7 @@
5
5
  */
6
6
  export declare enum AssetInfoDtoType {
7
7
  Alert = "ALERT",
8
+ AlertTemplate = "ALERT_TEMPLATE",
8
9
  AwsService = "AWS_SERVICE",
9
10
  CustomCards = "CUSTOM_CARDS",
10
11
  Dashboard = "DASHBOARD",
@@ -24,6 +25,7 @@ export declare enum AssetInfoDtoType {
24
25
  LqlLogProcessingRule = "LQL_LOG_PROCESSING_RULE",
25
26
  MetricMetadata = "METRIC_METADATA",
26
27
  MetricQuery = "METRIC_QUERY",
28
+ ProcessGroupingRules = "PROCESS_GROUPING_RULES",
27
29
  ScreenActions = "SCREEN_ACTIONS",
28
30
  ScreenChartGroups = "SCREEN_CHART_GROUPS",
29
31
  ScreenDqlTable = "SCREEN_DQL_TABLE",
@@ -18,5 +18,5 @@ export interface AssetInfoDto {
18
18
  /**
19
19
  * The type of the asset.
20
20
  */
21
- type?: 'ALERT' | 'AWS_SERVICE' | 'CUSTOM_CARDS' | 'DASHBOARD' | 'DECLARATIVE_PROCESSES' | 'DOCUMENT_DASHBOARD' | 'DQL_LOG_METRIC' | 'DQL_LOG_PROCESSING_RULE' | 'GENERIC_RELATIONSHIP' | 'GENERIC_TYPE' | 'LIST_SCREEN_FILTERS' | 'LIST_SCREEN_INJECTIONS' | 'LIST_SCREEN_LAYOUT' | 'LOG_EVENT' | 'LOG_METRIC' | 'LOG_PROCESSING_RULE' | 'LQL_LOG_METRIC' | 'LQL_LOG_PROCESSING_RULE' | 'METRIC_METADATA' | 'METRIC_QUERY' | 'SCREEN_ACTIONS' | 'SCREEN_CHART_GROUPS' | 'SCREEN_DQL_TABLE' | 'SCREEN_ENTITIES_LISTS' | 'SCREEN_EVENTS_CARDS' | 'SCREEN_FILTERS' | 'SCREEN_HEALTH_CARDS' | 'SCREEN_INJECTIONS' | 'SCREEN_LAYOUT' | 'SCREEN_LOGS_CARDS' | 'SCREEN_MESSAGE_CARDS' | 'SCREEN_METRIC_TABLES' | 'SCREEN_PROBLEMS' | 'SCREEN_PROPERTIES';
21
+ type?: 'ALERT' | 'ALERT_TEMPLATE' | 'AWS_SERVICE' | 'CUSTOM_CARDS' | 'DASHBOARD' | 'DECLARATIVE_PROCESSES' | 'DOCUMENT_DASHBOARD' | 'DQL_LOG_METRIC' | 'DQL_LOG_PROCESSING_RULE' | 'GENERIC_RELATIONSHIP' | 'GENERIC_TYPE' | 'LIST_SCREEN_FILTERS' | 'LIST_SCREEN_INJECTIONS' | 'LIST_SCREEN_LAYOUT' | 'LOG_EVENT' | 'LOG_METRIC' | 'LOG_PROCESSING_RULE' | 'LQL_LOG_METRIC' | 'LQL_LOG_PROCESSING_RULE' | 'METRIC_METADATA' | 'METRIC_QUERY' | 'PROCESS_GROUPING_RULES' | 'SCREEN_ACTIONS' | 'SCREEN_CHART_GROUPS' | 'SCREEN_DQL_TABLE' | 'SCREEN_ENTITIES_LISTS' | 'SCREEN_EVENTS_CARDS' | 'SCREEN_FILTERS' | 'SCREEN_HEALTH_CARDS' | 'SCREEN_INJECTIONS' | 'SCREEN_LAYOUT' | 'SCREEN_LOGS_CARDS' | 'SCREEN_MESSAGE_CARDS' | 'SCREEN_METRIC_TABLES' | 'SCREEN_PROBLEMS' | 'SCREEN_PROPERTIES';
22
22
  }
@@ -4,15 +4,15 @@ import { Credentials } from './credentials';
4
4
  */
5
5
  export interface CertificateCredentials extends Credentials {
6
6
  /**
7
- * The certificate in the string format.
7
+ * String containing the certificate file bytes encoded in Base64 without carriage return.
8
8
  */
9
9
  certificate?: string;
10
10
  /**
11
- * The certificate format.
11
+ * The certificate format. Use `PEM` for PEM certificates and `PKCS12` for PFX and P12 certificates.
12
12
  */
13
13
  certificateFormat?: 'PEM' | 'PKCS12' | 'UNKNOWN';
14
14
  /**
15
- * The password of the credential (Base64 encoded).
15
+ * The password of the credential encoded in Base64. Must be empty for `PEM` certificates.
16
16
  */
17
17
  password?: string;
18
18
  }
@@ -52,5 +52,5 @@ export interface Credentials {
52
52
  * * `AWS_MONITORING_KEY_BASED` -> AWSKeyBasedCredentialsDto
53
53
  * * `AWS_MONITORING_ROLE_BASED` -> AWSRoleBasedCredentials
54
54
  */
55
- type?: 'AWS_MONITORING_KEY_BASED' | 'AWS_MONITORING_ROLE_BASED' | 'CERTIFICATE' | 'PUBLIC_CERTIFICATE' | 'SNMPV3' | 'TOKEN' | 'USERNAME_PASSWORD';
55
+ type: 'AWS_MONITORING_KEY_BASED' | 'AWS_MONITORING_ROLE_BASED' | 'CERTIFICATE' | 'PUBLIC_CERTIFICATE' | 'SNMPV3' | 'TOKEN' | 'USERNAME_PASSWORD';
56
56
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The type of the deletion constraint.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum DeletionConstraintType {
7
+ CustomValidatorRef = "CUSTOM_VALIDATOR_REF",
8
+ ReferentialIntegrity = "REFERENTIAL_INTEGRITY",
9
+ Unknown = "UNKNOWN"
10
+ }
@@ -10,4 +10,9 @@ export interface DeletionConstraint {
10
10
  * The ID of a custom validator.
11
11
  */
12
12
  customValidatorId?: string;
13
+ schemaIds?: string[];
14
+ /**
15
+ * The type of the deletion constraint.
16
+ */
17
+ type: 'CUSTOM_VALIDATOR_REF' | 'REFERENTIAL_INTEGRITY' | 'UNKNOWN';
13
18
  }
@@ -6,5 +6,7 @@
6
6
  export declare enum ExtensionStatusDtoStatus {
7
7
  Error = "ERROR",
8
8
  Ok = "OK",
9
- Unknown = "UNKNOWN"
9
+ Pending = "PENDING",
10
+ Unknown = "UNKNOWN",
11
+ Warning = "WARNING"
10
12
  }
@@ -2,9 +2,9 @@ export interface ExtensionStatusDto {
2
2
  /**
3
3
  * Latest status of given configuration.
4
4
  */
5
- status: 'ERROR' | 'OK' | 'UNKNOWN';
5
+ status: 'ERROR' | 'OK' | 'PENDING' | 'UNKNOWN' | 'WARNING';
6
6
  /**
7
7
  * Timestamp of the latest status of given configuration.
8
8
  */
9
- timestamp: number;
9
+ timestamp?: number;
10
10
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Latest status of given configuration.
3
+ *
4
+ * @deprecated Use literal values.
5
+ */
6
+ export declare enum ExtensionStatusWithIdDtoStatus {
7
+ Error = "ERROR",
8
+ Ok = "OK",
9
+ Pending = "PENDING",
10
+ Unknown = "UNKNOWN",
11
+ Warning = "WARNING"
12
+ }
@@ -0,0 +1,14 @@
1
+ export interface ExtensionStatusWithIdDto {
2
+ /**
3
+ * Unique ID of the configuration.
4
+ */
5
+ configurationId: string;
6
+ /**
7
+ * Latest status of given configuration.
8
+ */
9
+ status: 'ERROR' | 'OK' | 'PENDING' | 'UNKNOWN' | 'WARNING';
10
+ /**
11
+ * Timestamp of the latest status of given configuration.
12
+ */
13
+ timestamp?: number;
14
+ }
@@ -4,17 +4,17 @@ import { MetricDto } from './metric-dto';
4
4
  */
5
5
  export interface FeatureSetDetails {
6
6
  /**
7
- * Optional description for the FeatureSet
7
+ * Optional description for the feature set
8
8
  */
9
9
  description?: string;
10
10
  /**
11
- * Optional display name of the FeatureSet
11
+ * Optional display name of the feature set
12
12
  */
13
13
  displayName?: string;
14
14
  /**
15
15
  * Marks the feature set as recommended (selected by default during activation)
16
16
  */
17
- isRecommended?: boolean;
17
+ isRecommended: boolean;
18
18
  /**
19
19
  * Feature set metrics
20
20
  */
@@ -4,5 +4,6 @@
4
4
  export declare enum GetAllActiveGatesQueryOsArchitecture {
5
5
  X86 = "X86",
6
6
  S390 = "S390",
7
- Arm = "ARM"
7
+ Arm = "ARM",
8
+ Ppcle = "PPCLE"
8
9
  }
@@ -43,6 +43,7 @@ export * from './affected-entity';
43
43
  export * from './agent-connection-token';
44
44
  export * from './aggregated-log';
45
45
  export * from './aggregated-log-aggregation-result';
46
+ export * from './alert-template-dto';
46
47
  export * from './alerting-profile-stub';
47
48
  export * from './any-value';
48
49
  export * from './api-token';
@@ -143,6 +144,7 @@ export * from './davis-security-advice-list';
143
144
  export * from './davis-security-advice-technology';
144
145
  export * from './deleted-entity-tags';
145
146
  export * from './deletion-constraint';
147
+ export * from './deletion-constraint-type';
146
148
  export * from './effective-permission';
147
149
  export * from './effective-permission-granted';
148
150
  export * from './effective-settings-value';
@@ -213,6 +215,8 @@ export * from './extension-monitoring-configuration-value';
213
215
  export * from './extension-monitoring-configurations-list';
214
216
  export * from './extension-status-dto';
215
217
  export * from './extension-status-dto-status';
218
+ export * from './extension-status-with-id-dto';
219
+ export * from './extension-status-with-id-dto-status';
216
220
  export * from './extension-upload-response-dto';
217
221
  export * from './extension-upload-response-dto-feature-sets-details';
218
222
  export * from './external-vault';
@@ -523,16 +527,17 @@ export * from './synthetic-monitor-list-dto';
523
527
  export * from './synthetic-monitor-outage-handling-settings-dto';
524
528
  export * from './synthetic-monitor-performance-threshold-dto';
525
529
  export * from './synthetic-monitor-performance-threshold-dto-aggregation';
530
+ export * from './synthetic-monitor-performance-threshold-dto-type';
526
531
  export * from './synthetic-monitor-performance-thresholds-dto';
527
532
  export * from './synthetic-monitor-summary-dto';
528
533
  export * from './synthetic-monitor-summary-dto-type';
529
- export * from './synthetic-multi-protocol-monitor-dto';
530
- export * from './synthetic-multi-protocol-monitor-dto-type';
534
+ export * from './synthetic-multi-protocol-monitor-request';
535
+ export * from './synthetic-multi-protocol-monitor-request-type';
536
+ export * from './synthetic-multi-protocol-monitor-response';
537
+ export * from './synthetic-multi-protocol-monitor-response-type';
531
538
  export * from './synthetic-multi-protocol-monitor-step-dto';
532
539
  export * from './synthetic-multi-protocol-monitor-step-dto-properties';
533
540
  export * from './synthetic-multi-protocol-monitor-step-dto-request-type';
534
- export * from './synthetic-multi-protocol-monitor-update-dto';
535
- export * from './synthetic-multi-protocol-monitor-update-dto-type';
536
541
  export * from './synthetic-multi-protocol-request-configuration-dto';
537
542
  export * from './synthetic-on-demand-batch-status';
538
543
  export * from './synthetic-on-demand-batch-status-batch-status';
@@ -58,6 +58,12 @@ export interface LocationCollectionElement {
58
58
  * The name of the location.
59
59
  */
60
60
  name: string;
61
+ /**
62
+ * A list of synthetic nodes belonging to the location.
63
+ *
64
+ * You can retrieve the list of available nodes with the [GET all nodes](https://dt-url.net/miy3rpl) call.
65
+ */
66
+ nodes?: string[];
61
67
  /**
62
68
  * The release stage of the location.
63
69
  */
@@ -8,6 +8,7 @@ export declare enum MetricDescriptorTransformationsItem {
8
8
  EvaluateModel = "evaluateModel",
9
9
  Filter = "filter",
10
10
  Fold = "fold",
11
+ Histogram = "histogram",
11
12
  Last = "last",
12
13
  LastReal = "lastReal",
13
14
  Limit = "limit",
@@ -130,7 +130,7 @@ export interface MetricDescriptor {
130
130
  /**
131
131
  * Transform operators that could be appended to the current transformation list.
132
132
  */
133
- transformations?: Array<'asGauge' | 'default' | 'delta' | 'evaluateModel' | 'filter' | 'fold' | 'last' | 'lastReal' | 'limit' | 'merge' | 'names' | 'parents' | 'partition' | 'rate' | 'rollup' | 'setUnit' | 'smooth' | 'sort' | 'splitBy' | 'timeshift' | 'toUnit'>;
133
+ transformations?: Array<'asGauge' | 'default' | 'delta' | 'evaluateModel' | 'filter' | 'fold' | 'histogram' | 'last' | 'lastReal' | 'limit' | 'merge' | 'names' | 'parents' | 'partition' | 'rate' | 'rollup' | 'setUnit' | 'smooth' | 'sort' | 'splitBy' | 'timeshift' | 'toUnit'>;
134
134
  /**
135
135
  * The unit of the metric.
136
136
  */