@dynatrace-sdk/client-classic-environment-v2 5.1.0 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +647 -212
- package/cjs/index.js +729 -80
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +729 -80
- package/package.json +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/apis/credential-vault-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/extensions-2-0-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/logs-api.d.ts +2 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/metrics-api.d.ts +30 -0
- package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts +11 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-objects-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/settings-schemas-api.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-locations-nodes-and-configuration-api.d.ts +81 -11
- package/types/packages/client/classic-environment-v2/src/lib/apis/synthetic-network-availability-monitors-api.d.ts +7 -7
- package/types/packages/client/classic-environment-v2/src/lib/models/active-gate-module-attributes.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/aggregated-log-aggregation-result.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/availability-evidence.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-key-based-credentials-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/certificate-credentials.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/chromium-startup-flags-dto-disable-features.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/cookie-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/custom-device-creation-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-allowed-location-dto.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto-origin.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto-performance-metric.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/enablement-dto.d.ts +17 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-from-relationships.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/entity-to-relationships.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/event-evidence.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/execute-actions-dto-actions.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-feature-sets-details.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/extension-upload-response-dto-feature-sets-details.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/hashicorp-approle.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/index.d.ts +8 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/interaction-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/item-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/java-script-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/key-strokes-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/log-message-json.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/log-record-additional-columns.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/maintenance-window-evidence.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-evidence.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/metric-series-dimension-map.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-entity-state-param.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/monitored-states.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/navigate-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/network-zone.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/node-collection-element.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/node.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/plain-authentication-dto.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/plain-keystrokes-input-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/private-synthetic-location-node-names.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/property-definition-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/public-certificate-credentials.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/public-synthetic-location.d.ts +5 -5
- package/types/packages/client/classic-environment-v2/src/lib/models/remediation-items-bulk-update-delete-dto-updates.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/revision-diff.d.ts +9 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-enums.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-maturity.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-table-columns.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto-types.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-definition-rest-dto.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub-maturity.d.ts +16 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-stub.d.ts +10 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/schema-type-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/secure-authentication-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/secure-keystrokes-input-dto.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event-reason.d.ts +3 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/security-problem-event.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/select-option-step-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/service-impact.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/snmpv3-credentials.d.ts +2 -2
- package/types/packages/client/classic-environment-v2/src/lib/models/store-log-query-structure.d.ts +7 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-configuration-dto.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-request.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-browser-monitor-response.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-constraint-dto-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto-origin.d.ts +11 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-outage-handling-settings-dto.d.ts +4 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto-type.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-performance-threshold-dto.d.ts +6 -6
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-monitor-primary-grail-tag-dto.d.ts +13 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-request.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-response.d.ts +5 -0
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-multi-protocol-monitor-step-dto-properties.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-batch-status-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-on-demand-execution-request-metadata.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-private-location-update.d.ts +3 -3
- package/types/packages/client/classic-environment-v2/src/lib/models/synthetic-public-location-update.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/time-wait-condition-dto.d.ts +1 -1
- package/types/packages/client/classic-environment-v2/src/lib/models/transactional-evidence.d.ts +4 -4
- package/types/packages/client/classic-environment-v2/src/lib/models/validation-wait-condition-dto.d.ts +2 -2
- package/types/packages/http-client/src/index.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/abort-controller.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/abort-signal.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/apply-content-type-header.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/base-error.d.ts +0 -5
- package/types/packages/http-client/src/lib/platform/binary.d.ts +0 -13
- package/types/packages/http-client/src/lib/platform/data-type-error.d.ts +0 -6
- package/types/packages/http-client/src/lib/platform/decode-form-data.d.ts +0 -48
- package/types/packages/http-client/src/lib/platform/decode-response-body.d.ts +0 -3
- package/types/packages/http-client/src/lib/platform/default-status-validator.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/encode-request-body.d.ts +0 -2
- package/types/packages/http-client/src/lib/platform/http-client-abort-error.d.ts +0 -7
- package/types/packages/http-client/src/lib/platform/http-client-request-error.d.ts +0 -7
- package/types/packages/http-client/src/lib/platform/http-client-response-error-serializer.d.ts +0 -3
- package/types/packages/http-client/src/lib/platform/http-client-response-error.d.ts +0 -11
- package/types/packages/http-client/src/lib/platform/http-client-response.d.ts +0 -10
- package/types/packages/http-client/src/lib/platform/http-client.d.ts +0 -24
- package/types/packages/http-client/src/lib/platform/index.d.ts +0 -12
- package/types/packages/http-client/src/lib/platform/oauth-http-client.d.ts +0 -41
- package/types/packages/http-client/src/lib/platform/unsupported-operation-error.d.ts +0 -6
- package/types/packages/http-client/src/lib/types/abort-controller.d.ts +0 -14
- package/types/packages/http-client/src/lib/types/abort-signal.d.ts +0 -18
- package/types/packages/http-client/src/lib/types/base-error.d.ts +0 -4
- package/types/packages/http-client/src/lib/types/binary.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/data-type-error.d.ts +0 -14
- package/types/packages/http-client/src/lib/types/data-types.d.ts +0 -36
- package/types/packages/http-client/src/lib/types/form-data-request-body.d.ts +0 -83
- package/types/packages/http-client/src/lib/types/form-data-response-body.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/headers.d.ts +0 -6
- package/types/packages/http-client/src/lib/types/http-client-abort-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-network-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-request-error.d.ts +0 -15
- package/types/packages/http-client/src/lib/types/http-client-request-options.d.ts +0 -42
- package/types/packages/http-client/src/lib/types/http-client-response-error.d.ts +0 -20
- package/types/packages/http-client/src/lib/types/http-client-response.d.ts +0 -33
- package/types/packages/http-client/src/lib/types/http-client.d.ts +0 -24
- package/types/packages/http-client/src/lib/types/index.d.ts +0 -20
- package/types/packages/http-client/src/lib/types/request-body-types.d.ts +0 -26
- package/types/packages/http-client/src/lib/types/response-body-types.d.ts +0 -46
- package/types/packages/http-client/src/lib/types/status-validator.d.ts +0 -7
- package/types/packages/http-client/src/lib/types/unsupported-operation-error.d.ts +0 -14
- package/types/packages/platform/error-handlers/src/index.d.ts +0 -2
- package/types/packages/platform/error-handlers/src/lib/add-global-error-serializer.d.ts +0 -13
- package/types/packages/platform/error-handlers/src/lib/types/common-serialized-error.d.ts +0 -13
- package/types/packages/platform/error-handlers/src/lib/types/dt-runtime-error-handlers.d.ts +0 -5
- package/types/packages/platform/error-handlers/src/lib/types/error-type.d.ts +0 -9
- package/types/packages/platform/error-handlers/src/lib/types/global-dt-runtime-with-error-handlers.d.ts +0 -7
- package/types/packages/platform/error-handlers/src/lib/types/global-error-serializer.d.ts +0 -10
- package/types/packages/platform/error-handlers/src/lib/types/http-serialized-error.d.ts +0 -16
- package/types/packages/platform/error-handlers/src/lib/types/index.d.ts +0 -6
- package/types/packages/platform/error-handlers/src/lib/types/serialized-error.d.ts +0 -10
- package/types/packages/platform/shared/index.d.ts +0 -1
- package/types/packages/platform/shared/utils/get-global-with-dt-runtime.d.ts +0 -1
- package/types/packages/shared-errors/src/api-client-error.d.ts +0 -23
- package/types/packages/shared-errors/src/api-gateway-error.d.ts +0 -37
- package/types/packages/shared-errors/src/client-request-error.d.ts +0 -39
- package/types/packages/shared-errors/src/index.d.ts +0 -5
- package/types/packages/shared-errors/src/invalid-response-error.d.ts +0 -26
- package/types/packages/shared-errors/src/types.d.ts +0 -88
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace-sdk/client-classic-environment-v2",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "Client for the Dynatrace Environment API v2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
"main": "./cjs/index.js",
|
|
11
11
|
"module": "./esm/index.js",
|
|
12
12
|
"types": "./types/index.d.ts"
|
|
13
|
-
}
|
|
13
|
+
}
|
|
@@ -160,7 +160,7 @@ export declare class CredentialVaultClient {
|
|
|
160
160
|
/**
|
|
161
161
|
* Gets the details of the specified credentials set.
|
|
162
162
|
*
|
|
163
|
-
* **Required scope:** environment-api:credentials:read<br/><br/>The credentials set including username/certificate, password or token is included in the response.
|
|
163
|
+
* **Required scope:** environment-api:credentials:read<br/>**Required permission:** environment:roles:viewer<br/><br/>The credentials set including username/certificate, password or token is included in the response.
|
|
164
164
|
*
|
|
165
165
|
* @returns {Promise<AbstractCredentialsResponseElement>} Success. The response contains the details of the credentials set.
|
|
166
166
|
*
|
|
@@ -958,7 +958,7 @@ export declare class Extensions_2_0Client {
|
|
|
958
958
|
/** The name of the requested extension 2.0. */ extensionName: string;
|
|
959
959
|
/** The version of the requested extension 2.0 */ extensionVersion: string;
|
|
960
960
|
abortSignal?: AbortSignal;
|
|
961
|
-
acceptType: 'application/octet-stream';
|
|
961
|
+
acceptType: 'application/octet-stream' | 'application/yaml';
|
|
962
962
|
}): Promise<Binary>;
|
|
963
963
|
/**
|
|
964
964
|
* Deletes the specified version of the extension 2.0
|
|
@@ -287,7 +287,9 @@ export declare class LogsClient {
|
|
|
287
287
|
body: LogMessagePlain;
|
|
288
288
|
type: 'text/plain; charset=utf-8';
|
|
289
289
|
}) & {
|
|
290
|
+
/** Specifies the JSON parsing mode for log ingestion (SaaS only). For more details, refer to the [documentation](https://dt-url.net/rl03zti). */ structure?: 'flattened' | 'raw';
|
|
290
291
|
/** Allows to provide content type with query parameter. Has priority over value provided in Content-Type header. */ contentType?: string;
|
|
292
|
+
/** (Optional) Contains ampersand-separated Dynatrace-specific parameters. Query parameter takes precedence over the header value. For more details, refer to the [documentation](https://dt-url.net/rl03zti). */ xDynatraceOptions?: string;
|
|
291
293
|
abortSignal?: AbortSignal;
|
|
292
294
|
}): Promise<SuccessEnvelope | void>;
|
|
293
295
|
/**
|
|
@@ -137,6 +137,14 @@ export declare class MetricsClient {
|
|
|
137
137
|
* * `M`: months
|
|
138
138
|
* * `y`: years
|
|
139
139
|
*/ writtenSince?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Controls how the writtenSince filter is applied.
|
|
142
|
+
*
|
|
143
|
+
* * `INCLUDE`: Includes only metrics that have been written since the specified writtenSince timestamp (filters out metrics not written since then).
|
|
144
|
+
* * `EXCLUDE`: Excludes metrics that have been written since the specified writtenSince timestamp (only returns metrics not written since then).
|
|
145
|
+
*
|
|
146
|
+
* If not specified, the default is `INCLUDE`.
|
|
147
|
+
*/ writtenSinceMode?: string;
|
|
140
148
|
/**
|
|
141
149
|
* The metadata scope of the query. Only metrics with specified properties are included to the response.
|
|
142
150
|
*
|
|
@@ -156,6 +164,28 @@ export declare class MetricsClient {
|
|
|
156
164
|
abortSignal?: AbortSignal;
|
|
157
165
|
acceptType: 'application/json; charset=utf-8' | 'text/csv; header=absent; charset=utf-8' | 'text/csv; header=present; charset=utf-8';
|
|
158
166
|
}): Promise<MetricDescriptorCollection>;
|
|
167
|
+
/**
|
|
168
|
+
* Deletes all metrics older than the specified days
|
|
169
|
+
*
|
|
170
|
+
* **Required scope:** environment-api:metrics:write<br/>**Required permission:** environment:roles:manage-settings<br/><br/>Deletion cannot be undone! timeframe for minUnusedDays: 30 days - 5 years
|
|
171
|
+
*
|
|
172
|
+
* @example <caption>Code example</caption>
|
|
173
|
+
* import { metricsClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
174
|
+
*
|
|
175
|
+
* const data = await metricsClient.bulkDelete({
|
|
176
|
+
* metricSelector: "...",
|
|
177
|
+
* });
|
|
178
|
+
*
|
|
179
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
180
|
+
* @throws {InvalidResponseError}
|
|
181
|
+
* @throws {ApiClientError}
|
|
182
|
+
* @throws {ClientRequestError}
|
|
183
|
+
*/
|
|
184
|
+
bulkDelete(config: {
|
|
185
|
+
/** The key of the required metric. */ metricSelector: string;
|
|
186
|
+
/** The key of the required metric. */ minUnusedDays?: number;
|
|
187
|
+
abortSignal?: AbortSignal;
|
|
188
|
+
}): Promise<void>;
|
|
159
189
|
/**
|
|
160
190
|
* Pushes metric data points to Dynatrace
|
|
161
191
|
*
|
package/types/packages/client/classic-environment-v2/src/lib/apis/monitored-entities-api.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { SecurityContextDtoImpl } from '../models/security-context-dto-impl';
|
|
|
9
9
|
import { SecurityContextResultDto } from '../models/security-context-result-dto';
|
|
10
10
|
import { ApiClientOptions } from './api-client-options';
|
|
11
11
|
/**
|
|
12
|
-
* Manage monitored entities
|
|
12
|
+
* Manage monitored entities - Deprecated in SaaS, use DQL (Smartscape on Grail) and OpenPipeline instead
|
|
13
13
|
*/
|
|
14
14
|
export declare class MonitoredEntitiesClient {
|
|
15
15
|
private httpClient;
|
|
@@ -36,6 +36,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
36
36
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
37
37
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
38
38
|
*
|
|
39
|
+
* @deprecated
|
|
40
|
+
*
|
|
39
41
|
* @returns {Promise<EntitiesList>} Success
|
|
40
42
|
*
|
|
41
43
|
* @example <caption>Code example</caption>
|
|
@@ -157,6 +159,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
157
159
|
*
|
|
158
160
|
* **Required scope:** environment-api:entities:write<br/>**Required permission:** environment:roles:manage-settings
|
|
159
161
|
*
|
|
162
|
+
* @deprecated
|
|
163
|
+
*
|
|
160
164
|
* @returns {Promise<CustomDeviceCreationResult | void>} Success
|
|
161
165
|
*
|
|
162
166
|
* @example <caption>Code example</caption>
|
|
@@ -385,6 +389,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
385
389
|
*
|
|
386
390
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
387
391
|
*
|
|
392
|
+
* @deprecated
|
|
393
|
+
*
|
|
388
394
|
* @returns {Promise<Entity>} Success
|
|
389
395
|
*
|
|
390
396
|
* @example <caption>Code example</caption>
|
|
@@ -455,6 +461,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
455
461
|
* 1. Specify the number of results per page in the **pageSize** query parameter.
|
|
456
462
|
* 2. Use the cursor from the **nextPageKey** field of the previous response in the **nextPageKey** query parameter to obtain subsequent pages.
|
|
457
463
|
*
|
|
464
|
+
* @deprecated
|
|
465
|
+
*
|
|
458
466
|
* @returns {Promise<EntityTypeList>} Success
|
|
459
467
|
*
|
|
460
468
|
* @example <caption>Code example</caption>
|
|
@@ -489,6 +497,8 @@ export declare class MonitoredEntitiesClient {
|
|
|
489
497
|
*
|
|
490
498
|
* **Required scope:** environment-api:entities:read<br/>**Required permission:** environment:roles:viewer
|
|
491
499
|
*
|
|
500
|
+
* @deprecated
|
|
501
|
+
*
|
|
492
502
|
* @returns {Promise<EntityType>} Success
|
|
493
503
|
*
|
|
494
504
|
* @example <caption>Code example</caption>
|
|
@@ -177,7 +177,7 @@ export declare class SettingsObjectsClient {
|
|
|
177
177
|
* The sort parameter, as explained [here](https://dt-url.net/platform-services-filtering). Sorting is supported on the following fields:
|
|
178
178
|
* * `modificationInfo.lastModifiedTime` (optional, default to -modificationInfo.lastModifiedTime)
|
|
179
179
|
*/ sort?: string;
|
|
180
|
-
/** A list of fields to be included to the response.Specify the required top-level fields, separated by commas (for example, **revision,modificationInfo**). Supported fields: **revision**, **jsonPatch**, **jsonBefore**, **jsonAfter**, **objectId**, **type**, **schemaId**, **schemaVersion**, **schemaDisplayName**, **modificationInfo**, **summary**, **source**, **appId**.(optional, default to revision, modificationInfo) */ fields?: string;
|
|
180
|
+
/** A list of fields to be included to the response.Specify the required top-level fields, separated by commas (for example, **revision,modificationInfo**). Supported fields: **revision**, **jsonPatch**, **jsonBefore**, **jsonAfter**, **objectId**, **type**, **schemaId**, **schemaVersion**, **schemaDisplayName**, **modificationInfo**, **summary**, **source**, **appId**, **ownerBefore**, **ownerAfter**.(optional, default to revision, modificationInfo) */ fields?: string;
|
|
181
181
|
/**
|
|
182
182
|
* The cursor for the next page of results. You can find it in the **nextPageKey** field of the previous response.
|
|
183
183
|
*
|
|
@@ -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`, `ownerBasedAccessControl`.
|
|
44
|
+
* Supported fields: `schemaId`, `displayName`, `maturity`, `latestSchemaVersion`, `multiObject`, `ordered`, `ownerBasedAccessControl`.
|
|
45
45
|
*/ fields?: string;
|
|
46
46
|
abortSignal?: AbortSignal;
|
|
47
47
|
}): Promise<SchemaList>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client';
|
|
1
|
+
import { AbortSignal, Binary, HttpClient } from '@dynatrace-sdk/http-client';
|
|
2
2
|
import { Node } from '../models/node';
|
|
3
3
|
import { Nodes } from '../models/nodes';
|
|
4
4
|
import { PrivateSyntheticLocation } from '../models/private-synthetic-location';
|
|
@@ -121,11 +121,11 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
121
121
|
abortSignal?: AbortSignal;
|
|
122
122
|
}): Promise<SyntheticLocationIdsDto>;
|
|
123
123
|
/**
|
|
124
|
-
* Gets list of commands to deploy synthetic location in Kubernetes/Openshift cluster
|
|
124
|
+
* Gets list of commands to deploy synthetic location in Kubernetes/Openshift cluster
|
|
125
125
|
*
|
|
126
126
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
127
127
|
*
|
|
128
|
-
* @returns {Promise<
|
|
128
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to deploy a synthetic location.
|
|
129
129
|
*
|
|
130
130
|
* @example <caption>Code example</caption>
|
|
131
131
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -145,7 +145,77 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
145
145
|
/** Fips mode, accepted values are: DISABLED, ENABLED, ENABLED_WITH_CORPORATE_PROXY. Default value is DISABLED. */ fipsMode?: string;
|
|
146
146
|
/** Optional configuration for Squid corporate proxy. If not provided the default value will be used. */ squidProxyConfig?: string;
|
|
147
147
|
abortSignal?: AbortSignal;
|
|
148
|
-
}): Promise<
|
|
148
|
+
}): Promise<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Gets list of commands to deploy metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
151
|
+
*
|
|
152
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
153
|
+
*
|
|
154
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to deploy a metric adapter.
|
|
155
|
+
*
|
|
156
|
+
* @example <caption>Code example</caption>
|
|
157
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
158
|
+
*
|
|
159
|
+
* const data =
|
|
160
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentApplyCommands();
|
|
161
|
+
*
|
|
162
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
163
|
+
* @throws {InvalidResponseError}
|
|
164
|
+
* @throws {ApiClientError}
|
|
165
|
+
* @throws {ClientRequestError}
|
|
166
|
+
*/
|
|
167
|
+
getMetricAdapterDeploymentApplyCommands(config?: {
|
|
168
|
+
/** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
|
|
169
|
+
/** Namespace */ namespace?: string;
|
|
170
|
+
/** Filename */ filename?: string;
|
|
171
|
+
abortSignal?: AbortSignal;
|
|
172
|
+
}): Promise<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Gets list of commands to delete metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
175
|
+
*
|
|
176
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
177
|
+
*
|
|
178
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to delete a metric adapter.
|
|
179
|
+
*
|
|
180
|
+
* @example <caption>Code example</caption>
|
|
181
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
182
|
+
*
|
|
183
|
+
* const data =
|
|
184
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentDeleteCommands();
|
|
185
|
+
*
|
|
186
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
187
|
+
* @throws {InvalidResponseError}
|
|
188
|
+
* @throws {ApiClientError}
|
|
189
|
+
* @throws {ClientRequestError}
|
|
190
|
+
*/
|
|
191
|
+
getMetricAdapterDeploymentDeleteCommands(config?: {
|
|
192
|
+
/** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
|
|
193
|
+
/** Filename */ filename?: string;
|
|
194
|
+
abortSignal?: AbortSignal;
|
|
195
|
+
}): Promise<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Gets yaml file content to deploy metric adapter in Kubernetes/Openshift cluster | maturity=EARLY_ADOPTER
|
|
198
|
+
*
|
|
199
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
200
|
+
*
|
|
201
|
+
* @returns {Promise<Binary>} Success. The response contains the content of deployment yaml file.
|
|
202
|
+
*
|
|
203
|
+
* @example <caption>Code example</caption>
|
|
204
|
+
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
205
|
+
*
|
|
206
|
+
* const data =
|
|
207
|
+
* await syntheticLocationsNodesAndConfigurationClient.getMetricAdapterDeploymentYaml();
|
|
208
|
+
*
|
|
209
|
+
* @throws {ErrorEnvelopeError} Client side error. | Server side error.
|
|
210
|
+
* @throws {InvalidResponseError}
|
|
211
|
+
* @throws {ApiClientError}
|
|
212
|
+
* @throws {ClientRequestError}
|
|
213
|
+
*/
|
|
214
|
+
getMetricAdapterDeploymentYaml(config?: {
|
|
215
|
+
/** Container platform, currently supported are: KUBERNETES and OPENSHIFT. Default value is KUBERNETES. */ platform?: string;
|
|
216
|
+
/** Namespace */ namespace?: string;
|
|
217
|
+
abortSignal?: AbortSignal;
|
|
218
|
+
}): Promise<Binary>;
|
|
149
219
|
/**
|
|
150
220
|
* Checks the status of public synthetic locations
|
|
151
221
|
*
|
|
@@ -259,11 +329,11 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
259
329
|
abortSignal?: AbortSignal;
|
|
260
330
|
}): Promise<void>;
|
|
261
331
|
/**
|
|
262
|
-
* Gets list of commands to delete synthetic location in Kubernetes/Openshift cluster
|
|
332
|
+
* Gets list of commands to delete synthetic location in Kubernetes/Openshift cluster
|
|
263
333
|
*
|
|
264
334
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
265
335
|
*
|
|
266
|
-
* @returns {Promise<
|
|
336
|
+
* @returns {Promise<string>} Success. The response contains the list of commands that needs to be executed to delete a synthetic location.
|
|
267
337
|
*
|
|
268
338
|
* @example <caption>Code example</caption>
|
|
269
339
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -284,13 +354,13 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
284
354
|
/** Namespace */ namespace?: string;
|
|
285
355
|
/** Filename */ filename?: string;
|
|
286
356
|
abortSignal?: AbortSignal;
|
|
287
|
-
}): Promise<
|
|
357
|
+
}): Promise<string>;
|
|
288
358
|
/**
|
|
289
|
-
* Gets yaml file content to deploy location in Kubernetes/Openshift cluster
|
|
359
|
+
* Gets yaml file content to deploy location in Kubernetes/Openshift cluster
|
|
290
360
|
*
|
|
291
361
|
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:manage-settings
|
|
292
362
|
*
|
|
293
|
-
* @returns {Promise<
|
|
363
|
+
* @returns {Promise<Binary>} Success. The response contains the content of deployment yaml file.
|
|
294
364
|
*
|
|
295
365
|
* @example <caption>Code example</caption>
|
|
296
366
|
* import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v2";
|
|
@@ -313,11 +383,11 @@ export declare class SyntheticLocationsNodesAndConfigurationClient {
|
|
|
313
383
|
/** Custom version tag for Active Gate - this will be used as desired Active Gate version in generated yaml. */ tagVersionActiveGate?: string;
|
|
314
384
|
/** Custom version tag for Synthetic- this will be used as desired Synthetic version in generated yaml */ tagVersionSynthetic?: string;
|
|
315
385
|
abortSignal?: AbortSignal;
|
|
316
|
-
}): Promise<
|
|
386
|
+
}): Promise<Binary>;
|
|
317
387
|
/**
|
|
318
388
|
* Lists all synthetic nodes available in your environment
|
|
319
389
|
*
|
|
320
|
-
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:
|
|
390
|
+
* **Required scope:** environment-api:synthetic:read<br/>**Required permission:** environment:roles:viewer
|
|
321
391
|
*
|
|
322
392
|
* @returns {Promise<Nodes>} Success
|
|
323
393
|
*
|
|
@@ -7,7 +7,7 @@ import { SyntheticMultiProtocolMonitorRequest } from '../models/synthetic-multi-
|
|
|
7
7
|
import { SyntheticMultiProtocolMonitorResponse } from '../models/synthetic-multi-protocol-monitor-response';
|
|
8
8
|
import { ApiClientOptions } from './api-client-options';
|
|
9
9
|
/**
|
|
10
|
-
* Create, read, update and delete synthetic monitors. Currently network availability monitors only.
|
|
10
|
+
* Create, read, update and delete synthetic monitors. Currently browser and network availability monitors only.
|
|
11
11
|
*/
|
|
12
12
|
export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
13
13
|
private httpClient;
|
|
@@ -20,7 +20,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
20
20
|
*/
|
|
21
21
|
constructor(httpClientImplementation: HttpClient, options?: ApiClientOptions);
|
|
22
22
|
/**
|
|
23
|
-
* Gets all synthetic monitors. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
23
|
+
* Gets all synthetic monitors. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
24
24
|
*
|
|
25
25
|
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
26
26
|
*
|
|
@@ -42,7 +42,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
42
42
|
* Defines the scope of the query. Only monitors matching the specified criteria are included into response.
|
|
43
43
|
*
|
|
44
44
|
* You can add one or several of the criteria listed below. For each criterion you can specify multiple comma-separated values, unless stated otherwise. If several values are specified, the **OR** logic applies.
|
|
45
|
-
* * Monitor type: `type(HTTP,MULTI_PROTOCOL)`. Possible values: 'HTTP', 'BROWSER', 'THIRD_PARTY', 'MULTI_PROTOCOL' (Note that only 'MULTI_PROTOCOL'
|
|
45
|
+
* * Monitor type: `type(HTTP,MULTI_PROTOCOL)`. Possible values: 'HTTP', 'BROWSER', 'THIRD_PARTY', 'MULTI_PROTOCOL' (Note that only 'BROWSER' and 'MULTI_PROTOCOL' are currently supported).
|
|
46
46
|
* * Management zone ID: `managementZoneId(1, 2)`.
|
|
47
47
|
* * Synthetic Location ME ID: `location(SYNTHETIC_LOCATION-123)`.
|
|
48
48
|
* * Monitored host ME ID: `monitoredEntity(HOST-123)`.
|
|
@@ -55,7 +55,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
55
55
|
abortSignal?: AbortSignal;
|
|
56
56
|
}): Promise<SyntheticMonitorListDto>;
|
|
57
57
|
/**
|
|
58
|
-
* Creates a synthetic monitor definition. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
58
|
+
* Creates a synthetic monitor definition. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
59
59
|
*
|
|
60
60
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
61
61
|
*
|
|
@@ -79,7 +79,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
79
79
|
abortSignal?: AbortSignal;
|
|
80
80
|
}): Promise<MonitorEntityIdDto>;
|
|
81
81
|
/**
|
|
82
|
-
* Gets a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
82
|
+
* Gets a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
83
83
|
*
|
|
84
84
|
* **Required scope:** environment-api:synthetic-monitors:read<br/>**Required permission:** environment:roles:manage-settings
|
|
85
85
|
*
|
|
@@ -103,7 +103,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
103
103
|
abortSignal?: AbortSignal;
|
|
104
104
|
}): Promise<SyntheticMultiProtocolMonitorResponse | SyntheticBrowserMonitorResponse>;
|
|
105
105
|
/**
|
|
106
|
-
* Updates a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
106
|
+
* Updates a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
107
107
|
*
|
|
108
108
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
109
109
|
*
|
|
@@ -126,7 +126,7 @@ export declare class SyntheticNetworkAvailabilityMonitorsClient {
|
|
|
126
126
|
abortSignal?: AbortSignal;
|
|
127
127
|
}): Promise<void>;
|
|
128
128
|
/**
|
|
129
|
-
* Deletes a synthetic monitor definition for the given monitor ID. Currently network availability monitors only. | maturity=EARLY_ADOPTER
|
|
129
|
+
* Deletes a synthetic monitor definition for the given monitor ID. Currently browser and network availability monitors only. | maturity=EARLY_ADOPTER
|
|
130
130
|
*
|
|
131
131
|
* **Required scope:** environment-api:synthetic-monitors:write<br/>**Required permission:** environment:roles:manage-settings
|
|
132
132
|
*
|
|
@@ -6,13 +6,13 @@ export interface AWSKeyBasedCredentialsDto extends Credentials {
|
|
|
6
6
|
/**
|
|
7
7
|
* Access Key ID of the credentials set.
|
|
8
8
|
*/
|
|
9
|
-
accessKeyID
|
|
9
|
+
accessKeyID: string;
|
|
10
10
|
/**
|
|
11
11
|
* AWS partition of the credential.
|
|
12
12
|
*/
|
|
13
|
-
awsPartition
|
|
13
|
+
awsPartition: 'CHINA' | 'DEFAULT' | 'US_GOV';
|
|
14
14
|
/**
|
|
15
15
|
* Secret access key of the credential.
|
|
16
16
|
*/
|
|
17
|
-
secretKey
|
|
17
|
+
secretKey: string;
|
|
18
18
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/aws-role-based-credentials.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export interface AWSRoleBasedCredentials extends Credentials {
|
|
|
6
6
|
/**
|
|
7
7
|
* Amazon account ID of the credential.
|
|
8
8
|
*/
|
|
9
|
-
accountID
|
|
9
|
+
accountID: string;
|
|
10
10
|
/**
|
|
11
11
|
* The IAM role name of the credentials set.
|
|
12
12
|
*/
|
|
13
|
-
iamRole
|
|
13
|
+
iamRole: string;
|
|
14
14
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/certificate-credentials.d.ts
CHANGED
|
@@ -6,13 +6,13 @@ export interface CertificateCredentials extends Credentials {
|
|
|
6
6
|
/**
|
|
7
7
|
* String containing the certificate file bytes encoded in Base64 without carriage return.
|
|
8
8
|
*/
|
|
9
|
-
certificate
|
|
9
|
+
certificate: string;
|
|
10
10
|
/**
|
|
11
11
|
* The certificate format. Use `PEM` for PEM certificates and `PKCS12` for PFX and P12 certificates.
|
|
12
12
|
*/
|
|
13
|
-
certificateFormat
|
|
13
|
+
certificateFormat: 'PEM' | 'PKCS12' | 'UNKNOWN';
|
|
14
14
|
/**
|
|
15
15
|
* The password of the credential encoded in Base64. Must be empty for `PEM` certificates.
|
|
16
16
|
*/
|
|
17
|
-
password
|
|
17
|
+
password: string;
|
|
18
18
|
}
|
|
@@ -6,11 +6,11 @@ export interface CyberArkAllowedLocationDto extends ExternalVault {
|
|
|
6
6
|
/**
|
|
7
7
|
* Account name that stores the username and password to retrieve and synchronize with the Dynatrace Credential Vault: This is NOT the name of the account logged into the CyberArk Central Credential Provider.
|
|
8
8
|
*/
|
|
9
|
-
accountName
|
|
9
|
+
accountName: string;
|
|
10
10
|
/**
|
|
11
11
|
* Application ID connected to CyberArk Vault.
|
|
12
12
|
*/
|
|
13
|
-
applicationId
|
|
13
|
+
applicationId: string;
|
|
14
14
|
/**
|
|
15
15
|
* [Recommended] Certificate used for authentication to CyberArk application. ID of certificate credential saved in Dynatrace CV.
|
|
16
16
|
*/
|
|
@@ -22,5 +22,5 @@ export interface CyberArkAllowedLocationDto extends ExternalVault {
|
|
|
22
22
|
/**
|
|
23
23
|
* Safe name connected to CyberArk Vault.
|
|
24
24
|
*/
|
|
25
|
-
safeName
|
|
25
|
+
safeName: string;
|
|
26
26
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/cyber-ark-username-password.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ export interface CyberArkUsernamePassword extends ExternalVault {
|
|
|
6
6
|
/**
|
|
7
7
|
* Account name that stores the username and password to retrieve and synchronize with the Dynatrace Credential Vault: This is NOT the name of the account logged into the CyberArk Central Credential Provider.
|
|
8
8
|
*/
|
|
9
|
-
accountName
|
|
9
|
+
accountName: string;
|
|
10
10
|
/**
|
|
11
11
|
* Application ID connected to CyberArk Vault.
|
|
12
12
|
*/
|
|
13
|
-
applicationId
|
|
13
|
+
applicationId: string;
|
|
14
14
|
/**
|
|
15
15
|
* [Recommended] Certificate used for authentication to CyberArk application. ID of certificate credential saved in Dynatrace CV.
|
|
16
16
|
*/
|
|
@@ -22,9 +22,9 @@ export interface CyberArkUsernamePassword extends ExternalVault {
|
|
|
22
22
|
/**
|
|
23
23
|
* Safe name connected to CyberArk Vault.
|
|
24
24
|
*/
|
|
25
|
-
safeName
|
|
25
|
+
safeName: string;
|
|
26
26
|
/**
|
|
27
27
|
* Dynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
|
|
28
28
|
*/
|
|
29
|
-
usernamePasswordForCPM
|
|
29
|
+
usernamePasswordForCPM: string;
|
|
30
30
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The name of the performance metric, used for reporting on performance charts and for comparison against defined performance thresholds.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Use literal values.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum EnablementDtoPerformanceMetric {
|
|
7
|
+
ClassicTotalDuration = "classic.total_duration",
|
|
8
|
+
Duration = "duration"
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser monitor enablement settings.
|
|
3
|
+
*/
|
|
4
|
+
export interface EnablementDto {
|
|
5
|
+
/**
|
|
6
|
+
* Enable 3rd gen JS agent reporting. Relevant only for grail-enabled SaaS environments.
|
|
7
|
+
*/
|
|
8
|
+
enableOnGrail: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Indicates the origin of these settings.
|
|
11
|
+
*/
|
|
12
|
+
origin?: 'MONITOR' | 'TENANT' | 'DEFAULT' | 'UNKNOWN';
|
|
13
|
+
/**
|
|
14
|
+
* The name of the performance metric, used for reporting on performance charts and for comparison against defined performance thresholds.
|
|
15
|
+
*/
|
|
16
|
+
performanceMetric: 'classic.total_duration' | 'duration';
|
|
17
|
+
}
|
|
@@ -15,13 +15,13 @@ export interface EventEvidence extends Evidence {
|
|
|
15
15
|
*
|
|
16
16
|
* Has `-1` value, if the event is still active.
|
|
17
17
|
*/
|
|
18
|
-
endTime
|
|
18
|
+
endTime: number;
|
|
19
19
|
/**
|
|
20
20
|
* The ID of the event.
|
|
21
21
|
*/
|
|
22
|
-
eventId
|
|
22
|
+
eventId: string;
|
|
23
23
|
/**
|
|
24
24
|
* The type of the event.
|
|
25
25
|
*/
|
|
26
|
-
eventType
|
|
26
|
+
eventType: string;
|
|
27
27
|
}
|
package/types/packages/client/classic-environment-v2/src/lib/models/event-ingest-properties.d.ts
CHANGED
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
* A maximum of 100 properties can be specified. A property key is allowed to contain up to 100 characters. A property value is allowed to contain up to 4096 characters.
|
|
11
11
|
*/
|
|
12
12
|
export interface EventIngestProperties {
|
|
13
|
-
[propName: string]: string
|
|
13
|
+
[propName: string]: string;
|
|
14
14
|
}
|