@dynatrace-sdk/client-classic-environment-v2 3.7.3 → 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 (47) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1012 -719
  3. package/cjs/index.js +574 -22
  4. package/dynatrace-metadata.json +2 -2
  5. package/esm/index.js +574 -22
  6. package/package.json +1 -1
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +2 -1
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +10 -2
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +145 -1
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +1 -1
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +4 -0
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +1 -1
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +1 -2
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +6 -6
  15. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-os-architecture.d.ts +2 -1
  16. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate.d.ts +5 -1
  17. package/types/packages/client/classic-environment-v2/src/lib/models/alert-template-dto.d.ts +3 -0
  18. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto-type.d.ts +2 -0
  19. package/types/packages/client/classic-environment-v2/src/lib/models/asset-info-dto.d.ts +1 -1
  20. package/types/packages/client/classic-environment-v2/src/lib/models/certificate-credentials.d.ts +3 -3
  21. package/types/packages/client/classic-environment-v2/src/lib/models/credentials.d.ts +1 -1
  22. package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint-type.d.ts +10 -0
  23. package/types/packages/client/classic-environment-v2/src/lib/models/deletion-constraint.d.ts +5 -0
  24. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto-status.d.ts +3 -1
  25. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-dto.d.ts +2 -2
  26. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto-status.d.ts +12 -0
  27. package/types/packages/client/classic-environment-v2/src/lib/models/extension-status-with-id-dto.d.ts +14 -0
  28. package/types/packages/client/classic-environment-v2/src/lib/models/feature-set-details.d.ts +3 -3
  29. package/types/packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-os-architecture.d.ts +2 -1
  30. package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +9 -4
  31. package/types/packages/client/classic-environment-v2/src/lib/models/location-collection-element.d.ts +6 -0
  32. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor-transformations-item.d.ts +1 -0
  33. package/types/packages/client/classic-environment-v2/src/lib/models/metric-descriptor.d.ts +1 -1
  34. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states-state.d.ts +1 -0
  35. package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-states.d.ts +1 -1
  36. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +4 -4
  37. package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto-type.d.ts +1 -0
  38. package/types/packages/client/classic-environment-v2/src/lib/models/schema-constraint-rest-dto.d.ts +5 -1
  39. package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +4 -0
  40. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +1 -1
  41. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.d.ts +9 -0
  42. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +5 -1
  43. 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
  44. 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
  45. 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
  46. 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
  47. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +21 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/client-classic-environment-v2",
3
- "version": "3.7.3",
3
+ "version": "4.1.0",
4
4
  "description": "Client for the Dynatrace Environment API v2",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -39,7 +39,7 @@ export declare class ActiveGatesClient {
39
39
  * You can specify a partial name. In that case, the `CONTAINS` operator is used.
40
40
  */ hostname?: string;
41
41
  /** Filters the resulting set of ActiveGates by the OS type of the host it's running on. */ osType?: 'LINUX' | 'WINDOWS';
42
- /** Filters the resulting set of ActiveGates by the OS architecture of the host it's running on. */ osArchitecture?: 'X86' | 'S390' | 'ARM';
42
+ /** Filters the resulting set of ActiveGates by the OS architecture of the host it's running on. */ osArchitecture?: 'X86' | 'S390' | 'ARM' | 'PPCLE';
43
43
  /**
44
44
  * Filters the resulting set of ActiveGates by the network address.
45
45
  *
@@ -79,6 +79,7 @@ export declare class ActiveGatesClient {
79
79
  /** Filters the resulting set of ActiveGates to those which are running in container (`true`) or not (`false`). */ containerized?: boolean;
80
80
  /** Filters the resulting set of ActiveGates to those with authorization token in specified state. */ tokenState?: 'ABSENT' | 'EXPIRING' | 'INVALID' | 'UNKNOWN' | 'UNSUPPORTED' | 'VALID';
81
81
  /** Filters the resulting set of ActiveGates to those with set expiration date for authorization token. */ tokenExpirationSet?: boolean;
82
+ /** Filters the resulting set of ActiveGates to those which are running in FIPS mode (`true`) or not (`false`). */ fipsMode?: boolean;
82
83
  abortSignal?: AbortSignal;
83
84
  }): Promise<ActiveGateList>;
84
85
  /**
@@ -67,7 +67,11 @@ export declare class CredentialVaultClient {
67
67
  * import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";
68
68
  *
69
69
  * const data = await credentialVaultClient.createCredentials({
70
- * body: { name: "...", scopes: ["APP_ENGINE"] },
70
+ * body: {
71
+ * name: "...",
72
+ * scopes: ["APP_ENGINE"],
73
+ * type: "AWS_MONITORING_KEY_BASED",
74
+ * },
71
75
  * });
72
76
  *
73
77
  * @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
@@ -114,7 +118,11 @@ export declare class CredentialVaultClient {
114
118
  *
115
119
  * const data = await credentialVaultClient.updateCredentials({
116
120
  * id: "...",
117
- * body: { name: "...", scopes: ["APP_ENGINE"] },
121
+ * body: {
122
+ * name: "...",
123
+ * scopes: ["APP_ENGINE"],
124
+ * type: "AWS_MONITORING_KEY_BASED",
125
+ * },
118
126
  * });
119
127
  *
120
128
  * @throws {ErrorEnvelopeError} Failed. The input is invalid. | Client side error. | Server side error.
@@ -1,6 +1,8 @@
1
1
  import { AbortSignal, Binary, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
3
3
  import { ActiveGateGroupsInfoDto } from '../models/active-gate-groups-info-dto';
4
+ import { AlertTemplateDto } from '../models/alert-template-dto';
5
+ import { AuditLog } from '../models/audit-log';
4
6
  import { ErrorEnvelope } from '../models/error-envelope';
5
7
  import { ExecuteActionsDto } from '../models/execute-actions-dto';
6
8
  import { ExecuteActionsResponse } from '../models/execute-actions-response';
@@ -13,6 +15,7 @@ import { ExtensionList } from '../models/extension-list';
13
15
  import { ExtensionMonitoringConfiguration } from '../models/extension-monitoring-configuration';
14
16
  import { ExtensionMonitoringConfigurationsList } from '../models/extension-monitoring-configurations-list';
15
17
  import { ExtensionStatusDto } from '../models/extension-status-dto';
18
+ import { ExtensionStatusWithIdDto } from '../models/extension-status-with-id-dto';
16
19
  import { ExtensionUploadResponseDto } from '../models/extension-upload-response-dto';
17
20
  import { JsonNode } from '../models/json-node';
18
21
  import { MonitoringConfigurationDto } from '../models/monitoring-configuration-dto';
@@ -415,6 +418,33 @@ export declare class Extensions_2_0Client {
415
418
  /** The name of the requested extension 2.0. */ extensionName: string;
416
419
  abortSignal?: AbortSignal;
417
420
  }): Promise<ExtensionAssetsDto>;
421
+ /**
422
+ * Gets an alert template asset for given ID
423
+ *
424
+ * **Required scope:** environment-api:extensions:read<br/>**One of the following permissions is required:**
425
+ * + environment:roles:manage-settings
426
+ * + extensions:definitions:read
427
+ *
428
+ * @returns {Promise<AlertTemplateDto>} Success
429
+ *
430
+ * @example <caption>Code example</caption>
431
+ * import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
432
+ *
433
+ * const data = await extensions_2_0Client.getAlertTemplate({
434
+ * extensionName: "...",
435
+ * assetId: "...",
436
+ * });
437
+ *
438
+ * @throws {ErrorEnvelopeError} Failed. The requested resource doesn't exist. | Client side error. | Server side error.
439
+ * @throws {InvalidResponseError}
440
+ * @throws {ApiClientError}
441
+ * @throws {ClientRequestError}
442
+ */
443
+ getAlertTemplate(config: {
444
+ /** The name of the requested extension 2.0. */ extensionName: string;
445
+ /** ID of the requested asset. */ assetId: string;
446
+ abortSignal?: AbortSignal;
447
+ }): Promise<AlertTemplateDto>;
418
448
  /**
419
449
  * List of the latest extension environment configuration events
420
450
  *
@@ -558,6 +588,31 @@ export declare class Extensions_2_0Client {
558
588
  /** The name of the requested extension 2.0. */ extensionName: string;
559
589
  abortSignal?: AbortSignal;
560
590
  }): Promise<(MonitoringConfigurationResponse | ErrorEnvelope)[]>;
591
+ /**
592
+ * Gets the most recent status of the execution of monitoring configurations of given extension
593
+ *
594
+ * **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
595
+ * + environment:roles:manage-settings
596
+ * + extensions:configurations:read
597
+ *
598
+ * @returns {Promise<ExtensionStatusWithIdDto[]>} Success
599
+ *
600
+ * @example <caption>Code example</caption>
601
+ * import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
602
+ *
603
+ * const data = await extensions_2_0Client.getExtensionStatus({
604
+ * extensionName: "...",
605
+ * });
606
+ *
607
+ * @throws {ErrorEnvelopeError} Failed. The requested resource doesn't exist. | Client side error. | Server side error.
608
+ * @throws {InvalidResponseError}
609
+ * @throws {ApiClientError}
610
+ * @throws {ClientRequestError}
611
+ */
612
+ getExtensionStatus(config: {
613
+ /** The name of the requested extension 2.0. */ extensionName: string;
614
+ abortSignal?: AbortSignal;
615
+ }): Promise<ExtensionStatusWithIdDto[]>;
561
616
  /**
562
617
  * Gets the details of the specified monitoring configuration
563
618
  *
@@ -673,6 +728,91 @@ export declare class Extensions_2_0Client {
673
728
  /** The ID of the requested monitoring configuration. */ configurationId: string;
674
729
  abortSignal?: AbortSignal;
675
730
  }): Promise<ExecuteActionsResponse>;
731
+ /**
732
+ * Gets the audit logs of monitoring configuration of given extension
733
+ *
734
+ * **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
735
+ * + environment:roles:manage-settings
736
+ * + extensions:configurations:read
737
+ *
738
+ * @returns {Promise<AuditLog>} Success
739
+ *
740
+ * @example <caption>Code example</caption>
741
+ * import { extensions_2_0Client } from "@dynatrace-sdk/client-classic-environment-v2";
742
+ *
743
+ * const data =
744
+ * await extensions_2_0Client.monitoringConfigurationAudit({
745
+ * extensionName: "...",
746
+ * configurationId: "...",
747
+ * });
748
+ *
749
+ * @throws {ErrorEnvelopeError} Failed. The requested resource doesn't exist. | Client side error. | Server side error.
750
+ * @throws {InvalidResponseError}
751
+ * @throws {ApiClientError}
752
+ * @throws {ClientRequestError}
753
+ */
754
+ monitoringConfigurationAudit(config: {
755
+ /** The name of the requested extension 2.0. */ extensionName: string;
756
+ /** The ID of the requested monitoring configuration. */ configurationId: string;
757
+ /**
758
+ * The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
759
+ *
760
+ * The first page is always returned if you don't specify the **nextPageKey** query parameter.
761
+ *
762
+ * When the **nextPageKey** is set to obtain subsequent pages, you must omit all other query parameters.
763
+ */ nextPageKey?: string;
764
+ /**
765
+ * The amount of extensions in a single response payload.
766
+ *
767
+ * The maximal allowed page size is 100.
768
+ *
769
+ * If not set, 20 is used.
770
+ */ pageSize?: number;
771
+ /**
772
+ * The start of the requested timeframe.
773
+ *
774
+ * You can use one of the following formats:
775
+ * * Timestamp in UTC milliseconds.
776
+ * * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
777
+ * * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
778
+ * You can also specify relative timeframe without an alignment: `now-NU`.
779
+ * Supported time units for the relative timeframe are:
780
+ * * `m`: minutes
781
+ * * `h`: hours
782
+ * * `d`: days
783
+ * * `w`: weeks
784
+ * * `M`: months
785
+ * * `y`: years
786
+ *
787
+ * If not set, the relative timeframe of two weeks is used (`now-2w`).
788
+ */ from?: string;
789
+ /**
790
+ * The end of the requested timeframe.
791
+ *
792
+ * You can use one of the following formats:
793
+ * * Timestamp in UTC milliseconds.
794
+ * * Human-readable format of `2021-01-25T05:57:01.123+01:00`. If no time zone is specified, UTC is used. You can use a space character instead of the `T`. Seconds and fractions of a second are optional.
795
+ * * Relative timeframe, back from now. The format is `now-NU/A`, where `N` is the amount of time, `U` is the unit of time, and `A` is an alignment. The alignment rounds all the smaller values to the nearest zero in the past. For example, `now-1y/w` is one year back, aligned by a week.
796
+ * You can also specify relative timeframe without an alignment: `now-NU`.
797
+ * Supported time units for the relative timeframe are:
798
+ * * `m`: minutes
799
+ * * `h`: hours
800
+ * * `d`: days
801
+ * * `w`: weeks
802
+ * * `M`: months
803
+ * * `y`: years
804
+ *
805
+ * If not set, the current timestamp is used.
806
+ */ to?: string;
807
+ /**
808
+ * The sorting of audit log entries:
809
+ * * `timestamp`: Oldest first.
810
+ * * `-timestamp`: Newest first.
811
+ *
812
+ * If not set, the newest first sorting is applied.
813
+ */ sort?: string;
814
+ abortSignal?: AbortSignal;
815
+ }): Promise<AuditLog>;
676
816
  /**
677
817
  * Gets the list of the events linked to specific monitoring configuration
678
818
  *
@@ -877,7 +1017,11 @@ export declare class Extensions_2_0Client {
877
1017
  /**
878
1018
  * Gets the configuration schema of the specified version of the extension 2.0
879
1019
  *
880
- * **Required scope:** environment-api:extension-configurations:read<br/>**One of the following permissions is required:**
1020
+ * **One of the following scopes is required:**
1021
+ * + environment-api:extensions:read
1022
+ * + environment-api:extension-configurations:read
1023
+ *
1024
+ * <br/>**One of the following permissions is required:**
881
1025
  * + environment:roles:manage-settings
882
1026
  * + extensions:definitions:read
883
1027
  *
@@ -282,7 +282,7 @@ export declare class LogsClient {
282
282
  */
283
283
  storeLog(config: ({
284
284
  body: LogMessageJson;
285
- type: 'application/json' | 'application/json; charset=utf-8';
285
+ type: 'application/json' | 'application/json; charset=utf-8' | 'application/jsonl' | 'application/jsonl; charset=utf-8' | 'application/jsonlines' | 'application/jsonlines+json' | 'application/jsonlines+json; charset=utf-8' | 'application/jsonlines; charset=utf-8' | 'application/x-jsonlines' | 'application/x-jsonlines; charset=utf-8' | 'application/x-ndjson' | 'application/x-ndjson; charset=utf-8';
286
286
  } | {
287
287
  body: LogMessagePlain;
288
288
  type: 'text/plain; charset=utf-8';
@@ -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.
@@ -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>;
@@ -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
  *
@@ -305,7 +305,6 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
305
305
  */
306
306
  getLocationDeploymentYaml(config: {
307
307
  /** The Dynatrace entity ID of the required location. */ locationId: string;
308
- /** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
309
308
  /** Active gate name */ activeGateName?: string;
310
309
  /** Namespace */ namespace?: string;
311
310
  /** Custom images registry prefix - this will replace 'dynatrace' in image URLs in generated yaml. */ customRegistry?: string;
@@ -2,8 +2,8 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { ApiClientOptions } from '@dynatrace-sdk/shared-client-utils';
3
3
  import { MonitorEntityIdDto } from '../models/monitor-entity-id-dto';
4
4
  import { SyntheticMonitorListDto } from '../models/synthetic-monitor-list-dto';
5
- import { SyntheticMultiProtocolMonitorDto } from '../models/synthetic-multi-protocol-monitor-dto';
6
- import { SyntheticMultiProtocolMonitorUpdateDto } from '../models/synthetic-multi-protocol-monitor-update-dto';
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>;
@@ -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
  */
@@ -36,6 +36,7 @@ export declare enum MonitoredEntityStatesState {
36
36
  ProcessGroupDisabledViaGlobalSettings = "process_group_disabled_via_global_settings",
37
37
  ProcessGroupDisabledViaInjectionRule = "process_group_disabled_via_injection_rule",
38
38
  ProcessGroupDisabledViaInjectionRuleRestart = "process_group_disabled_via_injection_rule_restart",
39
+ ProcessGroupPgrGroupUpdateSuppressed = "process_group_pgr_group_update_suppressed",
39
40
  RestartRequired = "restart_required",
40
41
  RestartRequiredApache = "restart_required_apache",
41
42
  RestartRequiredDockerDeamon = "restart_required_docker_deamon",