@dynatrace-sdk/client-classic-environment-v2 3.6.8 → 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.
Files changed (50) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +21 -41
  3. package/cjs/index.js +851 -770
  4. package/dynatrace-metadata.json +5 -4
  5. package/esm/index.js +851 -770
  6. package/package.json +1 -1
  7. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-active-gate-tokens-api.d.ts +4 -1
  8. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-agent-tokens-api.d.ts +4 -1
  9. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-api-tokens-api.d.ts +4 -1
  10. package/types/packages/client/classic-environment-v2/src/lib/apis/access-tokens-tenant-tokens-api.d.ts +4 -1
  11. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-active-gate-groups-api.d.ts +4 -1
  12. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-api.d.ts +6 -3
  13. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-configuration-api.d.ts +4 -1
  14. package/types/packages/client/classic-environment-v2/src/lib/apis/active-gates-auto-update-jobs-api.d.ts +4 -1
  15. package/types/packages/client/classic-environment-v2/src/lib/apis/api-client-options.d.ts +7 -0
  16. package/types/packages/client/classic-environment-v2/src/lib/apis/attacks-api.d.ts +4 -1
  17. package/types/packages/client/classic-environment-v2/src/lib/apis/audit-logs-api.d.ts +4 -1
  18. package/types/packages/client/classic-environment-v2/src/lib/apis/business-events-api.d.ts +4 -1
  19. package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +4 -1
  20. package/types/packages/client/classic-environment-v2/src/lib/apis/davis-security-advisor-api.d.ts +4 -1
  21. package/types/packages/client/classic-environment-v2/src/lib/apis/events-api.d.ts +4 -1
  22. package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +4 -1
  23. package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +11 -29
  24. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +4 -1
  25. package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-units-api.d.ts +4 -1
  26. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +4 -1
  27. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-custom-tags-api.d.ts +4 -1
  28. package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-monitoring-state-api.d.ts +4 -1
  29. package/types/packages/client/classic-environment-v2/src/lib/apis/network-zones-api.d.ts +4 -1
  30. package/types/packages/client/classic-environment-v2/src/lib/apis/problems-api.d.ts +4 -1
  31. package/types/packages/client/classic-environment-v2/src/lib/apis/releases-api.d.ts +4 -1
  32. package/types/packages/client/classic-environment-v2/src/lib/apis/security-problems-api.d.ts +4 -1
  33. package/types/packages/client/classic-environment-v2/src/lib/apis/service-level-objectives-api.d.ts +4 -1
  34. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-management-zones-api.d.ts +4 -1
  35. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +6 -3
  36. package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +4 -1
  37. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-http-monitor-executions-api.d.ts +4 -1
  38. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +4 -1
  39. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +4 -1
  40. package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-on-demand-monitor-executions-api.d.ts +4 -1
  41. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module-type.d.ts +1 -0
  42. package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module.d.ts +1 -1
  43. package/types/packages/client/classic-environment-v2/src/lib/models/feature-set-details.d.ts +12 -0
  44. package/types/packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-disabled-module-item.d.ts +1 -0
  45. package/types/packages/client/classic-environment-v2/src/lib/models/get-all-active-gates-query-enabled-module-item.d.ts +1 -0
  46. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +4 -6
  47. package/types/packages/client/classic-environment-v2/src/lib/models/log-message-plain.d.ts +8 -1
  48. package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location.d.ts +7 -0
  49. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto.d.ts +1 -1
  50. package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/client-classic-environment-v2",
3
- "version": "3.6.8",
3
+ "version": "3.7.0",
4
4
  "description": "Client for the Dynatrace Environment API v2",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -3,17 +3,20 @@ import { ActiveGateToken } from '../models/active-gate-token';
3
3
  import { ActiveGateTokenCreate } from '../models/active-gate-token-create';
4
4
  import { ActiveGateTokenCreated } from '../models/active-gate-token-created';
5
5
  import { ActiveGateTokenList } from '../models/active-gate-token-list';
6
+ import { ApiClientOptions } from './api-client-options';
6
7
  /**
7
8
  * Manage Dynatrace ActiveGate tokens
8
9
  */
9
10
  export declare class AccessTokensActiveGateTokensClient {
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 AccessTokensActiveGateTokensClient. Custom http client should implement {HttpClient} interface.
15
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
13
16
  * @example
14
17
  * const accessTokensActiveGateTokensClientNodeJs = new AccessTokensActiveGateTokensClient(yourCustomImplementation);
15
18
  */
16
- constructor(httpClientImplementation: HttpClient);
19
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
17
20
  /**
18
21
  * Lists all available ActiveGate tokens
19
22
  *
@@ -1,16 +1,19 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { AgentConnectionToken } from '../models/agent-connection-token';
3
+ import { ApiClientOptions } from './api-client-options';
3
4
  /**
4
5
  * Manage Dynatrace Agent tokens
5
6
  */
6
7
  export declare class AccessTokensAgentTokensClient {
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 AccessTokensAgentTokensClient. Custom http client should implement {HttpClient} interface.
12
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
10
13
  * @example
11
14
  * const accessTokensAgentTokensClientNodeJs = new AccessTokensAgentTokensClient(yourCustomImplementation);
12
15
  */
13
- constructor(httpClientImplementation: HttpClient);
16
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
14
17
  /**
15
18
  * Gets the agent connection token | maturity=EARLY_ADOPTER
16
19
  *
@@ -5,17 +5,20 @@ import { ApiTokenCreated } from '../models/api-token-created';
5
5
  import { ApiTokenList } from '../models/api-token-list';
6
6
  import { ApiTokenSecret } from '../models/api-token-secret';
7
7
  import { ApiTokenUpdate } from '../models/api-token-update';
8
+ import { ApiClientOptions } from './api-client-options';
8
9
  /**
9
10
  * Manage Dynatrace API tokens
10
11
  */
11
12
  export declare class AccessTokensApiTokensClient {
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 AccessTokensApiTokensClient. Custom http client should implement {HttpClient} interface.
17
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
15
18
  * @example
16
19
  * const accessTokensApiTokensClientNodeJs = new AccessTokensApiTokensClient(yourCustomImplementation);
17
20
  */
18
- constructor(httpClientImplementation: HttpClient);
21
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
19
22
  /**
20
23
  * Lists all available API tokens
21
24
  *
@@ -1,16 +1,19 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { TenantTokenConfig } from '../models/tenant-token-config';
3
+ import { ApiClientOptions } from './api-client-options';
3
4
  /**
4
5
  * Rotate tenant tokens
5
6
  */
6
7
  export declare class AccessTokensTenantTokensClient {
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 AccessTokensTenantTokensClient. Custom http client should implement {HttpClient} interface.
12
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
10
13
  * @example
11
14
  * const accessTokensTenantTokensClientNodeJs = new AccessTokensTenantTokensClient(yourCustomImplementation);
12
15
  */
13
- constructor(httpClientImplementation: HttpClient);
16
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
14
17
  /**
15
18
  * Cancels tenant token rotation
16
19
  *
@@ -1,16 +1,19 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { ActiveGateGroups } from '../models/active-gate-groups';
3
+ import { ApiClientOptions } from './api-client-options';
3
4
  /**
4
5
  * View information about ActiveGate groups
5
6
  */
6
7
  export declare class ActiveGatesActiveGateGroupsClient {
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 ActiveGatesActiveGateGroupsClient. Custom http client should implement {HttpClient} interface.
12
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
10
13
  * @example
11
14
  * const activeGatesActiveGateGroupsClientNodeJs = new ActiveGatesActiveGateGroupsClient(yourCustomImplementation);
12
15
  */
13
- constructor(httpClientImplementation: HttpClient);
16
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
14
17
  /**
15
18
  * Lists ActiveGate groups
16
19
  *
@@ -1,17 +1,20 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { ActiveGate } from '../models/active-gate';
3
3
  import { ActiveGateList } from '../models/active-gate-list';
4
+ import { ApiClientOptions } from './api-client-options';
4
5
  /**
5
6
  * View information about your ActiveGates
6
7
  */
7
8
  export declare class ActiveGatesClient {
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 ActiveGatesClient. Custom http client should implement {HttpClient} interface.
13
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
11
14
  * @example
12
15
  * const activeGatesClientNodeJs = new ActiveGatesClient(yourCustomImplementation);
13
16
  */
14
- constructor(httpClientImplementation: HttpClient);
17
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
15
18
  /**
16
19
  * Lists all available ActiveGates
17
20
  *
@@ -71,8 +74,8 @@ export declare class ActiveGatesClient {
71
74
  * You can specify a partial name. In that case, the `CONTAINS` operator is used.
72
75
  */ group?: string;
73
76
  /** Filters the resulting set of ActiveGates by the communication status. */ online?: boolean;
74
- /** Filters the resulting set of ActiveGates by the enabled modules. */ enabledModule?: ('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')[];
75
- /** Filters the resulting set of ActiveGates by the disabled modules. */ disabledModule?: ('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')[];
77
+ /** Filters the resulting set of ActiveGates by the enabled modules. */ enabledModule?: ('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')[];
78
+ /** Filters the resulting set of ActiveGates by the disabled modules. */ disabledModule?: ('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')[];
76
79
  /** Filters the resulting set of ActiveGates to those which are running in container (`true`) or not (`false`). */ containerized?: boolean;
77
80
  /** Filters the resulting set of ActiveGates to those with authorization token in specified state. */ tokenState?: 'ABSENT' | 'EXPIRING' | 'INVALID' | 'UNKNOWN' | 'UNSUPPORTED' | 'VALID';
78
81
  /** Filters the resulting set of ActiveGates to those with set expiration date for authorization token. */ tokenExpirationSet?: boolean;
@@ -1,17 +1,20 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { ActiveGateAutoUpdateConfig } from '../models/active-gate-auto-update-config';
3
3
  import { ActiveGateGlobalAutoUpdateConfig } from '../models/active-gate-global-auto-update-config';
4
+ import { ApiClientOptions } from './api-client-options';
4
5
  /**
5
6
  * Manage ActiveGate auto-update settings.
6
7
  */
7
8
  export declare class ActiveGatesAutoUpdateConfigurationClient {
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 ActiveGatesAutoUpdateConfigurationClient. Custom http client should implement {HttpClient} interface.
13
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
11
14
  * @example
12
15
  * const activeGatesAutoUpdateConfigurationClientNodeJs = new ActiveGatesAutoUpdateConfigurationClient(yourCustomImplementation);
13
16
  */
14
- constructor(httpClientImplementation: HttpClient);
17
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
15
18
  /**
16
19
  * Gets the global auto-update configuration of environment ActiveGates.
17
20
  *
@@ -2,17 +2,20 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { UpdateJob } from '../models/update-job';
3
3
  import { UpdateJobList } from '../models/update-job-list';
4
4
  import { UpdateJobsAll } from '../models/update-jobs-all';
5
+ import { ApiClientOptions } from './api-client-options';
5
6
  /**
6
7
  * Manage ActiveGate auto-update jobs.
7
8
  */
8
9
  export declare class ActiveGatesAutoUpdateJobsClient {
9
10
  private httpClient;
11
+ private shouldTransformDates;
10
12
  /**
11
13
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ActiveGatesAutoUpdateJobsClient. Custom http client should implement {HttpClient} interface.
14
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
12
15
  * @example
13
16
  * const activeGatesAutoUpdateJobsClientNodeJs = new ActiveGatesAutoUpdateJobsClient(yourCustomImplementation);
14
17
  */
15
- constructor(httpClientImplementation: HttpClient);
18
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
16
19
  /**
17
20
  * List ActiveGates with update jobs
18
21
  *
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Configuration for generated TypeScript SDK clients
3
+ * @param {boolean} transformDates - Flag to control date transformations, enabled by default.
4
+ */
5
+ export interface ApiClientOptions {
6
+ transformDates: boolean;
7
+ }
@@ -1,17 +1,20 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { Attack } from '../models/attack';
3
3
  import { AttackList } from '../models/attack-list';
4
+ import { ApiClientOptions } from './api-client-options';
4
5
  /**
5
6
  * Read attacks
6
7
  */
7
8
  export declare class AttacksClient {
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 AttacksClient. Custom http client should implement {HttpClient} interface.
13
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
11
14
  * @example
12
15
  * const attacksClientNodeJs = new AttacksClient(yourCustomImplementation);
13
16
  */
14
- constructor(httpClientImplementation: HttpClient);
17
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
15
18
  /**
16
19
  * Lists all attacks
17
20
  *
@@ -1,17 +1,20 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { AuditLog } from '../models/audit-log';
3
3
  import { AuditLogEntry } from '../models/audit-log-entry';
4
+ import { ApiClientOptions } from './api-client-options';
4
5
  /**
5
6
  * Read audit logs
6
7
  */
7
8
  export declare class AuditLogsClient {
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 AuditLogsClient. Custom http client should implement {HttpClient} interface.
13
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
11
14
  * @example
12
15
  * const auditLogsClientNodeJs = new AuditLogsClient(yourCustomImplementation);
13
16
  */
14
- constructor(httpClientImplementation: HttpClient);
17
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
15
18
  /**
16
19
  * Gets the audit log of your Dynatrace environment | maturity=EARLY_ADOPTER
17
20
  *
@@ -1,14 +1,17 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { CloudEvent } from '../models/cloud-event';
3
3
  import { IngestBody } from '../models/ingest-body';
4
+ import { ApiClientOptions } from './api-client-options';
4
5
  export declare class BusinessEventsClient {
5
6
  private httpClient;
7
+ private shouldTransformDates;
6
8
  /**
7
9
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a BusinessEventsClient. Custom http client should implement {HttpClient} interface.
10
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
8
11
  * @example
9
12
  * const businessEventsClientNodeJs = new BusinessEventsClient(yourCustomImplementation);
10
13
  */
11
- constructor(httpClientImplementation: HttpClient);
14
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
12
15
  /**
13
16
  * Ingests a business event
14
17
  *
@@ -4,17 +4,20 @@ import { Credentials } from '../models/credentials';
4
4
  import { CredentialsId } from '../models/credentials-id';
5
5
  import { CredentialsList } from '../models/credentials-list';
6
6
  import { CredentialsResponseElement } from '../models/credentials-response-element';
7
+ import { ApiClientOptions } from './api-client-options';
7
8
  /**
8
9
  * Manage credentials
9
10
  */
10
11
  export declare class CredentialVaultClient {
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 CredentialVaultClient. Custom http client should implement {HttpClient} interface.
16
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
14
17
  * @example
15
18
  * const credentialVaultClientNodeJs = new CredentialVaultClient(yourCustomImplementation);
16
19
  */
17
- constructor(httpClientImplementation: HttpClient);
20
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
18
21
  /**
19
22
  * Lists all sets of credentials in your environment.
20
23
  *
@@ -1,16 +1,19 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { DavisSecurityAdviceList } from '../models/davis-security-advice-list';
3
+ import { ApiClientOptions } from './api-client-options';
3
4
  /**
4
5
  * Manage Davis security advices
5
6
  */
6
7
  export declare class DavisSecurityAdvisorClient {
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 DavisSecurityAdvisorClient. Custom http client should implement {HttpClient} interface.
12
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
10
13
  * @example
11
14
  * const davisSecurityAdvisorClientNodeJs = new DavisSecurityAdvisorClient(yourCustomImplementation);
12
15
  */
13
- constructor(httpClientImplementation: HttpClient);
16
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
14
17
  /**
15
18
  * Provides advice for security problems.
16
19
  *
@@ -7,17 +7,20 @@ import { EventPropertiesList } from '../models/event-properties-list';
7
7
  import { EventPropertyDetails } from '../models/event-property-details';
8
8
  import { EventType } from '../models/event-type';
9
9
  import { EventTypeList } from '../models/event-type-list';
10
+ import { ApiClientOptions } from './api-client-options';
10
11
  /**
11
12
  * Manage events
12
13
  */
13
14
  export declare class EventsClient {
14
15
  private httpClient;
16
+ private shouldTransformDates;
15
17
  /**
16
18
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a EventsClient. Custom http client should implement {HttpClient} interface.
19
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
17
20
  * @example
18
21
  * const eventsClientNodeJs = new EventsClient(yourCustomImplementation);
19
22
  */
20
- constructor(httpClientImplementation: HttpClient);
23
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
21
24
  /**
22
25
  * Lists all event properties
23
26
  *
@@ -21,17 +21,20 @@ import { RegisteredExtensionResultDto } from '../models/registered-extension-res
21
21
  import { SchemaDefinitionRestDto } from '../models/schema-definition-rest-dto';
22
22
  import { SchemaFiles } from '../models/schema-files';
23
23
  import { SchemasList } from '../models/schemas-list';
24
+ import { ApiClientOptions } from './api-client-options';
24
25
  /**
25
26
  * Manage Extensions 2.0 life cycle
26
27
  */
27
28
  export declare class Extensions_2_0Client {
28
29
  private httpClient;
30
+ private shouldTransformDates;
29
31
  /**
30
32
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a Extensions_2_0Client. Custom http client should implement {HttpClient} interface.
33
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
31
34
  * @example
32
35
  * const extensions_2_0ClientNodeJs = new Extensions_2_0Client(yourCustomImplementation);
33
36
  */
34
- constructor(httpClientImplementation: HttpClient);
37
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
35
38
  /**
36
39
  * Lists all the extensions 2.0 available in your environment
37
40
  *
@@ -5,17 +5,20 @@ import { LogMessageJson } from '../models/log-message-json';
5
5
  import { LogMessagePlain } from '../models/log-message-plain';
6
6
  import { LogRecordsList } from '../models/log-records-list';
7
7
  import { SuccessEnvelope } from '../models/success-envelope';
8
+ import { ApiClientOptions } from './api-client-options';
8
9
  /**
9
10
  * Read and ingest logs
10
11
  */
11
12
  export declare class LogsClient {
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 LogsClient. Custom http client should implement {HttpClient} interface.
17
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
15
18
  * @example
16
19
  * const logsClientNodeJs = new LogsClient(yourCustomImplementation);
17
20
  */
18
- constructor(httpClientImplementation: HttpClient);
21
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
19
22
  /**
20
23
  * Gets aggregated log records | maturity=EARLY_ADOPTER
21
24
  *
@@ -216,37 +219,16 @@ export declare class LogsClient {
216
219
  *
217
220
  * This endpoint requires an ActiveGate with the **Log Analytics Collector** module enabled.
218
221
  *
219
- * The maximum payload size of a single request is **10 MB**. Requests with a greater payload are rejected, and the API returns a 413 response code.
222
+ * **High-cardinality attributes:**
220
223
  *
221
- * If the ingested payload is a JSON array, the maximum array size is **50000**. Requests with a greater payload are rejected, and the API returns a 413 response code.
222
- *
223
- * <br />**Log events per minute (SaaS)**:
224
- *
225
- * Grail tenants: no limit, other tenants: 1M per minute by default.
226
- *
227
- * If your log data stream within your cluster exceeds the limit, all log events above the limit are ignored.
228
- *
229
- * <br />**Log events per minute (Managed)**:
230
- *
231
- * 1k/minute per cluster by default.
232
- *
233
- * If your log data stream within your cluster exceeds the limit, all log events above the limit are ignored.
234
- *
235
- * If you increase resources (RAM) in your nodes, you can increase the limit based on the cluster resources size using an API call or Cluster Management Console (CMC).
236
- *
237
- * <br />Refresh cluster limit using the API call
238
- *
239
- * See [Update log events per cluster for Log Monitoring](https://dt-url.net/f123yeu).
240
- *
241
- * <br />Refresh cluster limit using Cluster Management Console (CMC)
242
- *
243
- * 1. In the CMC, select **Environments** and the environment for which you wish to update the total log events per cluster.
244
- *
245
- * 2. On the environment details page, in the **Cluster overload prevention settings** section, select the **Refresh cluster limit**.
224
+ * Unique log data attributes (high-cardinality attributes) such as `span_id` and `trace_id` generate unnecessarily excessive facet lists that may impact log viewer performance. Because of this, they aren't listed in log viewer facets. You can still use them in a log viewer advanced search query.
246
225
  *
247
- * <br />**High-cardinality attributes:**
226
+ * <br />**Limitations:**
248
227
  *
249
- * Unique log data attributes (high-cardinality attributes) such as `span_id` and `trace_id` generate unnecessarily excessive facet lists that may impact log viewer performance. Because of this, they aren't listed in log viewer facets. You can still use them in a log viewer advanced search query.
228
+ * Please refer to the following documentation pages:
229
+ * * [Grail tenant limits](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-limits)
230
+ * * [LM v2 SaaS tenant limits](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/log-monitoring-limits)
231
+ * * [LM v2 Managed tenant limits](https://docs.dynatrace.com/managed/analyze-explore-automate/log-monitoring/log-monitoring-limits)
250
232
  *
251
233
  * <br />**Error handling:**
252
234
  *
@@ -3,17 +3,20 @@ import { MetricData } from '../models/metric-data';
3
3
  import { MetricDescriptor } from '../models/metric-descriptor';
4
4
  import { MetricDescriptorCollection } from '../models/metric-descriptor-collection';
5
5
  import { ValidationResponse } from '../models/validation-response';
6
+ import { ApiClientOptions } from './api-client-options';
6
7
  /**
7
8
  * Query and ingest metrics
8
9
  */
9
10
  export declare class MetricsClient {
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 MetricsClient. Custom http client should implement {HttpClient} interface.
15
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
13
16
  * @example
14
17
  * const metricsClientNodeJs = new MetricsClient(yourCustomImplementation);
15
18
  */
16
- constructor(httpClientImplementation: HttpClient);
19
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
17
20
  /**
18
21
  * Lists all available metrics
19
22
  *
@@ -2,17 +2,20 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { Unit } from '../models/unit';
3
3
  import { UnitConversionResult } from '../models/unit-conversion-result';
4
4
  import { UnitList } from '../models/unit-list';
5
+ import { ApiClientOptions } from './api-client-options';
5
6
  /**
6
7
  * View metric units
7
8
  */
8
9
  export declare class MetricsUnitsClient {
9
10
  private httpClient;
11
+ private shouldTransformDates;
10
12
  /**
11
13
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a MetricsUnitsClient. Custom http client should implement {HttpClient} interface.
14
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
12
15
  * @example
13
16
  * const metricsUnitsClientNodeJs = new MetricsUnitsClient(yourCustomImplementation);
14
17
  */
15
- constructor(httpClientImplementation: HttpClient);
18
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
16
19
  /**
17
20
  * Lists all available units
18
21
  *
@@ -7,17 +7,20 @@ import { EntityType } from '../models/entity-type';
7
7
  import { EntityTypeList } from '../models/entity-type-list';
8
8
  import { SecurityContextDtoImpl } from '../models/security-context-dto-impl';
9
9
  import { SecurityContextResultDto } from '../models/security-context-result-dto';
10
+ import { ApiClientOptions } from './api-client-options';
10
11
  /**
11
12
  * Manage monitored entities
12
13
  */
13
14
  export declare class MonitoredEntitiesClient {
14
15
  private httpClient;
16
+ private shouldTransformDates;
15
17
  /**
16
18
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a MonitoredEntitiesClient. Custom http client should implement {HttpClient} interface.
19
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
17
20
  * @example
18
21
  * const monitoredEntitiesClientNodeJs = new MonitoredEntitiesClient(yourCustomImplementation);
19
22
  */
20
- constructor(httpClientImplementation: HttpClient);
23
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
21
24
  /**
22
25
  * Gets the information about monitored entities
23
26
  *
@@ -3,17 +3,20 @@ import { AddEntityTags } from '../models/add-entity-tags';
3
3
  import { AddedEntityTags } from '../models/added-entity-tags';
4
4
  import { CustomEntityTags } from '../models/custom-entity-tags';
5
5
  import { DeletedEntityTags } from '../models/deleted-entity-tags';
6
+ import { ApiClientOptions } from './api-client-options';
6
7
  /**
7
8
  * Manage custom tags of monitored entities
8
9
  */
9
10
  export declare class MonitoredEntitiesCustomTagsClient {
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 MonitoredEntitiesCustomTagsClient. Custom http client should implement {HttpClient} interface.
15
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
13
16
  * @example
14
17
  * const monitoredEntitiesCustomTagsClientNodeJs = new MonitoredEntitiesCustomTagsClient(yourCustomImplementation);
15
18
  */
16
- constructor(httpClientImplementation: HttpClient);
19
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
17
20
  /**
18
21
  * Gets a list of custom tags applied to the specified entities
19
22
  *
@@ -1,16 +1,19 @@
1
1
  import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
2
2
  import { MonitoredStates } from '../models/monitored-states';
3
+ import { ApiClientOptions } from './api-client-options';
3
4
  /**
4
5
  * Read state of monitored entities
5
6
  */
6
7
  export declare class MonitoredEntitiesMonitoringStateClient {
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 MonitoredEntitiesMonitoringStateClient. Custom http client should implement {HttpClient} interface.
12
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
10
13
  * @example
11
14
  * const monitoredEntitiesMonitoringStateClientNodeJs = new MonitoredEntitiesMonitoringStateClient(yourCustomImplementation);
12
15
  */
13
- constructor(httpClientImplementation: HttpClient);
16
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
14
17
  /**
15
18
  * Lists monitoring states of entities
16
19
  *
@@ -4,17 +4,20 @@ import { NetworkZone } from '../models/network-zone';
4
4
  import { NetworkZoneConnectionStatistics } from '../models/network-zone-connection-statistics';
5
5
  import { NetworkZoneList } from '../models/network-zone-list';
6
6
  import { NetworkZoneSettings } from '../models/network-zone-settings';
7
+ import { ApiClientOptions } from './api-client-options';
7
8
  /**
8
9
  * Manage network zones
9
10
  */
10
11
  export declare class NetworkZonesClient {
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 NetworkZonesClient. Custom http client should implement {HttpClient} interface.
16
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
14
17
  * @example
15
18
  * const networkZonesClientNodeJs = new NetworkZonesClient(yourCustomImplementation);
16
19
  */
17
- constructor(httpClientImplementation: HttpClient);
20
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
18
21
  /**
19
22
  * Gets the global configuration of network zones
20
23
  *
@@ -6,17 +6,20 @@ import { Problem } from '../models/problem';
6
6
  import { ProblemCloseRequestDtoImpl } from '../models/problem-close-request-dto-impl';
7
7
  import { ProblemCloseResult } from '../models/problem-close-result';
8
8
  import { Problems } from '../models/problems';
9
+ import { ApiClientOptions } from './api-client-options';
9
10
  /**
10
11
  * Manage problems and comments
11
12
  */
12
13
  export declare class ProblemsClient {
13
14
  private httpClient;
15
+ private shouldTransformDates;
14
16
  /**
15
17
  * @param {HttpClient} httpClientImplementation - You can provide custom http client as a parameter to constructor of a ProblemsClient. Custom http client should implement {HttpClient} interface.
18
+ * @param {ApiClientOptions} [options] - Optional configuration for SDK Client.
16
19
  * @example
17
20
  * const problemsClientNodeJs = new ProblemsClient(yourCustomImplementation);
18
21
  */
19
- constructor(httpClientImplementation: HttpClient);
22
+ constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
20
23
  /**
21
24
  * Lists problems observed within the specified timeframe
22
25
  *
@@ -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
  *